SAP FC_T000K_READ Function Module for
FC_T000K_READ is a standard fc t000k read 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 t000k read FM, simply by entering the name FC_T000K_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: FCIM
Program Name: SAPLFCIM
Main Program: SAPLFCIM
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FC_T000K_READ 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_T000K_READ'".
EXPORTING
* I_A_T000K = "
IMPORTING
E_INDMC = "
E_GSB_COBLCK = "
E_INDDP_2 = "
E_INDRU_2 = "
E_INDPE_2 = "
E_INDCO_CS = "
E_INDBA_CS = "
E_PCK = "
E_MAIL_DP = "
E_INDLS_1 = "
E_INDLS_2 = "
E_INDLC = "
E_INDAE = "
E_PERIV = "
E_GSNK = "
E_INDDP_1 = "
E_INDRU_1 = "
E_INDPE_1 = "
E_GSBK = "
TABLES
* T_RA_CONTP = "
* T_RA_TRANS = "
* E_T_CONTP_TRANS = "
EXCEPTIONS
NO_CONSTYPE_ACTIVE = 1 NO_ENTRIES_FOUND = 2
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLFCIM_280 Integration: Change of Recipient for Express Mail
IMPORTING Parameters details for FC_T000K_READ
I_A_T000K -
Data type: T000KOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FC_T000K_READ
E_INDMC -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_GSB_COBLCK -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_INDDP_2 -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_INDRU_2 -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_INDPE_2 -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_INDCO_CS -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_INDBA_CS -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_PCK -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_MAIL_DP -
Data type: FC_MAILDPOptional: No
Call by Reference: No ( called with pass by value option)
E_INDLS_1 -
Data type: FC_INDLS1Optional: No
Call by Reference: No ( called with pass by value option)
E_INDLS_2 -
Data type: FC_INDLS2Optional: No
Call by Reference: No ( called with pass by value option)
E_INDLC -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_INDAE -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_PERIV -
Data type: FCIN_PERIVOptional: No
Call by Reference: No ( called with pass by value option)
E_GSNK -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_INDDP_1 -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_INDRU_1 -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_INDPE_1 -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_GSBK -
Data type: FC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FC_T000K_READ
T_RA_CONTP -
Data type: FCIN_T_RA_CONTPOptional: Yes
Call by Reference: No ( called with pass by value option)
T_RA_TRANS -
Data type: FCIN_T_RA_TRANSOptional: Yes
Call by Reference: No ( called with pass by value option)
E_T_CONTP_TRANS -
Data type: FCIN_T_CONTP_TRANSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_CONSTYPE_ACTIVE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_ENTRIES_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FC_T000K_READ 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_indmc | TYPE FC_FLG, " | |||
lv_i_a_t000k | TYPE T000K, " | |||
lt_t_ra_contp | TYPE STANDARD TABLE OF FCIN_T_RA_CONTP, " | |||
lv_no_constype_active | TYPE FCIN_T_RA_CONTP, " | |||
lv_e_gsb_coblck | TYPE FC_FLG, " | |||
lv_e_inddp_2 | TYPE FC_FLG, " | |||
lv_e_indru_2 | TYPE FC_FLG, " | |||
lv_e_indpe_2 | TYPE FC_FLG, " | |||
lv_e_indco_cs | TYPE FC_FLG, " | |||
lv_e_indba_cs | TYPE FC_FLG, " | |||
lv_e_pck | TYPE FC_FLG, " | |||
lv_e_mail_dp | TYPE FC_MAILDP, " | |||
lv_e_indls_1 | TYPE FC_INDLS1, " | |||
lv_e_indls_2 | TYPE FC_INDLS2, " | |||
lv_e_indlc | TYPE FC_FLG, " | |||
lt_t_ra_trans | TYPE STANDARD TABLE OF FCIN_T_RA_TRANS, " | |||
lv_no_entries_found | TYPE FCIN_T_RA_TRANS, " | |||
lv_e_indae | TYPE FC_FLG, " | |||
lt_e_t_contp_trans | TYPE STANDARD TABLE OF FCIN_T_CONTP_TRANS, " | |||
lv_e_periv | TYPE FCIN_PERIV, " | |||
lv_e_gsnk | TYPE FC_FLG, " | |||
lv_e_inddp_1 | TYPE FC_FLG, " | |||
lv_e_indru_1 | TYPE FC_FLG, " | |||
lv_e_indpe_1 | TYPE FC_FLG, " | |||
lv_e_gsbk | TYPE FC_FLG. " |
  CALL FUNCTION 'FC_T000K_READ' " |
EXPORTING | ||
I_A_T000K | = lv_i_a_t000k | |
IMPORTING | ||
E_INDMC | = lv_e_indmc | |
E_GSB_COBLCK | = lv_e_gsb_coblck | |
E_INDDP_2 | = lv_e_inddp_2 | |
E_INDRU_2 | = lv_e_indru_2 | |
E_INDPE_2 | = lv_e_indpe_2 | |
E_INDCO_CS | = lv_e_indco_cs | |
E_INDBA_CS | = lv_e_indba_cs | |
E_PCK | = lv_e_pck | |
E_MAIL_DP | = lv_e_mail_dp | |
E_INDLS_1 | = lv_e_indls_1 | |
E_INDLS_2 | = lv_e_indls_2 | |
E_INDLC | = lv_e_indlc | |
E_INDAE | = lv_e_indae | |
E_PERIV | = lv_e_periv | |
E_GSNK | = lv_e_gsnk | |
E_INDDP_1 | = lv_e_inddp_1 | |
E_INDRU_1 | = lv_e_indru_1 | |
E_INDPE_1 | = lv_e_indpe_1 | |
E_GSBK | = lv_e_gsbk | |
TABLES | ||
T_RA_CONTP | = lt_t_ra_contp | |
T_RA_TRANS | = lt_t_ra_trans | |
E_T_CONTP_TRANS | = lt_e_t_contp_trans | |
EXCEPTIONS | ||
NO_CONSTYPE_ACTIVE = 1 | ||
NO_ENTRIES_FOUND = 2 | ||
. " FC_T000K_READ |
ABAP code using 7.40 inline data declarations to call FM FC_T000K_READ
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