SAP ISH_CH_XMLIN_RECEIVE_INV_RESP Function Module for









ISH_CH_XMLIN_RECEIVE_INV_RESP is a standard ish ch xmlin receive inv resp 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 ch xmlin receive inv resp FM, simply by entering the name ISH_CH_XMLIN_RECEIVE_INV_RESP into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_CH_XMLIN_RECEIVE_INV_RESP 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_CH_XMLIN_RECEIVE_INV_RESP'"
EXPORTING
EINRI = "
* VERSION = '4.0' "
DATE = "
TIME = "
* RECOVERY_FLAG = ' ' "
* PROT = ' ' "
IT_XML = "
I_NC301B = "
I_NC301D = "

TABLES
IRNC301ERR = "
INC301S = "
INC301M = "

EXCEPTIONS
FATAL_ERROR = 1
.



IMPORTING Parameters details for ISH_CH_XMLIN_RECEIVE_INV_RESP

EINRI -

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

VERSION -

Data type: NC301-STVER
Default: '4.0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

DATE -

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

TIME -

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

RECOVERY_FLAG -

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

PROT -

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

IT_XML -

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

I_NC301B -

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

I_NC301D -

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

TABLES Parameters details for ISH_CH_XMLIN_RECEIVE_INV_RESP

IRNC301ERR -

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

INC301S -

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

INC301M -

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

EXCEPTIONS details

FATAL_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_CH_XMLIN_RECEIVE_INV_RESP 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_einri  TYPE TN01-EINRI, "   
lt_irnc301err  TYPE STANDARD TABLE OF RNC301ERR, "   
lv_fatal_error  TYPE RNC301ERR, "   
lt_inc301s  TYPE STANDARD TABLE OF NC301S, "   
lv_version  TYPE NC301-STVER, "   '4,0'
lv_date  TYPE SY-DATUM, "   
lt_inc301m  TYPE STANDARD TABLE OF NC301M, "   
lv_time  TYPE SY-UZEIT, "   
lv_recovery_flag  TYPE RNCOM-XFELD, "   SPACE
lv_prot  TYPE RNCOM-XFELD, "   SPACE
lv_it_xml  TYPE ISH_T_STRING, "   
lv_i_nc301b  TYPE NC301B, "   
lv_i_nc301d  TYPE NC301D. "   

  CALL FUNCTION 'ISH_CH_XMLIN_RECEIVE_INV_RESP'  "
    EXPORTING
         EINRI = lv_einri
         VERSION = lv_version
         DATE = lv_date
         TIME = lv_time
         RECOVERY_FLAG = lv_recovery_flag
         PROT = lv_prot
         IT_XML = lv_it_xml
         I_NC301B = lv_i_nc301b
         I_NC301D = lv_i_nc301d
    TABLES
         IRNC301ERR = lt_irnc301err
         INC301S = lt_inc301s
         INC301M = lt_inc301m
    EXCEPTIONS
        FATAL_ERROR = 1
. " ISH_CH_XMLIN_RECEIVE_INV_RESP




ABAP code using 7.40 inline data declarations to call FM ISH_CH_XMLIN_RECEIVE_INV_RESP

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_einri).
 
 
 
 
"SELECT single STVER FROM NC301 INTO @DATA(ld_version).
DATA(ld_version) = '4.0'.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_date).
 
 
"SELECT single UZEIT FROM SY INTO @DATA(ld_time).
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_recovery_flag).
DATA(ld_recovery_flag) = ' '.
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_prot).
DATA(ld_prot) = ' '.
 
 
 
 


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!