SAP Reports / Programs | Personnel Management | Personnel Administration | Germany(PA-PA-DE) SAP PA

MP002640 SAP ABAP INCLUDE - Module Pool Infotype 0026: Form routines for Common Part







MP002640 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 MP002640 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 MP002640. "Basic submit
SUBMIT MP002640 AND RETURN. "Return to original report after report execution complete
SUBMIT MP002640 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 Infotype 0026: Form routines for Common Part


INCLUDES used within this REPORT MP002640

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:

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING display = display fieldname = fnam tabname = tnam IMPORTING select_value = emfsl TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = repid dynumb = dynnr TABLES dynpfields = dynp_values EXCEPTIONS OTHERS = 1.

HR_CHECK_CURRENCY_DELIMITED CALL FUNCTION 'HR_CHECK_CURRENCY_DELIMITED' EXPORTING waers = waers begda = p0026-begda endda = p0026-endda EXCEPTIONS currency_not_valid = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'SUBTY' dynpprog = repid dynpnr = sy-dynnr dynprofield = 'P0026-VSART' value_org = 'S' TABLES value_tab = data_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

HR_GET_NEXT_OBJPS CALL FUNCTION 'HR_GET_NEXT_OBJPS' EXPORTING infotype = '0026' pernr = p0026-pernr IMPORTING objid = p_p0026_objps EXCEPTIONS no_free_id_found = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = field1 dynpprog = repid dynpnr = sy-dynnr dynprofield = field2 value_org = 'S' TABLES value_tab = data_tab_w EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p0026-pernr infty = '0012' begda = p0026-begda endda = p0026-endda IMPORTING subrc = retcode TABLES infty_tab = t_0012 EXCEPTIONS infty_not_found = 1 OTHERS = 2 .

HR_SUGGEST_PAYEE_KEY CALL FUNCTION 'HR_SUGGEST_PAYEE_KEY' EXPORTING longtext = vtx shorttext = ktx infotype = '0026' subtype = space molga = '01' best_only = 'X' * MIN_SCORE = 4 IMPORTING payee_key = p0026-emfsl EXCEPTIONS no_match = 1 OTHERS = 2 .

HR_CHECK_LGART CALL FUNCTION 'HR_CHECK_LGART' EXPORTING p_lgart = t512z-lgart p_begda = cprel-begda p_endda = cprel-endda p_infty = pspar-infty p_persa = psyst-werks p_btrtl = psyst-btrtl p_persg = psyst-persg p_persk = psyst-persk p_msgtp = 'E' EXCEPTIONS error_message = 1.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting * TCLAS = 'A' pernr = p0026-pernr infty = '0003' tables infty_tab = t_0003 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = p0026-pernr infty = '0001' begda = p0026-begda endda = p0026-begda tables infty_tab = t_0001 exceptions infty_not_found = 1 others = 2.

PA03_PCR_READ call function 'PA03_PCR_READ' exporting f_abkrs = t_0001-abkrs importing f_state = l_status.



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