R_SlsOrdWthoutChrgItmPartnerTP

DDL: R_SLSORDWTHOUTCHRGITMPARTNERTP Type: view_entity TRANSACTIONAL Package: RAP_SD_SLS_SOWC

Sls Ord Without Charge Item Partner - TP

R_SlsOrdWthoutChrgItmPartnerTP is a Transactional CDS View that provides data about "Sls Ord Without Charge Item Partner - TP" in SAP S/4HANA. It reads from 2 data sources (I_SalesDocumentBasic, I_SalesDocItemCompletePartner) and exposes 64 fields with key fields SalesOrderWithoutCharge, SalesOrderWithoutChargeItem, PartnerFunction. It has 9 associations to related views. Part of development package RAP_SD_SLS_SOWC.

Data Sources (2)

SourceAliasJoin Type
I_SalesDocumentBasic SalesOrderWithoutCharge inner
I_SalesDocItemCompletePartner SlsOrdWithoutChargeItemPartner from

Associations (9)

CardinalityTargetAliasCondition
[1..1] R_SalesOrderWithoutChargeTP _SalesOrderWithoutCharge $projection.SalesOrderWithoutCharge = _SalesOrderWithoutCharge.SalesOrderWithoutCharge
[0..1] I_PartnerFunction _PartnerFunction $projection.PartnerFunctionForEdit = _PartnerFunction.PartnerFunction
[0..1] I_FormOfAddress _FormOfAddress $projection.FormOfAddress = _FormOfAddress.FormOfAddress
[0..1] I_Language _CorrespondenceLanguage $projection.CorrespondenceLanguage = _CorrespondenceLanguage.Language
[0..1] I_TransportationZone _TransportationZone $projection.transportzone = _TransportationZone.TransportZone and $projection.country = _TransportationZone.CountryCode
[0..1] I_AddrCurDfltLandlinePhoneNmbr _CurrentDfltLandlinePhoneNmbr $projection.AddressID = _CurrentDfltLandlinePhoneNmbr.AddressID and $projection.AddressPersonID = _CurrentDfltLandlinePhoneNmbr.AddressPersonID
[0..1] I_AddrCurDfltMobilePhoneNumber _CurrentDfltMobilePhoneNumber $projection.AddressID = _CurrentDfltMobilePhoneNumber.AddressID and $projection.AddressPersonID = _CurrentDfltMobilePhoneNumber.AddressPersonID
[0..1] I_AddrCurDefaultFaxNumber _CurrentDfltFaxNumber $projection.AddressID = _CurrentDfltFaxNumber.AddressID and $projection.AddressPersonID = _CurrentDfltFaxNumber.AddressPersonID
[1] I_WorkplaceAddress _WorkPlaceAddress $projection.ReferenceBusinessPartner = _WorkPlaceAddress.BusinessPartner

Annotations (8)

NameValueLevelField
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Sls Ord Without Charge Item Partner - TP view

Fields (64)

