P_AutomXtrctnSalesOrderType
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)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentType | I_SalesDocumentType | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SalesDocumentTypeText | _Text | $projection.SalesOrderType = _Text.SalesDocumentType |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA