Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextSap instanceRobin.Sap
Yes
ElementElementRobin.WinElement
Yes
Results
ResultReturn collection of items of listRobin.Collection

Special conditions of use 

...

Connect to an open SAP session and retrieve the items in the dropdown list.


Solution

Use the “Connect "Connect to session”session", “Get "Get dropdown list items” items" actions. 

Implementation

  1. Assemble a robot scheme consisting of actions:

  2. Set the parameters for the “Connect "Connect to session” session" action. 

    The “Session” "Session" field specifies the sequence number of one user's open session (0 - the first connected user, 1- the second, etc.) to which you want to connect. The numbering starts from 0 and depends on the time of login to the account


  3. Set the parameters for the “Get "Get dropdown list items” items" action. The order of getting an item is specified in the section Procedure for obtaining an item using SapSpy

  4. Click on the “Start” "Start" button in the top panel. 

...

The program robot completed successfully. The elements are written to the variable of type “Collection” "Collection" (3 elements).