cancel
Showing results for 
Search instead for 
Did you mean: 

SC Uploading Program to create SC automatically.

Former Member
0 Kudos

Hello

We use the classic scenario with SRM server 5.5

Sometime enduser should create SC with line items 100-300.

For this reason, my customer wants uploading program to create SC.

First of all, enduser will make the excel file with material code, price, qty.

And then user convert file type (excel  text) to upload.

Could you explain the way how to create SC?

Which FM can we use to create SC automatically during uploading the file?

Thank you

Best Regards

Lee, Sohee.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello , you can use FM BBP_PD_SC_CREATE to create a shopping cart, in order to have a shopping cart created you will have to read some additional data.

You will have to prepare an header and define a guid for it, this guid has to be used in the 'parent' field of the items, you will also have to generate a guid for the items and use it when creating the accounting lines, the partner functions lines and the organizational structure informations. For example

header-guid = 1.

item-parent = 1.

item-guid = 2.

accounting-guid = 3.

accounting-p_guid = item-guid.

partner-partner_guid = 4.

partner-p_guid = item-guid.

organization-guid = 5.

organization-p_guid = item-guid.

You can assign the shopping to a user defining his business partner as role '00000016' in the partner function table

After you have called BBP_PD_SC_CREATE and receive no error messages you will have to call BBP_PD_SC_SAVE to have the shopping cart saved.

Regards, Luciano.

Former Member
0 Kudos

Thank you for your help.

I'l try to do it.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Lee,

To Create a shopping cart the Function module used is

"BBP_PD_SC_CREATE".

Regards,

Andy