SAP Reports / Programs

RESOMTRREADDOC SAP ABAP Report - Program for Object Type MTRREADDOC: Meter Reading Document







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


Text pool values


Title: Program for Object Type MTRREADDOC: Meter Reading Document
Text Symbol: S00 = Meter reading document


INCLUDES used within this REPORT RESOMTRREADDOC

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:

ISU_DB_TE410S_SINGLE call function 'ISU_DB_TE410S_SINGLE' importing y_te410s = wa_te410s exceptions not_found = 01 others = 99.

ISU_S_METERREAD_CHANGE call function 'ISU_S_METERREAD_CHANGE' exporting x_entry_event = 'X' x_upd_online = 'X' x_action = '01' x_vertrag = cntrctnr x_adatsoll = targetreadingdate x_ablesgr = meterreadingreason x_istablart = readingtype tables yt_eabl = lt_eabl yt_new_eabl = lt_new_eabl exceptions not_found = 1 foreign_lock = 2 general_fault = 3 input_error = 4 cancelled = 5 invalid_key = 6 incomplete = 7 others = 8.

ISU_S_METERREAD_CREATE call function 'ISU_S_METERREAD_CREATE' exporting x_vertrag = x_vertrag x_adatsoll = targetmrdate x_zuorddat = targetmralldate x_abrdats = targetbillingdate x_zuorddatr = targetbialldate x_ablesgr = meterreadingreason x_karenzprfg = intervalcheck x_no_dialog = background x_abschlpan = abschlpan x_ebene = 'C' x_upd_online = 'X' x_pm_order = crpmorder tables xt_eabl = ieabl xt_etrg = ietrg changing xy_count = xy_count exceptions not_found = 1 foreign_lock = 2 internal_error = 3 input_error = 4 existing = 5 number_error = 6 general_fault = 7 system_error = 8 failed = 9 manual_abort = 10 no_mrrel_registers = 11 gasdat_not_found = 12 others = 13.

ISU_S_METERREAD_CREATE call function 'ISU_S_METERREAD_CREATE' exporting x_anlage = x_anlage x_adatsoll = targetmrdate x_zuorddat = targetmralldate x_abrdats = targetbillingdate x_zuorddatr = targetbialldate x_ablesgr = meterreadingreason x_karenzprfg = intervalcheck x_no_dialog = background x_abschlpan = abschlpan x_ebene = 'I' x_upd_online = 'X' x_pm_order = crpmorder tables xt_eabl = ieabl xt_etrg = ietrg changing xy_count = xy_count exceptions not_found = 1 foreign_lock = 2 internal_error = 3 input_error = 4 existing = 5 number_error = 6 general_fault = 7 system_error = 8 failed = 9 manual_abort = 10 no_mrrel_registers = 11 gasdat_not_found = 12 others = 13.

ISU_S_METERREAD_CREATE call function 'ISU_S_METERREAD_CREATE' exporting x_equnr = x_equnr x_adatsoll = targetmrdate x_zuorddat = targetmralldate x_abrdats = targetbillingdate x_zuorddatr = targetbialldate x_ablesgr = meterreadingreason x_karenzprfg = intervalcheck x_ebene = 'D' x_upd_online = 'X' x_pm_order = crpmorder tables xt_eabl = ieabl xt_etrg = ietrg changing xy_count = xy_count exceptions not_found = 1 foreign_lock = 2 internal_error = 3 input_error = 4 existing = 5 number_error = 6 general_fault = 7 system_error = 8 failed = 9 manual_abort = 10 no_mrrel_registers = 11 gasdat_not_found = 12 others = 13.

ISU_S_METERREAD_CREATE call function 'ISU_S_METERREAD_CREATE' exporting x_equnr = x_equnr x_adatsoll = targetmrdate x_zuorddat = targetmralldate x_abrdats = targetbillingdate x_zuorddatr = targetbialldate x_ablesgr = meterreadingreason x_karenzprfg = intervalcheck x_ebene = 'D' x_upd_online = 'X' x_pm_order = crpmorder tables xt_eabl = heabl xt_etrg = hetrg changing xy_count = xy_count exceptions not_found = 1 foreign_lock = 2 internal_error = 3 input_error = 4 existing = 5 number_error = 6 general_fault = 7 system_error = 8 failed = 9 manual_abort = 10 no_mrrel_registers = 11 gasdat_not_found = 12 others = 13.

ISU_S_METERREAD_CHANGE call function 'ISU_S_METERREAD_CHANGE' exporting x_action = '05' x_vertrag = contrkey x_adat = mrdate x_ablesgr = meterreadingreason x_upd_online = 'X' exceptions foreign_lock = 1 cancelled = 2 others = 99.

ISU_S_METERREAD_CHANGE call function 'ISU_S_METERREAD_CHANGE' exporting x_action = '05' x_anlage = instkey x_adat = mrdate x_ablesgr = meterreadingreason x_upd_online = 'X' exceptions foreign_lock = 1 cancelled = 2 others = 99.

ISU_S_METERREAD_CHANGE call function 'ISU_S_METERREAD_CHANGE' exporting x_action = '05' x_equnr = equkey x_adat = mrdate x_ablesgr = meterreadingreason x_upd_online = 'X' exceptions foreign_lock = 1 cancelled = 2 others = 99.

F4_GET_RESULT call function 'F4_GET_RESULT' exporting sel_method = 'M_EANLA' max_select = 500 * SORT = ' ' tables selopt_tab = selopt_tab changing result_ref = ivalue_tab_ref.

