SAP ABAP IMG Activity /SAPSLL/CUS_BAD_ECCI (BAdI: Creation of Documents upon Message Receipt: Customs Shipment/Present.)
Hierarchy
SLL-LEG (Software Component) SLL-LEG 901: Add-On Installation
   SLL-LEG (Application Component) Global Trade Services
     /SAPSLL/LEGAL_CUS_CORE (Package) Legal Services: Customs Processing: Basic Functions
IMG Activity
ID /SAPSLL/CUS_BAD_ECCI BAdI: Creation of Documents upon Message Receipt: Customs Shipment/Present.  
Transaction Code /SAPSLL/04000054   (empty) 
Created on 20040709    
Customizing Attributes /SAPSLL/CUS_BAD_ECCI   BAdI: Creation of Documents upon Message Receipt: Customs Shipment/Present. 
Customizing Activity /SAPSLL/CUS_BAD_ECCI   BAdI: Creation of Documents upon Message Receipt: Customs Shipment/Present. 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /SAPSLL/CUHD_INBOUND    

Use

The system for handling Global Trade Services (GTS) can communicate with the customs authorities via EDI (Electronic Data Interchange). The customs authorities can send you messages and data in different data formats, such as XML or EDI. A converter transforms them into IDocs for the GTS system. The data contained in the messages can then be used in the system.

This Business Add-In (BAdI) enables you to create and change documents for presentation or customs shipment based on inbound EDI messages.

The BAdI supports the following processes:

  • Safekeeping notification from third party (such as freight carriers) in a presentation document

    The BAdI is called if the system receives a message with type CUSTST (Germany only) and a customs shipment has not yet been created. The system then automatically creates a customs shipment in SAP GTS with the data from the message sent by the customs authorities.

  • EDI processing: post the unloading permission in the customs shipment

    The BAdI is called if the system receives an unloading permission. The system copies the item category from the message to the customs shipment in SAP GTS.

  • Integration with the feeder system: transfer of inbound delivery

    The BAdI is called when a delivery is transferred. The system then determines the relevant process.

Requirements

Standard settings

This business add-in (BAdI) consists of three methods:

  • DOCUMENT_TYPE_DETERMINE

    This method allows you to determine the document type from a message that you have received from the customs authorities. The following parameters are available:

    IV_SRVLL    Importing - Service: Customs or Transit

    IV_LGREG    Importing - Legal Regulation

    IV_LAND1    Importing - Country of Foreign Trade Organization

    IV_FTORG_GUID Importing - GUID of Foreign Trade Organization

    EV_CUHDA    Exporting - Document Type

  • PROCESS_DETERMINE

    This method enables you to determine the process from a message that you have received from the customs authorities. The following parameters are available:

    IT_TLEPAF    Importing - Activity Sequence from Customizing for a Specific Country (Legal Regulation)

    ES_TLEPAF Exporting - The Preferred Activity Sequence

  • ITEM_CATEGORY_DETERMINE

    This method allows you to determine the item categories from a message that you have received from the customs authorities. The following parameters are available:

    IV_SRVLL Import

    IV_LGREG Import

    IV_CUHDA Import

    EV_CUITA Export - Item Category

Activities

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20121227 
SAP Release Created in 300_620