SAP ABAP IMG Activity GLE_ECS_RESET_CLEAR (BAdI: Clearing Reset Before Reversal)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   AC-INT (Application Component) Accounting Interface
     AC_INT_ECS_IN_APPL (Package) ECS: API Inbound Layer
IMG Activity
ID GLE_ECS_RESET_CLEAR BAdI: Clearing Reset Before Reversal  
Transaction Code S_EBS_44000338   (empty) 
Created on 20110111    
Customizing Attributes GLE_ECS_RESET_CLEAR   BAdI: Clearing Reset Before Reversal 
Customizing Activity GLE_ECS_RESET_CLEAR   BAdI: Clearing Reset Before Reversal 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name GLE_ECS_RESET_CLEAR    

Use

This Business Add-In (BAdI) is used in the Error Correction and Suspense Accounting (AC-INT-ECS) component.

If you want to reverse a document posted in ECS successfully, you must also reverse any clearing made before the reversal.

You can use this BAdI to reset clearing for documents immediately before reversing the document. You find the necessary clearing documents in the AUGBL and AUGDT fields of the I_TAB_BSEG table.

The system only transfers line items that refer to clearing documents.

If you set the E_ERRORS export parameter to WAHR, the system cancels the document reversal.

Export parameters:

I_SIMULATION = Indicator for update run or simulation

I_TAB_BKPF = Information about document header for documents with reference to clearing documents

I_TAB_BSEG = Information about line items that refer to clearing documents

Import parameter:

E_TAB_RETURN = >Error messages that occur during reset of clearing

E_ERRORS = Boolean information whether errors occurred during reset of clearing

Requirements

Standard settings

For more information about the standard settings (filters, whether a BAdI can be used once only or multiply), see the Enh. Spot Element Definitions tab page in the BAdI Builder (transaction SE18).

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.

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   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 GLE_ECS_RESET_CLEAR 0 ALR0000021 Accounting - General 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20110112 
SAP Release Created in 606