C_SADL_Voc_SalesOrder_SemObj

DDL: C_SADL_VOC_SALESORDER_SEMOBJ SQL: CSADLVSOSO Type: view Package: SADL_GW_EXPOSURE_VOCAN_MOCK

Test View for dynamic semantic object

C_SADL_Voc_SalesOrder_SemObj is a CDS View that provides data about "Test View for dynamic semantic object" in SAP S/4HANA. It reads from 1 data source (I_Sadl_Voc_Salesorder) and exposes 21 fields with key field node_key. It has 2 associations to related views. Part of development package SADL_GW_EXPOSURE_VOCAN_MOCK.

Data Sources (1)

SourceAliasJoin Type
I_Sadl_Voc_Salesorder Document from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Sadl_Voc_Businesspartner _BusinessPartnerCustomer $projection.BusinessPartnerCustomerGuid = _BusinessPartnerCustomer.BusinessPartnerKey
[0..1] I_Sadl_Voc_Businesspartner _BusinessPartnerSupplier $projection.BusinessPartnerSupplierGuid = _BusinessPartnerSupplier.BusinessPartnerKey

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName CSADLVSOSO view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Test View for dynamic semantic object view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY node_key node_key Tree Model: Node Key
SalesOrderId SalesOrderId Sales Order ID
BillingStatus BillingStatus SO Confirmation
BusinessPartnerGuid BusinessPartnerGuid
BusinessPartnerCustomerGuid BusinessPartnerGuid
BusinessPartnerSupplierGuid BusinessPartnerGuid
ChangedAt ChangedAt Time Stamp
ChangedBy ChangedBy User Name
CreatedAt CreatedAt Time Stamp
CreatedBy CreatedBy User Name
CurrencyCode CurrencyCode Currency Code
DeliveryStatus DeliveryStatus Delivery Status
LifecycleStatus LifecycleStatus Life Cycle Status
WEIRD_EXPRESSIONOverallStatus
GrossAmount GrossAmount Gross value
NetAmount NetAmount Stated Amount
TaxAmount TaxAmount Tax Amt in Rptg Crcy
OpportunityId OpportunityId Opportunity ID
_BusinessPartner _BusinessPartner
_BusinessPartnerCustomer _BusinessPartnerCustomer
_BusinessPartnerSupplier _BusinessPartnerSupplier

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 C_SADL_Voc_SalesOrder_SemObj.
-- 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: CSADLVSOSO

CREATE VIEW C_SADL_Voc_SalesOrder_SemObj AS
SELECT
  node_key,
  SalesOrderId,
  BillingStatus,
  BusinessPartnerGuid,
  BusinessPartnerGuid AS BusinessPartnerCustomerGuid,
  BusinessPartnerGuid AS BusinessPartnerSupplierGuid,
  ChangedAt,
  ChangedBy,
  CreatedAt,
  CreatedBy,
  CurrencyCode,
  DeliveryStatus,
  LifecycleStatus,
  GrossAmount,
  NetAmount,
  TaxAmount,
  OpportunityId
FROM I_Sadl_Voc_Salesorder AS Document
LEFT OUTER JOIN I_Sadl_Voc_Businesspartner AS _BusinessPartnerCustomer ON BusinessPartnerCustomerGuid = _BusinessPartnerCustomer.BusinessPartnerKey  -- association [0..1]
LEFT OUTER JOIN I_Sadl_Voc_Businesspartner AS _BusinessPartnerSupplier ON BusinessPartnerSupplierGuid = _BusinessPartnerSupplier.BusinessPartnerKey  -- association [0..1]
;