Fonction SAP CBIH_LB16_IP_POPUP - EHS: User Exit - Popup to Display Personal Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_HEADER_RECORD CCIHS_OBJPATH u 300 X Header data of calling object
I_IPPERS CCIHS_PDATSIIOT-IPPERS C 10 Personnel number
I_IPPERSGRP CCIHS_PDATSIIOT-IPPERSGRP C 1 IC_PERSGRP-INTERNAL X Person group ('A' int., 'B' appl., 'C' ext.)
I_VALDAT SYST-DATUM D 8 SY-DATUM X Key date

Functionality
With this user exit function module you can call a modifieddialog box in theincident/accident log andinjury/illness log todisplay the personal data.
As import parameters, the user exit is passed the personnel number
and the person group of the selected person and the keydate you chose when you accessed the initial screen of theincident/accident log or injury/illness log.
Procedure
The data that is to be displayed in the dialog box is read using theabove-mentioned import parameters. An authorization check is run. Ifauthorization is not available, an error message is displayed.
A subscreen from a libraryis initialized.
This step can be left out if the relevant subscreen is not required inthe customer's dialog box.
The DDIC structure that is used to display the information in the dialogbox is initialized and thescreen for the dialog boxis called. Here the screen 5010 of the function group is used.

Note
INCLUDE EHS_27B_USER_EXIT_HINT OBJECT DOKU ID TX
If you want a different display for the data, you must create your ownscreen and call it within your user exit.

1042993Settings in Customizing for EH&S Indus. Hygiene and Safety
978869Transfer parameter for personal data dialog box