Page tree




The objective of this documentation is not to allow to recreate from scratch the object but to explain everything that is not obvious by looking directly at the query/workbook or emphases on things that are important for the report to work.

Remove the sections that are not relevant.

Description

Stock margin elimination report (Core Query)

Technical NameBW_QRY_CPCOMS01_0001

Application

RTR - MS

Info-provider

CPCOMS01

Usage type

Workbook BW_WB_MS_0099

Expected users

 

Workbook/Query General Description

This query will calculate the stock margin elimination and will be used in workbook BW_WB_MS_0099.

General parameters

Global properties

TabScreenshotComment
Display


Rows/Columns


Value Display
Planning


Extended


Variables

Definitions

Variable Name

Info-object

Selection Type

Required

Description/Explanation

0I_CMNTH

0CALMONTH

Manual Input - Interval

Yes


V_C_COMPCDE_C_AUTHMA_002C_COMPCDE_C_AUTHMAAuthorization - Selection OptionNo
V_COMPPRS_0006C_COMPPRSAuthorization - Selection OptionNo
V_C_COMPCDE__C_MNGAREA_0006C_COMPCDE__C_MNGAREA Authorization - Selection OptionNo
V_C_COMPCDE_0001C_COMPCDEManual Input - Selection Option No
C_PLANT02C_PLANTManual Input - S election OptionNo
SOO_C_MATNR2_0001C_MATNR2Manual Input - S election OptionNo
V_LOGSYS_00060LOGSYSManual Input - S election OptionNo
V_CPFCTR1_2_0007CPFCTR1_2Authorization - Seletion optionNo
V_0RTYPE
Manual Input - S election OptionYesExchange rate type linkd to conversion type CTK_VARPLT

Variable Sequence

Filters

ObjectFilter ValueExplanation
Material Type

<> ZHIB

<> ZRES

<> ZERS

InfoProvider= APCOMS04Take data from propagation ADSO because conversions + calculations are done in query

Key figures

List here

Currency Conversion

Exchange Rate Type : V_0RTYPE 

Currency : Defined with CTK_VARPLT → use currency of plant

Time Reference : End of the month of 0CALMONTH

Unit Conversion

Unit : use conversion type UOM_MATNR2, unit based on material.

Characteristics

LocationInfo-object NameInfo-object TextExplanation (if needed)
Row0CALMONTHCalmonth
Row 0LOGSYSSource system 
Row C_COMPCDE Company code
RowC_PLANTPlant
RowC_MATNR2Material
RowC_PRODPLAManufacturing Plant

Free characteristics:

Cells

Conditions

Condition Name

Active

By default

Key Figure

(Structure)

OperatorValueCharacteristic Assignement






Exceptions

Exception Name

Active

By default

Alert Level

OperatorValue

Other parameters

(if different from default)

Yes/No