J_7L_CORRECT_PACK_DATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report corrects data records that were logically incorrectly deleted in REA packaging...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_CORRECT_PACK_DATA 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: LOGLEV = Log Detail
Selection Text: P_DATAB = Key Date
Selection Text: P_MODUS = Test Mode
Selection Text: P_STRING = Deactivate Checks
Selection Text: P_VARI = D .
Selection Text: P_VRPNR = D .
Selection Text: WF_EVENT = D .
Title: Correction of Errors in Packaging Data
Text Symbol: 001 = Create Deletion Indic.:
Text Symbol: 002 = Edit Data Record:
Text Symbol: 008 = DB Error at:
Text Symbol: 009 = Data Record Saved:
Text Symbol: 011 = Actions:
Text Symbol: 015 = Selection Criteria
Text Symbol: 022 = No Action
INCLUDE J_7L_UTILITY_VAR_TOP.
INCLUDE J_7L_UTILITY_VAR_F4.
No SAP DATABASE tables are accessed within this REPORT code!
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
J_7L_READ_PACK CALL FUNCTION 'J_7L_READ_PACK' EXPORTING i_vrpnr = vrp_table-vrpnr i_variante = vrp_table-variante i_datab = p_datab * I_DATBI = * I_FLG_BUFFER_ON = ' ' i_flg_enque_pack = 'X' "Lock during read TABLES o_v01 = v01_tab o_v02 = v02_tab o_v03 = v03_tab o_v08 = v08_tab * O_M11 = return = return EXCEPTIONS read_error = 1 OTHERS = 2.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_EJ_7LV CALL FUNCTION 'DEQUEUE_EJ_7LV' EXPORTING mode_j_7lv01 = 'E' * mode_j_7lv02 = 'E' * mode_j_7lv03 = 'E' * mode_j_7lv06 = 'E' mandt = sy-mandt vrpnr = vrp_table-vrpnr variante = vrp_table-variante x_variante = 'X' _scope = '1'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
J_7L_MAINTAIN_PACK CALL FUNCTION 'J_7L_MAINTAIN_PACK' EXPORTING i_flg_ch_doc_on = 'X' * I_FLG_CONST_CHECK_ON = ' ' i_test_modus_on = p_modus i_modus_enqueue_pack = 'P' i_modus_condition = update_mode i_modus_update = 'S' i_modus_plausib_check = plausibility_check_mode i_copy_modus = copy_mode i_wf_event = wf_mode TABLES i_v01 = v01_tab i_v02 = v02_tab i_v03 = v03_tab i_v08 = v08_tab * I_M11 = return = return EXCEPTIONS maintain_error = 1 OTHERS = 2.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_EJ_7LV CALL FUNCTION 'DEQUEUE_EJ_7LV' EXPORTING mode_j_7lv01 = 'E' * mode_j_7lv02 = 'E' * mode_j_7lv03 = 'E' * mode_j_7lv06 = 'E' mandt = sy-mandt vrpnr = vrp_table-vrpnr variante = vrp_table-variante x_variante = 'X' * X_MATNR = ' ' _scope = '1'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_EJ_7LV CALL FUNCTION 'DEQUEUE_EJ_7LV' EXPORTING mode_j_7lv01 = 'E' * mode_j_7lv02 = 'E' * mode_j_7lv03 = 'E' * mode_j_7lv06 = 'E' mandt = sy-mandt vrpnr = vrp_table-vrpnr variante = vrp_table-variante * X_MATNR = ' ' x_variante = 'X' _scope = '1'.
DEQUEUE_EJ_7LV CALL FUNCTION 'DEQUEUE_EJ_7LV' EXPORTING mode_j_7lv01 = 'E' * mode_j_7lv02 = 'E' * mode_j_7lv03 = 'E' * mode_j_7lv06 = 'E' mandt = sy-mandt vrpnr = vrp_table-vrpnr variante = vrp_table-variante * X_MATNR = ' ' 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_CORRECT_PACK_DATA - Correction of Errors in Packaging Data J_7L_CORRECT_PACK_DATA - Correction of Errors in Packaging Data J_7L_CORRECT_PACK2ART_ASSIGN - Program J_7L_CORRECT_PACK2ART_ASSIGN J_7L_CORRECT_PACK2ART_ASSIGN - Program J_7L_CORRECT_PACK2ART_ASSIGN J_7L_CORRECT_CONDITION_RECORDS - Program J_7L_CORRECT_CONDITION_RECORDS J_7L_CORRECT_CONDITION_RECORDS - Program J_7L_CORRECT_CONDITION_RECORDS