SAP FC_RFC_MASTERDATA_READ1 Function Module for









FC_RFC_MASTERDATA_READ1 is a standard fc rfc masterdata read1 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fc rfc masterdata read1 FM, simply by entering the name FC_RFC_MASTERDATA_READ1 into the relevant SAP transaction such as SE37 or SE38.

Function Group: FCI1
Program Name: SAPLFCI1
Main Program: SAPLFCI1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function FC_RFC_MASTERDATA_READ1 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 'FC_RFC_MASTERDATA_READ1'"
TABLES
IT_SEL = "
IT_PERIV_DEST = "
CT_CLUSTR_DATA = "

EXCEPTIONS
STAB_NOT_UNIQUELY_SPECIFIED = 1 INCOMPATIBLE_PERIODS = 10 NO_SENDER_LEDGER_SPECIFIED = 2 NO_TABLE_INFO_FOUND = 3 NO_KEYFIG_INFO_FOUND = 4 NEITHER_COMP_CODE_NOR_COMPANY = 5 NO_LEDGER_FOR_TABLE_FOUND = 6 NO_ORG_UNITS_FOUND = 7 ORG_DATA_CANNOT_BE_DETERMINED = 8 NO_ORG_DATA_FOUND = 9
.



TABLES Parameters details for FC_RFC_MASTERDATA_READ1

IT_SEL -

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

IT_PERIV_DEST -

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

CT_CLUSTR_DATA -

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

EXCEPTIONS details

STAB_NOT_UNIQUELY_SPECIFIED -

Data type:
Optional: No
Call by Reference: Yes

INCOMPATIBLE_PERIODS -

Data type:
Optional: No
Call by Reference: Yes

NO_SENDER_LEDGER_SPECIFIED -

Data type:
Optional: No
Call by Reference: Yes

NO_TABLE_INFO_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NO_KEYFIG_INFO_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NEITHER_COMP_CODE_NOR_COMPANY -

Data type:
Optional: No
Call by Reference: Yes

NO_LEDGER_FOR_TABLE_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NO_ORG_UNITS_FOUND -

Data type:
Optional: No
Call by Reference: Yes

ORG_DATA_CANNOT_BE_DETERMINED -

Data type:
Optional: No
Call by Reference: Yes

NO_ORG_DATA_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FC_RFC_MASTERDATA_READ1 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_sel  TYPE STANDARD TABLE OF RSSELECT, "   
lv_stab_not_uniquely_specified  TYPE RSSELECT, "   
lv_incompatible_periods  TYPE RSSELECT, "   
lt_it_periv_dest  TYPE STANDARD TABLE OF ABAPSOURCE, "   
lv_no_sender_ledger_specified  TYPE ABAPSOURCE, "   
lt_ct_clustr_data  TYPE STANDARD TABLE OF FC00_S_CLUSTR, "   
lv_no_table_info_found  TYPE FC00_S_CLUSTR, "   
lv_no_keyfig_info_found  TYPE FC00_S_CLUSTR, "   
lv_neither_comp_code_nor_company  TYPE FC00_S_CLUSTR, "   
lv_no_ledger_for_table_found  TYPE FC00_S_CLUSTR, "   
lv_no_org_units_found  TYPE FC00_S_CLUSTR, "   
lv_org_data_cannot_be_determined  TYPE FC00_S_CLUSTR, "   
lv_no_org_data_found  TYPE FC00_S_CLUSTR. "   

  CALL FUNCTION 'FC_RFC_MASTERDATA_READ1'  "
    TABLES
         IT_SEL = lt_it_sel
         IT_PERIV_DEST = lt_it_periv_dest
         CT_CLUSTR_DATA = lt_ct_clustr_data
    EXCEPTIONS
        STAB_NOT_UNIQUELY_SPECIFIED = 1
        INCOMPATIBLE_PERIODS = 10
        NO_SENDER_LEDGER_SPECIFIED = 2
        NO_TABLE_INFO_FOUND = 3
        NO_KEYFIG_INFO_FOUND = 4
        NEITHER_COMP_CODE_NOR_COMPANY = 5
        NO_LEDGER_FOR_TABLE_FOUND = 6
        NO_ORG_UNITS_FOUND = 7
        ORG_DATA_CANNOT_BE_DETERMINED = 8
        NO_ORG_DATA_FOUND = 9
. " FC_RFC_MASTERDATA_READ1




ABAP code using 7.40 inline data declarations to call FM FC_RFC_MASTERDATA_READ1

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!