SAP Reports / Programs | Sales and Distribution | Basic Functions | Availability Check(SD-BF-AC) SAP SD

PAR_CLEANUP SAP ABAP Report - Cancel or Delete Instances of the Product Availability Requirement BO







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 Product Availability Requirement business object...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

ATP01 - Cancel/Delete Prod. Avail. Req.


ABAP code to call this SAP report using the submit statement

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.






SUBMIT PAR_CLEANUP. "Basic submit
SUBMIT PAR_CLEANUP AND RETURN. "Return to original report after report execution complete
SUBMIT PAR_CLEANUP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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:


INCLUDES used within this REPORT PAR_CLEANUP

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

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 PAR_CLEANUP or its description.