cancel
Showing results for 
Search instead for 
Did you mean: 

Where to enter Office of Exit if Office of Exit is in foreign country?

Former Member
0 Kudos

Dear Gurs,

We have a case where the Office of Exit is not in our own country.

It is in an foreign country.

We want to enter the Office of Exit in the field Office of Exit in ERP

but there we can only enter Office of Exits which are in our own country.

How can this be achieved?

Thanks

Regards

Dieter

Accepted Solutions (1)

Accepted Solutions (1)

former_member215181
Active Contributor
0 Kudos

Hi Dieter,

The Foreign Trade functionality in ERP was not designed for that scenario. As you've seen, the Office of Exit can only be chosen from entries in your own country.

Is your question somehow related to GTS? If so, please explain more, and perhaps we can help you to find a solution. If not, then perhaps it's time to think about a change?

Best regards,

Dave

Former Member
0 Kudos

Yes it is related to GTS, becuase the Customs office is been transferred to GTS..

former_member215181
Active Contributor
0 Kudos

Hi Dieter,

Is there any particular reason why you want to enter the Customs Office in the ERP system? Why not enter it into the Export Declaration in GTS instead?

Regards,

Dave

Former Member
0 Kudos

Cause we do not want the user to enter the GTS.

All data are entered in SAP ERP and it should be transferred to GTS

(this includes also the customs offices)

former_member215181
Active Contributor
0 Kudos

Hi Dieter,

You can do it, but you have to use some "clever coding"...

First, add entries for your proposed EU Offices of Exit as if they were in your home country. For example, if your home country is Germany, and you want to use Rotterdam as an Office of Exit, then you could make this entry in table T615 (Transaction OVE2):

DE NL0341 * Rotterdam

You would use the "star" in the description to tell the system (and to show your users) that the Office is in a different country.

Then you need to code the BAdI /SAPSLL/IFEX_SD0C_R3 so that, when the description begins with a "star", the field cs_hdr_cdoc-gen-cust_office_exit gets the value 'NL000341'. In that way, the Office of Exit will be set correctly in GTS. You can find example code in SAP Note 1073034.

Depending on the countries and offices you propose to use, your coding for the Office Numbers might have to be different. For example, some countries use all 6 digits to describe the office, and in that case you would not be able to use 2 of them for the country. You might therefore need to think about including the country in the description - for example "*NL Rotterdam", and pick up the country code 'NL' in the BAdI. I'm sure you can come up with a solution that works for your business.

Good luck!

Dave

Answers (0)