SAP Reports / Programs | Personnel Management | Personnel Administration | Austria(PA-PA-AT) SAP PA

MP004240 SAP ABAP INCLUDE - Module Pool for Infotype P0042 - Form Routines for Common Part







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


Text pool values


Title: Module Pool for Infotype P0042 - Form Routines for Common Part


INCLUDES used within this REPORT MP004240

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_AT_ST_GET_SECOND_LZART CALL FUNCTION 'HR_AT_ST_GET_SECOND_LZART' EXPORTING im_tax_info = l_tax_data IMPORTING EX_METHD = l_methd EXCEPTIONS NO_VALID_CUSTOMIZING = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0042-pernr infty = '0021' begda = low_date endda = high_date IMPORTING subrc = l_subrc TABLES infty_tab = i0021 EXCEPTIONS OTHERS = 4.

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING mark_flag = 'X' mark_max = 0 start_col = 1 start_row = 8 textline1 = text-pop textline2 = text-poq titel = space display_only = display_only IMPORTING answer = l_answer TABLES t_spopli = aendtxt EXCEPTIONS OTHERS = 4.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = c_badi_hrpayat_it0021_kto * FLT_VAL = IMPORTING is_implemented = l_badi_is_implemented * TABLES * ACTIVE_IMPS = CHANGING instance = g_ref_hrpayat_it0021_kto.

HR_AT_ST_GET_SECOND_LZART CALL FUNCTION 'HR_AT_ST_GET_SECOND_LZART' EXPORTING im_tax_info = l_tax_data IMPORTING * EX_LZART = * EX_LZART2 = EX_METHD = l_methd EXCEPTIONS NO_VALID_CUSTOMIZING = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = p_datenelement langu = sy-langu all_types = 'X' TABLES fixed_values = lt_dom_values.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CODE' dynpprog = 'MP004200' dynpnr = p_dynpro dynprofield = p_dynprofield value_org = 'S' TABLES value_tab = lt_output_tab.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = domname value = domvalue langu = sy-langu IMPORTING dd07v_wa = idd07v EXCEPTIONS OTHERS = 1.

VRM_GET_VALUES CALL FUNCTION 'VRM_GET_VALUES' EXPORTING id = p_possible_values_id EXCEPTIONS id_not_found = 4.

VRM_DELETE_VALUES CALL FUNCTION 'VRM_DELETE_VALUES' EXPORTING id = p_possible_values_id.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = p_possible_values_id values = p_possible_values EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

VRM_QUEUE_FLUSH CALL FUNCTION 'VRM_QUEUE_FLUSH'.



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