Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel

Table of Contents
maxLevel3

Introduction

On this page, we will cover the following:

  1. Showing the dynamic command specific fields.
  2. Adding a new SAP Connection field and showing the update code completion menu.

1 - Showing the dynamic command specific fields

The GIF above shows the code completion menu when using the dynamic_command decorator. Notice that relevant information such as Supported Statuses, Timeout, Execution Option, and Asynchronous is also shown.

The sample_outprc_dynamic_cmd does not depend on any fields, which is why typing fields[ results in zero suggestions.

2 - Adding a new SAP Connection field and showing the update code completion menu.

Let's add a new SAP Connection field and add it as a dependent field of sample_outprc_dynamic_cmd to demonstrate:

...

Assuming the local template has been updated, typing fields[will now show the new sample_sap_connection field:

...

Additionally, as shown above, the specific component parts (e.g. sap_ashost, sap_client, sap_connection_type etc.) of a SAP Connection field can be accessed by typing a second [ following fields["sample_sap_connection"]