SAP ABAP IMG Activity _ISPSFM_SUBSTRINGS (BAdI: Check Substrings During Master Data Creation)
Hierarchy
EA-PS (Software Component) SAP Enterprise Extension Public Services
   PSM-FM-BU-CE (Application Component) Unilateral and Reciprocal Cover Eligibility
     FMTMP (Package) IS-PS: Automatic Generation of Cover Pools
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:

  1. 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.

  2. Enter a short text for the implementation in the Short text for implementation field.
  3. 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.

  4. Save your entries, and assign the implementation to a development class.
  5. Place the cursor on the method, and double-click to enter method processing.
  6. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  7. Save and implement your code. Return to the Edit Implementation screen.
  8. 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.

  9. 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