MP332140 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 MP332140 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_READ_INFOTYPE * CALL FUNCTION 'HR_READ_INFOTYPE' * EXPORTING * pernr = p3321-pernr * infty = '0000' * begda = p3321-begda * endda = p3321-endda * TABLES * infty_tab = lt_0000.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3321-pernr infty = '0001' begda = p3321-begda endda = p3321-endda TABLES infty_tab = lt_0001.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3321-pernr infty = '0008' begda = p3321-begda endda = p3321-endda TABLES infty_tab = lt_0008.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3321-pernr infty = '0002' begda = p3321-begda endda = p3321-endda TABLES infty_tab = lt_0002.
FIMA_DAYS_AND_MONTHS_AND_YEARS CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS' EXPORTING i_date_from = lv_begda * I_KEY_DAY_FROM = i_date_to = p3321-endda * I_KEY_DAY_TO = * I_FLG_SEPARATE = ' ' IMPORTING e_days = lv_days * E_MONTHS = lv_month * E_YEARS = lv_years .
FIMA_DAYS_AND_MONTHS_AND_YEARS CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS' EXPORTING i_date_from = lv_begda * I_KEY_DAY_FROM = i_date_to = p3321-endda * I_KEY_DAY_TO = i_flg_separate = '1' IMPORTING * e_days = lv_days e_months = lv_month e_years = lv_years.
HR_FEATURE_BACKTABLE CALL FUNCTION 'HR_FEATURE_BACKTABLE' EXPORTING feature = 'SASAU' struc_content = ls_sasau kind_of_error = lt_feature_error TABLES back = lt_feature_back EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 * field_in_report_tab_in_pe03 = 6 OTHERS = 7.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pspar-pernr infty = '3321' begda = '00000000' endda = pspar-begda TABLES infty_tab = lt_3321.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ICTYP2' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P3321-SHLID' value_org = 'S' callback_program = sy-repid callback_form = 'USER_FORM' * display = display TABLES value_tab = ihelp_values field_tab = field_tab return_tab = return_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ICTYP3' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P3321-SLABS' value_org = 'S' callback_program = sy-repid callback_form = 'USER_FORM' * display = display TABLES value_tab = ihelp_values field_tab = field_tab return_tab = return_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
CONVERT_DATE_TO_INTERN_FORMAT * CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT' * EXPORTING * datum = lv_begda * dtype = 'DATS' * IMPORTING ** ERROR = P3321-BEGDA * idate = p3321-begda ** MESSG = ** MSGLN = * .
HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = feature struc_content =
kind_of_error = kind_of_error IMPORTING back = back CHANGING status = status EXCEPTIONS * DUMMY = 1 "VLDAHRK039762 * ERROR_OPERATION = 2 "VLDAHRK039762 * NO_BACKVALUE = 3 "VLDAHRK039762 * FEATURE_NOT_GENERATED = 4 "VLDAHRK039762 * INVALID_SIGN_IN_FUNID = 5 "VLDAHRK039762 * FIELD_IN_REPORT_TAB_IN_PE03 = 6 "VLDAHRK039762 * OTHERS = 0. "VLDAL0K095544 (Checkman)
F4IF_INT_TABLE_VALUE_REQUEST * CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' * EXPORTING * retfield = 'ICTYP1' * dynpprog = sy-repid * dynpnr = sy-dynnr * dynprofield = 'P3321-AUSGR' * value_org = 'S' * callback_program = sy-repid * callback_form = 'USER_FORM' ** display = display * TABLES * value_tab = ihelp_values * field_tab = field_tab * return_tab = return_tab * EXCEPTIONS * parameter_error = 1 * no_values_found = 2 * OTHERS = 3.
FIMA_DAYS_AND_MONTHS_AND_YEARS * CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS' * EXPORTING * i_date_from = lt_3321-begda ** I_KEY_DAY_FROM = * i_date_to = lt_3321-rwdat ** I_KEY_DAY_TO = * IMPORTING ** e_days = lv_days ** e_months = lv_month * e_years = lv_years.
FIMA_DAYS_AND_MONTHS_AND_YEARS * CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS' * EXPORTING * i_date_from = lv_endda ** I_KEY_DAY_FROM = * i_date_to = lt_3321-begda ** I_KEY_DAY_TO = * IMPORTING * e_days = lv_days ** e_months = lv_month ** e_years = lv_years.
FIMA_DAYS_AND_MONTHS_AND_YEARS * CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS' * EXPORTING * i_date_from = lt_3321-endda ** I_KEY_DAY_FROM = * i_date_to = pspar-begda ** I_KEY_DAY_TO = * IMPORTING * e_days = lv_days ** e_months = lv_month ** e_years = lv_years.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'DEPTT' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'Q3321-DEPTT' value_org = 'S' callback_program = sy-repid * display = display TABLES value_tab = ihelp_values_deptt field_tab = field_tab return_tab = return_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
RH_EDITOR_SET * CALL FUNCTION 'RH_EDITOR_SET' * EXPORTING * repid = 'MP332100' * dynnr = '2000' * controlname = 'TER_REASON' * max_cols = local_colw ** MAX_LINES = ** SHOW_TOOL = 'X' * show_status = 'X' * display_mode = local_disp * TABLES ** lines = dyn_tab * lines = gt_dyntab_1col * EXCEPTIONS * create_error = 1 * internal_error = 2 * OTHERS = 3.
* CALL FUNCTION 'RH_EDITOR_GET' * EXPORTING * controlname = 'TER_RESON' * TABLES * lines = gt_dyntab_1col * EXCEPTIONS * internal_error = 1 * OTHERS = 2.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = '' fieldname = '' searchhelp = 'PREM' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = dynfd.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pnmin infty = '0002' begda = p3321-endda endda = p3321-endda TABLES infty_tab = lt_p0002.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pnmap infty = '0002' begda = p3321-endda endda = p3321-endda TABLES infty_tab = lt_p0002.
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 MP332140 or its description.