Hierarchy

⤷

⤷

IMG Activity
ID | FAGL_R_OBJ_TYPE_BADI | BAdI: Enhancement of Reorganization Object Types |
Transaction Code | S_EB5_05000172 | (empty) |
Created on | 20090226 | |
Customizing Attributes | FAGL_R_OBJ_TYPE_BADI | BAdI: Enhancement of Reorganization Object Types |
Customizing Activity | FAGL_R_OBJ_TYPE_BADI | BAdI: Enhancement of Reorganization Object Types |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | FAGL_R_OBJ_TYPE_BADI |
Use
This Business Add-In (BAdI) is used in the component General Ledger Accounting (FI-GL) (New).
You can use this BAdI to define the logic of your own object types for a reorganization or to change the behavior of standard object types.
The BAdI is called at the following call-up points:
- For the selection of objects using restrictions
- For the reassignment of objects
- For the determination of balances
- When reading display attributes
- When calling up input help for restriction characteristics and display characteristics
- For the determination of object properties
- When changing the general or specific restrictions
Requirements
Before you create a BAdI implementation for a new object type, you need to have made the following settings in Customizing for the reorganization:
- You have created a new object type under Define Reorganization Object Types
- You have defined a derivation hierarchy under Define Own Derivation Hierarchy
There must be an active implementation of the BAdI for each object type used in the active derivation hierarchies. All hierarchy versions for which the Version Is Active indicator is set are active.
- If an object type is used in a derivation hierarchy for which there is no BAdI implementation, message FAGL_REORGANIZATION003 is displayed when one of the above call-up points is reached.
If there are more than one active implementations for an object type, message FAGL_REORGANIZATION002 is displayed when one of the above call-up points is reached.
Standard settings
The BAdI is filter-dependent: The filter consists of the field combination Reorganization Plan Type / Object Type. That is, there is an active default implementation for each delivered combination of reorganization plan type and object type.
Example: In a profit center reorganization (reorganization plan type 001
), there is the default implementation FAGL_R_OBJ_TYPE_001_MAT
for object type MAT
.
This BAdI is not intended for multiple use.
Activities
After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.
If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:
- In the dialog box, enter a name for the implementation of the Add-In and choose Create.
The system displays the initial screen for creating Business Add-In implementations. - On this screen, enter a short description for your implementation in the Implementation Short Text field.
- If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
- Save your entries and assign the Add-In to a package.
- To edit a method, double-click its name.
- Enter your implementation code between the
method <Interface Name>~<Name of Method>.
andendmethod.
statements. - Save and activate your code. Navigate back to the Change Implementation screen.
Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step: - Choose Activate.
When the application program is executed, the code you created is run through.
Example
See also
Methods:
Select Objects Using Restrictions (GENERATE_OBJLIST)
Reassign Master Data (REASSIGN_MASTERDATA)
Reassign Master Data AND Determine Balances (REASSIGN_MD_AND_GET_BALANCE)
Determine Balances (GET_BALANCES)
Subsequently Select Additional (Layout) Attributes (GET_ADDITIONAL_FIELDS)
Determine Display and Selection Field Names for Input Help (GET_FIELDNAMES)
Determine Object Properties (GET_OBJECT_INFO)
Event Handler for Changing General Restrictions (RESTRICTIONS_GENERAL_CHANGED)
Event Handler for Changing Specific Restrictions (RESTRICTIONS_ SPECIFIC _CHANGED)
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
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 | FAGL_R_OBJ_TYPE_BADI | 0 | EB50000062 | General Ledger Reorganization Basic Functions |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20100118 |
SAP Release Created in | 605 |