SAP ISH_SERVICE_DETAIL_SCREEN_EXT Function Module for IS-H: Call Service Detail Screen from External Programs
ISH_SERVICE_DETAIL_SCREEN_EXT is a standard ish service detail screen ext SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-H: Call Service Detail Screen from External Programs processing and below is the pattern details for this FM, 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 service detail screen ext FM, simply by entering the name ISH_SERVICE_DETAIL_SCREEN_EXT into the relevant SAP transaction such as SE37 or SE38.
Function Group: N017
Program Name: SAPLN017
Main Program: SAPLN017
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_SERVICE_DETAIL_SCREEN_EXT 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_SERVICE_DETAIL_SCREEN_EXT'"IS-H: Call Service Detail Screen from External Programs.
EXPORTING
* SS_TABSTRIP = ' ' "Tabstrip to Appear First
* SS_CURSORFIELD = ' ' "Screen Field on which Cursor Is to Be Placed
* SS_EXTCALL = 'X' "Call Oustide of Service Entry
SS_NLEI = "Service Data for Detail Screen
IMPORTING
LAST_TABSTRIP = "Tabstrip that Is Active when Screen Exited
SS_UPD_NLEI = "Service Data Changed True/False
TABLES
* SS_INLEI = "Transfer Service Data with External Call
EXCEPTIONS
EMPTY_NLEI = 1 WRONG_LNRLS = 2
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLN017_001 IS-H: User Exit for Surgical Procedure Encoding (Call from SAPLN017)
EXIT_SAPLN017_002 IS-H: User Exit for Auto. Service-to-Certif. Asgmt (Call from SAPLN017)
EXIT_SAPLN017_003 IS-H: Check Customer-Specific Fields During Service Entry
IMPORTING Parameters details for ISH_SERVICE_DETAIL_SCREEN_EXT
SS_TABSTRIP - Tabstrip to Appear First
Data type: SY-UCOMMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_CURSORFIELD - Screen Field on which Cursor Is to Be Placed
Data type: DD03D-FIELDNAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_EXTCALL - Call Oustide of Service Entry
Data type: NPDOK-XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_NLEI - Service Data for Detail Screen
Data type: NLEIOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_SERVICE_DETAIL_SCREEN_EXT
LAST_TABSTRIP - Tabstrip that Is Active when Screen Exited
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
SS_UPD_NLEI - Service Data Changed True/False
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_SERVICE_DETAIL_SCREEN_EXT
SS_INLEI - Transfer Service Data with External Call
Data type: NLEIOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
EMPTY_NLEI - Parameter SS_NLEI Is Initial and SS_EXTCALL = X
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_LNRLS - Service Does not Exist for SS_NLEI-LNRLS
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_SERVICE_DETAIL_SCREEN_EXT 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_ss_inlei | TYPE STANDARD TABLE OF NLEI, " | |||
| lv_empty_nlei | TYPE NLEI, " | |||
| lv_ss_tabstrip | TYPE SY-UCOMM, " SPACE | |||
| lv_last_tabstrip | TYPE SY-UCOMM, " | |||
| lv_ss_upd_nlei | TYPE SY, " | |||
| lv_wrong_lnrls | TYPE SY, " | |||
| lv_ss_cursorfield | TYPE DD03D-FIELDNAME, " SPACE | |||
| lv_ss_extcall | TYPE NPDOK-XFELD, " 'X' | |||
| lv_ss_nlei | TYPE NLEI. " |
|   CALL FUNCTION 'ISH_SERVICE_DETAIL_SCREEN_EXT' "IS-H: Call Service Detail Screen from External Programs |
| EXPORTING | ||
| SS_TABSTRIP | = lv_ss_tabstrip | |
| SS_CURSORFIELD | = lv_ss_cursorfield | |
| SS_EXTCALL | = lv_ss_extcall | |
| SS_NLEI | = lv_ss_nlei | |
| IMPORTING | ||
| LAST_TABSTRIP | = lv_last_tabstrip | |
| SS_UPD_NLEI | = lv_ss_upd_nlei | |
| TABLES | ||
| SS_INLEI | = lt_ss_inlei | |
| EXCEPTIONS | ||
| EMPTY_NLEI = 1 | ||
| WRONG_LNRLS = 2 | ||
| . " ISH_SERVICE_DETAIL_SCREEN_EXT | ||
ABAP code using 7.40 inline data declarations to call FM ISH_SERVICE_DETAIL_SCREEN_EXT
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 UCOMM FROM SY INTO @DATA(ld_ss_tabstrip). | ||||
| DATA(ld_ss_tabstrip) | = ' '. | |||
| "SELECT single UCOMM FROM SY INTO @DATA(ld_last_tabstrip). | ||||
| "SELECT single FIELDNAME FROM DD03D INTO @DATA(ld_ss_cursorfield). | ||||
| DATA(ld_ss_cursorfield) | = ' '. | |||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_extcall). | ||||
| DATA(ld_ss_extcall) | = 'X'. | |||
Search for further information about these or an SAP related objects