SAP Reports / Programs | Personnel Management | Personnel Administration | Hong Kong(PA-PA-HK) SAP PA

MP034940 SAP ABAP INCLUDE - Module Pool: Infotype 0349 (Eligibility groups)







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

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_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = p0349-pernr infty = '0000' begda = low_date endda = high_date importing subrc = g_subrc tables infty_tab = p0000 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = p0349-pernr infty = '0001' begda = low_date endda = high_date importing subrc = g_subrc tables infty_tab = p0001 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = p0349-pernr infty = '0002' begda = low_date endda = high_date importing subrc = g_subrc tables infty_tab = p0002 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = p0349-pernr infty = '0008' begda = low_date endda = high_date importing subrc = g_subrc tables infty_tab = p0008 exceptions infty_not_found = 1 others = 2.

COMPUTE_YEARS_BETWEEN_DATES call function 'COMPUTE_YEARS_BETWEEN_DATES' exporting first_date = p0002-gbdat second_date = p0349-begda modify_interval = ' ' importing years_between_dates = g_ee_age_joining "Note 1605251 begin exceptions sequence_of_dates_not_valid = 1.

RP_HIRE_FIRE call function 'RP_HIRE_FIRE' exporting beg = low_date end = high_date " '99991231' importing * fire_date = hire_date = g_hire_date tables pphifi = phifi pp0000 = p0000 pp0001 = p0001 exceptions others = 1.

HR_HK_DIFF_BT_2_DATES call function 'HR_HK_DIFF_BT_2_DATES' exporting date1 = p0349-begda date2 = g_hire_date output_format = '07' "Anniversary importing years = l_years months = l_months days = l_days exceptions others = 1.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'MOPFE' tabname = 'T7HK2I' IMPORTING select_value = p_value TABLES fields = ihelp_value valuetab = ihelptab.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'EPELI' tabname = 'T7HK3I' IMPORTING select_value = p_value TABLES fields = ihelp_value valuetab = ihelptab.



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