I have a custom function module to pull HTS & ECCN info from SAP GTS customs declaration.
Below is the high level logic I am using.
- Get the GUID_POBJ from /SAPSLL/CORREF for the REFNO = invoice number from feeder system
- Get the GUID_CUIT from /SAPSLL/CUIT for GUID_CUHD= GUID_POBJ from above step
- Get the GUID_CTSNUM from /SAPSLL/CORCTS for GUID_POBJ= GUID_ CUIT from above step
- Get the ECCN=EXSID and HTS=EXSID for STCTS=XXXXX from /SAPSLL/CTSNUM for GUID_CTSNUM= GUID_ CTSNUM from above step.
For some numbering schemes I do not see any records in /SAPSLL/CORCTS even though I can see the HTS and ECCN on the custom declaration item details (control and general data tab).
Shouldn't all the document tariff codes be visible in table /SAPSLL/CORCTS (Document - Customs Tariff Numbers: Non-Country-Specific). Why would some of the records be missing?