SAP /SAPCE/IURU_BENE_BAPI_DATA2 Function Module for Prepare data for BAPI









/SAPCE/IURU_BENE_BAPI_DATA2 is a standard /sapce/iuru bene bapi data2 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Prepare data for BAPI 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 /sapce/iuru bene bapi data2 FM, simply by entering the name /SAPCE/IURU_BENE_BAPI_DATA2 into the relevant SAP transaction such as SE37 or SE38.

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



Function /SAPCE/IURU_BENE_BAPI_DATA2 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 '/SAPCE/IURU_BENE_BAPI_DATA2'"Prepare data for BAPI
EXPORTING
IS_CONTRACT = "Benefit Contract.
IT_EVNR = "Benefits : Nr. of persons for contract

TABLES
IT_EBEN = "Benefit Eligibility
* ET_ENDFACTORTABLE = "Facts Ended (Operand Category FACTOR)
* ET_ENDQUANTTABLE = "BAPI InstallationFactsChange (Operand Category QUANT)
* ET_ENDRATETABLE = "Facts Ended (Operand Category RATETYPE)
IT_EBEN_NEW = "Benefit Eligibility
IT_EBEN_MOD = "Benefit Eligibility
IT_EBEN_DEL = "Benefit Eligibility
IT_EVNR_NEW = "Benefits : Nr. of persons for contract
IT_EVNR_DEL = "Benefits : Nr. of persons for contract
* ET_FACTORTABLE = "BAPI InstallationFactsChange (Operand Category FACTOR)
* ET_QUANTTABLE = "BAPI InstallationFactsChange (Operand Category QUANT)
* ET_RATETYPETABLE = "BAPI InstallationFactsChange (Operand Category RATETYPE)

EXCEPTIONS
FALSE_CUSTOMIZING = 1
.



IMPORTING Parameters details for /SAPCE/IURU_BENE_BAPI_DATA2

IS_CONTRACT - Benefit Contract.

Data type: /SAPCE/IURU_STR_CONTRACT
Optional: No
Call by Reference: Yes

IT_EVNR - Benefits : Nr. of persons for contract

Data type: /SAPCE/IURU_TAB_EVNR
Optional: No
Call by Reference: Yes

TABLES Parameters details for /SAPCE/IURU_BENE_BAPI_DATA2

IT_EBEN - Benefit Eligibility

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

ET_ENDFACTORTABLE - Facts Ended (Operand Category FACTOR)

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

ET_ENDQUANTTABLE - BAPI InstallationFactsChange (Operand Category QUANT)

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

ET_ENDRATETABLE - Facts Ended (Operand Category RATETYPE)

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

IT_EBEN_NEW - Benefit Eligibility

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

IT_EBEN_MOD - Benefit Eligibility

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

IT_EBEN_DEL - Benefit Eligibility

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

IT_EVNR_NEW - Benefits : Nr. of persons for contract

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

IT_EVNR_DEL - Benefits : Nr. of persons for contract

Data type: /SAPCE/IURU_EVNR
Optional: No
Call by Reference: Yes

ET_FACTORTABLE - BAPI InstallationFactsChange (Operand Category FACTOR)

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

ET_QUANTTABLE - BAPI InstallationFactsChange (Operand Category QUANT)

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

ET_RATETYPETABLE - BAPI InstallationFactsChange (Operand Category RATETYPE)

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

EXCEPTIONS details

FALSE_CUSTOMIZING - Incorrect customizing

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

Copy and paste ABAP code example for /SAPCE/IURU_BENE_BAPI_DATA2 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:
lt_it_eben  TYPE STANDARD TABLE OF /SAPCE/IURU_EBEN, "   
lv_is_contract  TYPE /SAPCE/IURU_STR_CONTRACT, "   
lv_false_customizing  TYPE /SAPCE/IURU_STR_CONTRACT, "   
lt_et_endfactortable  TYPE STANDARD TABLE OF BAPI_INSTLN_FACTOR, "   
lt_et_endquanttable  TYPE STANDARD TABLE OF BAPI_INSTLN_QUANT, "   
lt_et_endratetable  TYPE STANDARD TABLE OF BAPI_INSTLN_RATETYPE, "   
lv_it_evnr  TYPE /SAPCE/IURU_TAB_EVNR, "   
lt_it_eben_new  TYPE STANDARD TABLE OF /SAPCE/IURU_EBEN, "   
lt_it_eben_mod  TYPE STANDARD TABLE OF /SAPCE/IURU_EBEN, "   
lt_it_eben_del  TYPE STANDARD TABLE OF /SAPCE/IURU_EBEN, "   
lt_it_evnr_new  TYPE STANDARD TABLE OF /SAPCE/IURU_EVNR, "   
lt_it_evnr_del  TYPE STANDARD TABLE OF /SAPCE/IURU_EVNR, "   
lt_et_factortable  TYPE STANDARD TABLE OF BAPI_INSTLN_FACTOR, "   
lt_et_quanttable  TYPE STANDARD TABLE OF BAPI_INSTLN_QUANT, "   
lt_et_ratetypetable  TYPE STANDARD TABLE OF BAPI_INSTLN_RATETYPE. "   

  CALL FUNCTION '/SAPCE/IURU_BENE_BAPI_DATA2'  "Prepare data for BAPI
    EXPORTING
         IS_CONTRACT = lv_is_contract
         IT_EVNR = lv_it_evnr
    TABLES
         IT_EBEN = lt_it_eben
         ET_ENDFACTORTABLE = lt_et_endfactortable
         ET_ENDQUANTTABLE = lt_et_endquanttable
         ET_ENDRATETABLE = lt_et_endratetable
         IT_EBEN_NEW = lt_it_eben_new
         IT_EBEN_MOD = lt_it_eben_mod
         IT_EBEN_DEL = lt_it_eben_del
         IT_EVNR_NEW = lt_it_evnr_new
         IT_EVNR_DEL = lt_it_evnr_del
         ET_FACTORTABLE = lt_et_factortable
         ET_QUANTTABLE = lt_et_quanttable
         ET_RATETYPETABLE = lt_et_ratetypetable
    EXCEPTIONS
        FALSE_CUSTOMIZING = 1
. " /SAPCE/IURU_BENE_BAPI_DATA2




ABAP code using 7.40 inline data declarations to call FM /SAPCE/IURU_BENE_BAPI_DATA2

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!