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: 

error "Jurisdiction code could not be determined" in so create bapi

Former Member
0 Kudos

I am using the bapi "SO_NEW_DOCUMENT_ATT_SEND_API1" for creating the sales order,

it gives the error "Jurisdiction code could not be determined" Sometimes there are two juridiction code maintained in the system .

1) During the ship to party address change at sales order , city , country and postal code fields determine the Juridiction codes. Sometimes there are two juridiction code maintained in the system for one city and in such cases BAPI fails to create an order.

2)When the ship to party is foreign country then we do not need Juridiction code in sales order. In such cases also the BAPI fails to create sales orders and writes an error log , saying juridition code could not be determined.

Proposed Soltuion.

We have to modify the BAPI to force the values of ship to address as it is from the text file without exiting the sales order creation.

Thank You,

Ganesh

4 REPLIES 4

Former Member
0 Kudos

hi ,

u need to give the right postal address. If it is then it won't give the warning message.

Regards,

Rose.

0 Kudos

I wish to create the sales order even if customer master data is incorrect.

E.g. Missing postal code, City, Country etc.

Former Member
0 Kudos

I have solved my own.

0 Kudos

Hi Ganesh

Can you give us a bit more details as to how you solved it?

Thanks & Regards