SAP ABAP IMG Activity RERA_REVERSAL (Reversal - Additional Checks)
Hierarchy
EA-FIN (Software Component) EA-FIN
   RE-FX-RA (Application Component) Rental Accounting
     RE_RA_CA (Package) RE: Cross Application Rental Accounting
IMG Activity
ID RERA_REVERSAL Reversal - Additional Checks  
Transaction Code S_EE6_85000192   (empty) 
Created on 20110802    
Customizing Attributes RERA_REVERSAL   Implement Enhancements (BAdI): Reversal - Additional Checks 
Customizing Activity RERA_REVERSAL   Implement Enhancements (BAdI): Reversal - Additional Checks 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_RERA_REVERSAL    

Use

You use this Business Add-In (BAdI) if you want to intervene in the document selection of the reversal process, or if you want to output errors based on your own checks.

Requirements

Standard settings

Activities

Implement the method MODIFY_DOC_SEL_FOR_REPP_REV, if you want to execute checks for all of the documents selected during reversal of periodic posting (RERAPPRV).

Parameters:

ID_PROCESS: predefined as REPP

IS_REV_OPTIONS: Options that were selected in the selection screen of RERAPPRV, for example, selected contracts or processes

IT_PROCEDURE: Transactions, for which documents were deleted

CT_DOCGUID_LIST: List of the selected documents that are to be reversed

CT_MESSAGE: If you assign a message (type E) to CT_MESSAGE, the message is displayed in the selection screen of RERAPPRV and the reversal is not performed. Warning message or information messages are not taken into account.

Also see the example implementation in class

CL_EXM_IM_RERA_REVERSAL.

Example

In the example, the system first reads all RE documents using their GUID. In addition, it gets the FI document header information (table BKPF).

Now, for example, you could use your own customer table to check for each selected document if the document is allowed to be deleted, or if another document also has to be deleted, and so on.

Notes for Developers

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20110802 
SAP Release Created in 606