SAP ISH_EDI_MAP_CASE_SPEC Function Module for
ISH_EDI_MAP_CASE_SPEC is a standard ish edi map case spec 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 edi map case spec FM, simply by entering the name ISH_EDI_MAP_CASE_SPEC into the relevant SAP transaction such as SE37 or SE38.
Function Group: NC25
Program Name: SAPLNC25
Main Program: SAPLNC25
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_EDI_MAP_CASE_SPEC 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_EDI_MAP_CASE_SPEC'".
EXPORTING
SS_EINRI = "
SS_FALNR = "
* SS_VISITNR = "
SS_STAND = "
SS_STVER = "
IMPORTING
SS_EDI_SPEC = "
SS_SPEC = "
SS_SPECTYP = "
EXCEPTIONS
CASE_NOT_FOUND = 1 VISIT_NOT_FOUND = 2 MAPPING_FAILED = 3
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
EXIT_SAPLNC25_001 IS-H SG: DRG V1.0 User Exit for STA, Start of File
EXIT_SAPLNC25_002 IS-H SG: DRG V1.0 User Exit for HC1, Enc. Inpat/Day Surgery
EXIT_SAPLNC25_003 IS-H SG: DRG V1.0 User Exit for DR2, Diagnosis Related Group
EXIT_SAPLNC25_004 IS-H SG: DRG V1.0 User Exit for MV3, Movement
EXIT_SAPLNC25_005 IS-H SG: DRG V1.0 User Exit for HC2, Enc. for SOC
EXIT_SAPLNC25_006 IS-H SG: DRG V1.0 User Exit for HC3, Enc. for AaE
EXIT_SAPLNC25_007 IS-H SG: DRG V1.0 User Exit for AG1, Aggregate
EXIT_SAPLNC25_008 IS-H SG: DRG V1.0 User Exit for END, End of File
IMPORTING Parameters details for ISH_EDI_MAP_CASE_SPEC
SS_EINRI -
Data type: NFAL-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
SS_FALNR -
Data type: NFAL-FALNROptional: No
Call by Reference: No ( called with pass by value option)
SS_VISITNR -
Data type: NBEW-LFDNROptional: Yes
Call by Reference: No ( called with pass by value option)
SS_STAND -
Data type: NC301-STANDOptional: No
Call by Reference: No ( called with pass by value option)
SS_STVER -
Data type: NC301-STVEROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_EDI_MAP_CASE_SPEC
SS_EDI_SPEC -
Data type: TNCMAPP-EXTVALUEOptional: No
Call by Reference: No ( called with pass by value option)
SS_SPEC -
Data type: NFAL-FACHROptional: No
Call by Reference: No ( called with pass by value option)
SS_SPECTYP -
Data type: TNKFA-FATYPOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CASE_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
VISIT_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
MAPPING_FAILED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISH_EDI_MAP_CASE_SPEC 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_einri | TYPE NFAL-EINRI, " | |||
| lv_ss_edi_spec | TYPE TNCMAPP-EXTVALUE, " | |||
| lv_case_not_found | TYPE TNCMAPP, " | |||
| lv_ss_spec | TYPE NFAL-FACHR, " | |||
| lv_ss_falnr | TYPE NFAL-FALNR, " | |||
| lv_visit_not_found | TYPE NFAL, " | |||
| lv_ss_spectyp | TYPE TNKFA-FATYP, " | |||
| lv_ss_visitnr | TYPE NBEW-LFDNR, " | |||
| lv_mapping_failed | TYPE NBEW, " | |||
| lv_ss_stand | TYPE NC301-STAND, " | |||
| lv_ss_stver | TYPE NC301-STVER. " |
|   CALL FUNCTION 'ISH_EDI_MAP_CASE_SPEC' " |
| EXPORTING | ||
| SS_EINRI | = lv_ss_einri | |
| SS_FALNR | = lv_ss_falnr | |
| SS_VISITNR | = lv_ss_visitnr | |
| SS_STAND | = lv_ss_stand | |
| SS_STVER | = lv_ss_stver | |
| IMPORTING | ||
| SS_EDI_SPEC | = lv_ss_edi_spec | |
| SS_SPEC | = lv_ss_spec | |
| SS_SPECTYP | = lv_ss_spectyp | |
| EXCEPTIONS | ||
| CASE_NOT_FOUND = 1 | ||
| VISIT_NOT_FOUND = 2 | ||
| MAPPING_FAILED = 3 | ||
| . " ISH_EDI_MAP_CASE_SPEC | ||
ABAP code using 7.40 inline data declarations to call FM ISH_EDI_MAP_CASE_SPEC
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_ss_einri). | ||||
| "SELECT single EXTVALUE FROM TNCMAPP INTO @DATA(ld_ss_edi_spec). | ||||
| "SELECT single FACHR FROM NFAL INTO @DATA(ld_ss_spec). | ||||
| "SELECT single FALNR FROM NFAL INTO @DATA(ld_ss_falnr). | ||||
| "SELECT single FATYP FROM TNKFA INTO @DATA(ld_ss_spectyp). | ||||
| "SELECT single LFDNR FROM NBEW INTO @DATA(ld_ss_visitnr). | ||||
| "SELECT single STAND FROM NC301 INTO @DATA(ld_ss_stand). | ||||
| "SELECT single STVER FROM NC301 INTO @DATA(ld_ss_stver). | ||||
Search for further information about these or an SAP related objects