C_BOMAltAndUsage

DDL: C_BOMALTANDUSAGE SQL: CBOMALTANDUSG Type: view CONSUMPTION

Consumption view to fetch alternatives of a BOM

C_BOMAltAndUsage is a Consumption CDS View that provides data about "Consumption view to fetch alternatives of a BOM" in SAP S/4HANA. It reads from 1 data source (I_Mast) and exposes 12 fields with key fields BillOfMaterial, BillOfMaterialVariant, BillOfMaterialCategory.

Data Sources (1)

SourceAliasJoin Type
I_Mast I_Mast from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CBOMALTANDUSG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption view to fetch alternatives of a BOM view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #CONSUMPTION view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterial BillOfMaterial
KEY BillOfMaterialVariant BillOfMaterialVariant
KEY BillOfMaterialCategory BillOfMaterialCategory
BillOfMaterialVersion
EngineeringChangeDocument
Material
Plant
BillOfMaterialVariantUsage
HeaderValidityStartDate
AssemblyBOMDraftUUID
HasActiveEntity
IsActiveEntity
@AbapCatalog.sqlViewName: 'CBOMALTANDUSG'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck:#CHECK
@EndUserText.label: 'Consumption view to fetch alternatives of a BOM'
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #MASTER}
@VDM.viewType: #CONSUMPTION
define view C_BOMAltAndUsage as select from I_Mast 

{
    key BillOfMaterial,
    key BillOfMaterialVariant,
    key BillOfMaterialCategory,
    cast('    ' as cs_versn preserving type ) as BillOfMaterialVersion,
    cast('            ' as aennr preserving type )  as EngineeringChangeDocument,
    cast('                                        ' as matnr preserving type) as Material,
    cast('    ' as werks_d preserving type ) as Plant,
    cast(' ' as stlan preserving type ) as BillOfMaterialVariantUsage,
    $session.system_date as HeaderValidityStartDate,
    cast ( hextobin('00000000000000000000000000000000') as /bobf/uuid preserving type ) as AssemblyBOMDraftUUID,
    cast('' as xfeld preserving type  ) as HasActiveEntity,
    cast('' as xfeld preserving type ) as IsActiveEntity
}