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

MP034640 SAP ABAP INCLUDE - HR-HK: Infotype 0346 Subroutines.







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


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 MP034640. "Basic submit
SUBMIT MP034640 AND RETURN. "Return to original report after report execution complete
SUBMIT MP034640 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: HR-HK: Infotype 0346 Subroutines.


INCLUDES used within this REPORT MP034640

FORM INCLUDE_YOS_FOR_PLAN USING VALUE(P_PLAN)


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:

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.



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