cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the E_account throught FM: BBP_PROCDOC_GETDETAIL

former_member623843
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183819
Active Contributor
0 Kudos

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

former_member623843
Participant
0 Kudos

HI ,

Just now i got another information.

i think so this FM: BBP_PD_SC_GETDETAIL also can do the help..

Former Member
0 Kudos

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

former_member623843
Participant
0 Kudos

Thanks to all