SAP ABAP IMG Activity /SAPSLL/CUS_REF_CHK (BAdI for Customs: Check Document Reference for Customs Management)
Hierarchy
SLL_PI (Software Component) GTS Plug-In
   SD-FT (Application Component) Foreign Trade
     /SAPSLL/PLUG_IN_R3 (Package) Legal Services: PI Functions and PI Services
IMG Activity
ID /SAPSLL/CUS_REF_CHK BAdI for Customs: Check Document Reference for Customs Management  
Transaction Code /SAPSLL/83000001   (empty) 
Created on 20100218    
Customizing Attributes /SAPSLL/CUS_REF_CHK   BAdI for Customs: Check Document Reference for Customs Management 
Customizing Activity /SAPSLL/CUS_REF_CHK   BAdI for Customs: Check Document Reference for Customs Management 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /SAPSLL/CUS_REF_CHK    

Use

This Business Add-In (BAdI) for flagging document items in goods receipts that you create from inbound deliveries is used in the Customs Management area of the system for Global Trade Services (GTS).

This BAdI lets you define in the feeder system when you consider document items from goods receipts with reference to inbound deliveries to be complete, and release the corresponding goods receipt for inclusion in the customs declaration. As a result, for example, you can define a time interval after which the system automatically assumes delivery items are complete.

In the standard system, when a goods receipt is posted, the system transfers all items to the GTS system as complete, where they can be included directly in a customs declaration. If you make subsequent changes to the inbound delivery, you have to make the subsequent corrections manually, because the existing goods receipt items are already in a customs declaration. If you created a customs shipment based on the inbound delivery, the system updates this customs shipment automatically.

As an alternative, however, you can define goods receipt items with reference to inbound deliveries in Customizing of the GTS system that they remain incomplete until one of the following two situations occurs:

  • The feeder system transfers the completeness indicator for items in the goods receipt, which you determing using this BAdI. This procedure is possible in addition to the settings in Customizing for the GTS system. As a result, you can use information from the feeder system to help you determine completeness, for example.
  • You have defined a time interval in Customizing for the GTS system after which the GTS system flags the items of the goods receipts with inbound delivery reference as complete, independently of any information received from the feeder system. You can define this interval in the definition of the communication process at the level of the process template for customs import processing.

Requirements

Standard settings

  • There is no BAdI implementation in the standard system.
  • The BAdI supports multiple use. All active implementations are called and executed.
  • The BAdI is filter-independent.

Activities

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

See also:

The BAdI uses interface /SAPSLL/IF_EX_CUS_REF_CHK. For more information, display the interface in the Class Builder.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /SAPSLL/CUS_REF_CHK 0 HLA0009600 Sales and Distribution 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on THIERER  20100616 
SAP Release Created in 900_600