RDDPREPC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RDDPREPC into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: FA: Prepare Component Export (from 620)
INCLUDE RDDRSCST.
No SAP DATABASE tables are accessed within this REPORT code!
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_proto_put filename = 'M_SCRIPT.TOC'
FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = 'BC_RDDCRTAB' changing physical_filename = fname_p exceptions others = 1.
SUBST_APPEND_DEFAULT_PROTOCOL CALL FUNCTION 'SUBST_APPEND_DEFAULT_PROTOCOL' EXPORTING iv_msgnr = lv_msgnr iv_severity = p_tab-severity.
EM_INIT_MERGE CALL FUNCTION 'EM_INIT_MERGE' EXPORTING * iv_map = gp_map iv_cofi = lv_comf iv_text = lv_text iv_trfu = 'D' iv_cli = '000' iv_tsid = 'SAP' iv_user = 'SAPUSER' iv_step = 'E' * iv_imap = gp_imap iv_nmap = 'EXCHANGE_D' * iv_cmap = gp_cmap * iv_exp = gp_exp iv_crea = gc_over_mode iv_prot = gc_fileonly * iv_name = lv_name iv_veri = gc_delivered iv_tabu = 'X' * iv_restart = gp_rest iv_clidep = ' ' * iv_namespace = lv_namespace * iv_vdat = lv_vdat iv_force_creation = 'X' EXCEPTIONS OTHERS = 1.
EM_MERGE CALL FUNCTION 'EM_MERGE' * exporting * iv_posl = gp_posl * iv_negl = gp_negl * iv_korrl = gp_korrl * IV_TLOGO = gp_tlogo * iv_dat_s = gp_dat_s * iv_dat_e = gp_dat_e * iv_tim_s = gp_tim_s * iv_tim_e = gp_tim_e TABLES it_negl = lt_negl it_posl = lt_posl ir_korrs = lr_korrs ir_korro = lr_korro EXCEPTIONS OTHERS = 1.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_proto_put filename = lv_miscext_fname subdir = 'data' IMPORTING file = gv_default_file EXCEPTIONS wrong_call = 01.
FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = 'BC_RDDCRTAB' changing physical_filename = fname_p exceptions others = 1.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_proto_put filename = lv_miscext_fname subdir = 'data' IMPORTING file = gv_default_file EXCEPTIONS wrong_call = 01.
FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = 'BC_RDDCRTAB' changing physical_filename = fname_p exceptions others = 1.
SUBST_INIT_DEFAULT_PROTOCOL CALL FUNCTION 'SUBST_INIT_DEFAULT_PROTOCOL' EXPORTING iv_msag = gc_msag iv_acttype = gc_proto_put iv_fname = pc_proto_name iv_subdir = gc_dir_log iv_repid = gc_repid IMPORTING ev_fname = lv_fname EXCEPTIONS saprelease_not_found = 01.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_proto_put filename = lv_fname subdir = gc_dir_log IMPORTING file = lv_file EXCEPTIONS wrong_call = 01.
TR_INITIALIZE_LOG_WITH_FILE CALL FUNCTION 'TR_INITIALIZE_LOG_WITH_FILE' EXPORTING file = lv_file.
SUBST_WRITE_DEFAULT_PROTOCOL CALL FUNCTION 'SUBST_WRITE_DEFAULT_PROTOCOL' EXPORTING iv_suppress_footer = ' '.
SUBST_GET_REPORT_PARM CALL FUNCTION 'SUBST_GET_REPORT_PARM' EXPORTING iv_parmname = lv_name IMPORTING ev_parameter = lv_value.
SUBST_GET_SAPRELEASE CALL FUNCTION 'SUBST_GET_SAPRELEASE' IMPORTING ev_saprelease = lv_saprl EXCEPTIONS no_svers_entry = 01.
SUBST_GET_RELMAP_FOR_BASREL CALL FUNCTION 'SUBST_GET_RELMAP_FOR_BASREL' EXPORTING iv_basrelease = gv_basrelease IMPORTING ev_saprel1 = lv_tgtrel.
SUBST_RELMAP_GET_IDPOSITION CALL FUNCTION 'SUBST_RELMAP_GET_IDPOSITION' EXPORTING iv_relmapname = gv_basrelease iv_saprelease_long = lv_tgtrel IMPORTING ev_idposition = lv_idpos.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.