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

Creating Sales Order using BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
446

Hi All,

I am having problem while creating a SO using the BAPI_SALESORDER_CREATEFROMDAT2, Its returning sales documnet type is not defined. I used to get the error to speciy the ship to party or sold party earlier that has been resloved now I am getting the above specifed error.

Please help me its very urgent

Thanks,

Suma

3 REPLIES 3
Read only

Former Member
0 Likes
426

Hi All,

Again I am getting the error Please enter sold to party or ship to party, where do I need to specify them??

Thanks,

Suma

Read only

0 Likes
426

Hi Suma

While populating data for Sales Order Creation, populate PARTNER table with Sold-To or Ship-To as per you business process.

Minimum two fields are to the fields for this structure:PARTN_ROLE , PARTN_NUMB


PARTN_ROLE    ---> " Partner Role, which specifies the partner type i.e Sold-To, Ship-To, Bill-To ...
ARTN_NUMB ---> " Customer Number

Regards

Eswar

Read only

Former Member
0 Likes
426

Resloved my self