// Product Valuation (draft)
@AbapCatalog.sqlViewName: 'PPRDVALUATIOND'
@VDM.private: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view P_ProductValuationD as select from prd_valuation as DraftDocument
{
key DraftDocument.draftkey as Draftkey,
key DraftDocument.activeproduct as ActiveProduct,
key DraftDocument.activevaluationarea as ActiveValuationArea,
key DraftDocument.activeinventoryvaluationtype as ActiveInventoryValuationType,
DraftDocument.parentdraftkey as ParentDraftKey ,
DraftDocument.valuationarea,
DraftDocument.valuationtype,
DraftDocument.valuationclass,
DraftDocument.pricedeterminationcontrol,
DraftDocument.taxclassificationcategory,
DraftDocument.valuationclassinprevyear,
DraftDocument.valuationclassinprevperiod,
DraftDocument.fiscalmonthcurrentperiod,
DraftDocument.fiscalyearcurrentperiod,
DraftDocument.standardprice,
DraftDocument.priceunitqty,
DraftDocument.inventoryvaluationprocedure,
DraftDocument.futureevaluatedamountvalue,
DraftDocument.futurepricevaliditystartdate,
DraftDocument.totalvalstockquantity,
DraftDocument.movingaverageprice,
DraftDocument.totalvalstockprevperiod,
DraftDocument.totalvalstockprevperiodvalue,
DraftDocument.totalvalstockprevyear,
DraftDocument.totalvalstockprevyearvalue,
DraftDocument.valuationcategory,
DraftDocument.totalvalstockvalue,
DraftDocument.productusagetype,
DraftDocument.productorigintype,
DraftDocument.isproducedinhouse,
DraftDocument.valnclsforspclstkatvndr,
DraftDocument.prodcostestnumber,
DraftDocument.costestimatenumber,
DraftDocument.ismarkedfordeletion,
DraftDocument.hasactiveentity ,
//Retail field,
DraftDocument.valuationmargin
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"PRD_VALUATION"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/