Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_SALESORDER_CREATEFROMDAT2

Hi,

Iam creating a sale order using the BAPi

BAPI_SALESORDER_CREATEFROMDAT2 .

When I run it directly with the details DocType, Material, Qunatity, Partnertype, Partner number iam able to create the order.

When I try the same from XI i.e Iam calling the BAPI from Xi and passing the same values to R/3, Iam getting the error like

DOC TYPE is not defined, Sold to party, ship to party is not passed. But in R/3 BAPi is successful. What could be the reason for this. Is system is not recieving the values in the required format. Do I need to format them before sending?

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question