SAP ICLX_MODIFY_BENCALCVALDET_IN Function Module for API 'Benefit Calculation: Read Entries'









ICLX_MODIFY_BENCALCVALDET_IN is a standard iclx modify bencalcvaldet in SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for API 'Benefit Calculation: Read Entries' 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 iclx modify bencalcvaldet in FM, simply by entering the name ICLX_MODIFY_BENCALCVALDET_IN into the relevant SAP transaction such as SE37 or SE38.

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



Function ICLX_MODIFY_BENCALCVALDET_IN 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 'ICLX_MODIFY_BENCALCVALDET_IN'"API 'Benefit Calculation: Read Entries'
EXPORTING
* IV_FILL_FIELD_DESCR = 'X' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IV_LANGUAGE_ISO = SY-LANGU "Language According to ISO 639
* IS_VALIDITY = "Claims Facade: Period for History Entries

IMPORTING
EV_MESSAGE_TYPE = "Message Type: S Success, E Error, W Warning, I Info

TABLES
IT_ASSIGNMENT = "Assignment Structure of BO Node Instances (Category, GUID)
IT_BENCALC_DATA = "
IT_BENCALCVAL_DATA = "Benefit Calculation Item: Input Fields for UI
* ET_ASSIGNMENT = "Assignment Structure of BO Node Instances (Category, GUID)
* ET_BENCALC2_DATA = "Benefit Calculation: Concatenated Structure
* ET_MESSAGE_PROTOCOL = "Message Log: Error, Warning, Information, Success Messages
.



IMPORTING Parameters details for ICLX_MODIFY_BENCALCVALDET_IN

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

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

IV_LANGUAGE_ISO - Language According to ISO 639

Data type: LAISO
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_VALIDITY - Claims Facade: Period for History Entries

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

EXPORTING Parameters details for ICLX_MODIFY_BENCALCVALDET_IN

EV_MESSAGE_TYPE - Message Type: S Success, E Error, W Warning, I Info

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

TABLES Parameters details for ICLX_MODIFY_BENCALCVALDET_IN

IT_ASSIGNMENT - Assignment Structure of BO Node Instances (Category, GUID)

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

IT_BENCALC_DATA -

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

IT_BENCALCVAL_DATA - Benefit Calculation Item: Input Fields for UI

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

ET_ASSIGNMENT - Assignment Structure of BO Node Instances (Category, GUID)

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

ET_BENCALC2_DATA - Benefit Calculation: Concatenated Structure

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

ET_MESSAGE_PROTOCOL - Message Log: Error, Warning, Information, Success Messages

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

Copy and paste ABAP code example for ICLX_MODIFY_BENCALCVALDET_IN 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_assignment  TYPE STANDARD TABLE OF ICLX_NODE_ASSIGNMENT_S, "   
lv_ev_message_type  TYPE ICLX_MESSAGE_TYPE_D, "   
lv_iv_fill_field_descr  TYPE BOOLE_D, "   'X'
lt_it_bencalc_data  TYPE STANDARD TABLE OF ICLX_I_BENCALC_S_IN, "   
lv_iv_language_iso  TYPE LAISO, "   SY-LANGU
lv_is_validity  TYPE ICLX_VALIDITY_S, "   
lt_it_bencalcval_data  TYPE STANDARD TABLE OF ICLX_I_BENCALCVAL_S_IN, "   
lt_et_assignment  TYPE STANDARD TABLE OF ICLX_NODE_ASSIGNMENT_S, "   
lt_et_bencalc2_data  TYPE STANDARD TABLE OF ICLX_IO_BENCALC2_S_IN, "   
lt_et_message_protocol  TYPE STANDARD TABLE OF ICLX_MESSAGE_PROTOCOL_S_IN. "   

  CALL FUNCTION 'ICLX_MODIFY_BENCALCVALDET_IN'  "API 'Benefit Calculation: Read Entries'
    EXPORTING
         IV_FILL_FIELD_DESCR = lv_iv_fill_field_descr
         IV_LANGUAGE_ISO = lv_iv_language_iso
         IS_VALIDITY = lv_is_validity
    IMPORTING
         EV_MESSAGE_TYPE = lv_ev_message_type
    TABLES
         IT_ASSIGNMENT = lt_it_assignment
         IT_BENCALC_DATA = lt_it_bencalc_data
         IT_BENCALCVAL_DATA = lt_it_bencalcval_data
         ET_ASSIGNMENT = lt_et_assignment
         ET_BENCALC2_DATA = lt_et_bencalc2_data
         ET_MESSAGE_PROTOCOL = lt_et_message_protocol
. " ICLX_MODIFY_BENCALCVALDET_IN




ABAP code using 7.40 inline data declarations to call FM ICLX_MODIFY_BENCALCVALDET_IN

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.

 
 
DATA(ld_iv_fill_field_descr) = 'X'.
 
 
DATA(ld_iv_language_iso) = SY-LANGU.
 
 
 
 
 
 


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!