SAP ISH_SERVICES_VALUE_REQUEST Function Module for
ISH_SERVICES_VALUE_REQUEST is a standard ish services value request 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 services value request FM, simply by entering the name ISH_SERVICES_VALUE_REQUEST 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_SERVICES_VALUE_REQUEST 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_SERVICES_VALUE_REQUEST'".
EXPORTING
I_EINRI = "Institution
I_RNEXL = "Case and Patient Data
NBEW_ACT = "Current movement for transaction
G_TARIF = "Service catalog for generating services
IMPORTING
E_ABRKZ = "Billing indicator case -> ...
E_LNRLS = "Last sequential number assigned to service
E_GENERATED = "Services were generated TRUE/FALSE
TABLES
I_NLEI = "Current service records
I_NTPK = "Selected services from possible entries function
* I_NTPT = "Texts for selected services
EXCEPTIONS
NO_GTARIF = 1
IMPORTING Parameters details for ISH_SERVICES_VALUE_REQUEST
I_EINRI - Institution
Data type: NLEI-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
I_RNEXL - Case and Patient Data
Data type: RNEXLOptional: No
Call by Reference: No ( called with pass by value option)
NBEW_ACT - Current movement for transaction
Data type: NBEWOptional: No
Call by Reference: No ( called with pass by value option)
G_TARIF - Service catalog for generating services
Data type: NLEI-HAUSTOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_SERVICES_VALUE_REQUEST
E_ABRKZ - Billing indicator case -> ...
Data type: NFAL-ABRKZOptional: No
Call by Reference: No ( called with pass by value option)
E_LNRLS - Last sequential number assigned to service
Data type: NLEI-LNRLSOptional: No
Call by Reference: No ( called with pass by value option)
E_GENERATED - Services were generated TRUE/FALSE
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_SERVICES_VALUE_REQUEST
I_NLEI - Current service records
Data type: VNLEIOptional: No
Call by Reference: No ( called with pass by value option)
I_NTPK - Selected services from possible entries function
Data type: NTPKOptional: No
Call by Reference: No ( called with pass by value option)
I_NTPT - Texts for selected services
Data type: NTPTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_GTARIF - No service catalog found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_SERVICES_VALUE_REQUEST 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_i_nlei | TYPE STANDARD TABLE OF VNLEI, " | |||
| lv_e_abrkz | TYPE NFAL-ABRKZ, " | |||
| lv_i_einri | TYPE NLEI-EINRI, " | |||
| lv_no_gtarif | TYPE NLEI, " | |||
| lt_i_ntpk | TYPE STANDARD TABLE OF NTPK, " | |||
| lv_e_lnrls | TYPE NLEI-LNRLS, " | |||
| lv_i_rnexl | TYPE RNEXL, " | |||
| lt_i_ntpt | TYPE STANDARD TABLE OF NTPT, " | |||
| lv_nbew_act | TYPE NBEW, " | |||
| lv_e_generated | TYPE NBEW, " | |||
| lv_g_tarif | TYPE NLEI-HAUST. " |
|   CALL FUNCTION 'ISH_SERVICES_VALUE_REQUEST' " |
| EXPORTING | ||
| I_EINRI | = lv_i_einri | |
| I_RNEXL | = lv_i_rnexl | |
| NBEW_ACT | = lv_nbew_act | |
| G_TARIF | = lv_g_tarif | |
| IMPORTING | ||
| E_ABRKZ | = lv_e_abrkz | |
| E_LNRLS | = lv_e_lnrls | |
| E_GENERATED | = lv_e_generated | |
| TABLES | ||
| I_NLEI | = lt_i_nlei | |
| I_NTPK | = lt_i_ntpk | |
| I_NTPT | = lt_i_ntpt | |
| EXCEPTIONS | ||
| NO_GTARIF = 1 | ||
| . " ISH_SERVICES_VALUE_REQUEST | ||
ABAP code using 7.40 inline data declarations to call FM ISH_SERVICES_VALUE_REQUEST
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 ABRKZ FROM NFAL INTO @DATA(ld_e_abrkz). | ||||
| "SELECT single EINRI FROM NLEI INTO @DATA(ld_i_einri). | ||||
| "SELECT single LNRLS FROM NLEI INTO @DATA(ld_e_lnrls). | ||||
| "SELECT single HAUST FROM NLEI INTO @DATA(ld_g_tarif). | ||||
Search for further information about these or an SAP related objects