Skip to main content
Question

Selection of SAP Combo/Drop down boxes


Forum|alt.badge.img+3
  • Cadet | Tier 2
  • 4 replies

Hello,

 

I am trying to select an SAP Combo/Dropdown box using an AA SAP action, but am unable to do so. Previous posts on this forum point to a now outdated or irrelevant bot.

 

Here is an example of the field I am referring to:

2022-05-18 15_22_14-listbox shellI'm unable to get the bot to get select the field at all. In addition to selection, I'd like the bot to set the value of this field. An excel file will contain "10" and the bot should chose "10 CSR1". Any guidance is appreciated.

3 replies

Forum|alt.badge.img+11

Hello @Parris Stanford​ ,

 

To select any item from dropdown in SAP, you can use SAP 'Select Item' action from A360 ref., below image

image 

You can get object path of dropdown from "SAP Gui scripting and playback", you can select the item either through index or text(it should be same or match with the value of SAP)

 

Q. An excel file will contain "10" and the bot should chose "10 CSR1". Any guidance is appreciated.

Ans. for this I suggest u to handle through logic like, if excel cell contains '10' set value = 10 CSR1 like this.

 

Hope this helps you.

 

Happy Automation🙂

SaiKrishna

 

 


Forum|alt.badge.img+3
  • Author
  • Cadet | Tier 2
  • 4 replies
  • May 19, 2022

Hello @Sai krishna Somisetty​ , this was my first attempt at this requirement, but it doesn't work.

 

SAP select item step, pointing at a record variable to grab the "10" for example. 2022-05-19 13_13_38-VA02_ADD_LINE_REJECTION _ Edit Task Bot _ Control Room _ Automation Anywhere 

I recorded two methods of grabbing the value. In the first, the item is selected (which points to a specific value 2,0). In the second, the two characters are entered "ME or "ZC", the second is the actual requirement. But the bot doesn't select the dropdown box at all in execution.

 

2022-05-19 13_14_29-Scripting Tracker


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • May 20, 2022

Hi @Parris Stanford​ ,

 

You might have to use the Capture Action for this one, if the Session Path(SAP) is unable to interact with the item its supposed to.

 

Kind Regards,

Ashwin A.K


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings