SAP Reports / Programs | Recycling Administration | Recycling Administration(IS-REA) SAP IS

J_7L_CREATE_DEC_KEY SAP ABAP Report - Generate Declaration Key for Article







J_7L_CREATE_DEC_KEY 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 the declaration keys in table J_7LM11...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_CREATE_DEC_KEY into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

J7LUTILITY15 - J_7L_CREATE_DEC_KEY


ABAP code to call this SAP report using the submit statement

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.






SUBMIT J_7L_CREATE_DEC_KEY. "Basic submit
SUBMIT J_7L_CREATE_DEC_KEY AND RETURN. "Return to original report after report execution complete
SUBMIT J_7L_CREATE_DEC_KEY VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: WF_EVENT = D .
Selection Text: P_VRKME = D .
Selection Text: P_MATNR = D .
Selection Text: P_LAND = D .
Selection Text: P_BUKRS = D .
Selection Text: P_VARI = D .
Selection Text: P_MODUS = Test Mode
Selection Text: P_ENTA = Recycling Partner
Selection Text: LOGLEV = Log Detail
Title: Generate Declaration Key for Article
Text Symbol: 022 = No Action
Text Symbol: 014 = does not use decl. key for article
Text Symbol: 010 = Error while reading from ref. art
Text Symbol: 009 = Data Record Saved:
Text Symbol: 008 = DB error at:
Text Symbol: 007 = Actions:
Text Symbol: 006 = Edit Data Record:
Text Symbol: 005 = Re.Part.
Text Symbol: 004 = is not created in REA.
Text Symbol: 003 = Re.Partner Country
Text Symbol: 002 = Article (Optional) for Which Correction Is Performed
Text Symbol: 001 = Data record changed:


INCLUDES used within this REPORT J_7L_CREATE_DEC_KEY

INCLUDE J_7L_UTILITY_VAR_TOP.
INCLUDE J_7L_UTILITY_VAR_F4.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

J_7L_F4_MATNR CALL FUNCTION 'J_7L_F4_MATNR' EXPORTING help_type = 1 dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P_MATNR-HIGH' IMPORTING selected_matnr = p_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 = 'P_MATNR-LOW' IMPORTING selected_matnr = p_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 = p_bukrs i_land1 = land1_r i_entnr = entnr_r EXCEPTIONS no_authorisation = 1 OTHERS = 2.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

J_7L_READ_ARTICLE CALL FUNCTION 'J_7L_READ_ARTICLE' EXPORTING i_matnr = ref_art-matnr i_variante = ref_art-variante 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 o_m11 = m11_tab return = return EXCEPTIONS read_error = 1 OTHERS = 2.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

J_7L_READ_ARTICLE CALL FUNCTION 'J_7L_READ_ARTICLE' EXPORTING i_matnr = art_table-matnr i_bukrs = art_table-bukrs i_land = land1 i_vrkme = art_table-vrkme i_variante = art_table-variante i_datab = art_table-datab * I_DATBI = * I_FLG_BUFFER_ON = ' ' i_flg_enque_art = 'X' "Lock during read 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 o_m11 = m11_tab return = return EXCEPTIONS read_error = 1 OTHERS = 2.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_EJ_7LM CALL FUNCTION 'DEQUEUE_EJ_7LM' EXPORTING mode_j_7lm01 = 'X' mandt = sy-mandt matnr = art_table-matnr variante = art_table-variante * X_MATNR = ' ' x_variante = 'X' _scope = '1'.

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_modus i_modus_enqueue_art = 'P' i_modus_condition = update_mode 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_tab i_m05 = m05_tab i_m06 = m06_tab i_m07 = m07_tab i_m08 = m08_tab i_m09 = m09_tab i_m10 = m10_tab i_m11 = m11_tab return = return EXCEPTIONS maintain_error = 1 OTHERS = 2.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_EJ_7LM CALL FUNCTION 'DEQUEUE_EJ_7LM' EXPORTING mode_j_7lm01 = 'X' mandt = sy-mandt matnr = art_table-matnr variante = art_table-variante * X_MATNR = ' ' x_variante = 'X' _scope = '1'.

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 = 'X' mandt = sy-mandt matnr = art_table-matnr variante = art_table-variante * X_MATNR = ' ' x_variante = 'X' _scope = '1'.

DEQUEUE_EJ_7LM CALL FUNCTION 'DEQUEUE_EJ_7LM' EXPORTING mode_j_7lm01 = 'X' mandt = sy-mandt matnr = art_table-matnr variante = art_table-variante * X_MATNR = ' ' x_variante = 'X' _scope = '1'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.



Contribute (Add Comments)

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_CREATE_DEC_KEY or its description.