RCPREO04 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 RCPREO04 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.
Selection Text: WERKS = Plant
Selection Text: TSTKZ =
Selection Text: STTAG = Key date
Selection Text: STATU = Status
Selection Text: RESET = Delete all task lists
Selection Text: PLOS = Check use of insp. lot
Selection Text: PLNTY = Type
Selection Text: PLNNR = Group
Selection Text: LTEXT = with long texts
Selection Text: LOEKZ = Delete rec'ds marked for del
Selection Text: CNTREC = No.of task lists in test run
Selection Text: ARBPL = with work centers
Title: Reorganization of Task Lists
Text Symbol: 059 = Archive information
Text Symbol: 058 = with long texts..............
Text Symbol: 057 = with work centers............
Text Symbol: 056 = Check use of inspection lot..
Text Symbol: 055 = Delete all task lists........
Text Symbol: 054 = Key date.....................
Text Symbol: 053 = Delete records marked for del
Text Symbol: 052 = Test run (w/o DB update).....
Text Symbol: 051 = Status.......................
Text Symbol: 050 = Plant........................
Text Symbol: 049 = --->The allocation to a class cannot be deleted:
Text Symbol: 048 = Group........................
Text Symbol: 047 = Type.........................
Text Symbol: 046 = Records filed.
Text Symbol: 045 = >Task list type does not exist:
Text Symbol: 060 = Application.........
Text Symbol: 061 = Object..............
Text Symbol: 062 = Archive key.........
Text Symbol: 063 = No. of arch. records
Text Symbol: 064 = Requested by:
Text Symbol: 065 = on:
Text Symbol: 066 = at:
Text Symbol: 067 = COMMIT accordg. to read task lists
Text Symbol: 068 = TDate
Text Symbol: 069 = DSN.................
INCLUDE FC270T04.
INCLUDE FC27DATE.
No SAP DATABASE tables are accessed within this REPORT code!
TCA01_READ CALL FUNCTION 'TCA01_READ' EXPORTING plnty = plko_tab-plnty spras = sy-langu IMPORTING struct = tca01 EXCEPTIONS no_entry = 01.
QPSE_CHECK_PLAN_USED_IN_LOT CALL FUNCTION 'QPSE_CHECK_PLAN_USED_IN_LOT' EXPORTING i_plnal = planko-plnal i_plnnr = planko-plnnr i_plnty = planko-plnty i_zaehl = planko-zaehl IMPORTING e_plan_used = flg-used_in_lot.
RKZ_CLOSE_SEQ_FILE CALL FUNCTION 'RKZ_CLOSE_SEQ_FILE'.
CP_VB_CHANGEDOCUMENT_CLOSE CALL FUNCTION 'CP_VB_CHANGEDOCUMENT_CLOSE' EXPORTING date_of_change = sy-datum objectclass = chng_objectclass objectid = chng_objectid tcode = sy-tcode time_of_change = sy-uzeit username = sy-uname.
TCA09_READ CALL FUNCTION 'TCA09_READ' EXPORTING plnaw = tca01-plnaw IMPORTING struct = tca09 EXCEPTIONS no_entry = 01.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = tca09-idalt language = sy-langu name = thead-tdname object = tca09-objalt IMPORTING header = thead TABLES lines = txt_tab EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = tca09-idseq language = sy-langu name = thead-tdname object = tca09-objseq IMPORTING header = thead TABLES lines = txt_tab EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = tca09-idopr language = sy-langu name = thead-tdname object = tca09-objopr IMPORTING header = thead TABLES lines = txt_tab EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = tca09-idfhm language = sy-langu name = thead-tdname object = tca09-objfhm IMPORTING header = thead TABLES lines = txt_tab EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = 'QM' language = sy-langu name = thead-tdname object = 'QSS' IMPORTING header = thead TABLES lines = txt_tab EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = 'QN' language = sy-langu name = thead-tdname object = 'QSS' IMPORTING header = thead TABLES lines = txt_tab EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = tca09-idphas language = sy-langu name = thead-tdname object = tca09-objphas IMPORTING header = thead TABLES lines = txt_tab EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.
CALL FUNCTION 'READ_TEXT' EXPORTING object = tca09-objfeav id = tca09-idfeav language = sy-langu name = thead-tdname IMPORTING header = thead TABLES lines = txt_tab EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.
CZ_VB_MAPL_POST CALL FUNCTION 'CZ_VB_MAPL_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc count_max = rcobt-zaehl_ma TABLES matpl = matpl mapl_old = mapl_old.
CZ_VB_EAPL_POST CALL FUNCTION 'CZ_VB_EAPL_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc count_max = rcobt-zaehl_eq TABLES equpl = equpl eapl_old = eapl_old.
CP_TX_PLKO_DELETE CALL FUNCTION 'CP_TX_PLKO_DELETE' EXPORTING plkob_imp = planko plnaw_imp = tca01-plnaw.
CLFM_DELETE_CLASSIFICATION CALL FUNCTION 'CLFM_DELETE_CLASSIFICATION' EXPORTING echt_lauf = 'X' object = rmclf_objek table = 'PLKO' type = ' ' IMPORTING anz_ausp = anz_ausp anz_kssk = anz_kssk EXCEPTIONS foreign_lock = 01 not_deleted = 02 system_failure = 03 table_not_found = 04.
CP_VB_PLKO_POST CALL FUNCTION 'CP_VB_PLKO_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc count_max = rcpbt-zaehl_ko TABLES planko = planko plko_old = plko_old.
CP_VB_PLFL_POST CALL FUNCTION 'CP_VB_PLFL_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc count_max = rcpbt-zaehl_fl TABLES planfl = planfl plfl_old = plfl_old.
CP_TX_PLFL_DELETE CALL FUNCTION 'CP_TX_PLFL_DELETE' EXPORTING plflb_imp = planfl plnaw_imp = tca01-plnaw.
CP_VB_PLAS_POST CALL FUNCTION 'CP_VB_PLAS_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc * count_max = rcpbt-zaehl_as TABLES planas = planas plas_old = plas_old.
CP_VB_PLPO_POST CALL FUNCTION 'CP_VB_PLPO_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc count_max = rcpbt-zaehl_po TABLES planpo = planpo plpo_old = plpo_old.
CP_TX_PLPO_DELETE CALL FUNCTION 'CP_TX_PLPO_DELETE' EXPORTING plpob_imp = planpo plnaw_imp = tca01-plnaw.
CM_VB_PLMZ_POST CALL FUNCTION 'CM_VB_PLMZ_POST' IN UPDATE TASK EXPORTING count_max = rcmbt-count_mz aeb_kz = tca01-flg_doc TABLES planmz = planmz plmz_old = plmz_old.
CI_VB_PLWP_POST CALL FUNCTION 'CI_VB_PLWP_POST' IN UPDATE TASK EXPORTING count_max = riebt-count_wp aeb_kz = tca01-flg_doc TABLES planwp = planwp plwp_old = plwp_old.
CF_VB_PLFH_POST CALL FUNCTION 'CF_VB_PLFH_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc TABLES planfh_tab = planfh plfh_old = plfh_old.
CF_BT_ROUT_FHM_FROM_PLFHB_FILL CALL FUNCTION 'CF_BT_ROUT_FHM_FROM_PLFHB_FILL' EXPORTING plfhb_imp = planfh IMPORTING plfhd_exp = plfhd EXCEPTIONS fhm_master_not_found = 01.
CF_TX_ROUT_DELETE CALL FUNCTION 'CF_TX_ROUT_DELETE' EXPORTING plfhd_in = plfhd.
CQ_VB_PLMK_POST CALL FUNCTION 'CQ_VB_PLMK_POST' IN UPDATE TASK EXPORTING i_aeb_kz = tca01-flg_doc TABLES planmk = planmk plmk_old = plmk_old.
CP_TX_QSS_DELETE CALL FUNCTION 'CP_TX_QSS_DELETE' EXPORTING id = 'QM' language = planmk-ltextspr plmk_imp = planmk.
CP_TX_QSS_DELETE CALL FUNCTION 'CP_TX_QSS_DELETE' EXPORTING id = 'QN' language = planmk-ltextspr plmk_imp = planmk.
CQ_VB_PLMW_POST CALL FUNCTION 'CQ_VB_PLMW_POST' IN UPDATE TASK EXPORTING i_aeb_kz = tca01-flg_doc TABLES planmw = planmw plmw_old = plmw_old.
CN_VB_PLAB_POST CALL FUNCTION 'CN_VB_PLAB_POST' IN UPDATE TASK EXPORTING count_max = rcnbt-count_aob aeb_kz = tca01-flg_doc TABLES planaob = planaob plab_old = plab_old.
CN_VB_PLTX_POST CALL FUNCTION 'CN_VB_PLTX_POST' IN UPDATE TASK EXPORTING count_max = rcnbt-count_txt aeb_kz = tca01-flg_doc TABLES plantxt = plantxt pltx_old = pltx_old.
C2_VB_PLPH_POST CALL FUNCTION 'C2_VB_PLPH_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc TABLES planph_tab = planph plph_old = plph_old.
C2_TX_PLPH_DELETE * CALL FUNCTION 'C2_TX_PLPH_DELETE' * EXPORTING * plnaw_imp = tca01-plnaw * PLPHB_Imp = planph.
C2_VB_PLFT_POST CALL FUNCTION 'C2_VB_PLFT_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc TABLES planft_tab = planft plft_old = plft_old.
C2_TX_PLFT_DELETE * CALL FUNCTION 'C2_TX_PLFT_DELETE' * EXPORTING * PLNAW_IMP = TCA01-PLNAW * PLFTB_IMP = PLANFT.
C2_VB_PLFV_POST CALL FUNCTION 'C2_VB_PLFV_POST' IN UPDATE TASK EXPORTING aeb_kz = tca01-flg_doc TABLES planfv_tab = planfv plfv_old = plfv_old.
C2_TX_PLFV_DELETE CALL FUNCTION 'C2_TX_PLFV_DELETE' EXPORTING plnaw_imp = tca01-plnaw plfvb_imp = planfv.
ENQUEUE_EPPLKO CALL FUNCTION 'ENQUEUE_EPPLKO' EXPORTING plnty = planko-plnty plnnr = planko-plnnr EXCEPTIONS foreign_lock = 01 system_failure = 02.
CP_DB_MAPL_READ_BY_PLNNR CALL FUNCTION 'CP_DB_MAPL_READ_BY_PLNNR' EXPORTING datub = date-max_grg datuv = date-min_grg plnnr = plko_tab-plnnr plnty = plko_tab-plnty IMPORTING zaehl_max = rcobt-zaehl_ma zkriz_max = rcobt-zkriz_ma TABLES matpl = matpl EXCEPTIONS no_records = 01.
CP_DB_EAPL_READ_BY_PLNNR CALL FUNCTION 'CP_DB_EAPL_READ_BY_PLNNR' EXPORTING datub = date-max_grg datuv = date-min_grg plnnr = plko_tab-plnnr plnty = plko_tab-plnty IMPORTING zaehl_max = rcobt-zaehl_eq zkriz_max = rcobt-zkriz_ma TABLES equpl = equpl EXCEPTIONS no_records = 01.
CP_DB_PLKO_READ CALL FUNCTION 'CP_DB_PLKO_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING plnal_max = rcpbt-plnal_max zaehl_max = rcpbt-zaehl_ko TABLES planko = planko EXCEPTIONS no_records = 1.
CP_DB_PLFL_READ CALL FUNCTION 'CP_DB_PLFL_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max = rcpbt-zaehl_fl TABLES planfl = planfl EXCEPTIONS no_records = 1.
CP_DB_PLAS_READ CALL FUNCTION 'CP_DB_PLAS_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max = rcpbt-zaehl_as TABLES planas = planas EXCEPTIONS no_records = 1.
CP_DB_PLPO_READ CALL FUNCTION 'CP_DB_PLPO_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING plnkn_max = rcpbt-plnkn_max zaehl_max = rcpbt-zaehl_po TABLES planpo = planpo EXCEPTIONS no_records = 1.
CM_DB_PLMZ_READ CALL FUNCTION 'CM_DB_PLMZ_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max = rcmbt-count_mz TABLES planmz = planmz EXCEPTIONS no_records = 1.
CI_DB_PLWP_READ CALL FUNCTION 'CI_DB_PLWP_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max = riebt-count_wp TABLES planwp = planwp EXCEPTIONS no_records = 1.
CF_DB_PLFH_READ CALL FUNCTION 'CF_DB_PLFH_READ' EXPORTING datub = date-max_grg datuv = date-min_grg plnnr = plko_tab-plnnr plnty = plko_tab-plnty IMPORTING count_max = rcfbt-zaehl_fh pzlfh_max = rcfbt-pzlfh_max TABLES planfh = planfh.
CQ_DB_PLMK_READ CALL FUNCTION 'CQ_DB_PLMK_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max_plmk = rcqbt-zaehl_mk TABLES planmk = planmk EXCEPTIONS no_records = 1.
CQ_DB_PLMW_READ CALL FUNCTION 'CQ_DB_PLMW_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max_plmw = rcqbt-zaehl_mw TABLES planmw = planmw EXCEPTIONS no_records = 1.
CN_DB_PLAB_READ CALL FUNCTION 'CN_DB_PLAB_READ' EXPORTING datub = date-max_grg datuv = date-min_grg plnnr = plko_tab-plnnr plnty = plko_tab-plnty IMPORTING zaehl_max = rcnbt-count_aob TABLES planaob = planaob EXCEPTIONS no_records = 1.
CN_DB_PLTX_READ CALL FUNCTION 'CN_DB_PLTX_READ' EXPORTING datub = date-max_grg datuv = date-min_grg plnnr = plko_tab-plnnr plnty = plko_tab-plnty TABLES plantxt = plantxt EXCEPTIONS no_records = 1.
C2_DB_PLFT_READ CALL FUNCTION 'C2_DB_PLFT_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max = rc2bt-zaehl_ft TABLES planft = planft EXCEPTIONS no_records = 1.
C2_DB_PLFV_READ CALL FUNCTION 'C2_DB_PLFV_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max = rc2bt-zaehl_fv TABLES planfv = planfv EXCEPTIONS no_records = 1.
C2_DB_PLPH_READ CALL FUNCTION 'C2_DB_PLPH_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max = rc2bt-zaehl_ph TABLES planph = planph EXCEPTIONS no_records = 1.
C2_DB_PLFV_READ CALL FUNCTION 'C2_DB_PLFV_READ' EXPORTING plnty = plko_tab-plnty plnnr = plko_tab-plnnr datuv = date-min_grg datub = date-max_grg IMPORTING zaehl_max = rc2bt-zaehl_fv TABLES planfv = planfv EXCEPTIONS no_records = 1.
ARCHIVES_INIT CALL FUNCTION 'ARCHIVES_INIT' EXPORTING i_appli = tr01-appli i_objct = tr01-objct i_rpath = rpath IMPORTING e_arkey = sys_arkey e_fname = sys_fname e_dsn = dsn e_datum = sys_datum e_uzeit = sys_uzeit TABLES t_fr01s = ar01s.
RKZ_OPEN_SEQ_FILE CALL FUNCTION 'RKZ_OPEN_SEQ_FILE' EXPORTING name = dsn option = 'O'.
CP_VB_CHANGEDOCUMENT_OPEN CALL FUNCTION 'CP_VB_CHANGEDOCUMENT_OPEN' IN UPDATE TASK EXPORTING objectclass = chng_objectclass objectid = chng_objectid planned_change_number = chng_planchngnr.
RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING length = recsize name = dsn wa = wa EXCEPTIONS cb_not_open = 01 end_of_file = 02 length_zero = 03.
RKZ_WRITE_HEADER_RF * CALL FUNCTION 'RKZ_WRITE_HEADER_RF' * EXPORTING * HEADER = ARCHIVE_HEADER * NAME = DSN * EXCEPTIONS * CB_NOT_OPEN = 01.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'MAPLB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'EAPLB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLKOB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLFLB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLASB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLABB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLTXB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLPOB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLFHB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLMZB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLPHB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLFTB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLFVB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLWPB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLMKB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'PLMWB'.
RKZ_WRITE_HEADER_N CALL FUNCTION 'RKZ_WRITE_HEADER_N' EXPORTING dsn = dsn name = 'TLINE'.
ARCHIVES_UPDT CALL FUNCTION 'ARCHIVES_UPDT' EXPORTING i_appli = tr01-appli i_objct = tr01-objct i_arkey = sys_arkey i_azahl = cnt-arch_ins.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RCPREO04 or its description.