C_BOMAltAndUsage

DDL: C_BOMALTANDUSAGE Type: view_entity CONSUMPTION Package: CS_MODEL

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. Part of development package CS_MODEL.

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption view to fetch alternatives of a BOM view
AccessControl.personalData.blocking #NOT_REQUIRED 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
KEY BillOfMaterialVariant BillOfMaterialVariant
KEY BillOfMaterialCategory BillOfMaterialCategory
BillOfMaterialVersion
EngineeringChangeDocument
Material
Plant
BillOfMaterialVariantUsage
HeaderValidityStartDate
AssemblyBOMDraftUUID
HasActiveEntity
IsActiveEntity
@AccessControl.authorizationCheck:#CHECK
@EndUserText.label: 'Consumption view to fetch alternatives of a BOM'
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #MASTER}
@VDM.viewType: #CONSUMPTION
define view entity C_BOMAltAndUsage as select distinct from I_MaterialBOMLink 

{
    key cast( BillOfMaterial as char8 preserving type ) as 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
}