SAP ISH_DRG_GROUP_SAVE Function Module for









ISH_DRG_GROUP_SAVE is a standard ish drg group save 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 drg group save FM, simply by entering the name ISH_DRG_GROUP_SAVE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_DRG_GROUP_SAVE 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_DRG_GROUP_SAVE'"
EXPORTING
I_INSTITUTION = "IS-H: Institution
I_CASENUMBER = "IS-H: Case Number
I_CALLP = "IS-H: DRG Grouper Callpoint
* I_CASE_DATA = "IS-H: Cases
* I_CASE_CHANGES = "
I_DRG_TAB = "
I_DIA_TAB = "IS-H: Table with Diagnoses
I_ICP_TAB = "IS-H: Table with Procedures
* I_LEI_TAB = "IS-H: Table of Services

CHANGING
C_RETURN_TAB = "IS-H: Table Type for Structure BAPIRET2

EXCEPTIONS
ERROR_OCCURED = 1
.



IMPORTING Parameters details for ISH_DRG_GROUP_SAVE

I_INSTITUTION - IS-H: Institution

Data type: NFAL-EINRI
Optional: No
Call by Reference: Yes

I_CASENUMBER - IS-H: Case Number

Data type: NFAL-FALNR
Optional: No
Call by Reference: Yes

I_CALLP - IS-H: DRG Grouper Callpoint

Data type: TNGRP1-CALLP
Optional: No
Call by Reference: Yes

I_CASE_DATA - IS-H: Cases

Data type: NFAL
Optional: Yes
Call by Reference: Yes

I_CASE_CHANGES -

Data type: RNPOL_CASE
Optional: Yes
Call by Reference: Yes

I_DRG_TAB -

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

I_DIA_TAB - IS-H: Table with Diagnoses

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

I_ICP_TAB - IS-H: Table with Procedures

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

I_LEI_TAB - IS-H: Table of Services

Data type: ISH_T_VNLEI
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for ISH_DRG_GROUP_SAVE

C_RETURN_TAB - IS-H: Table Type for Structure BAPIRET2

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

EXCEPTIONS details

ERROR_OCCURED - An error has occurred

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

Copy and paste ABAP code example for ISH_DRG_GROUP_SAVE 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_c_return_tab  TYPE ISH_BAPIRET2_TAB_TYPE, "   
lv_error_occured  TYPE ISH_BAPIRET2_TAB_TYPE, "   
lv_i_institution  TYPE NFAL-EINRI, "   
lv_i_casenumber  TYPE NFAL-FALNR, "   
lv_i_callp  TYPE TNGRP1-CALLP, "   
lv_i_case_data  TYPE NFAL, "   
lv_i_case_changes  TYPE RNPOL_CASE, "   
lv_i_drg_tab  TYPE ISH_T_NDRG, "   
lv_i_dia_tab  TYPE ISH_NDIA_TAB, "   
lv_i_icp_tab  TYPE ISH_NICP_TAB, "   
lv_i_lei_tab  TYPE ISH_T_VNLEI. "   

  CALL FUNCTION 'ISH_DRG_GROUP_SAVE'  "
    EXPORTING
         I_INSTITUTION = lv_i_institution
         I_CASENUMBER = lv_i_casenumber
         I_CALLP = lv_i_callp
         I_CASE_DATA = lv_i_case_data
         I_CASE_CHANGES = lv_i_case_changes
         I_DRG_TAB = lv_i_drg_tab
         I_DIA_TAB = lv_i_dia_tab
         I_ICP_TAB = lv_i_icp_tab
         I_LEI_TAB = lv_i_lei_tab
    CHANGING
         C_RETURN_TAB = lv_c_return_tab
    EXCEPTIONS
        ERROR_OCCURED = 1
. " ISH_DRG_GROUP_SAVE




ABAP code using 7.40 inline data declarations to call FM ISH_DRG_GROUP_SAVE

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 NFAL INTO @DATA(ld_i_institution).
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_i_casenumber).
 
"SELECT single CALLP FROM TNGRP1 INTO @DATA(ld_i_callp).
 
 
 
 
 
 
 


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!