cancel
Showing results for 
Search instead for 
Did you mean: 

DOC_CHANGE_BADI for SUS Send vs Hold

Former Member
0 Kudos

Hello,

I'm wondering if anyone knows a way to determine if the 'Send' button was pressed vs the 'Hold' button the DOC_CHANGE_BADI for a PO in SUS. I saw a similar answered post which was resolved by using SY-UCOMM value, but I assume that was for EBP using ITS (This field has no value in the SUS BSP).

FYI-I'm using SRM 4.0

Thanks in Advance,

Kyle MacDonald

Accepted Solutions (1)

Accepted Solutions (1)

khan_voyalpadusman
Active Contributor
0 Kudos

you can use DCO_CHANGE_BADI for SUS --> you are right might be in SUS ---> value of SY-UCOMM is not available.

But you can find other fields where the value of the current document processor is availble.

please have a look.

Former Member
0 Kudos

Hello,

I checked this before and and field values are the same when the change badi is called with a hold or send action. (badi called once during hold and twice during send).

I got around this issue by populating a customer field in the BBP_SAPXML1_OUT_BADI which is only called on send.

The sequence of badi calla on a send is: BBP_DOC_CHANGE_BADI -> BBP_SAPXML1_OUT_BADI ->BBP_DOC_CHANGE_BADI.

Regards,

Kyle

Answers (0)