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

WRF_CREATESHOPF02 SAP ABAP INCLUDE - Include W_CREATESHOPF02







WRF_CREATESHOPF02 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 WRF_CREATESHOPF02 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 WRF_CREATESHOPF02. "Basic submit
SUBMIT WRF_CREATESHOPF02 AND RETURN. "Return to original report after report execution complete
SUBMIT WRF_CREATESHOPF02 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 W_CREATESHOPF02


INCLUDES used within this REPORT WRF_CREATESHOPF02

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_GET_SHOPS_FOR_CATEGORY CALL FUNCTION 'WRF_GET_SHOPS_FOR_CATEGORY' EXPORTING * IF_HIERID = wrf_headcrshop2000-hier_id IF_CATEGORY = wrf_headcrshop2000-category TABLES ET_SHOPS = lt_shops.

WRF_MATGRP_STRCT_SINGLE_READ CALL FUNCTION 'WRF_MATGRP_STRCT_SINGLE_READ' EXPORTING HIERID = pi_hier_id NODE = pi_category SPRAS = sy-langu CHANGING XS_MATGRP_STRUCT = ls_catstruct EXCEPTIONS NO_DATABASE_ENTRIES = 1 OTHERS = 2.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING SHLPNAME = 'WRF_BETRWH' IMPORTING SHLP = LS_SHLP_DESCR.

F4IF_START_VALUE_REQUEST CALL FUNCTION 'F4IF_START_VALUE_REQUEST' EXPORTING SHLP = LS_SHLP_DESCR * DISPONLY = 'X' MULTISEL = 'X' IMPORTING RC = L_SUBRC TABLES RETURN_VALUES = LT_RETURN_VALUES.

WRF_F4_HIERID_VALUE_REQUEST CALL FUNCTION 'WRF_F4_HIERID_VALUE_REQUEST' IMPORTING EF_HIER_ID = lf_hierid CHANGING XT_MATGRP_HIER = gt_matgrp_hier.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING DYNAME = sy-repid DYNUMB = sy-dynnr TABLES DYNPFIELDS = lt_dynpfields EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 UNDEFIND_ERROR = 7 OTHERS = 8.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = sy-repid DYNUMB = sy-dynnr * TRANSLATE_TO_UPPER = ' ' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' * PERFORM_INPUT_CONVERSION = ' ' * DETERMINE_LOOP_INDEX = ' ' TABLES DYNPFIELDS = lt_dynpfields EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 INVALID_PARAMETER = 7 UNDEFIND_ERROR = 8 DOUBLE_CONVERSION = 9 STEPL_NOT_FOUND = 10 OTHERS = 11 .

WRF_F4_CATEGORY_VALUE_REQUEST CALL FUNCTION 'WRF_F4_CATEGORY_VALUE_REQUEST' IMPORTING EF_CATEGORY = lf_category TABLES IT_MATGRP_HIER = lt_matgrp_hier.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING DYNAME = sy-repid DYNUMB = sy-dynnr TABLES DYNPFIELDS = lt_dynpfields EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 UNDEFIND_ERROR = 7 OTHERS = 8.

WRF_MATGRP_HIERID_READ2 CALL FUNCTION 'WRF_MATGRP_HIERID_READ2' EXPORTING VKORG = pi_vkorg VTWEG = pi_vtweg CHANGING X_T_MATGRP_HIER = lt_matgrp_hier EXCEPTIONS NO_DATABASE_ENTRIES = 1 NO_DISTRIBUTION_SELECTED = 2 NO_HIERARCHY_FOUND = 3 OTHERS = 4.

WRF_MATGRP_HIERID_READ2 CALL FUNCTION 'WRF_MATGRP_HIERID_READ2' EXPORTING VKORG = ls_t001w-vkorg VTWEG = ls_t001w-vtweg CHANGING X_T_MATGRP_HIER = lt_matgrp_hier EXCEPTIONS NO_DATABASE_ENTRIES = 1 NO_DISTRIBUTION_SELECTED = 2 NO_HIERARCHY_FOUND = 3 OTHERS = 4.



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