FC_T000K_READ is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FC_T000K_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FCIM
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FC_T000K_READ' "
* EXPORTING
* i_a_t000k = " t000k
IMPORTING
e_indmc = " fc_flg
e_indlc = " fc_flg
e_indae = " fc_flg
e_periv = " fcin_periv
e_gsnk = " fc_flg
e_inddp_1 = " fc_flg
e_indru_1 = " fc_flg
e_indpe_1 = " fc_flg
e_gsbk = " fc_flg
e_gsb_coblck = " fc_flg
e_inddp_2 = " fc_flg
e_indru_2 = " fc_flg
e_indpe_2 = " fc_flg
e_indco_cs = " fc_flg
e_indba_cs = " fc_flg
e_pck = " fc_flg
e_mail_dp = " fc_maildp
e_indls_1 = " fc_indls1
e_indls_2 = " fc_indls2
* TABLES
* t_ra_contp = " fcin_t_ra_contp
* t_ra_trans = " fcin_t_ra_trans
* e_t_contp_trans = " fcin_t_contp_trans
EXCEPTIONS
NO_CONSTYPE_ACTIVE = 1 "
NO_ENTRIES_FOUND = 2 "
. " FC_T000K_READ
The ABAP code below is a full code listing to execute function module FC_T000K_READ including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_indmc | TYPE FC_FLG , |
| ld_e_indlc | TYPE FC_FLG , |
| ld_e_indae | TYPE FC_FLG , |
| ld_e_periv | TYPE FCIN_PERIV , |
| ld_e_gsnk | TYPE FC_FLG , |
| ld_e_inddp_1 | TYPE FC_FLG , |
| ld_e_indru_1 | TYPE FC_FLG , |
| ld_e_indpe_1 | TYPE FC_FLG , |
| ld_e_gsbk | TYPE FC_FLG , |
| ld_e_gsb_coblck | TYPE FC_FLG , |
| ld_e_inddp_2 | TYPE FC_FLG , |
| ld_e_indru_2 | TYPE FC_FLG , |
| ld_e_indpe_2 | TYPE FC_FLG , |
| ld_e_indco_cs | TYPE FC_FLG , |
| ld_e_indba_cs | TYPE FC_FLG , |
| ld_e_pck | TYPE FC_FLG , |
| ld_e_mail_dp | TYPE FC_MAILDP , |
| ld_e_indls_1 | TYPE FC_INDLS1 , |
| ld_e_indls_2 | TYPE FC_INDLS2 , |
| it_t_ra_contp | TYPE STANDARD TABLE OF FCIN_T_RA_CONTP,"TABLES PARAM |
| wa_t_ra_contp | LIKE LINE OF it_t_ra_contp , |
| it_t_ra_trans | TYPE STANDARD TABLE OF FCIN_T_RA_TRANS,"TABLES PARAM |
| wa_t_ra_trans | LIKE LINE OF it_t_ra_trans , |
| it_e_t_contp_trans | TYPE STANDARD TABLE OF FCIN_T_CONTP_TRANS,"TABLES PARAM |
| wa_e_t_contp_trans | LIKE LINE OF it_e_t_contp_trans . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_indmc | TYPE FC_FLG , |
| it_t_ra_contp | TYPE STANDARD TABLE OF FCIN_T_RA_CONTP , |
| wa_t_ra_contp | LIKE LINE OF it_t_ra_contp, |
| ld_i_a_t000k | TYPE T000K , |
| ld_e_indlc | TYPE FC_FLG , |
| it_t_ra_trans | TYPE STANDARD TABLE OF FCIN_T_RA_TRANS , |
| wa_t_ra_trans | LIKE LINE OF it_t_ra_trans, |
| ld_e_indae | TYPE FC_FLG , |
| it_e_t_contp_trans | TYPE STANDARD TABLE OF FCIN_T_CONTP_TRANS , |
| wa_e_t_contp_trans | LIKE LINE OF it_e_t_contp_trans, |
| ld_e_periv | TYPE FCIN_PERIV , |
| ld_e_gsnk | TYPE FC_FLG , |
| ld_e_inddp_1 | TYPE FC_FLG , |
| ld_e_indru_1 | TYPE FC_FLG , |
| ld_e_indpe_1 | TYPE FC_FLG , |
| ld_e_gsbk | TYPE FC_FLG , |
| ld_e_gsb_coblck | TYPE FC_FLG , |
| ld_e_inddp_2 | TYPE FC_FLG , |
| ld_e_indru_2 | TYPE FC_FLG , |
| ld_e_indpe_2 | TYPE FC_FLG , |
| ld_e_indco_cs | TYPE FC_FLG , |
| ld_e_indba_cs | TYPE FC_FLG , |
| ld_e_pck | TYPE FC_FLG , |
| ld_e_mail_dp | TYPE FC_MAILDP , |
| ld_e_indls_1 | TYPE FC_INDLS1 , |
| ld_e_indls_2 | TYPE FC_INDLS2 . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FC_T000K_READ or its description.