SAP Reports / Programs | Payroll(PY) SAP PY

MP051940 SAP ABAP INCLUDE - Infotype 0519 - Romania







MP051940 is a standard ABAP INCLUDE 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 MP051940 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 MP051940. "Basic submit
SUBMIT MP051940 AND RETURN. "Return to original report after report execution complete
SUBMIT MP051940 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MP051940

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = progname dynumb = dynnum translate_to_upper = 'X' TABLES dynpfields = lt_dynpro_values.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = ls_dynpro_value-fieldvalue IMPORTING date_internal = p_begda EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = ls_dynpro_value-fieldvalue IMPORTING date_internal = p_endda EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CONT1' dynpprog = progname dynpnr = dynnum value_org = 'S' display = lv_display "nt1657127 TABLES value_tab = lt_values return_tab = lt_return dynpfld_mapping = lt_maptab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynpro_values EXCEPTIONS OTHERS = 11.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CONT2' dynpprog = progname dynpnr = dynnum value_org = 'S' display = lv_display "nt1657127 TABLES value_tab = lt_values return_tab = lt_return dynpfld_mapping = lt_maptab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynpro_values EXCEPTIONS OTHERS = 11.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CONT3' dynpprog = progname dynpnr = dynnum value_org = 'S' display = lv_display "nt1657127 TABLES value_tab = lt_values return_tab = lt_return dynpfld_mapping = lt_maptab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynpro_values EXCEPTIONS OTHERS = 11.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'WORKC' dynpprog = progname dynpnr = dynnum value_org = 'S' display = lv_display "nt1657127 TABLES value_tab = lt_values return_tab = lt_return dynpfld_mapping = lt_maptab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynpro_values EXCEPTIONS OTHERS = 11.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'HEHID' tabname = 'T7RO16' display = l_display IMPORTING select_value = selected_value TABLES fields = i_help_value valuetab = i_valuetab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'TAXOF' tabname = 'T7RO26' display = l_display IMPORTING select_value = selected_value TABLES fields = i_help_value valuetab = i_valuetab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.



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 MP051940 or its description.