SAP ABAP IMG Activity /SAPSLL/CUS_BAD_ECCO (BAdI: EDI Outbound Processing and Incompleteness Checks)
Hierarchy
☛
SLL-LEG (Software Component) SLL-LEG 901: Add-On Installation
⤷
SLL-LEG (Application Component) Global Trade Services
⤷
/SAPSLL/CORE_LEGAL (Package) Legal Services: Core Functions

⤷

⤷

IMG Activity
ID | /SAPSLL/CUS_BAD_ECCO | BAdI: EDI Outbound Processing and Incompleteness Checks |
Transaction Code | /SAPSLL/11000017 | (empty) |
Created on | 20031202 | |
Customizing Attributes | /SAPSLL/CUS_BAD_ECCO | BAdI: EDI Outbound Processing and Incompleteness Checks |
Customizing Activity | /SAPSLL/CUS_BAD_ECCO | BAdI: EDI Outbound Processing and Incompleteness Checks |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /SAPSLL/CUS_ECC |
Use
The system for handling Global Trade Services (GTS) lets you communicate with the customs authorities via EDI (Electronic Data Interchange).
The GTS system sends data to an EDI converter in IDocs. The converter converts the IDocs into various data formats, such as XML or EDI message format, and forwards the data to the customs authorities.
This Business Add-In (BAdI) enables you to modify EDI outbound processing for documents in the following application areas:
- Presentation
- Pre-declaration
- Customs shipment
- Customs declaration
Requirements
Standard settings
This Business Add-In consists of the following methods:
- MODIFY_IDOC_DATA
This method allows you to modify, delete, or add to the data in the IDoc. For example, you can add an attachment to the IDoc before it is sent to the customs authorities from the GTS system. The following parameters are available:
Importing:
IS_ECC_CUHD - hierarchical data type
IS_EDIDD - data record (IDoc)
Changing:
CT_EDIDD - table type for EDIDD (IDoc data records) - MODIFY_IDOC_PARTNER_PROFILE
This method allows you to change the partner profile within the communication process. In this case the partner profile is the address of the EDI converter. The address data is already saved in the GTS system as business partner data. However, you can use this method to change or replace the address determined in the standard system. The following parameters are available:
Importing:
IS_EDIDC - control record (IDoc)
IS_ECC_CUHD - hierarchical data type
Exporting:
ES_EDIDC - control record (IDoc)
EV_RC - return value, return value according to ABAP statements - MODIFY_CONSISTENCY_CHECK
The GTS system checks whether the data in the IDocs is consistent. The system checks each IDoc automatically before it is sent. In the process, the system checks whether all fields are complete. If the fields have not been filled yet, the IDoc document is not created. You can use this method to change the checks provided in the standard system or enter additional checks. The following parameters are available:
Importing:
IS_ECC_CNTRL - EDI output control structure
IS_ECC_CUHD - hierarchical data type
Changing:
CV_CONSISTENT - object consistency - MODIFY_IDOC_VIEW
The GTS system has a standard routine for procuring data for IDocs that are to be sent to the customs authorities. You can use this method to change or add to this routine. The following parameters are available:
Importing:
IS_ECC_CNTRL - EDI output control structure
IV_CONTEXT_INCOMP_CHECK - call made in context of incompleteness check
Changing:
CS_ECC_CUHD - hierarchical data type - CHECK_AUTHENTIFICATION
The method authenticates the user when sending a customs declaration and therefore implicitly assures the electronic signature.
The following parameters are available:
Importing:
IV_CTYDP - destination country key
IV_CTYAR - departure country key
IT_ECC_HD_PAR - GTS: partner (table type)
IS_ECC_CNTRL - control structure for electronic communication - outbound
Changing:
CV_AUTHENTICATION_OK - authentication positive
Activities
Example
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired 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 | 20120920 |
SAP Release Created in | 2.00 |