2016 Feb 20 1:12 AM
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.
2016 Feb 21 12:18 PM
Hi,
Please try using the BAPI -> BAPI_SALESORDER_CREATEFROMDAT2 as this contains most of the features.
Regards,
Renjith Michael
2016 Feb 21 12:18 PM
Hi,
Please try using the BAPI -> BAPI_SALESORDER_CREATEFROMDAT2 as this contains most of the features.
Regards,
Renjith Michael
2016 Feb 22 7:38 PM
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.