P_SlsDocFlfmtFullName

DDL: P_SLSDOCFLFMTFULLNAME SQL: PSOFFULLNAME Type: view CONSUMPTION Package: ODATA_SD_SOFA

Full Name

P_SlsDocFlfmtFullName 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 4 fields. Part of development package ODATA_SD_SOFA.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentCompletePartners vbpa from

Annotations (8)

NameValueLevelField
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 PSOFFULLNAME view

Fields (4)

KeyFieldSource TableSource FieldDescription
SalesDocument I_SDDocumentCompletePartners SDDocument
SDDocument I_SDDocumentCompletePartners SDDocument
PartnerFunction I_SDDocumentCompletePartners PartnerFunction
FullName
@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: 'PSOFFULLNAME'

// AT29.09.2021: SDDocument added to allow usage also for BillingDocuments and DeliveryDocuments. The consuming class CL_SD_SOF_FULLNAME is adapted respectivly.

//               SalesDocument & CDS name kept for compatibility reasons


define view P_SlsDocFlfmtFullName

as select from I_SDDocumentCompletePartners as vbpa
{
vbpa.SDDocument as SalesDocument,
vbpa.SDDocument as SDDocument,
vbpa.PartnerFunction,
cast(vbpa._DfltAddrRprstn.AddresseeFullName as fullnamesoldtoparty)                as FullName
}
where vbpa.SDDocumentItem = '000000' --and ( vbpa.PartnerFunction = 'AG' or vbpa.PartnerFunction = 'WE' ) --AT17.5.2021 filter on PartnerFunction provided by consumer