P_AllwdCustRetTypePerSlsOrg
Allowed Return Type Per Sales Org
P_AllwdCustRetTypePerSlsOrg is a Consumption CDS View that provides data about "Allowed Return Type Per Sales Org" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentType) and exposes 6 fields with key fields SalesOrganization, DistributionChannel, Division. Part of development package ODATA_SD_RETURN_V2.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentType | SalesDocumentType | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | PALWDORDTPSO | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrganization | AllowedReturnType | SalesOrganization | |
| KEY | DistributionChannel | AllowedReturnType | DistributionChannel | |
| KEY | Division | AllowedReturnType | Division | |
| _SalesOrganization | AllowedReturnType | _SalesOrganization | ||
| _DistributionChannel | AllowedReturnType | _DistributionChannel | ||
| _Division | AllowedReturnType | _Division |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'PALWDORDTPSO'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view P_AllwdCustRetTypePerSlsOrg
as select distinct 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,
//Associations
AllowedReturnType._SalesOrganization,
AllowedReturnType._DistributionChannel,
AllowedReturnType._Division
}
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