on 12-01-2006 2:14 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lee,
To Create a shopping cart the Function module used is
"BBP_PD_SC_CREATE".
Regards,
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.