Hierarchy

⤷

⤷

IMG Activity
ID | PSM_FM_MD_SUB_TYPE | BAdI: Check Subdivision ID |
Transaction Code | S_ALN_01001448 | (empty) |
Created on | 20030203 | |
Customizing Attributes | PSM_FM_MD_SUB_TYPE | BAdI: Check Subdivision ID |
Customizing Activity | PSM_FM_MD_SUB_TYPE | BAdI: Check Subdivision ID |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | FM_MD_SUBID_TYPE |
Use
Using this Business Add-In you can check that the subdivision IDs you created are correct.
After the necessary implementation, the system only performs a check, without modification, on the subdivision ID value you enter into table FMMDSTRID.
You can implement the Business Add-In using your own functions, in order to check according to your preferences.
Requirements
This Business Add-In is only called up if you have activated the subdivision of master data in the Customizing of Funds Management in step Activate Subdivision.
Standard settings
This Business Add In is not active in the standard system.
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
The following example of implementation for this Business Add-In checks the subdivision ID only for the commitment item. If the 7th position of the subdivision ID for the commitment item contains a character other than "E", "G" or "I", an error message appears:
Subdivision ID = "ABCD02E " This passes the test.
Subdivision ID = "ABCD02G1X " This passes the test.
Subdivision ID = "ABCD02R1X " This does not pass the test.
Notes
Documentation of BAdI method CHECK_SUBID_TYPE
Business Attributes
ASAP Roadmap ID | 153 | Design enhancements |
Mandatory / Optional | 3 | Nonrequired 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 | 20030528 |
SAP Release Created in | 200 |