SAP Reports / Programs | Personnel Management | Personnel Administration | Venezuela(PA-PA-VE) SAP PA

MP039940 SAP ABAP INCLUDE - documentation and ABAP source code







MP039940 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). It is used for Program containing the subroutines associated to the infotype Income Tax (IT0399)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter MP039940 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 MP039940. "Basic submit
SUBMIT MP039940 AND RETURN. "Return to original report after report execution complete
SUBMIT MP039940 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 MP039940

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:

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = molga * TRFAR = * TRFGB = * TRFKZ = begda = p_p0399-begda endda = p_p0399-begda IMPORTING waers = comp_cuky * VALID_BEGDA = VALID_ENDDA = h_endda RETURN = retorno * CURRENCY_SOURCE = TABLES CURRENCY_TABLE = h_currency_table EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

HRVE_RETRIEVE_T511P_BY_MOLGA CALL FUNCTION 'HRVE_RETRIEVE_T511P_BY_MOLGA' EXPORTING p_molga = pve00_molga p_begda = p_p0399_begda p_endda = p_p0399_endda TABLES local_t511p = p_ve_t511p EXCEPTIONS not_found = 1 OTHERS = 2.

HRVE_RETRIEVE_T511K_BY_MOLGA CALL FUNCTION 'HRVE_RETRIEVE_T511K_BY_MOLGA' EXPORTING p_molga = pve00_molga p_begda = p_p0399_begda p_endda = p_p0399_endda TABLES local_t511k = p_ve_t511k EXCEPTIONS not_found = 1 OTHERS = 2.

MONTH_NAMES_GET CALL FUNCTION 'MONTH_NAMES_GET' EXPORTING language = sy-langu IMPORTING return_code = return_code TABLES month_names = it_names_month EXCEPTIONS month_names_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0399-pernr infty = '0001' * IMPORTING * subrc = retorno TABLES infty_tab = lt_p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = p_p0399_pernr IMPORTING entrydate = p_hire_date TABLES entry_dates = hire_events EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.



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