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

RWRF_CATEGORY_TO_SHOPS SAP ABAP Report - Maintain Category to Shop Assignment







RWRF_CATEGORY_TO_SHOPS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Using this report, you can assign a category to a shop if this was not already done when the shop was created...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 RWRF_CATEGORY_TO_SHOPS 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

WRFCATEGORYSHOP - Shop/Category Assignment


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 RWRF_CATEGORY_TO_SHOPS. "Basic submit
SUBMIT RWRF_CATEGORY_TO_SHOPS AND RETURN. "Return to original report after report execution complete
SUBMIT RWRF_CATEGORY_TO_SHOPS 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_HIERID = D .
Selection Text: SO_SHOP = D .
Title: Maintain Category to Shop Assignment
Text Symbol: 001 = Y
Text Symbol: 002 = No
Text Symbol: 003 = Do you want to save the data first?
Text Symbol: T01 = Article Hierarchy ID for Reassignments
Text Symbol: T02 = Value Restrictions for Shops


INCLUDES used within this REPORT RWRF_CATEGORY_TO_SHOPS

INCLUDE RWRF_CATEGORY_TO_SHOPTOP . " GLOBAL DATA


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_F4_HIERID_VALUE_REQUEST CALL FUNCTION 'WRF_F4_HIERID_VALUE_REQUEST' IMPORTING EF_HIER_ID = p_hierid CHANGING XT_MATGRP_HIER = gt_matgrp_hier.

WRF_GET_CATEGORY_FOR_SHOP CALL FUNCTION 'WRF_GET_CATEGORY_FOR_SHOP' EXPORTING IF_SHOP = gs_t001w-werks * IF_NAMEFLAG = ' ' IMPORTING EF_HIERID = gf_hierid EF_CATEGORY = gf_category * EF_CATEGORYNAME = EXCEPTIONS PARAMETER_ERROR = 1 NO_EXIST = 2 OTHERS = 3 .



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