SAP Reports / Programs | Payroll | Italy(PY-IT) SAP PY

MP321420 SAP ABAP INCLUDE - documentation and ABAP source code







MP321420 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 MP321420 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 MP321420. "Basic submit
SUBMIT MP321420 AND RETURN. "Return to original report after report execution complete
SUBMIT MP321420 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 MP321420

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:

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'ITLAW' struc_content = pme04 IMPORTING back = return EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

RP_NUMBER_OF_WAGETYPES_0008 CALL FUNCTION 'RP_NUMBER_OF_WAGETYPES_0008' "N217573 IMPORTING wt_count = number_of_lgart_in_p0008. "N217573

HR_GET_LGART_TEXT CALL FUNCTION 'HR_GET_LGART_TEXT' EXPORTING p_lgart = ps3214-lga01 p_molga = t001p-molga IMPORTING p_longtext = t512t-lgtxt EXCEPTIONS no_entry_in_512t = 0 OTHERS = 0.

RP_NUMBER_OF_WAGETYPES_0008 CALL FUNCTION 'RP_NUMBER_OF_WAGETYPES_0008' "N217573 IMPORTING wt_count = number_of_lgart_in_p0008. "N217573

HR_GET_LGART_TEXT CALL FUNCTION 'HR_GET_LGART_TEXT' EXPORTING p_lgart = ps3214_0014-lgart01 p_molga = t001p-molga IMPORTING p_longtext = t512t-lgtxt EXCEPTIONS no_entry_in_512t = 0 OTHERS = 0.

RP_NUMBER_OF_WAGETYPES_0008 CALL FUNCTION 'RP_NUMBER_OF_WAGETYPES_0008' "N217573 IMPORTING wt_count = number_of_lgart_in_p0008. "N217573

HR_GET_LGART_TEXT CALL FUNCTION 'HR_GET_LGART_TEXT' EXPORTING p_lgart = ps3214_0015-lgart01 p_molga = t001p-molga IMPORTING p_longtext = t512t-lgtxt EXCEPTIONS no_entry_in_512t = 0 OTHERS = 0.

RP_CALC_DATE_IN_INTERVAL CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL' EXPORTING date = itab_econ-begda days = '01' months = '00' signum = '+' years = '00' IMPORTING calc_date = itab_econ-dasca.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3214-pernr infty = '0001' IMPORTING subrc = l_subrc TABLES infty_tab = itab_econ0001 EXCEPTIONS "#EC * infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3214-pernr infty = '0007' IMPORTING subrc = l_subrc TABLES infty_tab = itab_econ0007 EXCEPTIONS "#EC * infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3214-pernr infty = '0008' IMPORTING subrc = l_subrc TABLES infty_tab = itab_econ0008 EXCEPTIONS "#EC * infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3214-pernr infty = '0159' IMPORTING subrc = l_subrc TABLES infty_tab = itab_econ0159 EXCEPTIONS "#EC * infty_not_found = 1 OTHERS = 2.



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