cancel
Showing results for 
Search instead for 
Did you mean: 

GTS Tranportation routing

former_member267975
Participant
0 Kudos


Dear Team,

Need help on GTS transportaion routing we have in the customs declaration .

Here we have a basic entry country of departure and country of destination.

Country of departure will be used as first country in the transportaion route.

Country of destination will be used as a second country (which is the last country in the rounting we do actually).

Customs want to have detailsed route information

Present route like DE ....and..... TR

But we want  DE - AT- AU- BR- PK - TR the details route which should come automatically.

Regards

Sitanshu

Accepted Solutions (1)

Accepted Solutions (1)

former_member215181
Active Contributor
0 Kudos

Hi Sitanshu,

If you are using SAP ECC or R/3 as your feeder system, there is automatic integration for this function.

The countries are determined automatically for the Route in the Outbound Delivery, according to the Transportation Connection Points assigned to the Route.

In case you are not using Route Determination, you can also fill the countries in the ERP BAdI /SAPSLL/IFEX_SD0C_R3, Method IF_EXTEND_CUS_CDOC.

Hope that helps.

Regards,

Dave

former_member267975
Participant
0 Kudos

Hello Dave,

I checked in R/3 through SE19 transaction but no BAdI /SAPSLL/IFEX_SD0C_R3 it's telling does not exist.

Thanks

Sits

former_member267975
Participant
0 Kudos

Hello Dave ,

Ofcourse we use route determination but where and what to do so that in GTS it will come automatically.

Present route like DE ....and..... TR

But we want  DE - AT- AU- BR- PK - TR the details route which should come automatically.

Regards

Sits

thomasrausch
Active Participant
0 Kudos

Hello,

take transaction SE18!

Regards

Thomas

former_member267975
Participant
0 Kudos

Yest I able to view through SE18.

But how to achieve the result ? What is my next step ?

Is it possible to set-up through in R/3 configuration?

Please advice

Regards

Sits

thomasrausch
Active Participant
0 Kudos

Hello,

choose transaktiopn SE19 and insert /SAPSLL/IFEX_SD0C_R3 as  showen in the picture, press create impl.

Next choose a name e.g. zsapsll_if_ex_ifex or something else

 

Next choose implementation short text and activate your implementation

choose interface and double click on the methode you want to enhance

e.g. IF_EXTEND_PRE_VDWLO

you get

and her you can implement you coding. The stuff from my first answer can only be done in GTS.

Regards

Thomas

former_member267975
Participant
0 Kudos

Thanks Thomas,

So which one you recommend. Do I need to change in R/3 or in GTS.

Second thing- I did not get the Transportation route so how to do this ?

thomasrausch
Active Participant
0 Kudos

Hello Sitanshu,

I recommand my first advice, because the program costs are low and the rest is data maintenance (you must do this only in the GTS system, no ERP system is involed !!!).

You must only change the FB / SAPSLL / DPDATA_MULTI_TARGET (transaction SE37).

The porgramcode is only this (3 lines !!!)

               if ls_tdpfld-tabname   eq '/SAPSLL/LEGCTR'.
                        ev_multi_trg = gc_true.

               endif.

You have to  look for the rule H_ROUTE (see picture)

and her you have the possibilities to define your routes

Regards

Thomas

thomasrausch
Active Participant
0 Kudos

Hello Sitanshu,

her a short description for defining the enhancement in the GTS system:

SE37 Dsiplay

press   on the next screen

Scroll to 

 

And press


and a pop up occurs

 

Choose code

Choose a name for your Enhancement e.g. ZGTS_ROUTE_DEFS and an short
text

Fill out the next pop up for package etc. After that you get

Double click on ZGTS_ROUTE_DEFS you get

And her you can put in the code behind the '*'

  Activate the enhancement- DONE. After that you can maintain you default data for the rule H_ROUTE.

Regards

Thomas

former_member267975
Participant
0 Kudos

Hello Thomas,

I tried with the transaction- /SAPSLL/DPDATA_MNTN and then entered Default procedure-CDEDE and the legal regulation-ATLAS. But I cannot see the Transportation Route.

thomasrausch
Active Participant
0 Kudos

Hello Sitanshu,

this is customizing. I have now in a meeting and that takes a while Tomorrow I will send you what to do so (if is okay for you)

Regards

Thomas

former_member215181
Active Contributor
0 Kudos

Hi Sitanshu,

For each relevant Route, define and assign Transportation Connection Points with suitable reference data (Plants, Customs Offices, etc.) to provide "country" information.

Those countries are then determined during the transfer of billing documents to GTS, in Function Module /SAPSLL/SD0C_6800_MAP_R3.

The standard functionality works well, so there is no need to create any enhancements.

Regards,

Dave

former_member267975
Participant
0 Kudos

Yes Thomas , it's fine with me if you can tell tomorrow?

And let me know step by step what I should do next because this is new things to me.

