J_7L_CORRECT_PACK2ART_ASSIGN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program creates entries for the table J_7LM09 that represent the recycling partner-dependent assignment between article and 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_PACK2ART_ASSIGN into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
J7LUTILITY6 - J_7L_CORRECT_PACK2ART_ASSIGN
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: P_VRKME = D .
Selection Text: P_VARI = D .
Selection Text: P_MATNR = D .
Selection Text: P_LAND = D .
Selection Text: P_ENTA = D .
Selection Text: P_BUKRS = D .
Selection Text: P_MODUS = Test Mode
Selection Text: LOGLEV = Log Detail
Title: Program J_7L_CORRECT_PACK2ART_ASSIGN
Text Symbol: 015 = Packaging Not Assigned:
Text Symbol: 014 = Locking Data Record Failed:
Text Symbol: 013 = Record Requires Attention:
Text Symbol: 011 = Data Record Not Changed:
Text Symbol: 009 = Data Record Saved:
Text Symbol: 008 = DB Error at:
Text Symbol: 007 = Internal Error
Text Symbol: 006 = Edit Data Record:
Text Symbol: 005 = Recycl. Partner
Text Symbol: 004 = is not created in REA.
Text Symbol: 003 = Recycling Partner Country
Text Symbol: 002 = Article (Optional) for Which Correction Is Performed
Text Symbol: 001 = Data Record Changed:
INCLUDE FJ7LMCDT.
INCLUDE J_7L_UTILITY_VAR_TOP.
INCLUDE J_7L_UTILITY_VAR_F4.
No SAP DATABASE tables are accessed within this REPORT code!
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 = p_bukrs i_land1 = land1_r i_entnr = p_enta EXCEPTIONS no_authorisation = 1 OTHERS = 2.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
ENQUEUE_EJ_7LM CALL FUNCTION 'ENQUEUE_EJ_7LM' EXPORTING mode_j_7lm01 = 'E' mandt = sy-mandt matnr = art_table-matnr variante = art_table-variante * X_MATNR = ' ' x_variante = 'X' _scope = '1' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
J_7LM_WRITE_DOCUMENT CALL FUNCTION 'J_7LM_WRITE_DOCUMENT ' IN UPDATE TASK EXPORTING objectid = objectid tcode = tcode utime = utime udate = udate username = username planned_change_number = planned_change_number object_change_indicator = cdoc_upd_object planned_or_real_changes = cdoc_planned_or_real no_change_pointers = cdoc_no_change_pointers o_j_7lm01 = *j_7lm01 n_j_7lm01 = j_7lm01 upd_j_7lm01 = upd_j_7lm01 o_j_7lm02 = *j_7lm02 n_j_7lm02 = j_7lm02 upd_j_7lm02 = upd_j_7lm02 o_j_7lm03 = *j_7lm03 n_j_7lm03 = j_7lm03 upd_j_7lm03 = upd_j_7lm03 upd_j_7lm04 = upd_j_7lm04 upd_j_7lm05 = upd_j_7lm05 upd_j_7lm06 = upd_j_7lm06 upd_j_7lm09 = upd_j_7lm09 upd_j_7lm10 = upd_j_7lm10 upd_j_7lm11 = upd_j_7lm11 upd_icdtxt_j_7lm = upd_icdtxt_j_7lm TABLES icdtxt_j_7lm = icdtxt_j_7lm xj_7lm04 = xj_7lm04 yj_7lm04 = yj_7lm04 xj_7lm05 = xj_7lm05 yj_7lm05 = yj_7lm05 xj_7lm06 = xj_7lm06 yj_7lm06 = yj_7lm06 xj_7lm09 = xj_7lm09 yj_7lm09 = yj_7lm09 xj_7lm10 = xj_7lm10 yj_7lm10 = yj_7lm10 xj_7lm11 = xj_7lm11 yj_7lm11 = yj_7lm11.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
SAP_WAPI_CREATE_EVENT CALL FUNCTION 'SAP_WAPI_CREATE_EVENT' EXPORTING object_type = /j7l/rea_bo=>rea_article object_key = object_key event = /j7l/rea_bo=>is_changed commit_work = 'X' IMPORTING return_code = return_code.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_EJ_7LM CALL FUNCTION 'DEQUEUE_EJ_7LM' EXPORTING mode_j_7lm01 = 'E' mandt = sy-mandt matnr = art_table-matnr * X_MATNR = ' ' x_variante = 'X' _scope = '1' * _SYNCHRON = ' ' * _COLLECT = ' ' .
DEQUEUE_ALL CALL FUNCTION '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.
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 J_7L_CORRECT_PACK2ART_ASSIGN or its description.
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 J_7L_CORRECT_CONDITION_BUKRS - Delete Superfluous SD/MM Condition Records in REA J_7L_CORRECT_CONDITION_BUKRS - Delete Superfluous SD/MM Condition Records in REA