on 12-06-2007 4:48 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.