SAP Reports / Programs | Logistics - General | Logistics Basic Data(LO-MD) SAP LO

MWRFCDT_COPY_BUILD_COPY_LISF01 SAP ABAP INCLUDE - Include MWRFCDT_COPY_BUILD_COPY_LISF01







MWRFCDT_COPY_BUILD_COPY_LISF01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MWRFCDT_COPY_BUILD_COPY_LISF01 into the relevant SAP transactions such as SE38 or SE80


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 MWRFCDT_COPY_BUILD_COPY_LISF01. "Basic submit
SUBMIT MWRFCDT_COPY_BUILD_COPY_LISF01 AND RETURN. "Return to original report after report execution complete
SUBMIT MWRFCDT_COPY_BUILD_COPY_LISF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include MWRFCDT_COPY_BUILD_COPY_LISF01


INCLUDES used within this REPORT MWRFCDT_COPY_BUILD_COPY_LISF01

No INCLUDES are used within this REPORT code!


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:

WRF_MATGRP_PRE_CHECK CALL FUNCTION 'WRF_MATGRP_PRE_CHECK' EXPORTING IS_WRF_MATGRP_HIER_SOURCE = gs_matgrp_hier_source IS_WRF_MATGRP_HIER_TARGET = gs_matgrp_hier_target EXCEPTIONS TIME_DEPENDENCY_DIFFERENT = 1 MULTIPLE_ARTICLE_DIFFERENT = 2 OTHERS = 3.

WRF_MATGRP_SIMU_COPY_DATA_SEL CALL FUNCTION 'WRF_MATGRP_SIMU_COPY_DATA_SEL' EXPORTING I_HIER_ID = q_hier I_NODE = q_hiernode HIER_DATE = src_date "ng/15.11.05

WRF_MATGRP_SIMU_COPY_DATA_SEL CALL FUNCTION 'WRF_MATGRP_SIMU_COPY_DATA_SEL' EXPORTING I_HIER_ID = z_hier I_NODE = q_hiernode i_parent = z_hiernode "ng/20.10.05

WRF_MATGRP_GENERAL_CHECK CALL FUNCTION 'WRF_MATGRP_GENERAL_CHECK' EXPORTING IS_WRF_MATGRP_HIER_SOURCE = gs_matgrp_hier_source IS_WRF_MATGRP_HIER_TARGET = gs_matgrp_hier_target IS_NODE_SOURCE = gs_matgrp_struc_source IS_NODE_TARGET = gs_matgrp_struc_target * HIER_DATE = gs_matgrp_struc_source-date_from hier_date_source = src_date "ng/21.11.05

WRF_MATGRP_SIMU_COPY_DATA_SEL CALL FUNCTION 'WRF_MATGRP_SIMU_COPY_DATA_SEL' EXPORTING I_HIER_ID = z_hier I_NODE = q_hiernode I_READ_MATNR = ' X' IMPORTING ET_WRF_MATGRP_STRUC = matgrp_struc_del_bf ET_WRF_MATGRP_STRUCT = matgrp_struct_del_bf ET_WRF_MATGRP_SKU = matgrp_sku_delete_buffer EXCEPTIONS ERROR = 1 OTHERS = 2.

WRF_MATGRP_GET_DIFFERENCE CALL FUNCTION 'WRF_MATGRP_GET_DIFFERENCE' EXPORTING IS_WRF_MATGRP_HIER_SOURCE = gs_matgrp_hier_source IS_WRF_MATGRP_HIER_TARGET = gs_matgrp_hier_target IS_NODE_SOURCE = gs_matgrp_struc_source IS_NODE_TARGET = gs_matgrp_struc_target hier_date_source = src_date "ng/17.11.05

WRF_MATGRP_GENERAL_CHECK CALL FUNCTION 'WRF_MATGRP_GENERAL_CHECK' EXPORTING IS_WRF_MATGRP_HIER_SOURCE = gs_matgrp_hier_source IS_WRF_MATGRP_HIER_TARGET = gs_matgrp_hier_target IS_NODE_SOURCE = gs_matgrp_struc_source IS_NODE_TARGET = gs_matgrp_struc_target I_NODE_TARGET = z_hiernode * HIER_DATE = gs_matgrp_struc_source-date_from hier_date_source = src_date "ng/21.11.05

