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

Function ISH_E1PLUS_CASES_CALC 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_E1PLUS_CASES_CALC'".
EXPORTING
I_EINRI = "
* I_OU_ASSIGNMENT = '1' "
* I_BILL_STATUS = '3' "
* I_FOREIGN_PATIENTS = '3' "
* I_PEPP = '1' "
* I_DO_NOT_FILTER_CASES = ' ' "
* I_USE_SERVICE_INSTEAD_OF_DRG = ' ' "
* I_SHORTENED_LENGTH_OF_STAY = 'X' "
I_AUSBEGDT = "
I_AUSENDDT = "
* I_ENTLASSE = OFF "
* I_DRGRELEV = OFF "
* I_FALLZAEHLUNG = 01 "
* I_SO_MDSTA = "
* I_SO_MDSTS = "
* I_CASESELECTION = "
CHANGING
* CT_DRG_CASE_KEYFIGURES = "
TABLES
IT_NFAL = "
IT_NBEW = "
IT_E1PLUS_CASES = "
* IT_ORGFA = "
* IT_DRGS = "
* IT_MDCS = "
* IT_NAPX_FAL = "
* IT_NFFZ = "
* IT_PEPPS = "
IMPORTING Parameters details for ISH_E1PLUS_CASES_CALC
I_EINRI -
Data type: TN01-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
I_OU_ASSIGNMENT -
Data type: CHAR1Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BILL_STATUS -
Data type: CHAR1Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FOREIGN_PATIENTS -
Data type: CHAR1Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PEPP -
Data type: CHAR1Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DO_NOT_FILTER_CASES -
Data type: ISH_ON_OFFDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_USE_SERVICE_INSTEAD_OF_DRG -
Data type: ISH_ON_OFFDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SHORTENED_LENGTH_OF_STAY -
Data type: ISH_ON_OFFDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_AUSBEGDT -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_AUSENDDT -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_ENTLASSE -
Data type: XFELDDefault: OFF
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DRGRELEV -
Data type: XFELDDefault: OFF
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FALLZAEHLUNG -
Data type: CHAR2Default: 01
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SO_MDSTA -
Data type: RNRANGEMDSTATUS_TTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SO_MDSTS -
Data type: RNRANGESTSMA_TTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CASESELECTION -
Data type: NFAK-SELKZOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISH_E1PLUS_CASES_CALC
CT_DRG_CASE_KEYFIGURES -
Data type: ISH_TT_DRG_CASE_KEYFIGURESOptional: Yes
Call by Reference: Yes
TABLES Parameters details for ISH_E1PLUS_CASES_CALC
IT_NFAL -
Data type: NFALOptional: No
Call by Reference: Yes
IT_NBEW -
Data type: NBEWOptional: No
Call by Reference: Yes
IT_E1PLUS_CASES -
Data type: RNE1PLUS_CASESOptional: No
Call by Reference: Yes
IT_ORGFA -
Data type: RNSORGIDOptional: Yes
Call by Reference: Yes
IT_DRGS -
Data type: RNRANGELEISTOptional: Yes
Call by Reference: Yes
IT_MDCS -
Data type: RNRANGEDKEYOptional: Yes
Call by Reference: Yes
IT_NAPX_FAL -
Data type: NAPX_FALOptional: Yes
Call by Reference: Yes
IT_NFFZ -
Data type: NFFZOptional: Yes
Call by Reference: Yes
IT_PEPPS -
Data type: RNRANGELEISTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISH_E1PLUS_CASES_CALC 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_it_nfal | TYPE STANDARD TABLE OF NFAL, " | |||
| lv_i_einri | TYPE TN01-EINRI, " | |||
| lv_ct_drg_case_keyfigures | TYPE ISH_TT_DRG_CASE_KEYFIGURES, " | |||
| lv_i_ou_assignment | TYPE CHAR1, " '1' | |||
| lv_i_bill_status | TYPE CHAR1, " '3' | |||
| lv_i_foreign_patients | TYPE CHAR1, " '3' | |||
| lv_i_pepp | TYPE CHAR1, " '1' | |||
| lv_i_do_not_filter_cases | TYPE ISH_ON_OFF, " ' ' | |||
| lv_i_use_service_instead_of_drg | TYPE ISH_ON_OFF, " ' ' | |||
| lv_i_shortened_length_of_stay | TYPE ISH_ON_OFF, " 'X' | |||
| lt_it_nbew | TYPE STANDARD TABLE OF NBEW, " | |||
| lv_i_ausbegdt | TYPE SY-DATUM, " | |||
| lv_i_ausenddt | TYPE SY-DATUM, " | |||
| lt_it_e1plus_cases | TYPE STANDARD TABLE OF RNE1PLUS_CASES, " | |||
| lt_it_orgfa | TYPE STANDARD TABLE OF RNSORGID, " | |||
| lv_i_entlasse | TYPE XFELD, " OFF | |||
| lt_it_drgs | TYPE STANDARD TABLE OF RNRANGELEIST, " | |||
| lv_i_drgrelev | TYPE XFELD, " OFF | |||
| lt_it_mdcs | TYPE STANDARD TABLE OF RNRANGEDKEY, " | |||
| lv_i_fallzaehlung | TYPE CHAR2, " 01 | |||
| lv_i_so_mdsta | TYPE RNRANGEMDSTATUS_TT, " | |||
| lt_it_napx_fal | TYPE STANDARD TABLE OF NAPX_FAL, " | |||
| lt_it_nffz | TYPE STANDARD TABLE OF NFFZ, " | |||
| lv_i_so_mdsts | TYPE RNRANGESTSMA_TT, " | |||
| lt_it_pepps | TYPE STANDARD TABLE OF RNRANGELEIST, " | |||
| lv_i_caseselection | TYPE NFAK-SELKZ. " |
|   CALL FUNCTION 'ISH_E1PLUS_CASES_CALC' " |
| EXPORTING | ||
| I_EINRI | = lv_i_einri | |
| I_OU_ASSIGNMENT | = lv_i_ou_assignment | |
| I_BILL_STATUS | = lv_i_bill_status | |
| I_FOREIGN_PATIENTS | = lv_i_foreign_patients | |
| I_PEPP | = lv_i_pepp | |
| I_DO_NOT_FILTER_CASES | = lv_i_do_not_filter_cases | |
| I_USE_SERVICE_INSTEAD_OF_DRG | = lv_i_use_service_instead_of_drg | |
| I_SHORTENED_LENGTH_OF_STAY | = lv_i_shortened_length_of_stay | |
| I_AUSBEGDT | = lv_i_ausbegdt | |
| I_AUSENDDT | = lv_i_ausenddt | |
| I_ENTLASSE | = lv_i_entlasse | |
| I_DRGRELEV | = lv_i_drgrelev | |
| I_FALLZAEHLUNG | = lv_i_fallzaehlung | |
| I_SO_MDSTA | = lv_i_so_mdsta | |
| I_SO_MDSTS | = lv_i_so_mdsts | |
| I_CASESELECTION | = lv_i_caseselection | |
| CHANGING | ||
| CT_DRG_CASE_KEYFIGURES | = lv_ct_drg_case_keyfigures | |
| TABLES | ||
| IT_NFAL | = lt_it_nfal | |
| IT_NBEW | = lt_it_nbew | |
| IT_E1PLUS_CASES | = lt_it_e1plus_cases | |
| IT_ORGFA | = lt_it_orgfa | |
| IT_DRGS | = lt_it_drgs | |
| IT_MDCS | = lt_it_mdcs | |
| IT_NAPX_FAL | = lt_it_napx_fal | |
| IT_NFFZ | = lt_it_nffz | |
| IT_PEPPS | = lt_it_pepps | |
| . " ISH_E1PLUS_CASES_CALC | ||
ABAP code using 7.40 inline data declarations to call FM ISH_E1PLUS_CASES_CALC
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_i_einri). | ||||
| DATA(ld_i_ou_assignment) | = '1'. | |||
| DATA(ld_i_bill_status) | = '3'. | |||
| DATA(ld_i_foreign_patients) | = '3'. | |||
| DATA(ld_i_pepp) | = '1'. | |||
| DATA(ld_i_do_not_filter_cases) | = ' '. | |||
| DATA(ld_i_use_service_instead_of_drg) | = ' '. | |||
| DATA(ld_i_shortened_length_of_stay) | = 'X'. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_ausbegdt). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_ausenddt). | ||||
| DATA(ld_i_entlasse) | = OFF. | |||
| DATA(ld_i_drgrelev) | = OFF. | |||
| DATA(ld_i_fallzaehlung) | = 01. | |||
| "SELECT single SELKZ FROM NFAK INTO @DATA(ld_i_caseselection). | ||||
Search for further information about these or an SAP related objects