Ansicht
Dokumentation

RM_HR_INTEGRATION - BAdI: HR Integration in Repetitive Manufacturing Confirmation

RM_HR_INTEGRATION - BAdI: HR Integration in Repetitive Manufacturing Confirmation

BAL_S_LOG - Application Log: Log header data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Application component: PP-REM-ADE

Function groups: BARM, RMAA

The Business Add-In (BAdI) RM_HR_INTEGRATION can enhance the confirmation functions of Repetitive Manufacturing for entering and processing HR-relevant data (for example, personnel number, group number etc.). You can implement the BAdI in two different modes:

  • Mode 1: This mode enables the input (confirmation for transaction MFBF) or interface transfer (confirmation for BAPI RepManConfirmation1) of HR-relevant data, that is updated during the posting of the confirmation in the new standard database table RMRP.
This mode allows you to make your own evaluations and perform the subsequent activities, regarding the HR data linked to the confirmation.
  • Mode 2: In addition to the functions of mode 1, this mode enables you to mark the created confirmations, including the relevant HR data, for the transfer to the HR module. For each confirmed operation a separate future change record is written, as long as you have specified a personnel number and/or a group number for the operation.
From the transferred confirmations, you can then create time tickets in the HR module. An HR integration of repetitive manufacturing is therefore realized on the basis of the existing production orders, process orders and maintenance orders.

The new database table RMRP is linked via the document log number (field PRTNR), and for activity confirmation, it is also linked via the confirmation number (field RUECK) and the confirmation counter (field RMZHL), to the the document log of the relevant confirmation.

Table RMRP includes structure RMHRDATA_EXT that can be extended with append structures. You can therefore extend the HR fields that are to be confirmed and updated without modifiying the standard, as all fields of structure RMHRDATA_EXT are available in both the BAPI RepManConfirmation1 interface, as well as in the processing of transaction MFBF. The fields are therefore updated in table RMRP.

Note:
Compare the interface between Logistics and Personnel Time Management in the standard. See the SAP Library under:
  • Human Resources → Personnel Time Management → Incentive Wages → Incentive Wages: Processes → Transferring Data from SAP Logistics

To enable input of HR data in transastion MFBF, you must specify a subscreen in the BAdI implementation from any function group. This subscreen will occupy the place of subscreen area SUBHR, screen 0800, function group BARM. You can use the example screen 0850 of function group BARM to do this. If this screen does not correspond with the user-specific requirements, a corresponding subscreen must be created in a customer-defined function group, and made known in the BAdI implementation.

A prerequisite for the use of the BAdIs in mode 2 is that the REM confirmation takes place with activities.

  • In the standard system, the Business Add-In is not active.
  • The Business Add-In is not filter-dependent.
  • The Business Add-In cannot be used more than once.

The example code realizes an HR integration in mode 2.

Documentation on BAdI method ACTIVATE_HR_INTEGRATION

Documentation on BAdI method CHECK_HR_DATA

Documentation on BAdI method CHANGE_HR_DATA

Documentation on BAdI method GET_DATA_FROM_SCREEN

Documentation on BAdI method PUT_DATA_TO_SCREEN






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 4712 Date: 20240523 Time: 194055     sap01-206 ( 91 ms )