MP081840 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 MP081840 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!
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = r_wagetype-begda foreign_amount = r_wagetype-betrg foreign_currency = r_wagetype-waers local_currency = 'TWD' * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = r_wagetype-betrg * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
RP_FILL_WAGE_TYPE_TABLE CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE' "read wagetype of I0008 EXPORTING * APPLI = 'E' begda = $begda endda = $endda infty = $infty * OBJPS = ' ' pernr = $pernr subty = space TABLES ppbwla = inttab EXCEPTIONS error_at_indirect_evaluation = 1 OTHERS = 2 .
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields.
CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = old_date IMPORTING date_internal = new_date.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'IACAT' value_org = 'S' TABLES value_tab = help_tab return_tab = ret_value EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0818-pernr infty = $infty begda = $begda endda = $endda IMPORTING subrc = subrc TABLES infty_tab = $result EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING * display = display fieldname = fnam tabname = tnam IMPORTING select_value = p0818-npscr 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 = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.