I think customization needs to be done first and then enhancement ?

Please advise

Regards

Sits


former_member267975
Participant
0 Kudos

Thanks Dave,

So what configuration needs to be done in R/3 so that all the route will come into GTS automatically.
DE - AT- AU- BR- PK - TR

Thanks

Sitanshu

former_member215181
Active Contributor
0 Kudos

Hi Sitanshu,

I just told you that.  Your Route from Germany to Turkey needs to have 5 Stages:

  1. DE to AT
  2. AT to AU (are you sure the goods are taken via Australia??)
  3. AU to BR (same question)
  4. BR to PK (I'm not sure that the Germany Customs guys will believe you!)
  5. PK to TR

And you will need to create 6 Transportation Connection Points - one for each of those countries.  I guess you can ask in the LE forum if necessary.

Good luck with that.

Regards,

Dave

thomasrausch
Active Participant
0 Kudos

  Hello Sitanshu,

so it's customizing time. Use TC SPRO and go to see picture

Next you get

Double click on Default Rules and you get the defined rules for the default data scheme

If the entry H_ROUTE do not exists, maintain it. The Seg.No defines the position in you scheme and set the Actv. flag. Then you must define the access for your rule

   click accesses and you get the following. in our company we use the field combination FC_0002

If all goes well, you get

 

And her you can define your transportations routes e.g.

You have now two solution. Make up your mind for one.

Regards

Thomas

thomasrausch
Active Participant
0 Kudos

  Hello Sitanshu,

here one or two notes

Yes, do the customizing first and maintain your transportation rules. Then you can apply the default data settings in your custom decleartion via

So you can overwrite the data in a manually way.

If you want that automatically done, you have to change the FB.

Let me know how far you have come.

Regards,

Thomas

former_member267975
Participant
0 Kudos

Thanks Thomas,

I think customization is good. Appart from customization programing is required ?

Thanks

Sits

thomasrausch
Active Participant
0 Kudos

Hello Sitanshu,

programing is required if you want that the system do the work for you!

If not, customizing is fine. But you must do the finding manually every

time for any custom declaration.

Regards,

Thomas

former_member267975
Participant
0 Kudos

Hello Thomas,

I think it should come automatically. So you want me to change the Function module then ? instead of changing the customization ?

Regards

Sits

thomasrausch
Active Participant
0 Kudos

Hello Sitanshu,

you must do both (customizing & programing) if you want to use the automatic. When an ERP document is send to GTS the defined rules for default document data are always processed.

E.g. no rule ==> standard ( DE-TR), default data defined ==> they are taken(DE-PL-UA-RO-BG-TR)

Regards

Thomas

former_member267975
Participant
0 Kudos

Thank for your support and it worked.

Regards

Sits

thomasrausch
Active Participant
0 Kudos

Hello Sitanshu,

nice to hear!

Regards,

Thomas

Answers (1)

Answers (1)

thomasrausch
Active Participant

Hello Sitanshu,

first create default data settings via transaction /SAPSLL/DPDATA_MNTN - Default Data for Document/Messages e.g. for

                    Procedure for Defaulting Data        CDEDE

                    Legal Regulation                             ATLAS

scroll to Transportation Route (Country Information) and click on Country of Destination FC_0002. if all ist ok, you get the following

Here you can insert the country of destination TR and your transportation route DE - AT- AU- BR- PK - TR (you can define here only 5 countrys e.g.11-22-33-44-55, see picutre)

The next thing you have to do is: get an developer, because you have to do some programing.

In order for the route information can be optionally filled from the data in the GTS proposal , the ' MULTI_TARGET' flag for the object / table ' / SAPSLL / LEGCTR must ' set.

This is done via an Enhancement Point in the: Function module :

/ SAPSLL / DPDATA_MULTI_TARGET (transaction SE37). The porgramcode maybe

               if ls_tdpfld-tabname   eq '/SAPSLL/LEGCTR'.
                        ev_multi_trg = gc_true.

               endif.

regards

Thomas

thomasrausch
Active Participant
0 Kudos

Hello Sitanshu,

I've make a small mistake. You can define more than 5 countries. See picture

Regards,

Thomas

former_member267975
Participant
0 Kudos

Thanks,

But I want it should come determine automatically each time.

Regards

Sits

thomasrausch
Active Participant

Hello Sitanshu,

but this is the intention of my information.

If you have defined rules for default document data via the transaction

/SAPSLL/DPDATA_MNTN  and the mulit traget flag is set (see FB /SAPSLL/DPDATA_MULTI_TARGET) then GTS will always pick your definition automatically. E.g. ERP sends DE-TR and you have no data proposal, GTS will set DE-TR. If you have defined e.g. for TR : DE-PL-UA-RO-BG-TR you get exactly this in you custom decleration( Germany-Poland-Ukraine-Romania-Bulgaria-Turkey).

Regards

Thomas