on 09-01-2009 9:13 AM
Hello, my requirement is as follows.
Actually shopping carts which are associated to blocked suppliers are being created. You only get an information message during creation. The need is to block further creation of SC but allow approval to continue for SCs already created(with blocked supplier).
I wish to implement a control in BBP_DOC_CHECK_BADI.
The control should distinguish between approval and creation of shopping cart.How can i do this.thx in advance.
Hello,
Please implment the below logic inside the BBP_DOC_CHECK_BADI.
IF SY-TCODE = 'BBPSC01' " Transaction for creation of SC.
Get the vendor numbers from the line item of the SC
Check whether the locked vendor exist in the line item of the SC
IF YES then show an error message.
else
continue.
ENDIF.
Regards,
Anindya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.