on 09-05-2007 7:57 AM
hello geeks,
I have to determine global account in SRM while creating shopping cart using BBP_DOC_CHANGE_BADI (using BBP_SC_CHANGE method).
These has been done by calling RFC ,which is created in ECC 5.0,in that i have to determine the global account in ECC 5.0 using MR_ACCOUNT_ASSIGNMENT function module.
If i can use the structure(BBP_PD_SC_ITEM) in SRM ,whether i can able to proceed this ???
Or i have to use different BADI???
Pls help me out if anyone solve this issue alreay with any sample code?????
Thanks in advance,
help will be rewarded,
srini
GOt a answered,Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes : you can definetely do it with bbp_doc_change badi.
Kind regards,
Yann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Yann,
Can u have any sample code for that like which structure has to change and which table i have to loop for get the other values .
For example in my RFC FM my import parameters are like
CC,PLANT,product category ,Account assignment category.
For more info,
By passin these values i will get the global account from ECC and after that which structure i have to change in SRM to get reflect in Shopping cart backend global account assignment from ECC global account.
Thanks for aproached,
srini
Hi,
My advice is to create a Z function module in ECC in order to determine the G/L account and then to get the result in bbp_doc_change badi by calling the ECC Z FM.
If you use material master and valuation class, you will have to use :
DATA: vl_bklas TYPE bklas.
DATA: vl_matnr TYPE matnr.
and FM MR_ACCOUNT_ASSIGNMENT
Kind regards,
Yann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.