Skip to Content
avatar image
Former Member

Add new fields to additional data tab in customs declaration

Hello friends,

My requirement is to add Z fields in the additional data tab in transaction /SAPSLL/CL_CUS_02 of GTS. I would also like to know If its possible to create a new tab all together in /SAPSLL/CL_CUS_02 where in we can add fields from a custom table.

Thanks a lot in advance. Your help will be highly appreciated.

Regards,

Koustubh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Sep 06, 2011 at 02:56 PM

    Hi Koustubh,

    In the IMG, see:

    > SAP Customs Management

    >> Business Add-Ins for SAP Customs Management

    >>> Connect External Applications to Customs Declarations and Customs Shipments

    >>>> BAdI for UI Control When Connecting External Applications to CD/CS

    An extract from the documentation:

    This BAdI lets you display custom screens with data from external applications in SAP Customs Management documents, as tab pages at header and item level. You can define up to three tab pages each at header and item level and activate them with the corresponding implementations.

    Good luck,

    Dave

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 12, 2011 at 04:43 PM

    Hi Koustubh,

    As Dave pointed out, there is a BadI for extra tab on declaration Item and Header.

    There is an example implementation already available in the System. I believe that 1 BadI will no be enough for what you need.

    UI enhancement BadI uses standard CUHD and CUIT tables to store the extended data ( via table APPEND ), in order to save content to Z* table you will need a separate BaDI.

    Also, If you intend to use this extra data in outbound message / declaration Idoc, extra BadI has to be used and also the basic IDoc type will need to be extended with your Z* segment. Thats probably 2-3 BadIs working in tandem.

    Can you tell what is the purpose of the extra data / extra tab ?

    Best Regards,

    Branislav Petricek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 14, 2011 at 11:00 AM

    Thanks a lot dave. The badi implementation worked for me.

    Add comment
    10|10000 characters needed characters exceeded