Ansicht
Dokumentation

/WSOPT/HR_INTEGRATION_CHECK - Read plan variant

/WSOPT/HR_INTEGRATION_CHECK - Read plan variant

CPI1466 during Backup   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The purpose of this function module is to check integration with PD (Personnel Planning and Development). PD uses what is known as the plan version concept, which enables the user to represent various scenarios in the system. However, only ONE plan version can contain the current data, while all other data is for purposes of experiment. The purpose of the function module is to query and, if necessary, set this ONE active plan version.

Since the module can be used both to read and set the current plan version, the parameter MODE exists.

In PD, valid integration consists, on the one hand, of the number of the integration plan version and, on the other hand, an indicator (parameter: ACTIVE) as to whether integration with Logistics is also active. This split is necessary since PD can be integrated with various SAP applications and, thus, requires an active switch for each application.

Example

Read the integration plan version:
CALL FUNCTION 'HR_INTEGRATION_CHECK'
IMPORTING
PLVAR =
EXCEPTIONS
OTHERS = 1.

Write the active integration plan version:
CALL FUNCTION 'HR_INTEGRATION_CHECK'
EXPORTING
ACTIVE = 'X' "Should the plan version also be active?
MODE = 'W' "'W' = write the value
PLVAR = "Number of integration plan version
EXCEPTIONS
OTHERS = 1.





Parameters

PLVAR

Exceptions

INVALID_PLVAR

Function Group

PT/SAPLHR_BASIS

Addresses (Business Address Services)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1791 Date: 20240419 Time: 052831     sap01-206 ( 34 ms )