J_7L_ART_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Article: Delete articles This program allows the mass maintenance of articles to be deleted...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 J_7L_ART_DELETE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
J7LUTILITY20 - Delete REA Article
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: WF_EVENT = D .
Selection Text: R_VRKME = D .
Selection Text: R_MATNR = D .
Selection Text: R_BUKRS = D .
Selection Text: P_LAND1 = D .
Selection Text: P_DATBI = D .
Selection Text: P_DATAB = D .
Selection Text: P_VARI = D .
Selection Text: P_TEST = Test Run
Selection Text: P_LVORM = Set Deletion Flag
Selection Text: P_DELET = Delete Selection
Selection Text: P_DCOMPL = Delete Completely
Selection Text: P_COND = Update Conditions
Title: Delete REA Article
Text Symbol: 020 = BOMs
Text Symbol: 019 = Recycl. Partner
Text Symbol: 018 = Packaging
Text Symbol: 017 = Reference Art.
Text Symbol: 016 = Article Deleted Successfully:
Text Symbol: 015 = DB error at:
Text Symbol: 014 = Editing of Article
Text Symbol: 013 = Activity Ended
Text Symbol: 012 = (Test Run)
Text Symbol: 011 = Cancel
Text Symbol: 010 = Continue
Text Symbol: 009 = Error When Deleting
Text Symbol: 008 = Flagged for Deletion
Text Symbol: 007 = Delete From
Text Symbol: 006 = Article Activity:
Text Symbol: 005 = Set Deletion Flag
Text Symbol: 004 = This is not a test run: All selected articles flagged for deletion will be deleted from the database.
Text Symbol: 003 = Deletion Options
Text Symbol: 002 = Validity
Text Symbol: 001 = Article Master
INCLUDE FJ7LMCDT. "CHANGE DOCUMENTS
INCLUDE FJ7LMCDC. "CHANGE DOCUMENTS
INCLUDE J_7L_UTILITY_VAR_TOP.
INCLUDE J_7L_UTILITY_VAR_F4.
No SAP DATABASE tables are accessed within this REPORT code!
J_7L_F4_MATNR CALL FUNCTION 'J_7L_F4_MATNR' EXPORTING help_type = 1 dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'R_MATNR-HIGH' IMPORTING selected_matnr = r_matnr-high EXCEPTIONS help_type_not_specified = 1 error_in_help_values_get = 2 OTHERS = 3.
J_7L_F4_MATNR CALL FUNCTION 'J_7L_F4_MATNR' EXPORTING help_type = 1 dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'R_MATNR-LOW' IMPORTING selected_matnr = r_matnr-low EXCEPTIONS help_type_not_specified = 1 error_in_help_values_get = 2 OTHERS = 3.
J_7L_CHECK_AUTHORITY_RANGE CALL FUNCTION 'J_7L_CHECK_AUTHORITY_RANGE' EXPORTING i_object = bobject "Interface i_activity = '02' "change/display TABLES i_bukrs = r_bukrs i_land1 = land1_r * i_entnr = EXCEPTIONS no_authorisation = 1 OTHERS = 2.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = sy-title text_question = text-004 text_button_1 = text-010 icon_button_1 = 'ICON_EXECUTE_OBJECT' text_button_2 = text-011 icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = ' ' IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.
J_7L_READ_ARTICLE CALL FUNCTION 'J_7L_READ_ARTICLE' EXPORTING i_matnr = ls_art_sel-matnr i_bukrs = ls_art_sel-bukrs i_land = ls_art_sel-land1 i_vrkme = ls_art_sel-vrkme i_variante = ls_art_sel-variante * i_datab = p_datab * i_datbi = p_datbi * I_FLG_BUFFER_ON = ' ' i_flg_enque_art = 'X' TABLES o_m01 = m01_tab o_m02 = m02_tab o_m03 = m03_tab o_m04 = m04_tab o_m05 = m05_tab o_m06 = m06_tab o_m07 = m07_tab o_m08 = m08_tab o_m09 = m09_tab o_m10 = m10_tab return = lt_return EXCEPTIONS read_error = 1 OTHERS = 2.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'. "refernce/normal article
J_7L_MAINTAIN_ARTICLE CALL FUNCTION 'J_7L_MAINTAIN_ARTICLE' EXPORTING i_flg_ch_doc_on = 'X' * I_FLG_CONST_CHECK_ON = ' ' i_test_modus_on = p_test i_modus_enqueue_art = 'P' i_modus_condition = l_cond_up i_modus_update = 'S' i_modus_plausib_check = 'A' i_copy_modus = 'X' i_wf_event = wf_mode TABLES i_m01 = m01_tab i_m02 = m02_tab i_m03 = m03_tab i_m04 = m04_up_tab i_m05 = m05_up_tab i_m06 = m06_up_tab i_m07 = m07_tab i_m08 = m08_tab i_m09 = m09_up_tab i_m10 = m10_up_tab return = lt_return EXCEPTIONS maintain_error = 1 OTHERS = 2.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'. "refernce/normal article
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
J_7L_ART_DELETE - Delete REA Article J_7L_ART_DELETE - Delete REA Article J_7L_ART_DATA_MIGRATION - Article: Data Migration J_7L_ART_DATA_MIGRATION - Article: Data Migration J_7L_ART_ATTRIBUTE_MOVE - Migration of Attribute Values When Dependency Changed J_7L_ART_ATTRIBUTE_MOVE - Migration of Attribute Values When Dependency Changed