SAP Reports / Programs | Production Planning and Control | Production Orders | Order Closing(PP-SFC-CPL) SAP PP

PARCHDI1 SAP ABAP INCLUDE - Program Include for Deletion Program of P-Order







PARCHDI1 is a standard ABAP INCLUDE 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 PARCHDI1 into the relevant SAP transactions such as SE38 or SE80


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 PARCHDI1. "Basic submit
SUBMIT PARCHDI1 AND RETURN. "Return to original report after report execution complete
SUBMIT PARCHDI1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program Include for Deletion Program of P-Order


INCLUDES used within this REPORT PARCHDI1

INCLUDE ARCH_DELETE_PRG_STANDARD1.


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:

CO_BADI_GET_BUSINESS_ADD_IN CALL FUNCTION 'CO_BADI_GET_BUSINESS_ADD_IN' EXPORTING i_badi_name = 'WORKORDER_UPDATE' CHANGING c_badi_instance = l_badi_wo_update EXCEPTIONS not_active = 1 OTHERS = 2.

CO_BADI_GET_BUSINESS_ADD_IN CALL FUNCTION 'CO_BADI_GET_BUSINESS_ADD_IN' EXPORTING i_badi_name = 'ARC_P_ORDER_WRITE' CHANGING c_badi_instance = l_badi_arc_p_order_write EXCEPTIONS not_active = 1 OTHERS = 2.

K_TOTAL_INIT CALL FUNCTION 'K_TOTAL_INIT' EXPORTING i_obj_delete_flag = 'X'.

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = arch_object test_mode = p_deltst IMPORTING archive_handle = actual_handle EXCEPTIONS OTHERS = 1.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = arch_object IMPORTING commit_count_for_delete_prg = pp_objcnt.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = actual_handle EXCEPTIONS end_of_file = 1.

P_ORDER_ARCHIVE_GET_TABLE CALL FUNCTION 'P_ORDER_ARCHIVE_GET_TABLE' EXPORTING archive_handle = actual_handle record_structure = con_caufvd TABLES t_data = lt_caufvd.

ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = actual_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK' EXCEPTIONS OTHERS = 1.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = actual_handle.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = actual_handle.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = actual_handle TABLES table = statistics_tab.



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