SAP FVD_PROD_DIA_FLD_DETAIL_GET Function Module for Read Data for Maintenance Dialog









FVD_PROD_DIA_FLD_DETAIL_GET is a standard fvd prod dia fld detail get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Data for Maintenance Dialog 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 prod dia fld detail get FM, simply by entering the name FVD_PROD_DIA_FLD_DETAIL_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_PROD_DIA_FLD_DETAIL_GET 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_PROD_DIA_FLD_DETAIL_GET'"Read Data for Maintenance Dialog
IMPORTING
E_ADMIN_DATA = "Structure for Master Data and Admin. Data: Version and Texts
E_AKTYP_DETAIL = "Activity Type
E_AKTYP = "Activity Type
E_TAB_VA_FLD = "Table Type for Version Attribute Type Field
E_TAB_VA_FLDM = "Table Type for Version Attribute Type with Multi-Value Field
E_TAB_ATTRFIELD = "Table Type for Attribute Fields

TABLES
TAB_DDIC_FIELD_INFO = "DD Interface: Table Fields for DDIF_FIELDINFO_GET
TAB_TREE_NODE = "Additional Information for Hierarchy Nodes
TAB_ATTRIBUTE = "Interface Between Values_Dia and Field_Detail
.



EXPORTING Parameters details for FVD_PROD_DIA_FLD_DETAIL_GET

E_ADMIN_DATA - Structure for Master Data and Admin. Data: Version and Texts

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

E_AKTYP_DETAIL - Activity Type

Data type: TBZ0K-AKTYP
Optional: No
Call by Reference: Yes

E_AKTYP - Activity Type

Data type: TBZ0K-AKTYP
Optional: No
Call by Reference: Yes

E_TAB_VA_FLD - Table Type for Version Attribute Type Field

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

E_TAB_VA_FLDM - Table Type for Version Attribute Type with Multi-Value Field

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

E_TAB_ATTRFIELD - Table Type for Attribute Fields

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

TABLES Parameters details for FVD_PROD_DIA_FLD_DETAIL_GET

TAB_DDIC_FIELD_INFO - DD Interface: Table Fields for DDIF_FIELDINFO_GET

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

TAB_TREE_NODE - Additional Information for Hierarchy Nodes

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

TAB_ATTRIBUTE - Interface Between Values_Dia and Field_Detail

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

Copy and paste ABAP code example for FVD_PROD_DIA_FLD_DETAIL_GET 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_admin_data  TYPE RTDPR_STR_ADMIN, "   
lt_tab_ddic_field_info  TYPE STANDARD TABLE OF DFIES, "   
lt_tab_tree_node  TYPE STANDARD TABLE OF SNODETEXT, "   
lv_e_aktyp_detail  TYPE TBZ0K-AKTYP, "   
lv_e_aktyp  TYPE TBZ0K-AKTYP, "   
lt_tab_attribute  TYPE STANDARD TABLE OF RTDPR_STR_ATTR_DETAIL_IF, "   
lv_e_tab_va_fld  TYPE TRTY_VA_FLD, "   
lv_e_tab_va_fldm  TYPE TRTY_VA_FLDM, "   
lv_e_tab_attrfield  TYPE TRTY_ATTRFIELD. "   

  CALL FUNCTION 'FVD_PROD_DIA_FLD_DETAIL_GET'  "Read Data for Maintenance Dialog
    IMPORTING
         E_ADMIN_DATA = lv_e_admin_data
         E_AKTYP_DETAIL = lv_e_aktyp_detail
         E_AKTYP = lv_e_aktyp
         E_TAB_VA_FLD = lv_e_tab_va_fld
         E_TAB_VA_FLDM = lv_e_tab_va_fldm
         E_TAB_ATTRFIELD = lv_e_tab_attrfield
    TABLES
         TAB_DDIC_FIELD_INFO = lt_tab_ddic_field_info
         TAB_TREE_NODE = lt_tab_tree_node
         TAB_ATTRIBUTE = lt_tab_attribute
. " FVD_PROD_DIA_FLD_DETAIL_GET




ABAP code using 7.40 inline data declarations to call FM FVD_PROD_DIA_FLD_DETAIL_GET

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 AKTYP FROM TBZ0K INTO @DATA(ld_e_aktyp_detail).
 
"SELECT single AKTYP FROM TBZ0K INTO @DATA(ld_e_aktyp).
 
 
 
 
 


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!