I_SDDocStandardPartner

DDL: I_SDDOCSTANDARDPARTNER SQL: ISDDOCSTDPART Type: view COMPOSITE Package: VDM_SD_BF_PD

SD Document Standard Partner

I_SDDocStandardPartner is a Composite CDS View that provides data about "SD Document Standard Partner" in SAP S/4HANA. It reads from 1 data source (P_SDDocStandardPartner1) and exposes 15 fields with key field SDDocument. It has 6 associations to related views. Part of development package VDM_SD_BF_PD.

Data Sources (1)

SourceAliasJoin Type
P_SDDocStandardPartner1 AllSDDocs from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_Customer _BillToParty $projection.BillToParty = _BillToParty.Customer
[0..1] I_Customer _ShipToParty $projection.ShipToParty = _ShipToParty.Customer
[0..1] I_Customer _PayerParty $projection.PayerParty = _PayerParty.Customer
[0..1] I_PersonWorkAgreement_1 _SalesEmployee $projection.SalesEmployee = _SalesEmployee.PersonWorkAgreement
[0..1] I_PersonWorkAgreement_1 _ResponsibleEmployee $projection.ResponsibleEmployee = _ResponsibleEmployee.PersonWorkAgreement

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
EndUserText.label SD Document Standard Partner view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.sqlViewName ISDDOCSTDPART view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY SDDocument P_SDDocStandardPartner1 SDDocument SD Document
SoldToParty
ShipToParty
BillToParty
PayerParty
SalesEmployee
ResponsibleEmployee
SalesEmployeeWorkAgreement
ResponsibleEmployeeWorkAgrmt
_SoldToParty _SoldToParty
_BillToParty _BillToParty
_ShipToParty _ShipToParty
_PayerParty _PayerParty
_SalesEmployee _SalesEmployee
_ResponsibleEmployee _ResponsibleEmployee

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 I_SDDocStandardPartner.
-- 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.
-- SQL view name: ISDDOCSTDPART

CREATE VIEW I_SDDocStandardPartner AS
SELECT
  AllSDDocs.SDDocument AS SDDocument,
  cast(SoldToParty.Customer as kunag preserving type) AS SoldToParty,
  cast(ShipToParty.Customer as kunwe preserving type) AS ShipToParty,
  cast(BillToParty.Customer as kunre preserving type) AS BillToParty,
  cast(PayerParty.Customer as kunrg preserving type) AS PayerParty,
  cast(SalesEmployee.Personnel as sales_empl preserving type) AS SalesEmployee,
  cast(ResponsibleEmployee.Personnel as resp_empl preserving type) AS ResponsibleEmployee,
  cast(SalesEmployee.Personnel as sales_empl preserving type) AS SalesEmployeeWorkAgreement,
  cast(ResponsibleEmployee.Personnel as resp_empl preserving type) AS ResponsibleEmployeeWorkAgrmt
FROM P_SDDocStandardPartner1 AS AllSDDocs
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _BillToParty ON BillToParty = _BillToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _ShipToParty ON ShipToParty = _ShipToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _PayerParty ON PayerParty = _PayerParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _SalesEmployee ON SalesEmployee = _SalesEmployee.PersonWorkAgreement  -- association [0..1]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _ResponsibleEmployee ON ResponsibleEmployee = _ResponsibleEmployee.PersonWorkAgreement  -- association [0..1]
;