SAP Reports / Programs

SAPFP51W SAP ABAP dialog Program - Subroutine Pool for Time Recording







SAPFP51W is a standard Module pool for a dialog screen ABAP Program available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SAPFP51W into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SAPFP51W. "Basic submit
SUBMIT SAPFP51W AND RETURN. "Return to original report after report execution complete
SUBMIT SAPFP51W VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Subroutine Pool for Time Recording


INCLUDES used within this REPORT SAPFP51W

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' "XLCK003565 EXPORTING COMPANYCODE = T500P-BUKRS IMPORTING COUNTRY = P_LAND1 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING FIELDNAME = 'WAERS' TABNAME = 'T500W' IMPORTING SELECT_VALUE = P_WAERS TABLES FIELDS = IHELP_FIELDS VALUETAB = HELPTAB EXCEPTIONS FIELD_NOT_IN_DDIC = 01 MORE_THEN_ONE_SELECTFIELD = 02 NO_SELECTFIELD = 03.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING MOLGA = P_MOLGA * TRFAR = * TRFGB = * TRFKZ = BEGDA = P_BEGDA IMPORTING WAERS = WAERS EXCEPTIONS OTHERS = 1.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING MOLGA = P_MOLGA * TRFAR = * TRFGB = * TRFKZ = BEGDA = BEGDA IMPORTING WAERS = WAERS EXCEPTIONS OTHERS = 1.

HR_CHECK_COUNTRY_CURRENCY CALL FUNCTION 'HR_CHECK_COUNTRY_CURRENCY' "XLCK009722 EXPORTING MOLGA = P_MOLGA WAERS = P_WAERS DATE = P_BEGDA IMPORTING RETURN = L_SUBRC * VALID_BEGDA = * VALID_ENDDA = EXCEPTIONS OTHERS = 1.

HR_F4_COUNTRY_CURRENCY CALL FUNCTION 'HR_F4_COUNTRY_CURRENCY' "XLCK009722 EXPORTING MOLGA = P_MOLGA DATE = P_BEGDA IMPORTING RETURN = L_SUBRC WAERS = P_WAERS * VALID_BEGDA = * VALID_ENDDA = EXCEPTIONS OTHERS = 1.

DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING POVSTEPL = STEPL EXCEPTIONS STEPL_NOT_FOUND = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = REPID DYNUMB = DYNNR TABLES DYNPFIELDS = DYNVALTAB EXCEPTIONS OTHERS = 1.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = REPID DYNUMB = DYNNR TABLES DYNPFIELDS = DYNVALTAB EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SAPFP51W or its description.