J_7L_PACK_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Packaging: Delete Packaging This program allows the mass maintenance of packaging 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_PACK_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
J7LUTILITY21 - Delete REA Packaging
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_VRPNR = D .
Selection Text: P_VARI = D .
Selection Text: P_DATBI = D .
Selection Text: P_DATAB = D .
Selection Text: P_TEST = Test Run
Selection Text: P_LVORM = Set Deletion Flag
Selection Text: P_DELET = Delete Selection
Selection Text: P_COND = Update Conditions
Title: Delete REA Packaging
Text Symbol: 020 = This is NOT a test run. A deletion flag will be set in the database for every selected packaging.
Text Symbol: 019 = Recycling Partner of Fraction
Text Symbol: 018 = Recycl. Partner
Text Symbol: 017 = Fractions
Text Symbol: 016 = Packaging Successfully Deleted:
Text Symbol: 015 = DB error at:
Text Symbol: 014 = Error Reading
Text Symbol: 013 = Processing Completed
Text Symbol: 012 = Update Options
Text Symbol: 011 = Cancel
Text Symbol: 010 = Continue
Text Symbol: 009 = Error When Deleting:
Text Symbol: 008 = Editing Packaging:
Text Symbol: 007 = Records Deleted:
Text Symbol: 006 = Delete Packaging:
Text Symbol: 005 = Set Deletion Flag
Text Symbol: 004 = This is NOT a test run. Every selected packaging flagged for deletion will be deleted from the database.
Text Symbol: 003 = Deletion Options
Text Symbol: 002 = Validity
Text Symbol: 001 = Packaging Master
INCLUDE FJ7LVCDC.
INCLUDE J_7L_UTILITY_VAR_TOP.
INCLUDE J_7L_UTILITY_VAR_F4.
No SAP DATABASE tables are accessed within this REPORT code!
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.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = sy-title text_question = text-020 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_PACK CALL FUNCTION 'J_7L_READ_PACK' EXPORTING i_vrpnr = ls_pack_sel-vrpnr i_variante = ls_pack_sel-variante * i_datab = p_datab * i_datbi = p_datbi * I_FLG_BUFFER_ON = ' ' i_flg_enque_pack = 'X' TABLES o_v01 = v01_tab o_v01t = v01t_tab o_v02 = v02_tab o_v03 = v03_tab o_v08 = v08_tab return = lt_return EXCEPTIONS read_error = 1 OTHERS = 2.
DEQUEUE_EJ_7LV CALL FUNCTION 'DEQUEUE_EJ_7LV' EXPORTING mode_j_7lv01 = 'X' mandt = sy-mandt vrpnr = ls_pack_sel-vrpnr variante = ls_pack_sel-variante x_variante = 'X' _scope = '1'.
J_7L_MAINTAIN_PACK CALL FUNCTION 'J_7L_MAINTAIN_PACK' EXPORTING i_flg_ch_doc_on = 'X' i_flg_const_check_on = 'X' i_test_modus_on = p_test i_modus_enqueue_pack = 'P' * I_MODUS_PROPAGATION = 'N' i_modus_condition = l_cond_up i_modus_plausib_check = 'N' i_copy_modus = 'X' i_wf_event = wf_mode TABLES i_v01 = v01_tab i_v01t = v01t_tab i_v02 = v02_up_tab i_v03 = v03_up_tab i_v08 = v08_up_tab return = lt_return EXCEPTIONS maintain_error = 1 OTHERS = 2.
DEQUEUE_EJ_7LV CALL FUNCTION 'DEQUEUE_EJ_7LV' EXPORTING mode_j_7lv01 = 'X' mandt = sy-mandt vrpnr = ls_pack_sel-vrpnr variante = ls_pack_sel-variante x_variante = 'X' _scope = '1'.
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_PACK_DELETE - Delete REA Packaging J_7L_PACK_DELETE - Delete REA Packaging J_7L_PACK_DATA_MIGRATION - Packaging: Data Migration J_7L_PACK_DATA_MIGRATION - Packaging: Data Migration J_7L_MOVE_VPART_V01_V03 - Supports Switch to Recycling Partner-Dependent Packaging Types J_7L_MOVE_VPART_V01_V03 - Supports Switch to Recycling Partner-Dependent Packaging Types