cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Input nodes to Sales Order creation using VC

Former Member
0 Kudos

hi experts,

i'm using BAPI_SALESORDER_CREATEFROMDAT1 for sales order creation in VC. i would like to get header details in a form and also like to get the multiple items details in a table and partner details in atable.i've to take both contents to create a sales order. when i click the submit button in the form " sold-to party is not defined" error message displayed and when i click the submit in table "DOC TYPE is not mentioned" message is shown. but i've given both details.

can you help me to solve my problem and i've confused which field is used to mention the sold-to party in the header_in.

thanks and regards

basheer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I was facing the same problem while creating the sales order. Try giving following values:

If you are creating standard order, then enter 'TA' instead of 'OR' to the Doc_Type and enter 'AG' as a partner role instead of 'SP'.

It works for me. I don't know how??? Lets try.

Also try following links.

http://sap.ittoolbox.com/groups/technical-functional/sap-dev/problems-working-with-bapi_salesorder_c...

http://www.saptechies.com/bapi_salesorder_createfromdat2/

Thanks,

Prashant

(PS. Do Rewards Points for useful answers)

Answers (1)

Answers (1)

Former Member
0 Kudos

Try putting an external breakpoint in the BAPI and seee what values are being passed into the Function Module, also when mapping the inputs from the event are you referencing the vales of the other UI elemnets?

Regards

Carl