SAP FVD_API_IL_GET_PRODUCT Function Module for Get Product Data
FVD_API_IL_GET_PRODUCT is a standard fvd api il get product SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get Product Data 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 fvd api il get product FM, simply by entering the name FVD_API_IL_GET_PRODUCT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_API_INSTALLMENT_LOAN
Program Name: SAPLFVD_API_INSTALLMENT_LOAN
Main Program: SAPLFVD_API_INSTALLMENT_LOAN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FVD_API_IL_GET_PRODUCT 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 'FVD_API_IL_GET_PRODUCT'"Get Product Data.
EXPORTING
I_COMPANY_CODE = "Company Code
I_PRODUCT_ID = "Internal Product ID
I_PRODUCT_VERSION = "Product Version
I_ACTIVITY = "Company Code
I_MASTERDATA = "Darlehen (nur konditionsbestimmende Parameter erforderlich)
I_CRITERIA = "Selection Parameters for Conditions
* I_LANGUAGE = SY-LANGU "Language Key of Current Text Environment
* I_LOG_HANDLE = "Application Log: Log Handle
IMPORTING
E_MASTERDATA = "Master Data Structure
E_CONDITIONS = "Conditions with Header Data
E_FIELDATTRIBUTES = "Table Type RVZZFIELDATTRIBUTES
E_HELPVALUES = "Table Type RFVD_LOAN_API_HELPVALUES
E_TAB_MESSAGE = "Table with BAPI Return Information
E_ERROR = "Error Indicator
IMPORTING Parameters details for FVD_API_IL_GET_PRODUCT
I_COMPANY_CODE - Company Code
Data type: BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_PRODUCT_ID - Internal Product ID
Data type: TB_PR_PRODINTOptional: No
Call by Reference: No ( called with pass by value option)
I_PRODUCT_VERSION - Product Version
Data type: TB_PR_VERSIONOptional: No
Call by Reference: No ( called with pass by value option)
I_ACTIVITY - Company Code
Data type: BP_AKTYPOptional: No
Call by Reference: No ( called with pass by value option)
I_MASTERDATA - Darlehen (nur konditionsbestimmende Parameter erforderlich)
Data type: RVZZMASTERDATAOptional: No
Call by Reference: No ( called with pass by value option)
I_CRITERIA - Selection Parameters for Conditions
Data type: RCONDSELPAROptional: No
Call by Reference: No ( called with pass by value option)
I_LANGUAGE - Language Key of Current Text Environment
Data type: SYLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LOG_HANDLE - Application Log: Log Handle
Data type: BALLOGHNDLOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_API_IL_GET_PRODUCT
E_MASTERDATA - Master Data Structure
Data type: RVZZMASTERDATAOptional: No
Call by Reference: No ( called with pass by value option)
E_CONDITIONS - Conditions with Header Data
Data type: RVZZCONDITIONSOptional: No
Call by Reference: No ( called with pass by value option)
E_FIELDATTRIBUTES - Table Type RVZZFIELDATTRIBUTES
Data type: TRTYS_VZZKOPO_FIELDATTRIBUTESOptional: No
Call by Reference: No ( called with pass by value option)
E_HELPVALUES - Table Type RFVD_LOAN_API_HELPVALUES
Data type: RFVD_LOAN_API_HELPVALUESOptional: No
Call by Reference: No ( called with pass by value option)
E_TAB_MESSAGE - Table with BAPI Return Information
Data type: BAPIRETTABOptional: No
Call by Reference: No ( called with pass by value option)
E_ERROR - Error Indicator
Data type: TB_FW_ERROROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FVD_API_IL_GET_PRODUCT 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_e_masterdata | TYPE RVZZMASTERDATA, " | |||
| lv_i_company_code | TYPE BUKRS, " | |||
| lv_e_conditions | TYPE RVZZCONDITIONS, " | |||
| lv_i_product_id | TYPE TB_PR_PRODINT, " | |||
| lv_e_fieldattributes | TYPE TRTYS_VZZKOPO_FIELDATTRIBUTES, " | |||
| lv_i_product_version | TYPE TB_PR_VERSION, " | |||
| lv_i_activity | TYPE BP_AKTYP, " | |||
| lv_e_helpvalues | TYPE RFVD_LOAN_API_HELPVALUES, " | |||
| lv_i_masterdata | TYPE RVZZMASTERDATA, " | |||
| lv_e_tab_message | TYPE BAPIRETTAB, " | |||
| lv_e_error | TYPE TB_FW_ERROR, " | |||
| lv_i_criteria | TYPE RCONDSELPAR, " | |||
| lv_i_language | TYPE SYLANGU, " SY-LANGU | |||
| lv_i_log_handle | TYPE BALLOGHNDL. " |
|   CALL FUNCTION 'FVD_API_IL_GET_PRODUCT' "Get Product Data |
| EXPORTING | ||
| I_COMPANY_CODE | = lv_i_company_code | |
| I_PRODUCT_ID | = lv_i_product_id | |
| I_PRODUCT_VERSION | = lv_i_product_version | |
| I_ACTIVITY | = lv_i_activity | |
| I_MASTERDATA | = lv_i_masterdata | |
| I_CRITERIA | = lv_i_criteria | |
| I_LANGUAGE | = lv_i_language | |
| I_LOG_HANDLE | = lv_i_log_handle | |
| IMPORTING | ||
| E_MASTERDATA | = lv_e_masterdata | |
| E_CONDITIONS | = lv_e_conditions | |
| E_FIELDATTRIBUTES | = lv_e_fieldattributes | |
| E_HELPVALUES | = lv_e_helpvalues | |
| E_TAB_MESSAGE | = lv_e_tab_message | |
| E_ERROR | = lv_e_error | |
| . " FVD_API_IL_GET_PRODUCT | ||
ABAP code using 7.40 inline data declarations to call FM FVD_API_IL_GET_PRODUCT
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_i_language) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects