I_AllwdCustRetTypePerSlsOrg
Allowed Return Type Per Sales Org
I_AllwdCustRetTypePerSlsOrg is a Composite CDS View that provides data about "Allowed Return Type Per Sales Org" in SAP S/4HANA. It reads from 2 data sources (I_AllwdOrdTypPerSlsOrg, I_SalesDocumentType) and exposes 8 fields with key fields SalesOrganization, DistributionChannel, Division, SalesDocumentType.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_AllwdOrdTypPerSlsOrg | AllowedReturnType | from |
| I_SalesDocumentType | SalesDocumentType | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Allowed Return Type Per Sales Org | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrganization | I_AllwdOrdTypPerSlsOrg | SalesOrganization | |
| KEY | DistributionChannel | I_AllwdOrdTypPerSlsOrg | DistributionChannel | |
| KEY | Division | I_AllwdOrdTypPerSlsOrg | Division | |
| KEY | SalesDocumentType | I_AllwdOrdTypPerSlsOrg | SalesDocumentType | |
| _SalesOrganization | I_AllwdOrdTypPerSlsOrg | _SalesOrganization | ||
| _DistributionChannel | I_AllwdOrdTypPerSlsOrg | _DistributionChannel | ||
| _Division | I_AllwdOrdTypPerSlsOrg | _Division | ||
| _SalesDocumentType | I_AllwdOrdTypPerSlsOrg | _SalesDocumentType |
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #COMPOSITE
@ObjectModel: {
usageType:{
serviceQuality: #B,
sizeCategory: #S,
dataClass: #MIXED
}
}
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Allowed Return Type Per Sales Org'
define view entity I_AllwdCustRetTypePerSlsOrg
as select from I_AllwdOrdTypPerSlsOrg as AllowedReturnType
inner join I_SalesDocumentType as SalesDocumentType on AllowedReturnType.SalesDocumentType = SalesDocumentType.SalesDocumentType
{
key AllowedReturnType.SalesOrganization,
key AllowedReturnType.DistributionChannel,
key AllowedReturnType.Division,
key AllowedReturnType.SalesDocumentType,
//Associations
AllowedReturnType._SalesOrganization,
AllowedReturnType._DistributionChannel,
AllowedReturnType._Division,
AllowedReturnType._SalesDocumentType
}
where SalesDocumentType.RetsMgmtIsActive = 'X'
and SalesDocumentType.SDDocumentCategory = 'H'
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