Application Development and Automation 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: 
Read only

BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
619

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
Read only

Former Member
0 Likes
585

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

Read only

Former Member
0 Likes
585

Resolved

Read only

0 Likes
585

Hi Radhika,

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

Regards

Ananth