Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 14, 2011 at 11:00 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.