Skip to Content
avatar image
Former Member

Blanking out default shopping cart name

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 18, 2006 at 11:23 AM

    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

    Add comment
    10|10000 characters needed characters exceeded