Hierarchy

⤷

⤷

IMG Activity
ID | _ISPSFM_SUBSTRINGS | BAdI: Check Substrings During Master Data Creation |
Transaction Code | S_ALN_01001114 | (empty) |
Created on | 20020219 | |
Customizing Attributes | _ISPSFM_SUBSTRINGS | BADI: Subdivision of Master Data |
Customizing Activity | _ISPSFM_SUBSTRINGS | BADI: Subdivision of Master Data |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | FM_MD_SUBSTRINGS |
Use
Using this Business Add-In you can check the creation of your master data.
After the necessary implementation, the BAdI only performs a check, without modification, on the parameters selected for the creation of master data through the concatenation of substrings.
You can implement it using your own functions in order to check according to your preferences.
Requirements
This Business Add-In is called up only if you have previously 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 calling up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.
If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:
- In the dialog box, enter a name for the BAdI implementation in the Implementation field, and choose Create.
The screen for creating BAdI implementations is now displayed.
- Enter a short text for the implementation in the Short text for implementation field.
- From the tab index, choose Interface.
The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.
- Save your entries, and assign the implementation to a development class.
- Place the cursor on the method, and double-click to enter method processing.
- Enter the code for the implementation between the statements
method <Interface name> ~ <Name of method>
andendmethod
. - Save and implement your code. Return to the Edit Implementation screen.
- Save the entries on the Edit Implementation screen.
Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.
- Choose Activate
The code you stored in the method will be run when the application program is executed.
Example
Here are some examples of implementation for this Business Add-In, one for each type of master data, all checking the subdivision ID.
Commitment item: if the subdivision ID differs from the concatenation of the FM area and the last two digits of the fiscal year, an error message displays.
Example: FM area = "ABCD" fiscal year = 2002 subdivision ID = "ABCD02 "
Funds center and fund: if the subdivision ID differs from FM area, an error message displays.
Example: FM area = "ABCD" subdivision ID = "ABCD "
Functional area: the BADI only calls the method without function modules.
Notes
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 | 20030226 |
SAP Release Created in | 110 |