PAR_CLEANUP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to cancel or delete instances of the
If you would like to execute this report or see the full code listing simply enter PAR_CLEANUP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
ATP01 - Cancel/Delete Prod. Avail. Req.
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: DAYS = Days
Selection Text: HH = Hours
Selection Text: MM = Minutes
Selection Text: P_CANCEL = D .
Selection Text: P_DELETE = D .
Selection Text: P_UNAME = Instances Created By
Selection Text: SS = Seconds
Title: Cancel or Delete Instances of the Product Availability Requirement BO
Text Symbol: 002 = Instances Last Changed Before
Text Symbol: 003 = Confirm deletion
Text Symbol: 004 = Do you want to clean up all relevant
Text Symbol: 005 = Product Availability Requirements?
Text Symbol: 006 = User
Text Symbol: 009 = Cleanup Type
Text Symbol: 012 = Product Availability Requirements
Text Symbol: 013 = Delete
Text Symbol: S01 = Canceled instances:
Text Symbol: S02 = Deleted instances:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_DECIDE_INFO CALL FUNCTION 'POPUP_TO_DECIDE_INFO' EXPORTING textline1 = text-004 textline2 = text-005 titel = text-003 IMPORTING answer = l_answer.
PAR_DB_SELECT_FOR_DEL CALL FUNCTION 'PAR_DB_SELECT_FOR_DEL' EXPORTING iv_del_timestamp = gv_timestamp iv_uname = p_uname iv_action = iv_action IMPORTING et_par_head = lt_par_head et_par_item = lt_par_item.
PAR_DB_STATECHANGE_DB CALL FUNCTION 'PAR_DB_STATECHANGE_DB' EXPORTING iv_trguid =
-trguid iv_state = cl_atp_c=>par_state_cancelled iv_changer = sy-uname.
PAR_DB_DELETE_DB CALL FUNCTION 'PAR_DB_DELETE_DB' EXPORTING iv_trguid_to_delete =
-trguid iv_par_action = cl_atp_c=>par_action_delete.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PAR_CLEANUP - Cancel or Delete Instances of the Product Availability Requirement BO PAR_CLEANUP - Cancel or Delete Instances of the Product Availability Requirement BO PARTNER_CUSTOMIZING_40C_XPRA - XPRA for Converting Customizing for Partner Processing PARTNER_CUSTOMIZING_40C_XPRA - XPRA for Converting Customizing for Partner Processing PARTICIPANT_PRG - Program for object type HRPART_NAV : participant PARTICIPANT_PRG - Program for object type HRPART_NAV : participant