A_BatchCharcValue

DDL: A_BATCHCHARCVALUE Type: view_entity CONSUMPTION Package: LO_BM_BATCH_BO_API

Batch Characteristics Valuation

A_BatchCharcValue is a Consumption CDS View that provides data about "Batch Characteristics Valuation" in SAP S/4HANA. It reads from 1 data source (R_BatchCharacteristicValueTP) and exposes 25 fields with key fields Material, BatchIdentifyingPlant, Batch, CharcInternalID, CharcValuePositionNumber. It is exposed through 1 OData service (API_BATCH_SRV). Part of development package LO_BM_BATCH_BO_API.

Data Sources (1)

SourceAliasJoin Type
R_BatchCharacteristicValueTP R_BatchCharacteristicValueTP projection

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Batch Characteristics Valuation view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
API_BATCH_SRV API_BATCH_SRV V2 C2 C1

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY Material Material
KEY BatchIdentifyingPlant BatchIdentifyingPlant
KEY Batch Batch
KEY CharcInternalID CharcInternalID
KEY CharcValuePositionNumber ClfnCharcValuePositionNumber
CharcValueDependency CharcValueIntervalType
CharcValue CharcValue
CharcFromNumericValue CharcFromNumericValue
CharcFromNumericValueUnit CharcFromNumericValueUnit
CharcToNumericValue CharcToNumericValue
CharcToNumericValueUnit CharcToNumericValueUnit
CharcFromDecimalValue CharcFromDecimalValue
CharcToDecimalValue CharcToDecimalValue
CharcFromAmount CharcFromAmount
CharcToAmount CharcToAmount
Currency Currency
CharcFromDate CharcFromDate
CharcToDate CharcToDate
CharcFromTime CharcFromTime
CharcToTime CharcToTime
CharacteristicAuthor CharcAuthor
LastChangeDateTime LastChangeDateTime
_BatchTPas_BatchredirectedtoA_Batch
ClassType ClassType
_ClfnCharacteristic _ClfnCharacteristic
@AccessControl.authorizationCheck: #CHECK

@EndUserText.label: 'Batch Characteristics Valuation'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #MIXED}

@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@VDM.viewType: #CONSUMPTION

define view entity A_BatchCharcValue 
  as projection on R_BatchCharacteristicValueTP
{
  key Material, 
  key BatchIdentifyingPlant,
  key Batch, 
  key CharcInternalID,
  key ClfnCharcValuePositionNumber as CharcValuePositionNumber,
        
  CharcValueIntervalType as CharcValueDependency,
  CharcValue,
  CharcFromNumericValue,  
  CharcFromNumericValueUnit,
  CharcToNumericValue,     
  CharcToNumericValueUnit,
  CharcFromDecimalValue,
  CharcToDecimalValue,
  @Semantics.amount.currencyCode: 'Currency'
  CharcFromAmount,
  @Semantics.amount.currencyCode: 'Currency'
  CharcToAmount,
  @Semantics.currencyCode: true
  Currency,
  CharcFromDate,
  CharcToDate,
  CharcFromTime,
  CharcToTime, 
  CharcAuthor as CharacteristicAuthor,
  
  LastChangeDateTime,    
  
  /* Compositions */
  _BatchCharacteristicTP as _BatchCharc : redirected to parent A_BatchCharc,

  /* DCL */
  @Consumption.hidden: true
  _BatchTP as _Batch : redirected to A_Batch,
  @Consumption.hidden: true
  ClassType,
  @Consumption.hidden: true
  _ClfnCharacteristic
}