SAP ISH_SGDRG_CODE_CONVERT_E2I Function Module for









ISH_SGDRG_CODE_CONVERT_E2I is a standard ish sgdrg code convert e2i 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 sgdrg code convert e2i FM, simply by entering the name ISH_SGDRG_CODE_CONVERT_E2I into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_SGDRG_CODE_CONVERT_E2I 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_SGDRG_CODE_CONVERT_E2I'"
EXPORTING
SS_EXTERNAL_VALUE = "

IMPORTING
SS_IS_DRG = "
SS_OKAY = "
SS_IS_MDC = "
SS_IS_DIAGNOSIS = "
SS_IS_PROCEDURE = "
SS_IS_MORPHOLOGY = "
SS_IS_SOI = "
SS_IS_ROM = "
SS_PREFIX = "
SS_CONVERTED_VALUE = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLNC25G_001 IS-H: DRG Conversion User Exits: ICPML Int->Ext
EXIT_SAPLNC25G_002 IS-H: DRG Conversion User Exits: ICP Ext->Int
EXIT_SAPLNC25G_003 IS-H: DRG Conversion User Exits: Diagnoses Int->Ext
EXIT_SAPLNC25G_004 IS-H: DRG Conversion User Exits: Diagnoses Ext->Int
EXIT_SAPLNC25G_005 IS-H: DRG Conversion User Exits: DRG/MDC Int->Ext
EXIT_SAPLNC25G_006 IS-H: DRG Conversion User Exits: DRG/MDC Ext->Int

IMPORTING Parameters details for ISH_SGDRG_CODE_CONVERT_E2I

SS_EXTERNAL_VALUE -

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

EXPORTING Parameters details for ISH_SGDRG_CODE_CONVERT_E2I

SS_IS_DRG -

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

SS_OKAY -

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

SS_IS_MDC -

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

SS_IS_DIAGNOSIS -

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

SS_IS_PROCEDURE -

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

SS_IS_MORPHOLOGY -

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

SS_IS_SOI -

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

SS_IS_ROM -

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

SS_PREFIX -

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

SS_CONVERTED_VALUE -

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

Copy and paste ABAP code example for ISH_SGDRG_CODE_CONVERT_E2I 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_ss_is_drg  TYPE RNCOM-XFELD, "   
lv_ss_external_value  TYPE C, "   
lv_ss_okay  TYPE RNCOM-FLAG, "   
lv_ss_is_mdc  TYPE RNCOM-XFELD, "   
lv_ss_is_diagnosis  TYPE RNCOM-XFELD, "   
lv_ss_is_procedure  TYPE RNCOM-XFELD, "   
lv_ss_is_morphology  TYPE RNCOM-XFELD, "   
lv_ss_is_soi  TYPE RNCOM-XFELD, "   
lv_ss_is_rom  TYPE RNCOM-XFELD, "   
lv_ss_prefix  TYPE C, "   
lv_ss_converted_value  TYPE C. "   

  CALL FUNCTION 'ISH_SGDRG_CODE_CONVERT_E2I'  "
    EXPORTING
         SS_EXTERNAL_VALUE = lv_ss_external_value
    IMPORTING
         SS_IS_DRG = lv_ss_is_drg
         SS_OKAY = lv_ss_okay
         SS_IS_MDC = lv_ss_is_mdc
         SS_IS_DIAGNOSIS = lv_ss_is_diagnosis
         SS_IS_PROCEDURE = lv_ss_is_procedure
         SS_IS_MORPHOLOGY = lv_ss_is_morphology
         SS_IS_SOI = lv_ss_is_soi
         SS_IS_ROM = lv_ss_is_rom
         SS_PREFIX = lv_ss_prefix
         SS_CONVERTED_VALUE = lv_ss_converted_value
. " ISH_SGDRG_CODE_CONVERT_E2I




ABAP code using 7.40 inline data declarations to call FM ISH_SGDRG_CODE_CONVERT_E2I

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 XFELD FROM RNCOM INTO @DATA(ld_ss_is_drg).
 
 
"SELECT single FLAG FROM RNCOM INTO @DATA(ld_ss_okay).
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_ss_is_mdc).
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_ss_is_diagnosis).
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_ss_is_procedure).
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_ss_is_morphology).
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_ss_is_soi).
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_ss_is_rom).
 
 
 


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!