BAPI_MTRREADDOC_GETLIST call function 'BAPI_MTRREADDOC_GETLIST' exporting register = register targetmrdatefrom = targetmrdatefrom targetmrdateto = targetmrdateto mrdatefrom = mrdatefrom mrdateto = mrdateto mrreason = mrreason mrdocumenttype = mrdocumenttype portion = portion meterreadingunit = meterreadingunit customer = customer contract = contract serialno = serialno material = material installation = installation importing return = return tables mrdocumentdata = mrdocumentdata mrdocumentreasons = mrdocumentreasons exceptions others = 01.

ISU_S_METERDOCU_DISPLAY call function 'ISU_S_METERDOCU_DISPLAY' exporting * X_EQUNR = * X_ZWNUMMER = x_ablbelnr = object-key-number * X_SELECT2 = * X_UPD_ONLINE = x_no_change = 'X' x_no_other = 'X' * IMPORTING * Y_DB_UPDATE = * Y_EXIT_TYPE = * Y_NEW_EABL = * TABLES * TY_NEW_EABLG = exceptions not_found = 1 general_fault = 2 input_error = 3 others = 4.

ISU_S_METERREAD_CHANGE call function 'ISU_S_METERREAD_CHANGE' exporting x_action = '04' x_vertrag = contrkey x_ablesgr = meterreadingreason x_upd_online = 'X' importing y_exit_type = exit_type exceptions foreign_lock = 1 cancelled = 2 others = 99.

ISU_S_METERREAD_CHANGE call function 'ISU_S_METERREAD_CHANGE' exporting x_action = '04' x_anlage = instkey x_ablesgr = meterreadingreason x_upd_online = 'X' importing y_exit_type = exit_type exceptions foreign_lock = 1 cancelled = 2 others = 99.

ISU_S_METERREAD_CHANGE call function 'ISU_S_METERREAD_CHANGE' exporting x_action = '04' x_equnr = equkey x_ablesgr = meterreadingreason x_upd_online = 'X' importing y_exit_type = exit_type exceptions foreign_lock = 1 cancelled = 2 others = 99.

ISU_S_METERREAD_CHANGE call function 'ISU_S_METERREAD_CHANGE' exporting x_action = '04' x_ablbelnr = object-key-number x_upd_online = 'X' importing y_exit_type = exit_type exceptions foreign_lock = 1 cancelled = 2 others = 99.

ISU_POPUP_MESSAGE call function 'ISU_POPUP_MESSAGE' exporting x_msgid = sy-msgid x_msgty = sy-msgty x_msgno = sy-msgno x_msgv1 = sy-msgv1 x_msgv2 = sy-msgv2 x_msgv3 = sy-msgv3 x_msgv4 = sy-msgv4.

ISU_POPUP_MESSAGE call function 'ISU_POPUP_MESSAGE' exporting x_msgid = sy-msgid x_msgty = sy-msgty x_msgno = sy-msgno x_msgv1 = sy-msgv1 x_msgv2 = sy-msgv2 x_msgv3 = sy-msgv3 x_msgv4 = sy-msgv4.

ISU_DB_EABL_SINGLE





call function 'ISU_DB_EABL_SINGLE' exporting x_ablbelnr = wa_eabl-ablbelnr importing y_eabl = wa_eabl exceptions not_found = 1 others = 2.

ISU_S_METERREAD_CHANGE call function 'ISU_S_METERREAD_CHANGE' exporting x_entry_event = 'X' x_upd_online = 'X' tables xt_eabl = lt_eabl exceptions not_found = 1 foreign_lock = 2 general_fault = 3 input_error = 4 cancelled = 5 invalid_key = 6 incomplete = 7 others = 8.

ISU_O_METERREAD_ACTION call function 'ISU_O_METERREAD_ACTION' exporting x_okcode = 'ASSE' x_assess_vertrag = contract x_assess_fromdate = fromdate x_assess_duedate = duedate exceptions cancelled = 1 failed = 2 action_not_supported = 3 system_error = 4 input_error = 5 not_customized = 6 reestimation_failed = 7 others = 8.

BAPI_MTRREADDOC_UPLOAD call function 'BAPI_MTRREADDOC_UPLOAD' tables meterreadingresults = meterreadingresults metereadingreschange = meterreadingresultschange meterreadingresupdate = meterreadingresultsupdate return = return extensionin = extensionin exceptions others = 01.

ISU_DB_EABL_SINGLE call function 'ISU_DB_EABL_SINGLE' exporting x_ablbelnr = ablbelnr importing y_eabl = wa_eabl exceptions not_found = 1 others = 2.

ISU_DB_EABL_SINGLE call function 'ISU_DB_EABL_SINGLE' exporting x_ablbelnr = object-key-number importing y_eabl = eabl exceptions not_found = 1 others = 2.

ISU_METER_DBDATA_TRANSFORM call function 'ISU_METER_DBDATA_TRANSFORM' exporting x_v_format = object-_eabl-v_zwstand x_n_format = object-_eabl-n_zwstand importing y_b_zwstand = object-meterreadingvalue exceptions not_valid = 1 others = 2.

ISU_MREAD_CHECK_MROD_ORDERED call function 'ISU_MREAD_CHECK_MROD_ORDERED' exporting x_equnr = equipment x_adatsoll = schedmrdate x_ami_sourcesyst = sourcesystem importing y_already_ordered = alreadyordered exceptions others = 0.

ISU_MREAD_CREATE_MROD_REMOTE call function 'ISU_MREAD_CREATE_MROD_REMOTE' exporting x_equnr = equipment x_adatsoll = schedmrdate x_ami_sourcesyst = sourcesystem x_dialog = '' importing y_created = created yt_msg = lt_msg[] exceptions others = 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 RESOMTRREADDOC or its description.