Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM 'BAPI_SALESORDER_CREATEFROMDAT2'

Former Member
0 Kudos

Hi,

I am using the FM BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order.

Can anyone let me know in which structure we need to pass the Partner details and Pricing details.

Regards,

SP

4 REPLIES 4

Former Member
0 Kudos

Hi

ORDER_PARTNERS for partner

ORDER_CONDITIONS_IN for pricing

Max

narin_nandivada3
Active Contributor
0 Kudos

Hi,

The structure of Partner Details is ORDER_PARTNERS.

Please check this sample code related to it.

http://www.sap-img.com/abap/bapi-salesorder-createfromdat2.htm

And for Pricing the structure is ORDER_CONDITIONS_IN

Please check this link for sample code

http://www.sapnet.ru/viewtopic.php?t=376

Hope this would help you.

Good luck

Narin

Former Member
0 Kudos

Hi,

Partner - ORDER_PARTNERS

Pricing - ORDER_CONDITIONS_IN

Thanks & regards.

Manee

Former Member
0 Kudos

Hi,

For partner, order_partners of type bapipartnr

For pricing, ORDER_CONDITIONS_IN

Regards,

Neenu