SAP ICL_EBR_INBOUND_INVOICE Function Module for Inbound - External Bill Review









ICL_EBR_INBOUND_INVOICE is a standard icl ebr inbound invoice SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Inbound - External Bill Review processing and below is the pattern details for this FM, 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 icl ebr inbound invoice FM, simply by entering the name ICL_EBR_INBOUND_INVOICE into the relevant SAP transaction such as SE37 or SE38.

Function Group: ICL_EBR_IB
Program Name: SAPLICL_EBR_IB
Main Program: SAPLICL_EBR_IB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ICL_EBR_INBOUND_INVOICE 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 'ICL_EBR_INBOUND_INVOICE'"Inbound - External Bill Review
EXPORTING
* IV_XCOMMIT = 'X' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IV_XUPDTASK = ' ' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IV_XBAPI = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IV_XTEST = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
IV_CLAIM = "

IMPORTING
EV_XERROR = "Single-Character Flag

TABLES
IT_ITEM_DI = "
IT_PROCURE_DI = "
* IT_DIAGNOSIS_DI = "
* IT_GEN_DI = "
* IT_PART_DI = "
* IT_FREETEXT_DI = "
* ET_MESSAGE = "
.



IMPORTING Parameters details for ICL_EBR_INBOUND_INVOICE

IV_XCOMMIT - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

Data type: BOOLE-BOOLE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_XUPDTASK - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

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

IV_XBAPI - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

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

IV_XTEST - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

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

IV_CLAIM -

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

EXPORTING Parameters details for ICL_EBR_INBOUND_INVOICE

EV_XERROR - Single-Character Flag

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

TABLES Parameters details for ICL_EBR_INBOUND_INVOICE

IT_ITEM_DI -

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

IT_PROCURE_DI -

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

IT_DIAGNOSIS_DI -

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

IT_GEN_DI -

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

IT_PART_DI -

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

IT_FREETEXT_DI -

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

ET_MESSAGE -

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

Copy and paste ABAP code example for ICL_EBR_INBOUND_INVOICE 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_ev_xerror  TYPE BUS000FLDS-CHAR1, "   
lt_it_item_di  TYPE STANDARD TABLE OF ICLITEM_DI, "   
lv_iv_xcommit  TYPE BOOLE-BOOLE, "   'X'
lv_iv_xupdtask  TYPE BOOLE-BOOLE, "   SPACE
lt_it_procure_di  TYPE STANDARD TABLE OF ICLPROCURE_DI, "   
lv_iv_xbapi  TYPE BOOLE-BOOLE, "   
lt_it_diagnosis_di  TYPE STANDARD TABLE OF ICLDIAGNOSIS_DI, "   
lv_iv_xtest  TYPE BOOLE-BOOLE, "   
lt_it_gen_di  TYPE STANDARD TABLE OF ICL_GEN_DI, "   
lv_iv_claim  TYPE ICL_CLAIM, "   
lt_it_part_di  TYPE STANDARD TABLE OF ICLPART_DI, "   
lt_it_freetext_di  TYPE STANDARD TABLE OF ICL_FREETEXT_DI, "   
lt_et_message  TYPE STANDARD TABLE OF BUS0MSG1. "   

  CALL FUNCTION 'ICL_EBR_INBOUND_INVOICE'  "Inbound - External Bill Review
    EXPORTING
         IV_XCOMMIT = lv_iv_xcommit
         IV_XUPDTASK = lv_iv_xupdtask
         IV_XBAPI = lv_iv_xbapi
         IV_XTEST = lv_iv_xtest
         IV_CLAIM = lv_iv_claim
    IMPORTING
         EV_XERROR = lv_ev_xerror
    TABLES
         IT_ITEM_DI = lt_it_item_di
         IT_PROCURE_DI = lt_it_procure_di
         IT_DIAGNOSIS_DI = lt_it_diagnosis_di
         IT_GEN_DI = lt_it_gen_di
         IT_PART_DI = lt_it_part_di
         IT_FREETEXT_DI = lt_it_freetext_di
         ET_MESSAGE = lt_et_message
. " ICL_EBR_INBOUND_INVOICE




ABAP code using 7.40 inline data declarations to call FM ICL_EBR_INBOUND_INVOICE

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 CHAR1 FROM BUS000FLDS INTO @DATA(ld_ev_xerror).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xcommit).
DATA(ld_iv_xcommit) = 'X'.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xupdtask).
DATA(ld_iv_xupdtask) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xbapi).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xtest).
 
 
 
 
 
 


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!