SAP ISH_ALL_RULES_SERVICES Function Module for
ISH_ALL_RULES_SERVICES is a standard ish all rules services 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 ish all rules services FM, simply by entering the name ISH_ALL_RULES_SERVICES into the relevant SAP transaction such as SE37 or SE38.
Function Group: N029
Program Name: SAPLN029
Main Program: SAPLN029
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_ALL_RULES_SERVICES 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 'ISH_ALL_RULES_SERVICES'".
EXPORTING
* COL = '4' "Column start for result dialog box
* EVENT = 'NLRG00' "
EINRI = "Current Institution
* FALL_MSG = ' ' "Send message with case number on=yes, off=no
I_NFAL = "Current Case Data
I_NPAT = "Current Patient Data
* I_NBEW_ACT = "
* OKCODE = 'TEST' "
* POPUP = 'X' "Should a result dialog box be sent on/off
* ROW = '2' "Line start for result dialog box
IMPORTING
OKCODE = "
TABLES
I_NBEW = "Current movement data for case
I_NLEI = "Table of services to be checked
* I_NNLZ = "
* I_NLLZ = "
IMPORTING Parameters details for ISH_ALL_RULES_SERVICES
COL - Column start for result dialog box
Data type: SY-CUCOLDefault: '4'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EVENT -
Data type: TN02E-EVENTDefault: 'NLRG00'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EINRI - Current Institution
Data type: TN01-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
FALL_MSG - Send message with case number on=yes, off=no
Data type: RNLE1-MARKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NFAL - Current Case Data
Data type: NFALOptional: No
Call by Reference: No ( called with pass by value option)
I_NPAT - Current Patient Data
Data type: NPATOptional: No
Call by Reference: No ( called with pass by value option)
I_NBEW_ACT -
Data type: NBEWOptional: Yes
Call by Reference: No ( called with pass by value option)
OKCODE -
Data type: SY-UCOMMDefault: 'TEST'
Optional: Yes
Call by Reference: No ( called with pass by value option)
POPUP - Should a result dialog box be sent on/off
Data type: RNLE1-MARKDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ROW - Line start for result dialog box
Data type: SY-CUROWDefault: '2'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_ALL_RULES_SERVICES
OKCODE -
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_ALL_RULES_SERVICES
I_NBEW - Current movement data for case
Data type: VNBEWOptional: No
Call by Reference: No ( called with pass by value option)
I_NLEI - Table of services to be checked
Data type: VNLEIOptional: No
Call by Reference: No ( called with pass by value option)
I_NNLZ -
Data type: VNNLZOptional: Yes
Call by Reference: Yes
I_NLLZ -
Data type: VNLLZOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISH_ALL_RULES_SERVICES 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: | ||||
| lv_col | TYPE SY-CUCOL, " '4' | |||
| lt_i_nbew | TYPE STANDARD TABLE OF VNBEW, " | |||
| lv_okcode | TYPE SY-UCOMM, " | |||
| lv_event | TYPE TN02E-EVENT, " 'NLRG00' | |||
| lv_einri | TYPE TN01-EINRI, " | |||
| lt_i_nlei | TYPE STANDARD TABLE OF VNLEI, " | |||
| lt_i_nnlz | TYPE STANDARD TABLE OF VNNLZ, " | |||
| lv_fall_msg | TYPE RNLE1-MARK, " SPACE | |||
| lv_i_nfal | TYPE NFAL, " | |||
| lt_i_nllz | TYPE STANDARD TABLE OF VNLLZ, " | |||
| lv_i_npat | TYPE NPAT, " | |||
| lv_i_nbew_act | TYPE NBEW, " | |||
| lv_okcode | TYPE SY-UCOMM, " 'TEST' | |||
| lv_popup | TYPE RNLE1-MARK, " 'X' | |||
| lv_row | TYPE SY-CUROW. " '2' |
|   CALL FUNCTION 'ISH_ALL_RULES_SERVICES' " |
| EXPORTING | ||
| COL | = lv_col | |
| EVENT | = lv_event | |
| EINRI | = lv_einri | |
| FALL_MSG | = lv_fall_msg | |
| I_NFAL | = lv_i_nfal | |
| I_NPAT | = lv_i_npat | |
| I_NBEW_ACT | = lv_i_nbew_act | |
| OKCODE | = lv_okcode | |
| POPUP | = lv_popup | |
| ROW | = lv_row | |
| IMPORTING | ||
| OKCODE | = lv_okcode | |
| TABLES | ||
| I_NBEW | = lt_i_nbew | |
| I_NLEI | = lt_i_nlei | |
| I_NNLZ | = lt_i_nnlz | |
| I_NLLZ | = lt_i_nllz | |
| . " ISH_ALL_RULES_SERVICES | ||
ABAP code using 7.40 inline data declarations to call FM ISH_ALL_RULES_SERVICES
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 CUCOL FROM SY INTO @DATA(ld_col). | ||||
| DATA(ld_col) | = '4'. | |||
| "SELECT single UCOMM FROM SY INTO @DATA(ld_okcode). | ||||
| "SELECT single EVENT FROM TN02E INTO @DATA(ld_event). | ||||
| DATA(ld_event) | = 'NLRG00'. | |||
| "SELECT single EINRI FROM TN01 INTO @DATA(ld_einri). | ||||
| "SELECT single MARK FROM RNLE1 INTO @DATA(ld_fall_msg). | ||||
| DATA(ld_fall_msg) | = ' '. | |||
| "SELECT single UCOMM FROM SY INTO @DATA(ld_okcode). | ||||
| DATA(ld_okcode) | = 'TEST'. | |||
| "SELECT single MARK FROM RNLE1 INTO @DATA(ld_popup). | ||||
| DATA(ld_popup) | = 'X'. | |||
| "SELECT single CUROW FROM SY INTO @DATA(ld_row). | ||||
| DATA(ld_row) | = '2'. | |||
Search for further information about these or an SAP related objects