FC_SAVED_DOCUMENTS_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_SAVED_DOCUMENTS_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FC05
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FC_SAVED_DOCUMENTS_READ' "
EXPORTING
* it_ra_docty = " fc05_t_ra_docty
* it_ra_docid = " fc05_t_ra_docid
i_dimen = " fc_dimen
i_itclg = " fc_itclg
i_rvers = " fc_rvers
i_rldnr = " fc_rldnr
* i_flg_read_all = " fc_flg
* i_flg_struc_confl_handle = " fc_flg
* i_flg_docid_enrich = " fc_flg
IMPORTING
et_docid_info = " fc05_t_docid_info
et_docid = " fc05_t_docid
et_doctytxt = " fc05_t_doctytxt
et_ecmca = " fc05_t_ecmca
EXCEPTIONS
DOCIDS_IMPORT_STRUC_CONFLICT = 1 "
SAV_DOC_IMPORT_STRUC_CONFLICT = 2 "
. " FC_SAVED_DOCUMENTS_READ
The ABAP code below is a full code listing to execute function module FC_SAVED_DOCUMENTS_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_et_docid_info | TYPE FC05_T_DOCID_INFO , |
| ld_et_docid | TYPE FC05_T_DOCID , |
| ld_et_doctytxt | TYPE FC05_T_DOCTYTXT , |
| ld_et_ecmca | TYPE FC05_T_ECMCA . |
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_et_docid_info | TYPE FC05_T_DOCID_INFO , |
| ld_it_ra_docty | TYPE FC05_T_RA_DOCTY , |
| ld_et_docid | TYPE FC05_T_DOCID , |
| ld_it_ra_docid | TYPE FC05_T_RA_DOCID , |
| ld_et_doctytxt | TYPE FC05_T_DOCTYTXT , |
| ld_i_dimen | TYPE FC_DIMEN , |
| ld_et_ecmca | TYPE FC05_T_ECMCA , |
| ld_i_itclg | TYPE FC_ITCLG , |
| ld_i_rvers | TYPE FC_RVERS , |
| ld_i_rldnr | TYPE FC_RLDNR , |
| ld_i_flg_read_all | TYPE FC_FLG , |
| ld_i_flg_struc_confl_handle | TYPE FC_FLG , |
| ld_i_flg_docid_enrich | TYPE FC_FLG . |
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_SAVED_DOCUMENTS_READ or its description.