P_SlsDocFlfmtCountryName
Full Name
P_SlsDocFlfmtCountryName is a Consumption CDS View that provides data about "Full Name" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentCompletePartners) and exposes 5 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SDDocumentCompletePartners | vbpa | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Full Name | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PSOFFULLCOUNTRY | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SDDocument | I_SDDocumentCompletePartners | SDDocument | ||
| SDDocumentItem | I_SDDocumentCompletePartners | SDDocumentItem | ||
| PartnerFunction | I_SDDocumentCompletePartners | PartnerFunction | ||
| ShipToPartyCountry | ||||
| ShipToPartyCountryName |
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck:#NOT_REQUIRED
@EndUserText.label: 'Full Name'
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'PSOFFULLCOUNTRY'
--AT20.10.21: generalized to also expose ITEM info
define view P_SlsDocFlfmtCountryName
as select from I_SDDocumentCompletePartners as vbpa
{
vbpa.SDDocument as SDDocument,
vbpa.SDDocumentItem as SDDocumentItem,
vbpa.PartnerFunction,
cast(vbpa._DfltAddrRprstn.Country as shiptopartycountry) as ShipToPartyCountry,
cast(vbpa._DfltAddrRprstn._Country._Text[1: Language = $session.system_language].CountryName as shiptopartycountryname) as ShipToPartyCountryName
}
where vbpa.PartnerFunction = 'WE'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDRESS_2",
"I_COUNTRY",
"I_COUNTRYTEXT",
"I_SDDOCUMENTCOMPLETEPARTNERS"
],
"ASSOCIATED":
[],
"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