SAP ISH_CASE_ORIG_DATA_GET Function Module for









ISH_CASE_ORIG_DATA_GET is a standard ish case orig data get 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 case orig data get FM, simply by entering the name ISH_CASE_ORIG_DATA_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: NAPX_SERVICES
Program Name: SAPLNAPX_SERVICES
Main Program: SAPLNAPX_SERVICES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISH_CASE_ORIG_DATA_GET 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_CASE_ORIG_DATA_GET'"
EXPORTING
I_EINRI = "
I_FALNR = "

IMPORTING
E_NPAT = "
E_NFAL = "
E_NBEW = "
E_NDIA = "
E_NICP = "
E_NDRG = "
E_NLEI = "
E_NLKZ = "

EXCEPTIONS
PARAMETER_MISSING = 1 WRONG_INSTITUTION = 2 WRONG_CASENUMBER = 3 NO_PATIENT_EXISTING = 4 CANCELLED = 5
.



IMPORTING Parameters details for ISH_CASE_ORIG_DATA_GET

I_EINRI -

Data type: EINRI
Optional: No
Call by Reference: No ( called with pass by value option)

I_FALNR -

Data type: FALNR
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISH_CASE_ORIG_DATA_GET

E_NPAT -

Data type: NPAT
Optional: No
Call by Reference: No ( called with pass by value option)

E_NFAL -

Data type: NFAL
Optional: No
Call by Reference: No ( called with pass by value option)

E_NBEW -

Data type: ISH_T_NBEW
Optional: No
Call by Reference: No ( called with pass by value option)

E_NDIA -

Data type: ISH_T_NDIA
Optional: No
Call by Reference: No ( called with pass by value option)

E_NICP -

Data type: ISH_YT_NICP
Optional: No
Call by Reference: No ( called with pass by value option)

E_NDRG -

Data type: NDRG
Optional: No
Call by Reference: No ( called with pass by value option)

E_NLEI -

Data type: ISH_T_NLEI
Optional: No
Call by Reference: No ( called with pass by value option)

E_NLKZ -

Data type: ISH_T_NLKZ
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

PARAMETER_MISSING -

Data type:
Optional: No
Call by Reference: Yes

WRONG_INSTITUTION -

Data type:
Optional: No
Call by Reference: Yes

WRONG_CASENUMBER -

Data type:
Optional: No
Call by Reference: Yes

NO_PATIENT_EXISTING -

Data type:
Optional: No
Call by Reference: Yes

CANCELLED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_CASE_ORIG_DATA_GET 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_e_npat  TYPE NPAT, "   
lv_i_einri  TYPE EINRI, "   
lv_parameter_missing  TYPE EINRI, "   
lv_e_nfal  TYPE NFAL, "   
lv_i_falnr  TYPE FALNR, "   
lv_wrong_institution  TYPE FALNR, "   
lv_e_nbew  TYPE ISH_T_NBEW, "   
lv_wrong_casenumber  TYPE ISH_T_NBEW, "   
lv_e_ndia  TYPE ISH_T_NDIA, "   
lv_no_patient_existing  TYPE ISH_T_NDIA, "   
lv_e_nicp  TYPE ISH_YT_NICP, "   
lv_cancelled  TYPE ISH_YT_NICP, "   
lv_e_ndrg  TYPE NDRG, "   
lv_e_nlei  TYPE ISH_T_NLEI, "   
lv_e_nlkz  TYPE ISH_T_NLKZ. "   

  CALL FUNCTION 'ISH_CASE_ORIG_DATA_GET'  "
    EXPORTING
         I_EINRI = lv_i_einri
         I_FALNR = lv_i_falnr
    IMPORTING
         E_NPAT = lv_e_npat
         E_NFAL = lv_e_nfal
         E_NBEW = lv_e_nbew
         E_NDIA = lv_e_ndia
         E_NICP = lv_e_nicp
         E_NDRG = lv_e_ndrg
         E_NLEI = lv_e_nlei
         E_NLKZ = lv_e_nlkz
    EXCEPTIONS
        PARAMETER_MISSING = 1
        WRONG_INSTITUTION = 2
        WRONG_CASENUMBER = 3
        NO_PATIENT_EXISTING = 4
        CANCELLED = 5
. " ISH_CASE_ORIG_DATA_GET




ABAP code using 7.40 inline data declarations to call FM ISH_CASE_ORIG_DATA_GET

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!