SAP MASTER_DATA_SPECIFIC_READ_SEC Function Module for Read Extended Class Master Data









MASTER_DATA_SPECIFIC_READ_SEC is a standard master data specific read sec 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 Extended Class Master 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 master data specific read sec FM, simply by entering the name MASTER_DATA_SPECIFIC_READ_SEC into the relevant SAP transaction such as SE37 or SE38.

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



Function MASTER_DATA_SPECIFIC_READ_SEC 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 'MASTER_DATA_SPECIFIC_READ_SEC'"Read Extended Class Master Data
EXPORTING
I_RANL = "ID Number
I_SANLF = "Product Category

IMPORTING
E_VWPAKTI = "Tabelle _VWPAKTI
E_VWPANLE = "Tabelle _VWPANLE
E_VWPTERM = "Tabelle _VWPTERM
E_VTIDERI = "Stammdaten handelbare Optionen und Futures

TABLES
* E_TAB_VWPBONO = "Tabelle der VWPBONO

EXCEPTIONS
VWPANLE_ENTRY_NOT_FOUND = 1 VWPAKTI_ENTRY_NOT_FOUND = 2 VWPTERM_ENTRY_NOT_FOUND = 3 I_SANLF_INITIAL = 4 I_RANL_INITIAL = 5 VTIDERI_ENTRY_NOT_FOUND = 6
.



IMPORTING Parameters details for MASTER_DATA_SPECIFIC_READ_SEC

I_RANL - ID Number

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

I_SANLF - Product Category

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

EXPORTING Parameters details for MASTER_DATA_SPECIFIC_READ_SEC

E_VWPAKTI - Tabelle _VWPAKTI

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

E_VWPANLE - Tabelle _VWPANLE

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

E_VWPTERM - Tabelle _VWPTERM

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

E_VTIDERI - Stammdaten handelbare Optionen und Futures

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

TABLES Parameters details for MASTER_DATA_SPECIFIC_READ_SEC

E_TAB_VWPBONO - Tabelle der VWPBONO

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

EXCEPTIONS details

VWPANLE_ENTRY_NOT_FOUND - kein Eintrag in Tabelle VWPANLE

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

VWPAKTI_ENTRY_NOT_FOUND - kein Eintrag in Tabelle VWPAKTI

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

VWPTERM_ENTRY_NOT_FOUND - kein Eintrag in Tabelle VWPTERM

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

I_SANLF_INITIAL - Product Type has Initial Value

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

I_RANL_INITIAL - ID number has initial value

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

VTIDERI_ENTRY_NOT_FOUND - kein Eintrag in Tabelle VTIDERI

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for MASTER_DATA_SPECIFIC_READ_SEC 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_ranl  TYPE VWPANLA-RANL, "   
lv_e_vwpakti  TYPE VWPAKTI, "   
lt_e_tab_vwpbono  TYPE STANDARD TABLE OF VWPBONO, "   
lv_vwpanle_entry_not_found  TYPE VWPBONO, "   
lv_i_sanlf  TYPE VWPANLA-SANLF, "   
lv_e_vwpanle  TYPE VWPANLE, "   
lv_vwpakti_entry_not_found  TYPE VWPANLE, "   
lv_e_vwpterm  TYPE VWPTERM, "   
lv_vwpterm_entry_not_found  TYPE VWPTERM, "   
lv_e_vtideri  TYPE VTIDERI, "   
lv_i_sanlf_initial  TYPE VTIDERI, "   
lv_i_ranl_initial  TYPE VTIDERI, "   
lv_vtideri_entry_not_found  TYPE VTIDERI. "   

  CALL FUNCTION 'MASTER_DATA_SPECIFIC_READ_SEC'  "Read Extended Class Master Data
    EXPORTING
         I_RANL = lv_i_ranl
         I_SANLF = lv_i_sanlf
    IMPORTING
         E_VWPAKTI = lv_e_vwpakti
         E_VWPANLE = lv_e_vwpanle
         E_VWPTERM = lv_e_vwpterm
         E_VTIDERI = lv_e_vtideri
    TABLES
         E_TAB_VWPBONO = lt_e_tab_vwpbono
    EXCEPTIONS
        VWPANLE_ENTRY_NOT_FOUND = 1
        VWPAKTI_ENTRY_NOT_FOUND = 2
        VWPTERM_ENTRY_NOT_FOUND = 3
        I_SANLF_INITIAL = 4
        I_RANL_INITIAL = 5
        VTIDERI_ENTRY_NOT_FOUND = 6
. " MASTER_DATA_SPECIFIC_READ_SEC




ABAP code using 7.40 inline data declarations to call FM MASTER_DATA_SPECIFIC_READ_SEC

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 RANL FROM VWPANLA INTO @DATA(ld_i_ranl).
 
 
 
 
"SELECT single SANLF FROM VWPANLA INTO @DATA(ld_i_sanlf).
 
 
 
 
 
 
 
 
 


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!