on 11-12-2014 5:36 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
Hi Sitanshu,
I just told you that. Your Route from Germany to Turkey needs to have 5 Stages:
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
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
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
6 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.