SAP ABAP IMG Activity HR_PBS_00_WB_RPK (BAdI: Activate Customer-Specific Business Scenario for PAdm)
Hierarchy
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
   PY-DE-PS-VA (Application Component) Pension Administration
     P01PBSVAVG_IMG (Package) HR PAdm: Public Sector Pensions Act (IMG)
IMG Activity
ID HR_PBS_00_WB_RPK BAdI: Activate Customer-Specific Business Scenario for PAdm  
Transaction Code S_L7D_24000012   (empty) 
Created on 20050928    
Customizing Attributes HR_PBS_00_WB_1_1   Process Control for Process Workbench Engine (Required/Critical) 
Customizing Activity HR_PBS_00_WB_RPK   BAdI: Activate Customer-Specific Business Scenario for PAdm 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPBS00I0716    

The Business Add-In (BAdI) BAdI for Infotype 0716 (HRPBS00I0716) enables you to create customer-specific business scenarios.

The BAdI contains the following methods for this in which the user can define their own coding:

  • Infotype maintenance: Call with event PBO (BEFORE_OUTPUT)
  • Infotype maintenance: Call with event PAI (AFTER_INPUT)

For BAdI HRPBS00I0716, you have to create a new implementation analog to standard implementation HRDEPBSVA_VADM, with the new subtype as a filter value. The coding for methods BEFORE_OUTPUT and AFTER_INPUT can be copied from the standard implementation or, to avoid duplication of source text, call the relevant method in class CL_IM_HRDEPBSVA_VADM. For the latter, you first have to create using constructor for class CL_IM_HRDEPBSVA_VADM which has to take place with the first call.

Standard:

DEAU        Information on benefits

DEDU        Civil servant unable to work

DEPA        Benefits administration

Example

Requirements

Standard settings

Recommendation

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.

Further notes

For more information, see the interface and method documentation of the BAdI:

Interface

Method: Infotype maintenance: Call with event PBO

Method: Infotype maintenance: Call with event PAI

For more information on using Business Add-Ins, refer to the SAP Library under Basis Components ->ABAP Workbench (BC-DWB) ->Changing the SAP Standard (BC)->Business Add-Ins.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency I   Valid for countries specified 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050928 
SAP Release Created in