SAP ISH_SE_CASESERVICE_GETLIST Function Module for IS-H: Returns list of Performed Service (Medical Activity) in a case.









ISH_SE_CASESERVICE_GETLIST is a standard ish se caseservice getlist 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: Returns list of Performed Service (Medical Activity) in a case. 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 se caseservice getlist FM, simply by entering the name ISH_SE_CASESERVICE_GETLIST into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_SE_CASESERVICE_GETLIST 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_SE_CASESERVICE_GETLIST'"IS-H: Returns list of Performed Service (Medical Activity) in a case.
EXPORTING
I_FALNR = "IS-H: Case Number
* I_ABRKZ_X = "Field value supply indicator
* I_HCOKZ = "IS-H: Service Relevant for CO
* I_HCOKZ_X = "Field value supply indicator
* I_MAXCNT = "Maximum hits
* I_CHECKAUTH = 'X' "Authorization check
* I_LASTLNRLS = "IS-H: Service Sequence Number
I_EINRI = "IS-H: Institution
* I_ERBOE = "IS-H: Organizational Unit that Performs the Service
* I_ERBOE_X = "Field value supply indicator
* I_ANFOE = "Departmental Organizational Unit That Requests the Service
* I_ANFOE_X = "Field value supply indicator
* I_ANPOE = "IS-H: Nursing Organizational Unit Requesting the Service
* I_ANPOE_X = "Field value supply indicator
* I_ABRKZ = "IS-H: Service Can Be Billed for

IMPORTING
ET_NLEI = "IS-H: Services Performed
ET_RETURN = "Return Parameter
E_RETMAXTYPE = "IS-H: Most Severe Message Type Generated
E_RETCNT = "Number of returned records
E_MOREAVAIL = "More records are available in system than being returned
.



IMPORTING Parameters details for ISH_SE_CASESERVICE_GETLIST

I_FALNR - IS-H: Case Number

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

I_ABRKZ_X - Field value supply indicator

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

I_HCOKZ - IS-H: Service Relevant for CO

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

I_HCOKZ_X - Field value supply indicator

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

I_MAXCNT - Maximum hits

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

I_CHECKAUTH - Authorization check

Data type: ISH_ON_OFF
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LASTLNRLS - IS-H: Service Sequence Number

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

I_EINRI - IS-H: Institution

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

I_ERBOE - IS-H: Organizational Unit that Performs the Service

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

I_ERBOE_X - Field value supply indicator

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

I_ANFOE - Departmental Organizational Unit That Requests the Service

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

I_ANFOE_X - Field value supply indicator

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

I_ANPOE - IS-H: Nursing Organizational Unit Requesting the Service

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

I_ANPOE_X - Field value supply indicator

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

I_ABRKZ - IS-H: Service Can Be Billed for

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

EXPORTING Parameters details for ISH_SE_CASESERVICE_GETLIST

ET_NLEI - IS-H: Services Performed

Data type: ISH_T_NLEI
Optional: No
Call by Reference: Yes

ET_RETURN - Return Parameter

Data type: BAPIRET2_T
Optional: No
Call by Reference: Yes

E_RETMAXTYPE - IS-H: Most Severe Message Type Generated

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

E_RETCNT - Number of returned records

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

E_MOREAVAIL - More records are available in system than being returned

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

Copy and paste ABAP code example for ISH_SE_CASESERVICE_GETLIST 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_et_nlei  TYPE ISH_T_NLEI, "   
lv_i_falnr  TYPE FALNR, "   
lv_i_abrkz_x  TYPE ISH_AKFELD, "   
lv_i_hcokz  TYPE ISH_HCOKZ, "   
lv_i_hcokz_x  TYPE ISH_AKFELD, "   
lv_i_maxcnt  TYPE SYDBCNT, "   
lv_i_checkauth  TYPE ISH_ON_OFF, "   'X'
lv_i_lastlnrls  TYPE LNRLS, "   
lv_i_einri  TYPE EINRI, "   
lv_et_return  TYPE BAPIRET2_T, "   
lv_i_erboe  TYPE ERBOE, "   
lv_e_retmaxtype  TYPE ISH_BAPIRETMAXTY, "   
lv_e_retcnt  TYPE SYDBCNT, "   
lv_i_erboe_x  TYPE ISH_AKFELD, "   
lv_i_anfoe  TYPE ANFOE, "   
lv_e_moreavail  TYPE ISH_ON_OFF, "   
lv_i_anfoe_x  TYPE ISH_AKFELD, "   
lv_i_anpoe  TYPE ANPOE, "   
lv_i_anpoe_x  TYPE ISH_AKFELD, "   
lv_i_abrkz  TYPE ABRKZ. "   

  CALL FUNCTION 'ISH_SE_CASESERVICE_GETLIST'  "IS-H: Returns list of Performed Service (Medical Activity) in a case.
    EXPORTING
         I_FALNR = lv_i_falnr
         I_ABRKZ_X = lv_i_abrkz_x
         I_HCOKZ = lv_i_hcokz
         I_HCOKZ_X = lv_i_hcokz_x
         I_MAXCNT = lv_i_maxcnt
         I_CHECKAUTH = lv_i_checkauth
         I_LASTLNRLS = lv_i_lastlnrls
         I_EINRI = lv_i_einri
         I_ERBOE = lv_i_erboe
         I_ERBOE_X = lv_i_erboe_x
         I_ANFOE = lv_i_anfoe
         I_ANFOE_X = lv_i_anfoe_x
         I_ANPOE = lv_i_anpoe
         I_ANPOE_X = lv_i_anpoe_x
         I_ABRKZ = lv_i_abrkz
    IMPORTING
         ET_NLEI = lv_et_nlei
         ET_RETURN = lv_et_return
         E_RETMAXTYPE = lv_e_retmaxtype
         E_RETCNT = lv_e_retcnt
         E_MOREAVAIL = lv_e_moreavail
. " ISH_SE_CASESERVICE_GETLIST




ABAP code using 7.40 inline data declarations to call FM ISH_SE_CASESERVICE_GETLIST

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.

 
 
 
 
 
 
DATA(ld_i_checkauth) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!