on 05-18-2006 11:45 AM
Hi,
I wish to blank out the default shopping cart name when creating a new shopping cart.
I know I can use BBP_DOC_CHANGE_BADI-BBP_SC_CHANGE to change the field, but since this BADI is called multiple times, is there a way I can determine if it is the first call in create mode? Or is there another way on blanking out the field?
We are looking at SRM 5
Hi Jon,
SC name is defaulted when creating the SC, in FM BBP_SC_APP_EVENT_DISPATCHER --> FORM sc_init --> FORM sc_create, just before calling BBP_PD_SC_CREATE and its BADI BBP_SC_CHANGE.
So:
- either you change this std ABAP code
- either you have enough data in the BADI to determine that you are in create mode, and not in update mode (no item data, minimum header data)
Rgds
Christophe
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.