SAP Reports / Programs

RWSGENAR SAP ABAP Report - Generate Allocation Rules with Data from SAP BW







RWSGENAR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates allocation rules using planned or actual data from SAP BW...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 RWSGENAR 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

WA56 - Generate Allocation Rule (SAP BW)


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 RWSGENAR. "Basic submit
SUBMIT RWSGENAR AND RETURN. "Return to original report after report execution complete
SUBMIT RWSGENAR 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: PER_HIGH = To period
Selection Text: PER_LOW = Period from
Selection Text: PER_TYPE = Period category
Selection Text: P_AG1_RB = For base material group
Selection Text: P_AG4_RB = For material
Selection Text: P_AG5_RB = For any desired hierarchy
Selection Text: P_ALVLI = ALV List
Selection Text: P_BR_BQ = Plant quotas
Selection Text: P_BR_ZK = Allocation categories
Selection Text: P_CLALI = Classical List
Selection Text: P_EKGRP = Purchasing Group
Selection Text: P_EKORG = Purchasing Organization
Selection Text: P_FILKL = Plant Group
Selection Text: P_GUELT = Valid from
Selection Text: P_METHOD = Method
Selection Text: P_SVART = Allocation rule type
Selection Text: SO_ARTKL = Material group/MG hierarchy
Selection Text: SO_ARTNR = Material
Title: Generate Allocation Rules with Data from SAP BW
Text Symbol: S12 = Allocation rule type
Text Symbol: S13 = Valid from
Text Symbol: S14 = Purch. Organization
Text Symbol: S15 = Purchasing Group
Text Symbol: S21 = Plant quotas
Text Symbol: S22 = Allocation cats.
Text Symbol: S51 = Period
Text Symbol: S52 = to
Text Symbol: SB1 = Allocation rule data
Text Symbol: SB2 = Use of Data
Text Symbol: SB3 = BW Selection
Text Symbol: SB4 = Generate allocation rule
Text Symbol: SB5 = Further selection criteria
Text Symbol: SB6 = Selection of Display Variant
Text Symbol: S11 = Plant Group
Text Symbol: 001 = Empties material
Text Symbol: 002 = Additionals
Text Symbol: 003 = Materials
Text Symbol: 004 = Material groups





Text Symbol: 006 = Generation Log for Generation of Allocation Rule
Text Symbol: 007 = Selection Log for Generation of Allocation Rule
Text Symbol: 008 = Value-Only Material
Text Symbol: 010 = Display Plants
Text Symbol: 011 = Do not display plants
Text Symbol: DWG = Created automat.
Text Symbol: L01 = Allocation rule data
Text Symbol: L02 = Allocation rule type
Text Symbol: L03 = Plant Group
Text Symbol: L05 = Generate with
Text Symbol: L06 = Plant quotas
Text Symbol: L07 = Allocation cats.
Text Symbol: L08 = Valid from
Text Symbol: L11 = SAP BW Data
Text Symbol: L12 = Statistics from
Text Symbol: L13 = Statistics to
Text Symbol: L14 = Method
Text Symbol: L15 = Query
Text Symbol: L16 = System
Text Symbol: L20 = Material Group
Text Symbol: L21 = Base material group
Text Symbol: L22 = Material
Text Symbol: L23 = Allocation Rule
Text Symbol: L24 = Model alloc. rule
Text Symbol: L25 = Plant Group
Text Symbol: L26 = No. plants
Text Symbol: L27 = Largest key figure value (upper limit)
Text Symbol: L28 = Plants
Text Symbol: L29 = Evaluation figure


INCLUDES used within this REPORT RWSGENAR

INCLUDE GENARTOP . "
INCLUDE VORBDATA.
INCLUDE GENARSEL.
INCLUDE GENARE01.
INCLUDE GENARF01.
INCLUDE GENARF02.
INCLUDE GENARF03.
INCLUDE GENARF04.
INCLUDE GENARF05.


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:

No SAP FUNCTION MODULES are executed within this report code!



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