PSARCHPRECHECK 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 PSARCHPRECHECK 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: SET_LOEV = Set deletion flag
Selection Text: SET_LOEK = Set deletion indicator
Selection Text: RNG_PROJ = Project
Selection Text: RNG_NET = Network
Selection Text: P_PROT_O = Log Output
Selection Text: P_PROT = Detail Log
Selection Text: P_PRETST = Test run
Selection Text: P_PREPRD = Production
Selection Text: HEA_ASSI = WBS assign. to ntwk header
Selection Text: ACT_ASSI = WBS assign. to ntwk activity
Title: Program PSARCHPRECHECK
Text Symbol: P19 =
Text Symbol: P96 =
Text Symbol: P97 = & could only be executed partially
Text Symbol: P98 = & was successfully completed
Text Symbol: P99 = & could not be executed
Text Symbol: T01 = To set Deletion Flag is possible.
Text Symbol: T02 = To set Deletion Flag is not possible.
Text Symbol: T03 = To set Deletion Flag is not possible.
Text Symbol: T04 = To set Deletion Indicator is not possible.
Text Symbol: T05 = Project
Text Symbol: T06 = Network
Text Symbol: T07 = Order
Text Symbol: T08 = WBS Element
Text Symbol: T09 = PS Text
Text Symbol: T10 = Inactive
Text Symbol: P17 =
Text Symbol: 005 = &1% of data objects processed (&2 of &3)
Text Symbol: 100 = Options
Text Symbol: 101 = Project $1
Text Symbol: 102 = Networks for project
Text Symbol: 103 = Archiving Session Note
Text Symbol: 104 =
Text Symbol: 105 = Test run
Text Symbol: DFL = Set deletion flag
Text Symbol: DIN = Set deletion indicator
Text Symbol: P00 = Selected projects and networks
Text Symbol: P01 =
INCLUDE PSARCTOP.
INCLUDE ARCH_PREPROC_RELOAD_PRG_FORMS.
INCLUDE RCARCFPS.
INCLUDE PSARCF02.
INCLUDE PSARCF04.
INCLUDE PSARCMSG.
No SAP DATABASE tables are accessed within this REPORT code!
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_PROTOCOL_COLLECT_APPL * CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' * EXPORTING * i_msgtype = '02' * i_text = text-p02.
ARCHIVE_PROTOCOL_WRITE * CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
CO_BT_CAUFV_READ_WITH_KEY CALL FUNCTION 'CO_BT_CAUFV_READ_WITH_KEY' EXPORTING AUFNR_ACT = itab_selected_nets-aufnr IMPORTING AUTYP_EXP = loc_autyp CAUFVD_EXP = loc_caufvd EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .
PS_ORDER_SET_DELETION_FLAGS CALL FUNCTION 'PS_ORDER_SET_DELETION_FLAGS' EXPORTING check_only = check_only set_loevm = set_loev set_loekz = set_loek TABLES t_order_error_occurred = order_error_tab.
PS_PROJECT_SET_DELETION_FLAGS CALL FUNCTION 'PS_PROJECT_SET_DELETION_FLAGS' EXPORTING check_only = check_only set_loevm = set_loev set_loekz = set_loek TABLES t_project_error_occurred = project_error_tab.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-005 * &1% of data objects processed (&2 of &3) i_processed = iv_cnt_pro i_total = iv_cnt_tot i_output_immediately = iv_immediate IMPORTING e_progress_sent = lv_sent.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_BYPASSING_BUFFER = 'X' I_CALLBACK_PROGRAM = g_progid I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE' I_CALLBACK_HTML_TOP_OF_PAGE = 'HTML_TOP_OF_PAGE' IS_LAYOUT = gd_layout IT_FIELDCAT = list_fcat_msg[] I_DEFAULT = 'X' I_SAVE = 'A' IT_SORT = GT_SORT TABLES T_OUTTAB = lt_control_msg_tab EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = t_header.
MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = LOC_MSG_TAB.
CONVERSION_EXIT_ABPSN_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT' EXPORTING INPUT = T_MSG-PS_PROJ IMPORTING OUTPUT = T_MSG-PS_PROJ.
TR_SPLIT_TEXT CALL FUNCTION 'TR_SPLIT_TEXT' EXPORTING IV_TEXT = msgv1 IV_LEN = 50 IMPORTING ET_LINES = t_msgs.
MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = new_mesg_tt .
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 PSARCHPRECHECK or its description.