KeyFieldSource TableSource FieldDescription
KEY SalesOrderWithoutCharge
KEY SalesOrderWithoutChargeItem
KEY PartnerFunction
PartnerFunctionForEdit
Customer I_SalesDocItemCompletePartner Customer Sold-to Party
Supplier I_SalesDocItemCompletePartner Supplier Supplier
Personnel I_SalesDocItemCompletePartner Personnel Personnel No.
ContactPerson I_SalesDocItemCompletePartner ContactPerson Contact Person Key
Partner I_SalesDocItemCompletePartner Partner With Partner
BusinessPartnerName1
BusinessPartnerName2
BusinessPartnerName3
BusinessPartnerName4
FullName I_SalesDocItemCompletePartner FullName Name
SDDocumentPartnerType _PartnerFunction SDDocumentPartnerType Partner Type
FormOfAddress I_SalesDocItemCompletePartner FormOfAddress Title Key
StreetName
StreetPrefixName1
StreetPrefixName2
StreetSuffixName1
StreetSuffixName2
HouseNumber
PostalCode
Country
Region
DistrictName
CityName
POBox
POBoxPostalCode
CorrespondenceLanguage
TaxJurisdiction
TransportZone
PartnerIsSpecificForSDDocItem I_SalesDocItemCompletePartner PartnerIsSpecificForSDDocItem
ReferenceBusinessPartner I_SalesDocItemCompletePartner ReferenceBusinessPartner Busn. Partner
AddressID I_SalesDocItemCompletePartner AddressID Ship-to address
AddressPersonID I_SalesDocItemCompletePartner AddressPersonID Person Number
AddressObjectType I_SalesDocItemCompletePartner AddressObjectType Address Type
SDDocPartnerAddrIsDocSpecific I_SalesDocItemCompletePartner SDDocPartnerAddrIsDocSpecific
VATRegistration I_SalesDocItemCompletePartner VATRegistration VAT Registration No.
UnloadingPointName I_SalesDocItemCompletePartner UnloadingPointName Unloading Point Name
InternationalPhoneNumber I_SalesDocItemCompletePartner InternationalPhoneNumber Telephone no.
InternationalMobilePhoneNumber I_SalesDocItemCompletePartner InternationalMobilePhoneNumber
InternationalFaxNumber I_SalesDocItemCompletePartner InternationalFaxNumber Fax Number
EmailAddress I_SalesDocItemCompletePartner EmailAddress E-Mail Address
SDDocPartnerAddressRefType I_SalesDocItemCompletePartner SDDocPartnerAddressRefType Adress ind.
BPAddrDeterminationTransaction I_SalesDocItemCompletePartner BPAddrDeterminationTransaction Address Detn
BPRefAddressIDForDocSpcfcAddr I_SalesDocItemCompletePartner BPRefAddressIDForDocSpcfcAddr BP Ref. Address Num.
PartnerIsOneTimeAccount I_SalesDocItemCompletePartner PartnerIsOneTimeAccount One-time acct
SalesOrderWithoutChargeType _SalesOrderWithoutCharge SalesOrderWithoutChargeType
SalesOrganization _SalesOrderWithoutCharge SalesOrganization Sales Organization
DistributionChannel _SalesOrderWithoutCharge DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision _SalesOrderWithoutCharge OrganizationDivision Org. Division
_Item _Item
_SalesOrderWithoutCharge _SalesOrderWithoutCharge
_PartnerFunction _PartnerFunction
_CorrespondenceLanguage _CorrespondenceLanguage
_TransportationZone _TransportationZone
_FormOfAddress _FormOfAddress
_ContactPerson I_SalesDocItemCompletePartner _ContactPerson
_DfltAddrRprstn I_SalesDocItemCompletePartner _DfltAddrRprstn
_BusinessPartnerAddress I_SalesDocItemCompletePartner _BusinessPartnerAddress
_BPRefAddressForDocSpcfcAddr I_SalesDocItemCompletePartner _BPRefAddressForDocSpcfcAddr
_Country
_Region

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view R_SlsOrdWthoutChrgItmPartnerTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW R_SlsOrdWthoutChrgItmPartnerTP AS
SELECT
  cast(SlsOrdWithoutChargeItemPartner.SalesDocument as sales_order_without_charge preserving type) AS SalesOrderWithoutCharge,
  cast(SlsOrdWithoutChargeItemPartner.SalesDocumentItem as sales_order_without_charge_itm preserving type) AS SalesOrderWithoutChargeItem,
  cast(SlsOrdWithoutChargeItemPartner.PartnerFunction as parvw_unv preserving type ) AS PartnerFunction,
  cast(SlsOrdWithoutChargeItemPartner.PartnerFunction as parvw_unv preserving type ) AS PartnerFunctionForEdit,
  SlsOrdWithoutChargeItemPartner.Customer AS Customer,
  SlsOrdWithoutChargeItemPartner.Supplier AS Supplier,
  SlsOrdWithoutChargeItemPartner.Personnel AS Personnel,
  SlsOrdWithoutChargeItemPartner.ContactPerson AS ContactPerson,
  SlsOrdWithoutChargeItemPartner.Partner AS Partner,
  cast('' as ad_name1) AS BusinessPartnerName1,
  cast('' as ad_name2) AS BusinessPartnerName2,
  cast('' as ad_name3) AS BusinessPartnerName3,
  cast('' as ad_name4) AS BusinessPartnerName4,
  SlsOrdWithoutChargeItemPartner.FullName AS FullName,
  _PartnerFunction.SDDocumentPartnerType AS SDDocumentPartnerType,
  SlsOrdWithoutChargeItemPartner.FormOfAddress AS FormOfAddress,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.StreetName AS StreetName,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.StreetPrefixName1 AS StreetPrefixName1,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.StreetPrefixName2 AS StreetPrefixName2,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.StreetSuffixName1 AS StreetSuffixName1,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.StreetSuffixName2 AS StreetSuffixName2,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.HouseNumber AS HouseNumber,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.PostalCode AS PostalCode,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.Country AS Country,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.Region AS Region,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.DistrictName AS DistrictName,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.CityName AS CityName,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.POBox AS POBox,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.POBoxPostalCode AS POBoxPostalCode,
  cast(SlsOrdWithoutChargeItemPartner.CorrespondenceLanguage as vdm_sd_sls_langu_corr preserving type ) AS CorrespondenceLanguage,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.TaxJurisdiction AS TaxJurisdiction,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress.TransportZone AS TransportZone,
  SlsOrdWithoutChargeItemPartner.PartnerIsSpecificForSDDocItem AS PartnerIsSpecificForSDDocItem,
  SlsOrdWithoutChargeItemPartner.ReferenceBusinessPartner AS ReferenceBusinessPartner,
  SlsOrdWithoutChargeItemPartner.AddressID AS AddressID,
  SlsOrdWithoutChargeItemPartner.AddressPersonID AS AddressPersonID,
  SlsOrdWithoutChargeItemPartner.AddressObjectType AS AddressObjectType,
  SlsOrdWithoutChargeItemPartner.SDDocPartnerAddrIsDocSpecific AS SDDocPartnerAddrIsDocSpecific,
  SlsOrdWithoutChargeItemPartner.VATRegistration AS VATRegistration,
  SlsOrdWithoutChargeItemPartner.UnloadingPointName AS UnloadingPointName,
  SlsOrdWithoutChargeItemPartner.InternationalPhoneNumber AS InternationalPhoneNumber,
  SlsOrdWithoutChargeItemPartner.InternationalMobilePhoneNumber AS InternationalMobilePhoneNumber,
  SlsOrdWithoutChargeItemPartner.InternationalFaxNumber AS InternationalFaxNumber,
  SlsOrdWithoutChargeItemPartner.EmailAddress AS EmailAddress,
  SlsOrdWithoutChargeItemPartner.SDDocPartnerAddressRefType AS SDDocPartnerAddressRefType,
  SlsOrdWithoutChargeItemPartner.BPAddrDeterminationTransaction AS BPAddrDeterminationTransaction,
  SlsOrdWithoutChargeItemPartner.BPRefAddressIDForDocSpcfcAddr AS BPRefAddressIDForDocSpcfcAddr,
  SlsOrdWithoutChargeItemPartner.PartnerIsOneTimeAccount AS PartnerIsOneTimeAccount,
  _SalesOrderWithoutCharge.SalesOrderWithoutChargeType AS SalesOrderWithoutChargeType,
  _SalesOrderWithoutCharge.SalesOrganization AS SalesOrganization,
  _SalesOrderWithoutCharge.DistributionChannel AS DistributionChannel,
  _SalesOrderWithoutCharge.OrganizationDivision AS OrganizationDivision,
  SlsOrdWithoutChargeItemPartner._ContactPerson AS _ContactPerson,
  SlsOrdWithoutChargeItemPartner._DfltAddrRprstn AS _DfltAddrRprstn,
  SlsOrdWithoutChargeItemPartner._BusinessPartnerAddress AS _BusinessPartnerAddress,
  SlsOrdWithoutChargeItemPartner._BPRefAddressForDocSpcfcAddr AS _BPRefAddressForDocSpcfcAddr,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress._Country AS _Country,
  SlsOrdWithoutChargeItemPartner._OrgNamePostalAddress._Region AS _Region
