PSARCHPN 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 PSARCHPN 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: Report PSARCHPN
Text Symbol: P17 =
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 = Set Deletion Flag was successfully completed.
Text Symbol: T02 = Set Deletion Indicator was successfully completed.
Text Symbol: T03 = Set Deletion Flag could not be executed.
Text Symbol: T04 = Set Deletion Indicator could not be executed.
Text Symbol: T05 = Project
Text Symbol: T06 = Network
Text Symbol: T07 = Order
Text Symbol: T08 = WBS Element
Text Symbol: T09 = PS Text
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 =
Text Symbol: P02 = No objects were selected
INCLUDE PSARCTOP.
INCLUDE ARCH_PREPROC_PRG_STANDARD2.
INCLUDE RCARCFPS.
INCLUDE PSARCF02.
INCLUDE PSARCF04.
INCLUDE PSARCMSG.
No SAP DATABASE tables are accessed within this REPORT code!
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'.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = itab_selected_projects-pspid i_msgtype = '01' i_text = g_detail_text_s.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = itab_selected_projects-pspid i_msgtype = '02' i_text = g_detail_text_f.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = itab_selected_nets-aufnr i_msgtype = '01' i_text = g_detail_text_s.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = itab_selected_nets-aufnr i_msgtype = '02' i_text = g_detail_text_f.
CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
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.
CO_ZV_ORDER_POST CALL FUNCTION 'CO_ZV_ORDER_POST' EXPORTING commit_flag = space ext_flg = 'X' trans_typ = 'V' EXCEPTIONS no_change = 01 update_reject = 02.
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
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 PSARCHPN or its description.