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: 

BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos

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?

3 REPLIES 3

Former Member
0 Kudos

You have to import the bapi in integration repository.Also i cant understand sender is sap-rfc then what is receiver sap-?.

Also check mapping

Former Member
0 Kudos

Resolved

0 Kudos

Hi Radhika,

How did you slove the issue? Iam facing the same issue.

Regards

Ananth