SAP FVD_MD_TOOLS_CONDITION_DETAIL Function Module for Determine Condition Table Details









FVD_MD_TOOLS_CONDITION_DETAIL is a standard fvd md tools condition detail SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Condition Table Details 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 md tools condition detail FM, simply by entering the name FVD_MD_TOOLS_CONDITION_DETAIL into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_MD_TOOLS_CONDITION_DETAIL 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_MD_TOOLS_CONDITION_DETAIL'"Determine Condition Table Details
EXPORTING
I_PRODUCT_ID = "Interne Produkt-ID
I_DATE = "Date
I_COND_DEFINING_PARMS = "Condition: Selection Criteria Level Condition Table
I_LOG_HANDLE = "Application Log: Log Handle

IMPORTING
E_TAB_TABLEAU = "Condition Table
E_CONDITIONS_GROUP = "Condition Group
E_CONDITIONS_TABLEAU = "Condition Table
E_CONDITIONS_VERSION = "Version Number for a Condition Table
E_ERR = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
.



IMPORTING Parameters details for FVD_MD_TOOLS_CONDITION_DETAIL

I_PRODUCT_ID - Interne Produkt-ID

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

I_DATE - Date

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

I_COND_DEFINING_PARMS - Condition: Selection Criteria Level Condition Table

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

I_LOG_HANDLE - Application Log: Log Handle

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

EXPORTING Parameters details for FVD_MD_TOOLS_CONDITION_DETAIL

E_TAB_TABLEAU - Condition Table

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

E_CONDITIONS_GROUP - Condition Group

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

E_CONDITIONS_TABLEAU - Condition Table

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

E_CONDITIONS_VERSION - Version Number for a Condition Table

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

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

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

Copy and paste ABAP code example for FVD_MD_TOOLS_CONDITION_DETAIL 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_i_product_id  TYPE TB_PR_PRODINT, "   
lv_e_tab_tableau  TYPE TRTY_MODEL_CONDITIONS_TABLEAU, "   
lv_i_date  TYPE DATUM, "   
lv_e_conditions_group  TYPE SKOGRP, "   
lv_e_conditions_tableau  TYPE TB_FICO_CONTAB, "   
lv_i_cond_defining_parms  TYPE RSCREEN_COND_DEFINING_PARAM, "   
lv_i_log_handle  TYPE BALLOGHNDL, "   
lv_e_conditions_version  TYPE TB_FICO_CONTAB_VERSION, "   
lv_e_err  TYPE BOOLE_D. "   

  CALL FUNCTION 'FVD_MD_TOOLS_CONDITION_DETAIL'  "Determine Condition Table Details
    EXPORTING
         I_PRODUCT_ID = lv_i_product_id
         I_DATE = lv_i_date
         I_COND_DEFINING_PARMS = lv_i_cond_defining_parms
         I_LOG_HANDLE = lv_i_log_handle
    IMPORTING
         E_TAB_TABLEAU = lv_e_tab_tableau
         E_CONDITIONS_GROUP = lv_e_conditions_group
         E_CONDITIONS_TABLEAU = lv_e_conditions_tableau
         E_CONDITIONS_VERSION = lv_e_conditions_version
         E_ERR = lv_e_err
. " FVD_MD_TOOLS_CONDITION_DETAIL




ABAP code using 7.40 inline data declarations to call FM FVD_MD_TOOLS_CONDITION_DETAIL

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!