SAP ABAP IMG Activity OHIGBPBS010101 (Interface Data Derivation Amendments)
Hierarchy
SAP_HRCGB (Software Component) Sub component SAP_HRCGB of SAP_HR
   PY-GB-PS (Application Component) Öffentlicher Dienst
     P08P1 (Package) HR Public Sector Great Britain
IMG Activity
ID OHIGBPBS010101 Interface Data Derivation Amendments  
Transaction Code S_KI4_55000282   (empty) 
Created on 20000711    
Customizing Attributes OHIGBPBS010101   Interface Data Derivation Amendments 
Customizing Activity OHIGBPBS010101   Interface Data Derivation Amendments 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHIGBPBS010101    

In this step you can develop and activate your own specific requirements as to how information is derived in the class interface.

The CLASS system needs specific information. Due to the adaptable nature of your SAP system, clients can store CLASS information in a vaiety of places. The standard places are defined in the documentation. Any other derivation is NOT supported by the standard SAP interface program. The standard derivation can be changed using the Customer Exit provided, EXIT_RPUCLSG0_001.

Example

The client's requirement stipulates that field "KEY3" MUST contain the employee's Payroll Accounting Area.

Loop at P_P0001 where begda LE p_endda

and endda GE p_begda.

EXIT.

Endloop.

*

* Overwrite The Third Key Field with Payroll Accounting Area

*

P_EXTRACT-KEY3 = P_P0001-ABKRS.

Requirements

P_EXTRACT will ALREADY have been filled using SAP standard derivation.

Standard settings

The standard layout of the interface function is as follows;

CALL CUSTOMER-FUNCTION '001'

EXPORTING

p_pernr = p_pernr

p_begda = p_begda

p_endda = p_endda

TABLES

p_p0000 = p0000

p_p0001 = p0001

p_p0002 = p0002

p_p0003 = p0003

p_p0006 = p0006

p_p0007 = p0007

p_p0041 = p0041

p_p0069 = p0069

p_p0071 = p0071

p_rt = rt

p_crt = crt

CHANGING

p_extract = p_extract

EXCEPTIONS

error = 1

warning = 2.

Recommendation

Activities

Enter the code in the include ZXP08P1U01 that will satify your specific needs.

Further notes

Below is some code that could be included if required;

* *

* This user exit has been added to derive the employee start date *

* from p0016-begda (contract start date) and overwrite the original *

* employee start date that has been populated in p_result-djemp. *

* *

* infotype 0016 has not been read so far and so was not available in *

* the table parameters of the customer exit. HR_READ_INFOTYPE is *

* used to read the information at the snapshot date and pass back *

* the internal table infty_tab with the information required. *

* *

*----------------------------------------------------------------------*

* The following code is designed to provide the above requirement *

*----------------------------------------------------------------------*

* Start Of Example 1 *

*----------------------------------------------------------------------*

* *

* DATA: I0016 LIKE P0016 OCCURS 0 WITH HEADER LINE, *

* VALUE1 LIKE SY-MSGV1 VALUE '0016', *

* VALUE2 LIKE SY-MSGV2, *

* VALUE3 LIKE SY-MSGV3 VALUE SPACE, *

* VALUE4 LIKE SY-MSGV4 VALUE SPACE. *

* *

* CALL FUNCTION 'HR_READ_INFOTYPE' *

* EXPORTING *

* TCLAS = 'A' *

* PERNR = P_EXTRACT-PERNR *

* INFTY = '0016' *

* BEGDA = P_BEGDA *

* ENDDA = P_ENDDA *

* * IMPORTING *

* * SUBRC = *

* TABLES *

* INFTY_TAB = I0016 *

* EXCEPTIONS *

* INFTY_NOT_FOUND = 1 *

* OTHERS = 2. *

* *

* VALUE2 = SNAPSHOT_DATE. &

Business Attributes
ASAP Roadmap ID 255   Create Interfaces 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHIGBPBS010101 GB United Kingdom
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHIGBPBS010101 0 HLA0009562 Absences 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
CMOD L - Logical transport object CMOD  
History
Last changed by/on SAP  20020221 
SAP Release Created in 462A