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

RWMFA210 SAP ABAP Report - Markdown Plan Price Calculation Test







RWMFA210 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report "RWMFA210" is used to calculate prices and margins in markdown planning...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 RWMFA210 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

WMF6 - Markdown Plan Price Calculation Test


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 RWMFA210. "Basic submit
SUBMIT RWMFA210 AND RETURN. "Return to original report after report execution complete
SUBMIT RWMFA210 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: PA_VTWEG = D Distribution channel
Selection Text: PA_VKORG = D Sales organization
Selection Text: PA_TEST = Carry Out Test Run Only
Selection Text: PA_PARAL = D Parallel processing
Selection Text: PA_MXTSK = Maximum Number of Processes
Selection Text: PA_MFCNR = Markdown Plan
Selection Text: PA_GROUP = D Logon/server group
Selection Text: PA_DRUKZ = D Output to printer
Selection Text: PA_ATNAM = D Characteristic Name
Selection Text: PA_ANZPO = Items For Each Process
Selection Text: LT_WKKNR = Market-Basket Price Calc. Doc.
Selection Text: LT_WEKGR = D Purchasing Group
Selection Text: LT_VKKPS = D Sales Prices
Selection Text: LT_SPANS = D Margin Status
Selection Text: LT_SAITY = D Seasonal Matl Cat.
Selection Text: LT_SAISO = D Season
Selection Text: LT_SAISJ = D Season Year
Selection Text: LT_PSAL2 = D Planned Sales Qty
Selection Text: LT_PANF2 = D Opening Stock
Selection Text: LT_MSTAV = Cross Distrib. Chain Status
Selection Text: LT_MDROS = D Percentage Sales
Selection Text: LT_MDPRZ = D % Sales Price
Selection Text: LT_LTSNR = Vendor Subrange
Selection Text: LT_LIFNR = D Vendor
Selection Text: LT_LAYGR = D Layout Module
Selection Text: LT_FILIA = D Assortment
Selection Text: LT_ENDP2 = D Final Price
Selection Text: LT_DATA2 = D Valid From
Selection Text: LT_CLASS = Material Group
Selection Text: LT_ATWRT = D Characteristic Value
Selection Text: LT_ATTYP = D Material Category
Selection Text: LT_ARTNR = D Material
Title: Markdown Plan Price Calculation Test
Text Symbol: 020 = Execute in Background
Text Symbol: 011 = Price Phase Limitations
Text Symbol: 009 = Parameters for parallel processing
Text Symbol: 008 = Carry Out Test Run Only
Text Symbol: 007 = Options





Text Symbol: 006 = Pricing Table Output at Printer
Text Symbol: 004 = Material restrictions
Text Symbol: 003 = Markdown Plan
Text Symbol: 002 = DistrChannel
Text Symbol: 001 = Sales Organization


INCLUDES used within this REPORT RWMFA210

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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING * PROGRAM = RESTRICTION = RESTRICT * DB = ' ' EXCEPTIONS TOO_LATE = 1 REPEATED = 0 SELOPT_WITHOUT_OPTIONS = 3 SELOPT_WITHOUT_SIGNS = 4 INVALID_SIGN = 5 EMPTY_OPTION_LIST = 6 INVALID_KIND = 7 REPEATED_KIND_A = 8 OTHERS = 9.

GET_DYNP_VALUE CALL FUNCTION 'GET_DYNP_VALUE' EXPORTING I_FIELD = 'PA_ATNAM' I_REPID = SY-REPID I_DYNNR = SY-DYNNR I_CONV_INPUT = 'X' * I_CONV_OUTPUT = ' ' CHANGING O_VALUE = PA_ATNAM.

CONVERSION_EXIT_ATINN_INPUT CALL FUNCTION 'CONVERSION_EXIT_ATINN_INPUT' EXPORTING INPUT = PA_ATNAM IMPORTING OUTPUT = L_ATINN.

