SAP Reports / Programs | Sales and Distribution | Foreign Trade | Basic Functions(SD-FT-PRO) SAP SD

RMPREF04 SAP ABAP Report - documentation and ABAP source code







RMPREF04 is a standard Executable ABAP Report 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 RMPREF04 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

VEB5 - Calculate Assemblies Individually


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 RMPREF04. "Basic submit
SUBMIT RMPREF04 AND RETURN. "Return to original report after report execution complete
SUBMIT RMPREF04 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: PM_CAPID = Application
Selection Text: PM_DATUV = Valid on
Selection Text: PM_DUMMY = Explode phantom assemblies
Selection Text: PM_MTNRV = Material number
Selection Text: PM_PEINH = Price unit
Selection Text: PM_PWLEN = Standard length of tariff alt.
Selection Text: PM_RNDKZ = Round Base Unit of Measure
Selection Text: PM_SANFR = Production relevant
Selection Text: PM_SANKA = Relevancy to Costing
Selection Text: PM_SIMU = Simulation
Selection Text: PM_STLAL = Alternative
Selection Text: PM_STLAN = BOM usage
Selection Text: PM_WERKS = Plant
Selection Text: P_MTART = Exclude mat.type of component
Text Symbol: K10 = |Material ;Description ;Plnt;Error message ;
Text Symbol: KDL = |Material |Description |Plnt|Zone|Note message |
Text Symbol: KEF = |Material |Description |Plnt|Zone|Error message |
Text Symbol: KEK = |Component |Description |Val.|Zone|Error message |
Text Symbol: KES = |Other error messages |Error message |
Text Symbol: KET = |Table |Key |Error message |
Text Symbol: LCA = Terminatn. Material Block
Text Symbol: LCK = Material is blocked by
Text Symbol: R00 = Procedure HTS item Op.code Percent Det.price
Text Symbol: R01 = Standard rule
Text Symbol: R02 = Alternat. rule
Text Symbol: R04 = Rule
Text Symbol: T01 = No entries found in table MAST
Text Symbol: T02 = Invalid use
Text Symbol: Z04 = |Pref. rule Old preference New preference |
Text Symbol: Z05 = |Zone MatlVal. Components Det. old value Det. new value|
Text Symbol: Z06 = | OriginalProd. Share-% |
Text Symbol: Z07 = | Non-origProd. Share-% w/o class.change Share-% |
Text Symbol: Z08 = | w/ class.change Share-% |
Text Symbol: ZK1 = |Zone Payer Val.ItChg. Val.w/oItChg. Val.NonOrig. Val.Orig. Det.Price |
Text Symbol: ZP0 = | BOM component | Description | CompQty | Val|VD|PS|DO|ComCod |Surch.%| MAP/std price| Det.price |
Text Symbol: K05 = |BOM items |Description ; CompQty ; Value;VD;ComCod;
Text Symbol: 002 = Preference determination
Text Symbol: 005 = Plant <-- 5 digits





Text Symbol: 009 = Surcharge for determined price
Text Symbol: 010 = Material <-- 11 digits
Text Symbol: 012 = |- - - - P R E F E R E N C E Z O N E S - P R E F E R E N C E D A T A - - - - - -|
Text Symbol: 013 = Base qty <-- 13 digits
Text Symbol: 022 = CommCode;
Text Symbol: 025 = Preference zone ;
Text Symbol: 050 = |- - - - - - - - - C O M P O N E N T D A T A - - - - - - - - - - - - - - - - - -| |
Text Symbol: 053 = Bill of material
Text Symbol: 054 = Usage/Alt.
Text Symbol: 055 = Old pref.
Text Symbol: 056 = New pref.
Text Symbol: 057 = OldAssemb.
Text Symbol: 058 = No change allowed
Text Symbol: 059 = TERMINATION Preference determination - See error log/flow trace, RC ='
Text Symbol: 060 = TERMINATION Preference determination
Text Symbol: 061 = Simulation
Text Symbol: 063 = Explode alternative assembly
Text Symbol: 064 = Explode one level
Text Symbol: 065 = TERMINATION BOM explosion
Text Symbol: 066 = Alternative BOM available
Text Symbol: 067 = Security surcharge in %
Text Symbol: 069 = Explode phantom assembl.
Text Symbol: 701 = Incorrect print control
Text Symbol: 900 = Is configurable - no determination allowed
Text Symbol: BEX = Mssng
Text Symbol: DRD = Flow log Time :
Text Symbol: DRF = Error log Time :
Text Symbol: DRK = Preference determination Date :
Text Symbol: DRP = Log Time :
Text Symbol: DRS = Page:
Text Symbol: F01 = Material selection
Text Symbol: F02 = Bills of material selection
Text Symbol: F03 = Additional parameters


INCLUDES used within this REPORT RMPREF04

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:

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