SAP ISU_AUTHORITY_METERREAD_CHECK Function Module for
ISU_AUTHORITY_METERREAD_CHECK is a standard isu authority meterread check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for isu authority meterread check FM, simply by entering the name ISU_AUTHORITY_METERREAD_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: E17A
Program Name: SAPLE17A
Main Program: SAPLE17A
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_AUTHORITY_METERREAD_CHECK pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ISU_AUTHORITY_METERREAD_CHECK'".
EXPORTING
* X_ACTIVITY = "Activity for authorization check
* X_ANLAGE = "Installation
* X_EQUNR = "Equipment
* X_KEYDATE = "
* X_AUTHORITY_MTREAD_CHECK = ' ' "
* X_AUTO = "Automation Data for Meter Reading
IMPORTING
Y_PARTLY_AUTHORIZED = "
TABLES
* XYT_EABL = "Meter reading document
* XYT_EABLG = "MR Reasons in MR Document
* XYT_SELDATA = "
* XYT_ETRG = "Billing Orders
* XYT_ABLEINH = "Schedule Records: MR Units
* XYT_EMSG = "Transfer Table for Messages Issued
EXCEPTIONS
INPUT_ERROR = 1 NOT_AUTHORIZED = 2
IMPORTING Parameters details for ISU_AUTHORITY_METERREAD_CHECK
X_ACTIVITY - Activity for authorization check
Data type: ISU17_METERREAD-CONTR-ACTIONOptional: Yes
Call by Reference: Yes
X_ANLAGE - Installation
Data type: EABLG-ANLAGEOptional: Yes
Call by Reference: Yes
X_EQUNR - Equipment
Data type: EABL-EQUNROptional: Yes
Call by Reference: Yes
X_KEYDATE -
Data type: EABL-ADATOptional: Yes
Call by Reference: Yes
X_AUTHORITY_MTREAD_CHECK -
Data type: KENNZXDefault: SPACE
Optional: Yes
Call by Reference: Yes
X_AUTO - Automation Data for Meter Reading
Data type: ISU17_METERREAD_AUTOOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_AUTHORITY_METERREAD_CHECK
Y_PARTLY_AUTHORIZED -
Data type: REGEN-KENNZXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_AUTHORITY_METERREAD_CHECK
XYT_EABL - Meter reading document
Data type: EABLOptional: Yes
Call by Reference: Yes
XYT_EABLG - MR Reasons in MR Document
Data type: EABLGOptional: Yes
Call by Reference: Yes
XYT_SELDATA -
Data type: ISU17_METERDOCU_SLCTDAT_TABOptional: Yes
Call by Reference: Yes
XYT_ETRG - Billing Orders
Data type: ETRGOptional: Yes
Call by Reference: Yes
XYT_ABLEINH - Schedule Records: MR Units
Data type: TE422Optional: Yes
Call by Reference: Yes
XYT_EMSG - Transfer Table for Messages Issued
Data type: T_EMSGOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
INPUT_ERROR -
Data type:Optional: No
Call by Reference: Yes
NOT_AUTHORIZED - No authorization
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_AUTHORITY_METERREAD_CHECK Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_xyt_eabl | TYPE STANDARD TABLE OF EABL, " | |||
| lv_x_activity | TYPE ISU17_METERREAD-CONTR-ACTION, " | |||
| lv_input_error | TYPE ISU17_METERREAD, " | |||
| lv_y_partly_authorized | TYPE REGEN-KENNZX, " | |||
| lv_x_anlage | TYPE EABLG-ANLAGE, " | |||
| lt_xyt_eablg | TYPE STANDARD TABLE OF EABLG, " | |||
| lv_not_authorized | TYPE EABLG, " | |||
| lv_x_equnr | TYPE EABL-EQUNR, " | |||
| lt_xyt_seldata | TYPE STANDARD TABLE OF ISU17_METERDOCU_SLCTDAT_TAB, " | |||
| lt_xyt_etrg | TYPE STANDARD TABLE OF ETRG, " | |||
| lv_x_keydate | TYPE EABL-ADAT, " | |||
| lt_xyt_ableinh | TYPE STANDARD TABLE OF TE422, " | |||
| lv_x_authority_mtread_check | TYPE KENNZX, " SPACE | |||
| lv_x_auto | TYPE ISU17_METERREAD_AUTO, " | |||
| lt_xyt_emsg | TYPE STANDARD TABLE OF T_EMSG. " |
|   CALL FUNCTION 'ISU_AUTHORITY_METERREAD_CHECK' " |
| EXPORTING | ||
| X_ACTIVITY | = lv_x_activity | |
| X_ANLAGE | = lv_x_anlage | |
| X_EQUNR | = lv_x_equnr | |
| X_KEYDATE | = lv_x_keydate | |
| X_AUTHORITY_MTREAD_CHECK | = lv_x_authority_mtread_check | |
| X_AUTO | = lv_x_auto | |
| IMPORTING | ||
| Y_PARTLY_AUTHORIZED | = lv_y_partly_authorized | |
| TABLES | ||
| XYT_EABL | = lt_xyt_eabl | |
| XYT_EABLG | = lt_xyt_eablg | |
| XYT_SELDATA | = lt_xyt_seldata | |
| XYT_ETRG | = lt_xyt_etrg | |
| XYT_ABLEINH | = lt_xyt_ableinh | |
| XYT_EMSG | = lt_xyt_emsg | |
| EXCEPTIONS | ||
| INPUT_ERROR = 1 | ||
| NOT_AUTHORIZED = 2 | ||
| . " ISU_AUTHORITY_METERREAD_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM ISU_AUTHORITY_METERREAD_CHECK
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single CONTR FROM ISU17_METERREAD INTO @DATA(ld_x_activity). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_y_partly_authorized). | ||||
| "SELECT single ANLAGE FROM EABLG INTO @DATA(ld_x_anlage). | ||||
| "SELECT single EQUNR FROM EABL INTO @DATA(ld_x_equnr). | ||||
| "SELECT single ADAT FROM EABL INTO @DATA(ld_x_keydate). | ||||
| DATA(ld_x_authority_mtread_check) | = ' '. | |||
Search for further information about these or an SAP related objects