Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Decide button name after it is clicked

Hello everyone,

I am using toolbar buttons on ipad Screen, these buttons will come into popup menu on toolbar.

<Pop Up Menu>

---Button 1

---Button 2

---Button 3

---Button 4

When i am clicking first button it will call an action and there i want to decide which button i clicked...

depending on it next transaction processing will happen..

When i am clicking second button it should call same action and again decide which button i clicked..

...................................................................................................................................................................................

Right now i am using following,

call separate actions for separate buttons---->fill dummy transaction to save button name in object--->process it on next transaction screen

(since "Button1" will always call "Action1" i am saving hardcoded name from transaction and it is working)

But this solution required to create those many number of actions and transactions for number of buttons..

like in above case....4 Buttons--->4 Actions--->4 Transactions

...................................................................................................................................................................................

Is there any better approach to solve this problem..?

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question