SAP ISH_EDI_GET_MAPPING Function Module for









ISH_EDI_GET_MAPPING is a standard ish edi get mapping 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 get mapping FM, simply by entering the name ISH_EDI_GET_MAPPING into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_EDI_GET_MAPPING 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_GET_MAPPING'"
EXPORTING
I_STAND = "
I_STVER = "
I_NINOUTSIGN = "
I_DBTABLE = "
I_DBFIELD = "
* I_SAPVALUE = ' ' "
* I_WORKAREA = "

IMPORTING
E_EXTVALUE = "

EXCEPTIONS
PARAMETER_ERROR = 1 MAPPING_FAIL = 2
.



IMPORTING Parameters details for ISH_EDI_GET_MAPPING

I_STAND -

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

I_STVER -

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

I_NINOUTSIGN -

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

I_DBTABLE -

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

I_DBFIELD -

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

I_SAPVALUE -

Data type: TNCMAPP-SAPVALUE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WORKAREA -

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

EXPORTING Parameters details for ISH_EDI_GET_MAPPING

E_EXTVALUE -

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

EXCEPTIONS details

PARAMETER_ERROR -

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

MAPPING_FAIL -

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

Copy and paste ABAP code example for ISH_EDI_GET_MAPPING 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_i_stand  TYPE TNCMAPP-STAND, "   
lv_e_extvalue  TYPE TNCMAPP-EXTVALUE, "   
lv_parameter_error  TYPE TNCMAPP, "   
lv_i_stver  TYPE TNCMAPP-STVER, "   
lv_mapping_fail  TYPE TNCMAPP, "   
lv_i_ninoutsign  TYPE TNCMAPP-NINOUTSIGN, "   
lv_i_dbtable  TYPE TNCMAPP-DBTABLE, "   
lv_i_dbfield  TYPE TNCMAPP-DBFIELD, "   
lv_i_sapvalue  TYPE TNCMAPP-SAPVALUE, "   SPACE
lv_i_workarea  TYPE NPDOK-C40. "   

  CALL FUNCTION 'ISH_EDI_GET_MAPPING'  "
    EXPORTING
         I_STAND = lv_i_stand
         I_STVER = lv_i_stver
         I_NINOUTSIGN = lv_i_ninoutsign
         I_DBTABLE = lv_i_dbtable
         I_DBFIELD = lv_i_dbfield
         I_SAPVALUE = lv_i_sapvalue
         I_WORKAREA = lv_i_workarea
    IMPORTING
         E_EXTVALUE = lv_e_extvalue
    EXCEPTIONS
        PARAMETER_ERROR = 1
        MAPPING_FAIL = 2
. " ISH_EDI_GET_MAPPING




ABAP code using 7.40 inline data declarations to call FM ISH_EDI_GET_MAPPING

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 STAND FROM TNCMAPP INTO @DATA(ld_i_stand).
 
"SELECT single EXTVALUE FROM TNCMAPP INTO @DATA(ld_e_extvalue).
 
 
"SELECT single STVER FROM TNCMAPP INTO @DATA(ld_i_stver).
 
 
"SELECT single NINOUTSIGN FROM TNCMAPP INTO @DATA(ld_i_ninoutsign).
 
"SELECT single DBTABLE FROM TNCMAPP INTO @DATA(ld_i_dbtable).
 
"SELECT single DBFIELD FROM TNCMAPP INTO @DATA(ld_i_dbfield).
 
"SELECT single SAPVALUE FROM TNCMAPP INTO @DATA(ld_i_sapvalue).
DATA(ld_i_sapvalue) = ' '.
 
"SELECT single C40 FROM NPDOK INTO @DATA(ld_i_workarea).
 


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!