SAP ABAP IMG Activity /SAPSLL/BADI_CUSDCOM (BAdI: Override Conditions for Document Completion)
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/BADI_CUSDCOM BAdI: Override Conditions for Document Completion  
Transaction Code /SAPSLL/36000036   (empty) 
Created on 20060811    
Customizing Attributes /SAPSLL/BADI_CUSDCOM   BAdI: Override Conditions for Document Completion 
Customizing Activity /SAPSLL/BADI_CUSDCOM   BAdI: Override Conditions for Document Completion 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /SAPSLL/BADI_CDOC_STATUS_FIN    

Use

This Business Add-In (BAdI) is used in component SLL-LEG-CUS for Customs Management in the system for Global Trade Services (GTS).

The BAdI lets you override the criteria the system uses to flag documents from the following application areas as completed.

  • Presentation
  • Advance declaration
  • Excise duty monitoring
  • Customs declaration
  • Customs shipment

When documents are flagged as completed, they are assigned status To Be Archived. During the next archiving run for customs shipments and customs declarations, the system writes the flagged documents to the archive and deletes them from the database.

You can perform the document completion in dialog or in background processing using batch jobs. In background processing, the system selects all documents that fulfill certain conditions, depending on the service and goods direction, for example:

  • The incompleteness status must be set to "Complete"
  • The status of customs value calculation must be "Complete" or "Not Executed"
  • The document must not have any open reservations
  • The document must not have any open messages
  • The supplementary customs declaration for the document must be completed

Detailed information about the individual criteria that result in document completion, dependent on the goods direction and service, is available in the documentation of the document completion program. You can start this program with transaction code /SAPSLL/CDOC_STCOMPL.

If you want to override the program decisions for the selected documents, for example, to exclude certain documents from archiving, you can configure this BAdI.

Requirements

Standard settings

  • In the standard system, there is no activated BAdI implementation.
  • The BAdI is intended for multiple use. All activated implementations are called and executed.
  • The BAdI is filter independent.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

See also

The BAdI uses interface /SAPSLL/IF_BADI_CDOC_STAT_FIN. 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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20120920 
SAP Release Created in 710