COM_PRODUCT_DELETE_ALL 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 COM_PRODUCT_DELETE_ALL 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: YES = Yes
Selection Text: P_USAGE = Check Product Usage
Selection Text: P_TEST = Simulation - No Deletion
Selection Text: P_SEND = Distr. Deletions via MW(Yes=X)
Selection Text: NO = No
Title: Deletion of All Product Master Data
Text Symbol: 021 = Product header data has been deleted
Text Symbol: 020 = Indices and user settings have been deleted
Text Symbol: 019 = Deletion distributed via Middleware
Text Symbol: 018 = Favoriten have been deleted
Text Symbol: 017 = Product status has been deleted
Text Symbol: 016 = CRM-specific data has been deleted
Text Symbol: 015 = Multivalue attributes have been deleted
Text Symbol: 014 = Interlinkages have been deleted
Text Symbol: 013 = Set types have been deleted
Text Symbol: 012 = Extensions have been deleted
Text Symbol: 011 = Product master has been locked
Text Symbol: 009 = Products and individual objects deleted
Text Symbol: 008 = For details see usage log; Transaction SLG1, external identification =
Text Symbol: 007 = errors occured during the usage check
Text Symbol: 006 = A total of
Text Symbol: 005 = No products or individual objects deleted
Text Symbol: 004 = Delete all products and individual objects?
Text Symbol: 003 = individual objects?
Text Symbol: 002 = Delete all products
Text Symbol: 001 = Delete Product Master
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DEQUEUE_E_COM_PRODUCT CALL FUNCTION 'DEQUEUE_E_COM_PRODUCT'.
CRM_STATUS_DELETE_MULTI CALL FUNCTION 'CRM_STATUS_DELETE_MULTI' TABLES objnr_table = it_object.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = cv_function_module EXCEPTIONS function_not_exist = 1 OTHERS = 2.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = cv_db_tab EXCEPTIONS not_found = 1 OTHERS = 2.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING defaultoption = 'N' textline1 = textline1 textline2 = textline2 titel = title IMPORTING answer = answer EXCEPTIONS OTHERS = 0.
ENQUEUE_E_COM_PRODUCT CALL FUNCTION 'ENQUEUE_E_COM_PRODUCT' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
COM_PR_CORE_BUSOBJECT_PRDTYPE CALL FUNCTION 'COM_PR_CORE_BUSOBJECT_PRDTYPE' EXPORTING iv_product_type = ls_product_type-product_type iv_is_ind_object = space IMPORTING ev_bus_object = lv_busobject.
COM_PR_CORE_BUSOBJECT_PRDTYPE CALL FUNCTION 'COM_PR_CORE_BUSOBJECT_PRDTYPE' EXPORTING iv_product_type = gc_product_type-material iv_is_ind_object = on IMPORTING ev_bus_object = lv_busobject.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = lv_db_tab EXCEPTIONS not_found = 1 OTHERS = 2.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = lv_db_tab EXCEPTIONS not_found = 1 OTHERS = 2.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = lv_db_tab EXCEPTIONS not_found = 1 OTHERS = 2.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
CALL FUNCTION 'COM_IL_CUST_RELTYPE_READ' EXPORTING iv_objtype = gc_bus_objtype_bus1178 iv_direction = 'S' IMPORTING et_reltype = lt_reltype.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = lt_ilstruc-base EXCEPTIONS not_found = 1 OTHERS = 2.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = cv_function_module EXCEPTIONS function_not_exist = 1 OTHERS = 2.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_logheader IMPORTING e_log_handle = lv_loghandle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = lv_loghandle IMPORTING e_statistics = ls_info EXCEPTIONS log_not_found = 1 OTHERS = 2.
BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = lt_loghandle EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = iv_text i_output_immediately = iv_immediately.
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 COM_PRODUCT_DELETE_ALL or its description.