P_AutomXtrctnSalesOrderType

DDL: P_AUTOMXTRCTNSALESORDERTYPE Type: view COMPOSITE

P_AutomXtrctnSalesOrderType is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentType) and exposes 10 fields with key field SalesOrderType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentType I_SalesDocumentType from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SalesDocumentTypeText _Text $projection.SalesOrderType = _Text.SalesDocumentType

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PAXTSLSORTY view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #S view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY SalesOrderType
SDDocumentCategory SDDocumentCategory
SalesDocumentProcessingType SalesDocumentProcessingType
NumberRangeForIntIDAssignment NumberRangeForIntIDAssignment
NumberRangeForExtIDAssignment NumberRangeForExtIDAssignment
MandatoryReferenceSDDocCat MandatoryReferenceSDDocCat
IsLocked IsLocked
RetsMgmtIsActive RetsMgmtIsActive
TradeComplianceIsActive TradeComplianceIsActive
_Text _Text
@AbapCatalog:{
  sqlViewName: 'PAXTSLSORTY',
  preserveKey: true,
  compiler:{ compareFilter: true }
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel:{ 
  usageType:{  dataClass: #CUSTOMIZING,
               serviceQuality: #P,
               sizeCategory: #S
            }
 }
@VDM:{ 
  private: true,
  viewType: #COMPOSITE
}

define view P_AutomXtrctnSalesOrderType
  as select from I_SalesDocumentType
  association [0..*] to I_SalesDocumentTypeText as _Text on $projection.SalesOrderType = _Text.SalesDocumentType
{

  key cast( SalesDocumentType as sales_order_type preserving type ) as SalesOrderType,
      SDDocumentCategory,
      SalesDocumentProcessingType ,
      NumberRangeForIntIDAssignment,
      NumberRangeForExtIDAssignment ,
      MandatoryReferenceSDDocCat,
      IsLocked,
      RetsMgmtIsActive,
      TradeComplianceIsActive,
      
      //Association

      _Text
} where SDDocumentCategory  = 'C'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESDOCUMENTTYPE"
],
"ASSOCIATED":
[
"I_SALESDOCUMENTTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/