cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Action on Button

0 Kudos
474

Hi All,

I have a basic question in SAP Agentry regarding buttons.
I have a requirement to add a button on a screen in Agentry which when clicked needs to fill the other field values with data from an object. In my case it needs to fetch address details from the workorder object.
I am quite new to Agentry so am not sure how to achieve this using buttons. I tried something similar using radio buttons where on clicking yes the address details are fetched using a rule. However I need to achieve this using a button. I am not sure how I would add this logic on the action for a button.

Would appreciate any help.

Thanks in advance,

Malita

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi,

So from what I have read up, I have understood that an action cannot be called on a transaction screenset. And since a button needs an action I may not be able to use a button in this scenario.

So it seems that OpenUI may be the only solution. Do you have any other ideas?

Thanks,

Malita Fernandes

0 Kudos

Hi Subash,

Thanks for your reply.

One of the main issues I am facing is that I cannot seem to add an action on my button. It shows as disabled. Any idea why?

former_member265714
Participant
0 Kudos

Hi Malita,

In the Agentry Editor , you may need to create a button and map an action to it or pass it to a transaction screen which calls the values to be populated. Please read through the guides :

For your reference

https://answers.sap.com/questions/10834290/creation-of-buttons-in-agentry.html

and I have attached the language reference.

https://help.sap.com/doc/d9c75eebcfa840c8a4aa4b0e6a8136de/3.0.15/en-US/7c055ea6700610148ab585409ba1a...

--Subash