SAP Reports / Programs | Payroll | Canada(PY-CA) SAP PY

MP02214K SAP ABAP INCLUDE - documentation and ABAP source code







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

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_CA_GET_WRKAR_COMBINATION CALL FUNCTION 'HR_CA_GET_WRKAR_COMBINATION' EXPORTING pernr = p0221-pernr * BEGDA = date1 "default low date * ENDDA = date2 "default high date tables wrkar_combi = l_tcrti_help.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p0221-pernr IMPORTING molga = t001p-molga TABLES in_rgdir = rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.

HR_COUNTRYGROUPING_GET CALL FUNCTION 'HR_COUNTRYGROUPING_GET' EXPORTING pernr = p0221-pernr IMPORTING molga = t001p-molga EXCEPTIONS not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'MP022100' dynumb = '2207' TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 1.

CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING input = dynpfields-fieldvalue IMPORTING output = p0221-begda EXCEPTIONS plausibility_check_failed = 1 wrong_format_in_input = 2.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING display = ' ' selectfield = 'begda' titel = ' ' IMPORTING ind = index TABLES fields = field_tab full_table = tcrti_help_i EXCEPTIONS full_table_empty = 01 no_tablestructure_given = 02.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = 'MP022100' dynumb = '2207' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 0 "WWQAHRK062232 invalid_dynprofield = 0 " invalid_dynproname = 0 " invalid_dynpronummer = 0 " invalid_request = 0 " no_fielddescription = 0 " undefind_error = 0. "

CD_GET_INFO CALL FUNCTION 'CD_GET_INFO' EXPORTING persnr = p0221-pernr IMPORTING * payroll_until = datum highest_paydt = datum EXCEPTIONS no_record_found = 1 OTHERS = 2.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING PERSNR = p0221-pernr IMPORTING MOLGA = t001p-molga TABLES in_rgdir = rgdir.

HR_COUNTRYGROUPING_GET CALL FUNCTION 'HR_COUNTRYGROUPING_GET' EXPORTING pernr = p0221-pernr IMPORTING molga = t001p-molga EXCEPTIONS not_found = 1 OTHERS = 2.

HR_CA_GET_ORIGINAL_PAYROLL CALL FUNCTION 'HR_CA_GET_ORIGINAL_PAYROLL' EXPORTING in_rgdir = rgdir IMPORTING out_rgdir = orig_rgdir TABLES rgdir = rgdir EXCEPTIONS OTHERS = 1.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING CLUSTERID = 'RK' EMPLOYEENUMBER = p0221-pernr SEQUENCENUMBER = seqnr CHANGING payroll_result = wa_pay_result.



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