on 05-19-2007 11:48 AM
Dear SRM Gurus,
I have created 2 custom fields in SC at item and header level. I want to copy the header custom field value to the item custom field, for copying I am using the BAdI <b>BBP_DOC_CHANGE_BADI</b> and i have written the code in method <b>BBP_SC_CHANGE</b> but when i implemented and activated this BAdI some of the values in the SC are becoming blank..
The values such as Purchasing group, location, cost center and G/L Account are becoming blank when i pressed any key...But this is working fine when I deactivated the BAdI..
Please do the needful..
Thanks in Advance,
Chandra Sekhar
Hi,
You have not properly implemented the BADI thats why the values are becoming blank.Move the values of all importing tables to the changing tables.
e.g. move it_item[] to et_item[].
move it_account[] to et_account[].
move it_partner[] to et_partner[].
move it_orgdata[] to et_orgdata[].
move it_hcf[] to et_hcf[].
move it_icf[] to et_icf[].
BR,
Disha.
Pls reward points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi gurus,
I've created 5 new fields in the Shopping cart ( nivel 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).
please help
Thank you,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandra,
We have used the same BADI to map the customer fields and it does work well. I guess the problem is just in the way the internal tables are being modified. Please post your code here so that we can help you better.
Regards
Kathir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you look at the documentation provided for this badi in spro. You'll notice that for the BBP_SC_CHANGE method you need to manually map your input parameters to the output parameters. So first (or after) do a mapping of all the IS and IT to ES and ET structures/tables.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.