SAP Reports / Programs

J_7L_ART_VERSIONING SAP ABAP Report - Article: Version Management







J_7L_ART_VERSIONING is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program supports the versioning of REA articles...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_VERSIONING 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

J7LUTILITY12 - J_7L_ART_VERSIONING


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_ART_VERSIONING. "Basic submit
SUBMIT J_7L_ART_VERSIONING AND RETURN. "Return to original report after report execution complete
SUBMIT J_7L_ART_VERSIONING 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_LAND1 = D .
Selection Text: P_BUKRS = D .
Selection Text: P_VARI = D .
Selection Text: P_STRING = Deactivate Checks
Selection Text: P_PARTV = Recycling Partner Assignment
Selection Text: P_PACKV = Packaging Assignment
Selection Text: P_MODUS = Test Mode
Selection Text: P_DATAB = New Version From:
Selection Text: LOGLEV = Log Detail
Selection Text: KON_P = Adjust Conditions
Title: Article: Version Management
Text Symbol: 022 = No Action
Text Symbol: 016 = Split Versions
Text Symbol: 015 = Selection Criteria
Text Symbol: 009 = Data record saved:
Text Symbol: 008 = DB error at:
Text Symbol: 007 = Actions:
Text Symbol: 006 = No Packaging Assigned
Text Symbol: 005 = No Partners Assigned
Text Symbol: 004 = Packaging Assignment
Text Symbol: 003 = Partner Assgmt
Text Symbol: 002 = Edit Data Record:
Text Symbol: 001 = Data rec. changed:


INCLUDES used within this REPORT J_7L_ART_VERSIONING

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 = p_land1 * 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 = art_table-matnr i_bukrs = art_table-bukrs i_land = art_table-land1 i_vrkme = art_table-vrkme i_variante = art_table-variante i_datab = p_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 = 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 = 'E' 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_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

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 = plausibility_check_mode i_copy_modus = copy_mode 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 = 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 = 'E' 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 = 'E' 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 = 'E' 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_ART_VERSIONING or its description.