WRF_MATGRP_GENERAL_CHECK CALL FUNCTION 'WRF_MATGRP_GENERAL_CHECK' EXPORTING IS_WRF_MATGRP_HIER_SOURCE = gs_matgrp_hier_source IS_WRF_MATGRP_HIER_TARGET = gs_matgrp_hier_target IS_NODE_SOURCE = gs_matgrp_struc_source IS_NODE_TARGET = gs_matgrp_struc_target I_NODE_TARGET = z_hiernode * HIER_DATE = gs_matgrp_struc_source-date_from hier_date_source = src_date "ng/21.11.05

WRF_MATGRP_FINAL_COPY_CHECKS CALL FUNCTION 'WRF_MATGRP_FINAL_COPY_CHECKS' EXPORTING IS_WRF_MATGRP_HIER_TARGET = gs_matgrp_hier_target I_HIERID_TARGET = z_hier CHANGING XT_MATGRP_STRUC_TARGET_UPD_O = o_matgrp_struc_upd_bf XT_MATGRP_STRUC_TARGET_UPD_N = n_matgrp_struc_upd_bf XT_MATGRP_STRUC_TARGET_DEL = matgrp_struc_del_bf XT_MATGRP_STRUC_TARGET_INS = matgrp_struc_ins_bf XT_MATGRP_SKU_TARGET_UPD_O = o_matgrp_sku_update_buffer XT_MATGRP_SKU_TARGET_UPD_N = n_matgrp_sku_update_buffer XT_MATGRP_SKU_TARGET_DEL = matgrp_sku_delete_buffer XT_MATGRP_SKU_TARGET_INS = matgrp_sku_insert_buffer X_NO_COPY = no_copy.

ENQUEUE_EWRF_MATGRP_STRC call function 'ENQUEUE_EWRF_MATGRP_STRC' EXPORTING mode_wrf_matgrp_struc = 'E' mandt = sy-mandt hier_id = q_hier node = q_hiernode x_hier_id = ' ' x_node = ' ' _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 others = 3.

WRF_MATGRP_HIER_READ call function 'WRF_MATGRP_HIER_READ' EXPORTING hier_id = z_hier IMPORTING p_matgrp_hier = matgrp_hier_w EXCEPTIONS hier_not_found = 1 others = 2.

ENQUEUE_EWRF_MATGRP_STRC call function 'ENQUEUE_EWRF_MATGRP_STRC' EXPORTING mode_wrf_matgrp_struc = 'E' mandt = sy-mandt hier_id = z_hier node = matgrp_node x_hier_id = ' ' x_node = ' ' _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 others = 3.

WRF_MATGRP_HIER_SINGLE_READ call function 'WRF_MATGRP_HIER_SINGLE_READ' EXPORTING hierid = z_hier status = active CHANGING matgrp_hier_wa = z_matgrp_hier_wa EXCEPTIONS no_database_entries = 1 others = 2.

WRF_MATGRP_STRUC_SINGLE_READ call function 'WRF_MATGRP_STRUC_SINGLE_READ' EXPORTING hierid = z_hier node = q_hiernode CHANGING xs_matgrp_struc = matgrp_struc_wa EXCEPTIONS no_database_entries = 1 others = 2.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-011 textline2 = text-012 titel = text-004 cancel_display = '' IMPORTING answer = answer.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' EXCEPTIONS OTHERS = 0.

WRF_POTB_LOGG_MAT_HIER call function 'WRF_POTB_LOGG_MAT_HIER' EXPORTING i_mat_hier_id = z_hier i_mat_hier_level = ls_matgrp_struc-tree_level it_node_data = it_node_data EXCEPTIONS error = 1 others = 2.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' EXCEPTIONS OTHERS = 0.



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