on 09-01-2006 3:40 PM
Hello,
I need to display a shopping cart(SC) number in the Basic data screen(at item level). However, the SC number is only available at HEADER level and not at ITEM level.
1. I've updated the relevant item structures as per Note 458591.
1. I used method MODIFY_SCREEN in BBP_CUF_BADI_2 to display the field. The field still doesn't display in the screen.
2. I also need to use BBP_DOC_CHANGE_BADI to move the SC number from the HEADER structure to the ITEM structure. However, the HEADER structure in this BADI doesn't have the SC number available.
Your assistance will be highly appreciated.
Rgds,
Chris.
Hi Chris,
1. I've updated the relevant item structures as per Note 458591. I used method MODIFY_SCREEN in BBP_CUF_BADI_2 to display the field. The field still doesn't display in the screen.
What version of SRM you are on??
2. I also need to use BBP_DOC_CHANGE_BADI to move the SC number from the HEADER structure to the ITEM structure. However, the HEADER structure in this BADI doesn't have the SC number available.
In doc change badi use funtion module BBP_PD_SC_GETDETAIL
and pass GUID from Header structure.
You will get the shopping cart number in the export parameter E_HEADER (OBJECT_ID).
Cheers,
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
there may be a more direct solution, avoiding duplicating the header field to all items:
the SC ID is already existing in item basic data: field GS_SCR_BASIC_H-OBJECT_ID in screen SAPLBBP_SC_UI_ITS 300.
So just adapt the HTML template to display this field where needed.
The SC ID field is also always present in item overview screen (SAPLBBP_SC_UI_ITS 0120): GS_SCR_ITMOVR_H-OBJECT_ID.
Rgds
Christophe
PS: please reward points for helpful answers
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.