Tax Jurisdiction code and BAPI BAPI_SALESDOCU_CREATEFROMDATA1
I am using BAPI_SALESDOCU_CREATEFROMDATA1 to create sales orders. These orders are for people who do not have an SAP customer number and we do not want them to have a customer number. Because of this we are using a generic customer number so that requires us to change the ship-to and bill-to address. How am I suppose to do this? Right now I am using the partners structure BAPIPARTNR and passing it to the BAPI. I am using an existing partner number and overriding the name, address, district, etc... However I do not know, or know how to get, the Tax Jurisdiction code and that is required.
So, first, is there a better way to do this? Second, how do I get the tax jurisdiction code?