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

Carrier missing while creating sales order using BAPI sd_salesdocument_create

Former Member
0 Likes
653

Hi All.

I  using BAPI SD_SALESDOCUMENT_CREATE to create sales order.

When I create a document the foreigner carrier is changed to other, I checked the master data and it has partner function defined.

wa_partners-partn_role    = 'FC'.  "Frieght carrier

wa_partners-partn_numb = int_order-kunnr2.

1 ACCEPTED SOLUTION
Read only

former_member192467
Active Participant
0 Likes
572

Hi,

Please try using the BAPI -> BAPI_SALESORDER_CREATEFROMDAT2 as this contains most of the features.

Regards,

Renjith Michael

2 REPLIES 2
Read only

former_member192467
Active Participant
0 Likes
573

Hi,

Please try using the BAPI -> BAPI_SALESORDER_CREATEFROMDAT2 as this contains most of the features.

Regards,

Renjith Michael

Read only

0 Likes
572

Hello Renjith.

I successfully solved that mistake, with change of partner role  'FC' to  'SP', SP is the German translation used in SAP for define Freight carrier.

Thank you for your help.

Best Regards.