A_SalesOrderWithoutCharge

DDL: A_SALESORDERWITHOUTCHARGE Type: view COMPOSITE Package: ODATA_SD_SOWC_API

Sales Order Without Charge Header

A_SalesOrderWithoutCharge is a Composite CDS View that provides data about "Sales Order Without Charge Header" in SAP S/4HANA. It reads from 1 data source (I_SalesOrderWithoutCharge) and exposes 41 fields with key field SalesOrderWithoutCharge. It has 4 associations to related views. Part of development package ODATA_SD_SOWC_API.

Data Sources (1)

SourceAliasJoin Type
I_SalesOrderWithoutCharge SalesOrderWithoutCharge from

Associations (4)

CardinalityTargetAliasCondition
[0..*] A_SalesOrderWithoutChargeItem _Item $projection.SalesOrderWithoutCharge = _Item.SalesOrderWithoutCharge
[0..*] A_SlsOrdWthoutChrgPartner _Partner $projection.SalesOrderWithoutCharge = _Partner.SalesOrderWithoutCharge
[0..*] A_SlsOrdWthoutChrgText _Text $projection.SalesOrderWithoutCharge = _Text.SalesOrderWithoutCharge
[0..1] E_SalesDocumentBasic _Extension $projection.SalesOrderWithoutCharge = _Extension.SalesDocument

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales Order Without Charge Header view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASOWTHOCHRG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey SalesOrderWithoutCharge view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (41)

KeyFieldSource TableSource FieldDescription
KEY SalesOrderWithoutCharge SalesOrderWithoutCharge
SalesOrderWithoutChargeType SalesOrderWithoutChargeType
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision OrganizationDivision Org. Division
SalesGroup SalesGroup Sales Group
SalesOffice SalesOffice Sales Office
SalesDistrict SalesDistrict Sales District
SoldToParty SoldToParty Sold-to Party
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
CustomerPurchaseOrderType CustomerPurchaseOrderType
CustomerPurchaseOrderDate CustomerPurchaseOrderDate Purchase Order Date
SalesOrderWithoutChargeDate SalesOrderWithoutChargeDate Document Date
TotalNetAmount TotalNetAmount Total Net Amount
TransactionCurrency TransactionCurrency Transaction Currency
SDDocumentReason SDDocumentReason Order Reason
RequestedDeliveryDate RequestedDeliveryDate Requested Delivery Date
DeliveryDateTypeRule DeliveryDateTypeRule Deliv Date Rule
ShippingCondition ShippingCondition Shipping Conditions
CompleteDeliveryIsDefined CompleteDeliveryIsDefined Complete Dlv.
ShippingType ShippingType Shipping Type
DeliveryBlockReason DeliveryBlockReason Delivery Block
HeaderBillingBlockReason HeaderBillingBlockReason Billing Block
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
IncotermsVersion IncotermsVersion Inco. Version
CostCenter CostCenter Cost Center
ReferenceSDDocument ReferenceSDDocument Reference Doc.
AccountingDocExternalReference AccountingDocExternalReference
ReferenceSDDocumentCategory ReferenceSDDocumentCategory Prec.Doc.Categ.
OverallSDProcessStatus OverallSDProcessStatus
OverallTotalDeliveryStatus OverallTotalDeliveryStatus
OverallSDDocumentRejectionSts OverallSDDocumentRejectionSts
_Item _Item
_Partner _Partner
_Text _Text

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 A_SalesOrderWithoutCharge.
-- 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 A_SalesOrderWithoutCharge AS
SELECT
  SalesOrderWithoutCharge,
  SalesOrderWithoutChargeType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  SalesGroup,
  SalesOffice,
  SalesDistrict,
  SoldToParty,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  PurchaseOrderByCustomer,
  CustomerPurchaseOrderType,
  CustomerPurchaseOrderDate,
  SalesOrderWithoutChargeDate,
  TotalNetAmount,
  TransactionCurrency,
  SDDocumentReason,
  RequestedDeliveryDate,
  DeliveryDateTypeRule,
  ShippingCondition,
  CompleteDeliveryIsDefined,
  ShippingType,
  DeliveryBlockReason,
  HeaderBillingBlockReason,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  IncotermsVersion,
  CostCenter,
  ReferenceSDDocument,
  AccountingDocExternalReference,
  ReferenceSDDocumentCategory,
  OverallSDProcessStatus,
  OverallTotalDeliveryStatus,
  OverallSDDocumentRejectionSts
FROM I_SalesOrderWithoutCharge AS SalesOrderWithoutCharge
LEFT OUTER JOIN A_SalesOrderWithoutChargeItem AS _Item ON SalesOrderWithoutCharge = _Item.SalesOrderWithoutCharge  -- association [0..*]
LEFT OUTER JOIN A_SlsOrdWthoutChrgPartner AS _Partner ON SalesOrderWithoutCharge = _Partner.SalesOrderWithoutCharge  -- association [0..*]
LEFT OUTER JOIN A_SlsOrdWthoutChrgText AS _Text ON SalesOrderWithoutCharge = _Text.SalesOrderWithoutCharge  -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SalesOrderWithoutCharge = _Extension.SalesDocument  -- association [0..1]
;