on 08-29-2012 5:11 PM
I've created 5 new fields in the Shopping cart level position.
I'm facing some problems when I try to create a free text SC in SRM 7.01.
I've noticed that when I complete the new fields created in the SC, they appear empty in the BADI BBP_SC_CHANGE (debuggin internal table it_item).
Thank you,
Hello Angel,
Are you referring to BBP_BDI_PD_SC_CHANGE? This is Enhancement spot which is internal before having any data in shopping cart. If you are using this thats the reason you are not getting any data in side the internal table.
Please use BADI BBP_DOC_CHANGE_BADI with interface BBP_SC_CHANGE.
If you are referring to BBP_SC_CHANGE interface only with BBP_DOC_CHANGE_BADI then do you see the custom fields it_item? I mean to ask in structure BBPS_SC_ITEM_BADI do you see the fields?
Thank you
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Angel,
Could you please check following notes; They may be useful
Note 1384452 - BBP_DOC_CHANGE_BADI: IT_ITEM empty when SC is saved.https://service.sap.com/sap/support/notes/1384452
Note 1395848 - BBP_DOC_CHANGE_BADI-BBP_SC_CHANGE PROC_TYPE not available.
Thank you
Ritesh
1) How did you add those z custom fields on the shopping cart?
Did you go thru spro->.....-> define customer fields at header level(text may not be exact)..
if yes.. then we need to to additional activities.
We need to add those fields by enhancing the Webdynpro of the SC at item level.
We need to add this to the context of the view that you the z fields are placed .
We need to transfer those fields in z custom to the standard structure , by executing this(set_ui_changed_by_flag) post-exit code in the modifyview of the view.
By this , the values in the z custom fields are transferred to the std. structure in the Webdynpro .
Put an external bk-point in change BADI.
Now if you click on save , the control stops at change BADI and if you check the Z fields , they will be filled.
hope this hepls.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.