CTMS_CHAR_VALUE_F4 CALL FUNCTION 'CTMS_CHAR_VALUE_F4' EXPORTING IMP_CHARACTERISTIC = L_ATINN * IMP_MODE = ' ' * IMP_DISPLAY = ' ' * IMP_LANGUAGE = SY-LANGU * IMP_DATE = SY-DATUM TABLES EXP_VALUES = L_T_API_VALUE.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' * EXPORTING * ARCHIVE_ID = C_CHAR_UNKNOWN * ARCHIVE_INFO = C_CHAR_UNKNOWN * ARCHIVE_MODE = C_CHAR_UNKNOWN * ARCHIVE_TEXT = C_CHAR_UNKNOWN * AR_OBJECT = C_CHAR_UNKNOWN * ARCHIVE_REPORT = C_CHAR_UNKNOWN * AUTHORITY = C_CHAR_UNKNOWN * COPIES = C_NUM3_UNKNOWN * COVER_PAGE = C_CHAR_UNKNOWN * DATA_SET = C_CHAR_UNKNOWN * DEPARTMENT = C_CHAR_UNKNOWN * DESTINATION = C_CHAR_UNKNOWN * EXPIRATION = C_NUM1_UNKNOWN * IMMEDIATELY = C_CHAR_UNKNOWN * IN_ARCHIVE_PARAMETERS = ' ' * IN_PARAMETERS = ' ' * LAYOUT = C_CHAR_UNKNOWN * LINE_COUNT = C_INT_UNKNOWN * LINE_SIZE = C_INT_UNKNOWN * LIST_NAME = C_CHAR_UNKNOWN * LIST_TEXT = C_CHAR_UNKNOWN * MODE = ' ' * NEW_LIST_ID = C_CHAR_UNKNOWN * PROTECT_LIST = C_CHAR_UNKNOWN * NO_DIALOG = C_FALSE * RECEIVER = C_CHAR_UNKNOWN * RELEASE = C_CHAR_UNKNOWN * REPORT = C_CHAR_UNKNOWN * SAP_COVER_PAGE = C_CHAR_UNKNOWN * HOST_COVER_PAGE = C_CHAR_UNKNOWN * PRIORITY = C_NUM1_UNKNOWN * SAP_OBJECT = C_CHAR_UNKNOWN * TYPE = C_CHAR_UNKNOWN * USER = SY-UNAME * USE_OLD_LAYOUT = ' ' IMPORTING * OUT_ARCHIVE_PARAMETERS = OUT_PARAMETERS = L_PARAMS VALID = L_VALID EXCEPTIONS ARCHIVE_INFO_NOT_FOUND = 1 INVALID_PRINT_PARAMS = 2 INVALID_ARCHIVE_PARAMS = 3 OTHERS = 4.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING * DELANFREP = ' ' * JOBGROUP = ' ' JOBNAME = 'RWMFA210' * SDLSTRTDT = NO_DATE * SDLSTRTTM = NO_TIME IMPORTING JOBCOUNT = L_JOBCOUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' * AT_OPMODE_PERIODIC = ' ' * CALENDAR_ID = ' ' * EVENT_ID = ' ' * EVENT_PARAM = ' ' * EVENT_PERIODIC = ' ' JOBCOUNT = L_JOBCOUNT JOBNAME = 'RWMFA210' * LASTSTRTDT = NO_DATE * LASTSTRTTM = NO_TIME * PRDDAYS = 0 * PRDHOURS = 0 * PRDMINS = 0 * PRDMONTHS = 0 * PRDWEEKS = 0 * PREDJOB_CHECKSTAT = ' ' * PRED_JOBCOUNT = ' ' * PRED_JOBNAME = ' ' SDLSTRTDT = SY-DATUM SDLSTRTTM = SY-UZEIT * STARTDATE_RESTRICTION = BTC_PROCESS_ALWAYS * STRTIMMED = ' ' * TARGETSYSTEM = ' ' * START_ON_WORKDAY_NOT_BEFORE = SY-DATUM * START_ON_WORKDAY_NR = 0 * WORKDAY_COUNT_DIRECTION = 0 * RECIPIENT_OBJ = * TARGETSERVER = ' ' * DONT_RELEASE = ' ' * TARGETGROUP = ' ' * IMPORTING * JOB_WAS_RELEASED = EXCEPTIONS CANT_START_IMMEDIATE = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 JOB_CLOSE_FAILED = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7 INVALID_TARGET = 8 OTHERS = 9.



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