SAP ABAP IMG Activity PSM_FM_MD_SUB_VALUES (BAdI: Check Substrings)
Hierarchy
EA-PS (Software Component) SAP Enterprise Extension Public Services
   PSM-FM-MD (Application Component) Master Data
     FMMD (Package) Funds Management: Master Data
IMG Activity
ID PSM_FM_MD_SUB_VALUES BAdI: Check Substrings  
Transaction Code S_ALN_01001447   (empty) 
Created on 20030203    
Customizing Attributes PSM_FM_MD_SUB_VALUES   BAdI: Check Substrings 
Customizing Activity PSM_FM_MD_SUB_VALUES   BAdI: Check Substrings 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FM_MD_SUB_VALUES    

Use

This Business Add-In is used in the Funds Management Master Data (FM-MD) component.

It enables you to check the creation of your customer-defined master data substrings. After the necessary implementation of the Business Add-In, the system performs a check (without modification) on the substring values you have entered in the maintenance tables.

You can implement it using your own functions in order to run your user-defined checks.

Requirements

Only use this Business Add-In if you have previously activated the subdivision of FM master data in Activate Subdivision.

Standard settings

This Business Add-In is not active in the standard system.

Example

There are two sets of examples for the implementation of this Business Add-In.

Example 1:

The first checks the values entered for the first substring of commitment item and fund.

Such values pass the test only if the last position is filled with a digit and the others contain characters. Otherwise an error message is displayed.

Substring = "ABCD2"    This passes the test.

Substring = "A2"    This passes the test.

Substring = "ABC2R"    This does not pass the test.

Example 2:

The second example checks the values entered for the first substring of funds center and functional area.

Such values pass the test only if the first position is filled with a digit and the others contain characters. Otherwise an error message is displayed.

Substring = "3ABCD"    This passes the test.

Substring = "3A"    This passes the test.

Substring = "ABCR3"    This does not pass the test.

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:

  1. 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.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. 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.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. 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:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

Further notes

Documentation of BAdI method CHECK_VALUES_CISUB1

Documentation of BAdI method CHECK_VALUES_CISUB2

Documentation of BAdI method CHECK_VALUES_CISUB3

Documentation of BAdI method CHECK_VALUES_CISUB4

Documentation of BAdI method CHECK_VALUES_CISUB5

Documentation of BAdI method CHECK_VALUES_FCSUB1

Documentation of BAdI method CHECK_VALUES_FCSUB2

Documentation of BAdI method CHECK_VALUES_FCSUB3

Documentation of BAdI method CHECK_VALUES_FDSUB1

Documentation of BAdI method CHECK_VALUES_FDSUB2

Documentation of BAdI method CHECK_VALUES_FNSUB1

Documentation of BAdI method CHECK_VALUES_FNSUB2

Documentation of BAdI method CHECK_VALUES_FNSUB3

Example

Requirements

Standard settings

Recommendation

Activities

Further 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  20030528 
SAP Release Created in 200