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

Function ISH_PROCEDURE_SCREEN_INIT 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_PROCEDURE_SCREEN_INIT'".
EXPORTING
SS_EINRI = "Current Institution
* SS_LANGUAGE = SY-LANGU "
* SS_GROUPING_MODE = ' ' "
* SS_WO_PUBLISH_CASE = ' ' "
* SS_EXTP_NAM = SY-CPROG "Name of Calling Program
SS_FALNR = "Current Case Number
* SS_NBEW_NEW = "Current Movement (Surgery Movement)
* SS_NFAL = "Current Case Data
* SS_NPAT = "Current Patient Data
* SS_TCODE = SY-TCODE "Current Transaction Code
SS_VCODE = "Current Processing Code (UPD, INS, DEL, PFL)
* SS_DRG_MODE = ' ' "
EXCEPTIONS
ACTUAL_NBEW_MISSING = 1 WRONG_CASE_NUMBER = 2 WRONG_PATIENT_NUMBER = 3
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_SAPLN042_001 IS-H: User Exit for Procedure Encoding (Call from SAPLN042)
IMPORTING Parameters details for ISH_PROCEDURE_SCREEN_INIT
SS_EINRI - Current Institution
Data type: TN01-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
SS_LANGUAGE -
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_GROUPING_MODE -
Data type: NPDOK-XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_WO_PUBLISH_CASE -
Data type: NPDOK-XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_EXTP_NAM - Name of Calling Program
Data type: SY-CPROGDefault: SY-CPROG
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_FALNR - Current Case Number
Data type: NFAL-FALNROptional: No
Call by Reference: No ( called with pass by value option)
SS_NBEW_NEW - Current Movement (Surgery Movement)
Data type: NBEWOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_NFAL - Current Case Data
Data type: NFALOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_NPAT - Current Patient Data
Data type: NPATOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_TCODE - Current Transaction Code
Data type: SY-TCODEDefault: SY-TCODE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_VCODE - Current Processing Code (UPD, INS, DEL, PFL)
Data type: RNG10-VCODEOptional: No
Call by Reference: No ( called with pass by value option)
SS_DRG_MODE -
Data type: NPDOK-XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ACTUAL_NBEW_MISSING -
Data type:Optional: No
Call by Reference: Yes
WRONG_CASE_NUMBER -
Data type:Optional: No
Call by Reference: Yes
WRONG_PATIENT_NUMBER -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISH_PROCEDURE_SCREEN_INIT 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_ss_einri | TYPE TN01-EINRI, " | |||
| lv_actual_nbew_missing | TYPE TN01, " | |||
| lv_ss_language | TYPE SY-LANGU, " SY-LANGU | |||
| lv_ss_grouping_mode | TYPE NPDOK-XFELD, " ' ' | |||
| lv_ss_wo_publish_case | TYPE NPDOK-XFELD, " ' ' | |||
| lv_ss_extp_nam | TYPE SY-CPROG, " SY-CPROG | |||
| lv_wrong_case_number | TYPE SY, " | |||
| lv_ss_falnr | TYPE NFAL-FALNR, " | |||
| lv_wrong_patient_number | TYPE NFAL, " | |||
| lv_ss_nbew_new | TYPE NBEW, " | |||
| lv_ss_nfal | TYPE NFAL, " | |||
| lv_ss_npat | TYPE NPAT, " | |||
| lv_ss_tcode | TYPE SY-TCODE, " SY-TCODE | |||
| lv_ss_vcode | TYPE RNG10-VCODE, " | |||
| lv_ss_drg_mode | TYPE NPDOK-XFELD. " ' ' |
|   CALL FUNCTION 'ISH_PROCEDURE_SCREEN_INIT' " |
| EXPORTING | ||
| SS_EINRI | = lv_ss_einri | |
| SS_LANGUAGE | = lv_ss_language | |
| SS_GROUPING_MODE | = lv_ss_grouping_mode | |
| SS_WO_PUBLISH_CASE | = lv_ss_wo_publish_case | |
| SS_EXTP_NAM | = lv_ss_extp_nam | |
| SS_FALNR | = lv_ss_falnr | |
| SS_NBEW_NEW | = lv_ss_nbew_new | |
| SS_NFAL | = lv_ss_nfal | |
| SS_NPAT | = lv_ss_npat | |
| SS_TCODE | = lv_ss_tcode | |
| SS_VCODE | = lv_ss_vcode | |
| SS_DRG_MODE | = lv_ss_drg_mode | |
| EXCEPTIONS | ||
| ACTUAL_NBEW_MISSING = 1 | ||
| WRONG_CASE_NUMBER = 2 | ||
| WRONG_PATIENT_NUMBER = 3 | ||
| . " ISH_PROCEDURE_SCREEN_INIT | ||
ABAP code using 7.40 inline data declarations to call FM ISH_PROCEDURE_SCREEN_INIT
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 EINRI FROM TN01 INTO @DATA(ld_ss_einri). | ||||
| "SELECT single LANGU FROM SY INTO @DATA(ld_ss_language). | ||||
| DATA(ld_ss_language) | = SY-LANGU. | |||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_grouping_mode). | ||||
| DATA(ld_ss_grouping_mode) | = ' '. | |||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_wo_publish_case). | ||||
| DATA(ld_ss_wo_publish_case) | = ' '. | |||
| "SELECT single CPROG FROM SY INTO @DATA(ld_ss_extp_nam). | ||||
| DATA(ld_ss_extp_nam) | = SY-CPROG. | |||
| "SELECT single FALNR FROM NFAL INTO @DATA(ld_ss_falnr). | ||||
| "SELECT single TCODE FROM SY INTO @DATA(ld_ss_tcode). | ||||
| DATA(ld_ss_tcode) | = SY-TCODE. | |||
| "SELECT single VCODE FROM RNG10 INTO @DATA(ld_ss_vcode). | ||||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_drg_mode). | ||||
| DATA(ld_ss_drg_mode) | = ' '. | |||
Search for further information about these or an SAP related objects