Menu

SAP Function Module EHS_FIND_TASKS

Health Surveillance Protocols acc. to Person's Task

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module EHS_FIND_TASKS (Health Surveillance Protocols acc. to Person's Task) is a standard Function Module in SAP ERP and is part of the function group EHS00PPROT within the package P99Q1.

Technical Information

Function Module EHS_FIND_TASKS
Short Text Health Surveillance Protocols acc. to Person's Task
Function Group EHS00PPROT
Package P99Q1
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IM_BEGDA LIKE E1P0002-BEGDA SY-DATUM Start of Reporting Period
IM_ENDDA LIKE E1P0002-ENDDA SY-DATUM End of Reporting Period
IM_FLAG_GET_STRUC TYPE CHAR1 'X' Set to Call RH_GET_STRUC in Function Module
IM_OBJTYP LIKE OBJEC-OTYPE 'P ' Object Type (T-Task, P-Person,..)
IM_PERNR LIKE E1P0002-PERNR Personnel Number
IM_WEGID LIKE GDSTR-WEGID 'EHSP_OBJ' Evaluation Path

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_TASK_PERSPROT LIKE EHS00PERSPROT Results Table (Prot<->Person)
I_TASK_OBJEC LIKE OBJEC Transfer Table if IM_FLAG ' '
I_TASK_RESULT LIKE SWHACTOR Transfer Table if IM_FLAG ' '
I_TASK_STRUC LIKE STRUC Transfer Table if IM_FLAG ' '

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
PERNR_NOT_ALLOWED Personnel Number 0 Not Allowed
PERNR_NOT_EXIST Personnel Number Does Not Exist
PERSON_NOT_ASSIGNED Person Not Assigned to Object (C,S,T)