SAP ABAP IMG Activity PBC_FTE_1490 (BAdI: Add Your Own Infotypes)
Hierarchy
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
   PA-PM-PB (Application Component) Position Budgeting and Control
     PAOC_FPM_FTE (Package) Position Management: Full-Time Equivalents
IMG Activity
ID PBC_FTE_1490 BAdI: Add Your Own Infotypes  
Transaction Code S_ALN_01002438   (empty) 
Created on 20031120    
Customizing Attributes PBC_FTE_0010   General Settings 
Customizing Activity PBC_FTE_1490   BAdI: Add Your Own Infotypes 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRFPM_OCC_PROVIDE_IT    

Use

Using this Business Add In (BAdI), you can read data for the staff assignment rules check that is not provided by SAP. The BAdI is called immediately before the staff assignment checks are carried out.

The BAdI is used in the component Position Budgeting and Control (PA-PM-PB).

Requirements

  • Staff assignment rules must be defined in the system. Read the documentation on the IMG activity for more information. Create BAdI Implementation for Filter Value.
  • The following structures must have been enhanced:
    • HRFPM_S_FIN_CHK_ITYP_P_OM (infotypes for persons),
    • HRFPM_S_FIN_CHK_ITYP_S_OM (infotypes for positions)

Standard settings

The following infotypes are read in the standard system and are available for the staff assignment rule checks:

  • Persons:
    • 0001 (organizational assignment)
    • 0008 (employee's basic pay)
    • 0783 (job title)
  • Positions:
    • 1005 (planned compensation)
    • 1013 (employee group/subgroup)
    • 1511 (alternative valuations)
    • 1512 (personnel budget plan attributes)
    • 1513 ((job title))
    • 1514 (valuation of additional data (D))

The BAdI is not active in the standard system.

SAP does not deliver a standard implmentation.

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

The class CL_EXM_IM_HRFPM_OCC_PROVIDE_IT contains a sample implementation.

Also see:

Methods

Add Own Infotypes for Person

Add Own Infotypes for Position

You can find more information on using Business Add Ins in the SAP library under SAP NetWeaver Components -> SAP Web Application Server -> ABAP Workbench -> Changes to SAP Standard -> Business Add Ins.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional 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  20031120 
SAP Release Created in 500