Skip to Content
K T

Auotmate the upload of HTS xml file in GTS?

Hello Every one

We receive weekly update of new HTS code files from Customs Info to upload in GTS system. Currently we go to Customs Info FTP and then download the HTS xml file and then  Manually upload through transaction /SAPSLL/LLNS_UPL102.

Can we automate this process through batch job. Kindly suggest.

Thanks in Advance

Best Regards

Kiran Thakkar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 01, 2014 at 12:44 PM

    Hi Kiran,

    I think this is possible and I have seen similar solutions in the past.

    I suppose it depends on how much of the process you would like to automate.

    For the whole process to be automated I think you would need some non-ABAP programs and also some input from the Customs Info. website.

    But if we had a user download the file then it would be easier to trigger automatic upload from that point on wards.

    User could always make sure to download the file to a certain folder on the application server.

    You would then need to write a modification or custom program that checks that folder for new files. If it finds a new file then it triggers the background job.

    Or you could set the background job to run every hour, day, week or however you like.

    • First step of that job is your custom program to check the application folder
    • Second step is to run /SAPSLL/LLNS_UPL102 in background with the new file

    If the first step fails then no upload occurs and the batch job finishes.

    But overall I think you should ask yourself how often you think you will need to upload files from Customs Info?

    Is an automated process really necessary?

    Please keep in mind that any modifications or customs programs will not be supported by SAP.

    If there is a problem with the new process, SAP will ask you to run the process in the standard way. If the standard way works correctly then SAP Support would no longer be able to help.

    Best Regards,

    Eoin

    Add comment
    10|10000 characters needed characters exceeded