cancel
Showing results for 
Search instead for 
Did you mean: 

Blanking out default shopping cart name

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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