Get dropdown items Version 2 (Net)

Action group: SAP


Description

Get items in the dropdown list.

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 

None.

Example of use 

Task

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


Solution

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

Implementation

  1. Assemble a robot scheme consisting of actions:

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

    The "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 dropdown list 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" button in the top panel. 

Result

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


 

  • Нет меток