cancel
Showing results for 
Search instead for 
Did you mean: 

What FM should be called to Order a shopping cart

Former Member
0 Kudos

Hi

I am using BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT in sequence to create the shopping cart..

Shopping cart gets created.. I see the entries in CRMD_ORDERADM_H & CRMD_ORDERADM_I but I don't find the shopping cart in BBP_MON_SC tcode. Looks like its not ordered.. Can anyone plz help on what FM should be called to order a shopping cart? ...

Thanks

Geetha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try using FM: BAPI_SCEC_CREATE

Former Member
0 Kudos

I tried BAPI_SCEC_CREATE.. I am passing item details.. Still I get the error in RETURN parameter.

TYPE E

ID BBP_PD

NUMBER 238

MESSAGE Enter at least one item or one limit

If you want to know the data that I am passing I can detail that.. Plz let me know..

Thanks

Geetha

former_member183819
Active Contributor
0 Kudos

Hi

/message/3086605#3086605 [original link is broken]

plz see sample of kathir's.

regards

Muthu

Former Member
0 Kudos

Hi

I tried the FM - BBP_PD_SC_CREATE_EXTERNAL, but I have issues with account assignment data (which will set up default for any user in config). This takes only the default Cost center & doesn't take business area & GL Account. I fed the GL Account & Business area in debugging mode & shopping cart went through without issues & was ordered. Thanks Muthu for your reply..

Still, due to the issue with GL Acct & Business area (that I face in the FM - BBP_PD_SC_CREATE_EXTERNAL) I am not sure if I will be able to use this..

Next question: Since BBP_PD_SC_CREATE_EXTERNAL inturn creates BBP_PD_SC_CREATE, I am tried to check what parameters are passed while calling the latter.. I see that the parameters I_SAVE is passed as X..

When I tried to pass I_SAVE & run the FM - BBP_PD_SC_CREATE, I get the dump CX_BBP_PD_ABORT. Can anyone help on this...

Did you get the same dump anytime..

Note -- If I run the FM - BBP_PD_SC_CREATE without passing I_SAVE = 'X' & retain the other data, it goes through sucessfully but doesn't order the shopping cart.. But it creates the SC sucessfully.

Thanks

Geetha

Answers (1)

Answers (1)

Former Member
0 Kudos

The answer provided still has few clarifications.