cancel
Showing results for 
Search instead for 
Did you mean: 

GTS table linking the commodity code/tariff num to the declaration

Former Member
0 Kudos

Does anyone know the GTS table linking the commodity code / tariff number field (ccnst or ccncu) to the customs declaration item. I have search through the tables with entries of doman ccngn looking for a GUID reference but cannot find a link to CUIT.

We want to write out the text description in an IDOC IWTX but cannot find the link.

Thanks

Chris

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Yes, it helped us understand the EDI process better. However, we went a different route. Somehow the module to write out IWTX in the transit document started working.

So we decided to populate the text field. When we call the programs to create a transit declaration from a customs declaration we perform the following steps.

We are using a hardcode number scheme "CAPNL"

1. We read the reference customs document number from the call stack.

2. We used the customs document to get the CUHD

3. We loop through all the items on CUIT getting the product (PR)

4. Then we go to PRCTS with PR plus hardcoded number scheme

5. Then finaly we go to CTSNUM to get the commodity code

Chris

Former Member
0 Kudos

hi thr,

u can get the value of commodity code and and commodity code description from the structure /sapsll/prn_if_s --> i_gen table. there u fetch the value on basis on guid_cuhd. with the same guid value u can then get the customs document number as field CORDER in /sapsll/cuhd table.

hope this helps.