MP034640 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 MP034640 into the relevant SAP transactions such as SE38 or SE80
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.
Title: HR-HK: Infotype 0346 Subroutines.
FORM INCLUDE_YOS_FOR_PLAN USING VALUE(P_PLAN)
No SAP DATABASE tables are accessed within this REPORT code!
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'CONTP' tabname = 'T7HK2C' 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 = 'CONTP' tabname = 'T7HK2D' IMPORTING select_value = p_value TABLES fields = ihelp_value valuetab = ihelptab.
COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = p0002-gbdat second_date = p0346-begda modify_interval = ' ' IMPORTING years_between_dates = g_ee_age_joining "Note 1605251 begin EXCEPTIONS sequence_of_dates_not_valid = 1.
COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = p0002-begda second_date = sy-datum modify_interval = ' ' IMPORTING years_between_dates = g_ee_age.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p_pernr infty = p_infotype begda = p_begda endda = p_endda * IMPORTING ** subrc = rc_bzpnr TABLES infty_tab = l_p0349 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields.
HR_HK_CONV_DATE_TO_INTN_FORMAT CALL FUNCTION 'HR_HK_CONV_DATE_TO_INTN_FORMAT' EXPORTING datum = old_date dtype = 'DATS' IMPORTING idate = new_date * error = error_flag * messg = message * msgln = message_length EXCEPTIONS invalid_date = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MP034640 - HR-HK: Infotype 0346 Subroutines. MP034630 - HR-HK: Infotype 0346 Input Modules. MP034620 - HR-HK: Infotype 0346 Output Modules. MP034610 - HR-HK: Infotype 0346 Data definitions. MP034600 - Module Pool: Infotype 0346 (Contribution plan) MP034600 - Module Pool: Infotype 0346 (Contribution plan)