SAP ABAP IMG Activity BADI_REIS_GENSET (Implement Enhancements (BAdI): Set Generation Based on Other Fields)
Hierarchy
EA-FIN (Software Component) EA-FIN
   RE-FX-IS (Application Component) Information System
     RE_IS_CA (Package) RE: Cross-Application Info System
IMG Activity
ID BADI_REIS_GENSET Implement Enhancements (BAdI): Set Generation Based on Other Fields  
Transaction Code S_EE6_85000072   (empty) 
Created on 20100927    
Customizing Attributes BADI_REIS_GENSET   Implement Enhancements (BAdI) - Set Generation 
Customizing Activity BADI_REIS_GENSET   Implement Enhancements (BAdI) - Set Generation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_REIS_GENSET    

Use

Using this Business Add-In (BAdI), you can use your own grouping fields for set selection.

You can use this BAdI for three reports:

  • Generation of sets for usage objects (transaction REEXSETGENBD)
  • Generation of sets for real estate contracts (transaction REEXSETGENCN)
  • Generation of sets for settlement units (transaction REEXSETGENSU)

Requirements

Standard settings

Activities

  1. Structure enhancement

    If you also want to generate sets according to other grouping fields, then first add an APPEND containing these grouping fields to the structure of the object.

    The following structures exist for the objects:

    • REBD_BUSINESS_ENTITY_SET for the business entity
    • REBD_PROPERTY_SET for land
    • REBD_BUILDING_SET for buildings
    • REBD_RENTAL_OBJECT_SET for rental objects
    • RECN_CONTRACT_SET for contracts

      The APPEND structure must contain the component that you want to use for generating sets. This component can have a maximum of 15 characters, since the content of the component is used for the name of the sets.

  2. BAdI Implementation

    Create a BAdI implementation and implement the method COMPLETE_OUTPUT_DATA. In this method you fill the field from your APPEND structure with the necessary content. You can also remove or add selected objects here, if you wish. Then activate the BAdI implementation.

Example

You can access an example implementation in the BAdI Builder by choosing Goto -> Sample code.

Note that that grouping in a set generation run can only take place based on one field. If you want to group based on several fields at the same time, then you have to summarize them in one field.

Notes for Developers

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 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG BADI_REIS_GENSET 0 ALN0000039 Information System 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20101011 
SAP Release Created in 606