SAP Reports / Programs

J_7L_ART_DATA_MIGRATION SAP ABAP Report - Article: Data Migration







J_7L_ART_DATA_MIGRATION 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 data migration for 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_DATA_MIGRATION 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

J7LUTILITY13 - J_7L_ART_DATA_MIGRATION


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_DATA_MIGRATION. "Basic submit
SUBMIT J_7L_ART_DATA_MIGRATION AND RETURN. "Return to original report after report execution complete
SUBMIT J_7L_ART_DATA_MIGRATION 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: P_STRING = Deactivate Checks
Selection Text: P_VARI = D .
Selection Text: X_FUELLG = Apply Change
Selection Text: X_HDLST = Apply Change
Selection Text: X_HDLSTK = Apply Change
Selection Text: X_INFOK = Apply Change
Selection Text: X_SOKOA = Apply Change
Selection Text: X_VFLKL = Apply Change
Selection Text: X_VPARTG = Apply Change
Selection Text: X_VPARTS = Apply Change
Selection Text: Y_FUELLG = Use Field for Selection
Selection Text: Y_HDLST = Use Field for Selection
Selection Text: Y_HDLSTK = Use Field for Selection
Selection Text: Y_INFOK = Use Field for Selection
Selection Text: Y_SOKOA = Use Field for Selection
Selection Text: Y_VFLKL = Use Field for Selection
Selection Text: Y_VPARTG = Use Field for Selection
Selection Text: Y_VPARTS = Use Field for Selection
Selection Text: I_FUELLG = D .
Selection Text: I_HDLST = D .
Selection Text: I_HDLSTK = D .
Selection Text: I_INFOK = D .
Selection Text: I_SOKOA = D .
Selection Text: I_VFLKL = D .
Selection Text: I_VPARTG = D .
Selection Text: I_VPARTS = D .
Selection Text: P_BUKRS = D .
Selection Text: P_ENTNA = D .
Selection Text: P_LAND1 = D .
Selection Text: P_MATNR = D .
Selection Text: P_VRKME = D .
Selection Text: WF_EVENT = D .
Selection Text: KON_P = Adjust Conditions
Selection Text: LOGLEV = Log Detail
Selection Text: O_FUELLG = Change Content ID Key
Selection Text: O_HDLST = Change Trade Level
Selection Text: O_HDLSTK = Change Trade Level Combination
Selection Text: O_INFOK = Change Additional Info Key





Selection Text: O_SOKOA = Change Special Condition Type
Selection Text: O_VFLKL = Change Volume/Area Class
Selection Text: O_VPARTG = Change Pack.Type Wght Fee
Selection Text: O_VPARTS = Change Pack.Type Item Fee
Selection Text: P_DATAB = Version Date:
Selection Text: P_MODUS = Test Mode
Title: Article: Data Migration
Text Symbol: 001 = Data rec. changed:
Text Symbol: 002 = Edit Data Record:
Text Symbol: 003 = Create field val.M05:
Text Symbol: 004 = Create field val.M09:
Text Symbol: 007 = Re.Part.
Text Symbol: 008 = DB error at:
Text Symbol: 009 = Data record saved:
Text Symbol: 010 = is not created in REA.
Text Symbol: 011 = Change field val.M05
Text Symbol: 012 = Delete field val.M09:
Text Symbol: 013 = Change field val.M09
Text Symbol: 014 = Actions:
Text Symbol: 015 = Selection Criteria
Text Symbol: 016 = Perform Changes For:
Text Symbol: 017 = Fields to Be Changed
Text Symbol: 018 = Selection Criteria:
Text Symbol: 022 = No Action
Text Symbol: 023 = Art. Attributes
Text Symbol: 030 = Delete field val.M05:


INCLUDES used within this REPORT J_7L_ART_DATA_MIGRATION

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'.

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 = '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_ART_DATA_MIGRATION or its description.