on 11-21-2008 12:54 PM
HI All,
I want fetch the cost assignment (E2_Account) from shopping cart by programatially. So I am using the below FM:
call function 'BBP_PROCDOC_GETDETAIL'
EXPORTING
I_GUID = L_guid
I_READ_FLAGS =*
IMPORTING
E_HEADER =
TABLES
E_ACCOUNT = E2_account
.
Here if we observe Cost assignment will be taken from I_READ_FLAGS. By seleting A.
BY using the SE37
I am passing the L_guid. And selecting A in the I_READ_FLAGS. When I run iam getting the data from E_Account.
BY programmatically iam not able to get.how I need to pass the A data to the I_READ_FLAGS.
Have a nice day.
Hi
Did you check FM BBP_PD_SC_ITEM_GETDETAIL - pass CRMD_ORDERADM_I guid as input. you will get E_ACCOUNT info as output.
regards
Muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Normally one should use the BBP_PD_SC* function modules to retrieve data from shopping carts. The procdoc getdetail is a more generic function module that gets called by the function modules for the different function modules.
If the code you pasted above are exactly the way it is programmed, you aren't passing the read_flags parameter as it is commented out.
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.