SAP Function Modules

ISH_CASE_SCREEN SAP Function module







ISH_CASE_SCREEN is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ISH_CASE_SCREEN into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: NCHD
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISH_CASE_SCREEN - ISH CASE SCREEN





CALL FUNCTION 'ISH_CASE_SCREEN' "
  EXPORTING
*   ss_enqueue_nfal = 'X'       "               Lock Case with VCODE_NFAL 'UPD' (ON/OFF)
*   ss_enqueue_npat = ' '       "               Lock Case with VCODE_NFAL 'UPD' (ON/OFF)
*   ss_falliste = SPACE         "               Case List Is Always to Be Displayed (ON/OFF)
*   ss_fcode_list = SPACE       "               Function Code for Patient List ->
*   ss_list_ok_code = SPACE     "               Function Executed in List
*   ss_ok_code = SPACE          "               Function that Was Executed ->
*   ss_save_bewty = SPACE       " nbew-bewty    Transaction Code
*   ss_save_lfdnr = 00000       " nbew-lfdnr    Transaction Code
    ss_tcode =                  " sy-tcode      Transaction Code
*   ss_vcode = 'DEF'            " rnpa1-vcode   Processing Mode - General
*   ss_vcode_nfal = 'DIS'       " rnpa1-vcode   Processing Mode of the Case
*   ss_zuo_list = SPACE         "               Assignment Code for Patient List ->
  IMPORTING
    ss_bewty =                  " nbew-bewty    Movement Category Selected from Movement List
    ss_einri =                  " rnpa1-einri   Specified Institution
    ss_falnr =                  " nfal-falnr    Specified Case Number
    ss_fziff =                  " nfal-fziff    Specified Check Digit Case
    ss_leave_screen =           "               Indicator that LEAVE SCREEN Is to Be Executed
    ss_lfdnr =                  " nbew-lfdnr    Movement Number Selected from Movement List
    ss_list_okcode =            "               Specified Institution
    ss_okcode =                 "               Function after SUBSCREEN ->
    ss_patnr =                  " npat-patnr    Specified Patient Number
    ss_pziff =                  " npat-pziff    Specified Check Digit Patient
    ss_vcode_new =              " rnpa1-vcode   ->
    .  "  ISH_CASE_SCREEN

ABAP code example for Function Module ISH_CASE_SCREEN





The ABAP code below is a full code listing to execute function module ISH_CASE_SCREEN including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_ss_bewty  TYPE NBEW-BEWTY ,
ld_ss_einri  TYPE RNPA1-EINRI ,
ld_ss_falnr  TYPE NFAL-FALNR ,
ld_ss_fziff  TYPE NFAL-FZIFF ,
ld_ss_leave_screen  TYPE STRING ,
ld_ss_lfdnr  TYPE NBEW-LFDNR ,
ld_ss_list_okcode  TYPE STRING ,
ld_ss_okcode  TYPE STRING ,
ld_ss_patnr  TYPE NPAT-PATNR ,
ld_ss_pziff  TYPE NPAT-PZIFF ,
ld_ss_vcode_new  TYPE RNPA1-VCODE .

DATA(ld_ss_enqueue_nfal) = 'some text here'.
DATA(ld_ss_enqueue_npat) = 'some text here'.
DATA(ld_ss_falliste) = 'some text here'.
DATA(ld_ss_fcode_list) = 'some text here'.
DATA(ld_ss_list_ok_code) = 'some text here'.
DATA(ld_ss_ok_code) = 'some text here'.

SELECT single BEWTY
FROM NBEW
INTO @DATA(ld_ss_save_bewty).


SELECT single LFDNR
FROM NBEW
INTO @DATA(ld_ss_save_lfdnr).

DATA(ld_ss_tcode) = 'some text here'.

DATA(ld_ss_vcode) = some text here

DATA(ld_ss_vcode_nfal) = some text here
DATA(ld_ss_zuo_list) = 'some text here'. . CALL FUNCTION 'ISH_CASE_SCREEN' EXPORTING * ss_enqueue_nfal = ld_ss_enqueue_nfal * ss_enqueue_npat = ld_ss_enqueue_npat * ss_falliste = ld_ss_falliste * ss_fcode_list = ld_ss_fcode_list * ss_list_ok_code = ld_ss_list_ok_code * ss_ok_code = ld_ss_ok_code * ss_save_bewty = ld_ss_save_bewty * ss_save_lfdnr = ld_ss_save_lfdnr ss_tcode = ld_ss_tcode * ss_vcode = ld_ss_vcode * ss_vcode_nfal = ld_ss_vcode_nfal * ss_zuo_list = ld_ss_zuo_list IMPORTING ss_bewty = ld_ss_bewty ss_einri = ld_ss_einri ss_falnr = ld_ss_falnr ss_fziff = ld_ss_fziff ss_leave_screen = ld_ss_leave_screen ss_lfdnr = ld_ss_lfdnr ss_list_okcode = ld_ss_list_okcode ss_okcode = ld_ss_okcode ss_patnr = ld_ss_patnr ss_pziff = ld_ss_pziff ss_vcode_new = ld_ss_vcode_new . " ISH_CASE_SCREEN
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_ss_enqueue_nfal  TYPE STRING ,
ld_ss_bewty  TYPE NBEW-BEWTY ,
ld_ss_einri  TYPE RNPA1-EINRI ,
ld_ss_enqueue_npat  TYPE STRING ,
ld_ss_falnr  TYPE NFAL-FALNR ,
ld_ss_falliste  TYPE STRING ,
ld_ss_fziff  TYPE NFAL-FZIFF ,
ld_ss_fcode_list  TYPE STRING ,
ld_ss_leave_screen  TYPE STRING ,
ld_ss_list_ok_code  TYPE STRING ,
ld_ss_lfdnr  TYPE NBEW-LFDNR ,
ld_ss_ok_code  TYPE STRING ,
ld_ss_list_okcode  TYPE STRING ,
ld_ss_save_bewty  TYPE NBEW-BEWTY ,
ld_ss_okcode  TYPE STRING ,
ld_ss_save_lfdnr  TYPE NBEW-LFDNR ,
ld_ss_patnr  TYPE NPAT-PATNR ,
ld_ss_tcode  TYPE SY-TCODE ,
ld_ss_pziff  TYPE NPAT-PZIFF ,
ld_ss_vcode  TYPE RNPA1-VCODE ,
ld_ss_vcode_new  TYPE RNPA1-VCODE ,
ld_ss_vcode_nfal  TYPE RNPA1-VCODE ,
ld_ss_zuo_list  TYPE STRING .

ld_ss_enqueue_nfal = 'some text here'.
ld_ss_enqueue_npat = 'some text here'.
ld_ss_falliste = 'some text here'.
ld_ss_fcode_list = 'some text here'.
ld_ss_list_ok_code = 'some text here'.
ld_ss_ok_code = 'some text here'.

SELECT single BEWTY
FROM NBEW
INTO ld_ss_save_bewty.


SELECT single LFDNR
FROM NBEW
INTO ld_ss_save_lfdnr.

ld_ss_tcode = 'some text here'.

ld_ss_vcode = some text here

ld_ss_vcode_nfal = some text here
ld_ss_zuo_list = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISH_CASE_SCREEN or its description.