FROM I_SalesDocItemCompletePartner AS SlsOrdWithoutChargeItemPartner
INNER JOIN I_SalesDocumentBasic AS SalesOrderWithoutCharge ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_SalesOrderWithoutChargeTP AS _SalesOrderWithoutCharge ON SalesOrderWithoutCharge = _SalesOrderWithoutCharge.SalesOrderWithoutCharge  -- association [1..1]
LEFT OUTER JOIN I_PartnerFunction AS _PartnerFunction ON PartnerFunctionForEdit = _PartnerFunction.PartnerFunction  -- association [0..1]
LEFT OUTER JOIN I_FormOfAddress AS _FormOfAddress ON FormOfAddress = _FormOfAddress.FormOfAddress  -- association [0..1]
LEFT OUTER JOIN I_Language AS _CorrespondenceLanguage ON CorrespondenceLanguage = _CorrespondenceLanguage.Language  -- association [0..1]
LEFT OUTER JOIN I_TransportationZone AS _TransportationZone ON transportzone = _TransportationZone.TransportZone AND country = _TransportationZone.CountryCode  -- association [0..1]
LEFT OUTER JOIN I_AddrCurDfltLandlinePhoneNmbr AS _CurrentDfltLandlinePhoneNmbr ON AddressID = _CurrentDfltLandlinePhoneNmbr.AddressID AND AddressPersonID = _CurrentDfltLandlinePhoneNmbr.AddressPersonID  -- association [0..1]
LEFT OUTER JOIN I_AddrCurDfltMobilePhoneNumber AS _CurrentDfltMobilePhoneNumber ON AddressID = _CurrentDfltMobilePhoneNumber.AddressID AND AddressPersonID = _CurrentDfltMobilePhoneNumber.AddressPersonID  -- association [0..1]
LEFT OUTER JOIN I_AddrCurDefaultFaxNumber AS _CurrentDfltFaxNumber ON AddressID = _CurrentDfltFaxNumber.AddressID AND AddressPersonID = _CurrentDfltFaxNumber.AddressPersonID  -- association [0..1]
LEFT OUTER JOIN I_WorkplaceAddress AS _WorkPlaceAddress ON ReferenceBusinessPartner = _WorkPlaceAddress.BusinessPartner  -- association [1]
;