Ansicht
Dokumentation

EXIT_RPDBPC00_001 -

EXIT_RPDBPC00_001 -

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Definition

Interface for assigning download authorizations for HR reports which use the logical database PNP or PCH.

Use

You can use the function module EXIT_RPDBPC00_001 to control the download authorization.

In the function module, enter the report name (REPORT_NAME) and form name (FORM_NAME) of your authorization check routine. Implement the report and form.

Example

Set the following values in the function module:


REPORT_NAME = ZPDBPC01.
FORM_NAME = MY_FORM.

When you choose the download function, the system tests whether the report and form names are set. If this is the case, a dynamic PERFORM is executed in the authorization check routine specified in the function module. The routine outputs an integer as the return value.

Basic layout of the routine in your report


REPORT MY_PROG.
FORM MY_FORM using result type I.
...
ENDFORM.

If the return value of the routine is '0', you have the download authorization. All other return values indicate that you do not have the download authorization.

The authorization check routine is only active for reports which use the logical database PNP or PCH.

If you want to prohibit all users from downloading data, you can implement the following sample program code.


REPORT ZPDBPC01.
FORM MY_FORM using RETURN_VALUE.
RETURN_VALUE = 1. "Download prohibited
ENDFORM.

Within this form, you can set the RETURN_VALUE according to your requirements. If you set the return value to '1' or '0', the download is prohibited or permitted respectively.

This authorization check routine is also called in the function module HR_DISPLAY_BASIC_LIST. It you do not have the download authorization, the MS Excel, MS Word and Save to PC file functions are deactivated.






CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2391 Date: 20240427 Time: 061404     sap01-206 ( 37 ms )