cancel
Showing results for 
Search instead for 
Did you mean: 

Identify the Button Pressed in BBP_DOC_CHANGE_BADI ?

diegohs
Active Participant
0 Kudos

Hi guys,

Do you know how could I identify which button was pressed in BBP_DOC_CHANGE_BADI ? Because that badi is called a lot of times, but I would like to execute some code when the end-user pushes the "submit" button.

Do you know ?

Thank yoiu !!!!

Diego

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Diego,

Simple, in the transaction that you are using (Say BBPSC01 or BBPSC02) before you press the button,switch on the Debugging(/h) and press the button. IN the Debugger screen find the value for the system variable SY-UCOMM. This should show you the button ID used.

Please reward points if this hint is useful.

Thanks & Regards,

Venkat

diegohs
Active Participant
0 Kudos

An abap guy told me.. 😃

UCOMM 😃

Former Member
0 Kudos

Hi Diego,

is there a chance within the doc_change_badi to identify the shopping cart position that is being processed currently and what has been changed in it?

Thank you,

Claus