SAP ABAP IMG Activity PY_SE_EC_002 (BAdI to Implement Customer Specific Handling)
Hierarchy
SAP_HRCSE (Software Component) Sub component SAP_HRCSE of SAP_HR
   PY-SE (Application Component) Sweden
     PC23 (Package) HR accounting: Sweden
IMG Activity
ID PY_SE_EC_002 BAdI to Implement Customer Specific Handling  
Transaction Code S_L4H_49002443   (empty) 
Created on 20111013    
Customizing Attributes PY_SE_EC_002   BAdI to Implement Customer Specific Handling 
Customizing Activity PY_SE_EC_002   BAdI to Implement Customer Specific Handling 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HR_SE_TCER_BADI    

Use

This Business Add-In (BAdI) is used in the Employer's Leaving Certificate (PY-SE) component.

This Add-In enables you to maintain customer specific details in the Employment Status section of the Employer's Leaving Certificate (HR_SE_TCER) form.

In the standard SAP solution, the Employment Status details are maintained in the Organizational Assignment (0001) infotype. However, you can Customize this as per your requirements using the method PROCESS_EMPLOYMENT_TYPE.

The BAdI has the following import parameters:

  • Personnel Number
  • Hired Date
  • Fired Date

The changing parameters of this BAdI are:

  • Probationary Flag
  • Probationary End Date
  • Intermittent Employment Flag
  • Limited Contract Flag
  • Limited Contract End Date
  • Variable Hours Flag

Requirements

You should only carry out this step if both of the following points apply:

  • The SAP standard processes do not suit your needs
  • You are a competent ABAP/4 programmer

Default

In the standard SAP solution, this BAdI is not activated.

Standard settings

Activities

After calling up the Customizing activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

  1. From the tab index, choose Interface.
  2. Place the cursor on the method, and double-click to enter method processing.
  3. Enter the coding for the implementation between the statements method if_ex_hr_in_cco_processing ~ <Name of method> and endmethod.
  4. Save and implement your coding. Return to the Edit Implementation screen.
  5. Save the entries on the Edit Implementation screen.

    Note: You can also change the implementation, and then activate it at a later time. In such a case, end the processing stage at this point.
  6. Choose Activate

The coding you stored in the method will be run when the application program is executed.

Example

To display the sample code, choose Goto -> Sample Code -> Display

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
PY_SE_EC_002 SE Sweden
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20111017 
SAP Release Created in