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: 

Route determination with BAPI BAPI_SALESORDER_CREATEFROMDAT1

Former Member
0 Kudos

Is there a way to automatically determine the route while creating a new sales order via BAPI_SALESORDER_CREATEFROMDAT1? I can't figure it out. I am entering the plant into the line items but the route isn't determined. We have to go into the sales order, delete the plant, add it back, and save in order for the route to be automatically determined.

Regards,

Aaron

4 REPLIES 4

former_member491305
Active Contributor
0 Kudos

Hi ,

I am not sure this will solve your problem 100 %. But try it.

If you are passing SHIP-TO party in Partners table,then i think route will be determined automatically.

Regards,

Vigneswaran S

0 Kudos

I am passing in the ship to address but not the transportation zone or tax jurisdiction code. I am going to add those two fields to see if that makes a difference; before I was just passing in the address number.

Regards,

Aaron

No, that didn't work.

Edited by: Aaron Shover on May 26, 2008 6:02 PM

0 Kudos

Hi Aaron,

you need to populate the INCOTERMS field(s).

Cheers

Graham Robbo

Former Member
0 Kudos

hi Aaron Shover, do you find the solution of it? Which fields of the BAPI are necessary for ROUTE?