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

Function ISH_FIND_LOWER_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_FIND_LOWER_SERVICES'".
EXPORTING
* BEGDT = '18000101' "Service start date (NTPZ)
EINRI = "Institution (NTPZ)
* ENDDT = '99991231' "Service end date (NTPZ)
TALST = "Service (superordinate)
TARIF = "Billing CM for service (NTPZ)
ZOTYP = "Grouping cat. (NTPZ)
ZUTAR = "Billing CM of assigned service (NTPZ)
* BUFFER_RESULT = OFF "
* EXPAND_GROUP = OFF "
TABLES
* LOWER_TAB = "Output table with subordinate services
* LOWER_TAB_NTPZ = "
EXCEPTIONS
MISSING_DATA = 1 WRONG_DATA = 2
IMPORTING Parameters details for ISH_FIND_LOWER_SERVICES
BEGDT - Service start date (NTPZ)
Data type: NTPZ-BEGDTDefault: '18000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EINRI - Institution (NTPZ)
Data type: NTPZ-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
ENDDT - Service end date (NTPZ)
Data type: NTPZ-ENDDTDefault: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TALST - Service (superordinate)
Data type: NTPZ-TALSTOptional: No
Call by Reference: No ( called with pass by value option)
TARIF - Billing CM for service (NTPZ)
Data type: NTPZ-TARIFOptional: No
Call by Reference: No ( called with pass by value option)
ZOTYP - Grouping cat. (NTPZ)
Data type: NTPZ-ZOTYPOptional: No
Call by Reference: No ( called with pass by value option)
ZUTAR - Billing CM of assigned service (NTPZ)
Data type: NTPZ-ZUTAROptional: No
Call by Reference: No ( called with pass by value option)
BUFFER_RESULT -
Data type: ISH_ON_OFFDefault: OFF
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPAND_GROUP -
Data type: ISH_ON_OFFDefault: OFF
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_FIND_LOWER_SERVICES
LOWER_TAB - Output table with subordinate services
Data type: RNHISOptional: Yes
Call by Reference: No ( called with pass by value option)
LOWER_TAB_NTPZ -
Data type: RNHISNTPZOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
MISSING_DATA - Import parameters missing
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_DATA - No records matching input parameters found in NTPZ
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_FIND_LOWER_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_begdt | TYPE NTPZ-BEGDT, " '18000101' | |||
| lt_lower_tab | TYPE STANDARD TABLE OF RNHIS, " | |||
| lv_missing_data | TYPE RNHIS, " | |||
| lv_einri | TYPE NTPZ-EINRI, " | |||
| lv_wrong_data | TYPE NTPZ, " | |||
| lt_lower_tab_ntpz | TYPE STANDARD TABLE OF RNHISNTPZ, " | |||
| lv_enddt | TYPE NTPZ-ENDDT, " '99991231' | |||
| lv_talst | TYPE NTPZ-TALST, " | |||
| lv_tarif | TYPE NTPZ-TARIF, " | |||
| lv_zotyp | TYPE NTPZ-ZOTYP, " | |||
| lv_zutar | TYPE NTPZ-ZUTAR, " | |||
| lv_buffer_result | TYPE ISH_ON_OFF, " OFF | |||
| lv_expand_group | TYPE ISH_ON_OFF. " OFF |
|   CALL FUNCTION 'ISH_FIND_LOWER_SERVICES' " |
| EXPORTING | ||
| BEGDT | = lv_begdt | |
| EINRI | = lv_einri | |
| ENDDT | = lv_enddt | |
| TALST | = lv_talst | |
| TARIF | = lv_tarif | |
| ZOTYP | = lv_zotyp | |
| ZUTAR | = lv_zutar | |
| BUFFER_RESULT | = lv_buffer_result | |
| EXPAND_GROUP | = lv_expand_group | |
| TABLES | ||
| LOWER_TAB | = lt_lower_tab | |
| LOWER_TAB_NTPZ | = lt_lower_tab_ntpz | |
| EXCEPTIONS | ||
| MISSING_DATA = 1 | ||
| WRONG_DATA = 2 | ||
| . " ISH_FIND_LOWER_SERVICES | ||
ABAP code using 7.40 inline data declarations to call FM ISH_FIND_LOWER_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 BEGDT FROM NTPZ INTO @DATA(ld_begdt). | ||||
| DATA(ld_begdt) | = '18000101'. | |||
| "SELECT single EINRI FROM NTPZ INTO @DATA(ld_einri). | ||||
| "SELECT single ENDDT FROM NTPZ INTO @DATA(ld_enddt). | ||||
| DATA(ld_enddt) | = '99991231'. | |||
| "SELECT single TALST FROM NTPZ INTO @DATA(ld_talst). | ||||
| "SELECT single TARIF FROM NTPZ INTO @DATA(ld_tarif). | ||||
| "SELECT single ZOTYP FROM NTPZ INTO @DATA(ld_zotyp). | ||||
| "SELECT single ZUTAR FROM NTPZ INTO @DATA(ld_zutar). | ||||
| DATA(ld_buffer_result) | = OFF. | |||
| DATA(ld_expand_group) | = OFF. | |||
Search for further information about these or an SAP related objects