Skip to Content

Are there a BADi(s) to update documents in ERP from GTS?


We have a requirement to update the feeder system document with data from GTS. Mostly, it is in regards to the Goods Receipt/Invoice. We are being asked to update this document(s) with the Entry Number assigned by Customs.

Are there BADi(s) for this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 04, 2014 at 09:18 PM

    Hi Dean,

    Correct answer:

    No 😔.

    Helpful answer:

    Take a look at SAP Note 555746 regarding obtaining the License data for printing on SD Export documents.  The mentioned Function Module (and corresponding RFC module in GTS) has suitable code to establish the approach for your own development to obtain the Customs Entry Number for an Import Declaration.



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 05, 2014 at 07:37 AM

    HI Dean,


    What you can do, or maybe combine it with the note mentioned by Dave, is to use the BadI for GTS->ECC call. It is triggered immediately after inbound message processing, so it would fit the situation where you recieve the MRN number from customs.

    In this Badi then you can choose what to do.. either call an ECC bapi to update your ECC document or send an Idoc to ECC system with the relevant information that will then be picked up in ECC with a bg job, there are more options..



    Add comment
    10|10000 characters needed characters exceeded