I_SlsOrdFlfmtSalesOrder

DDL: I_SLSORDFLFMTSALESORDER SQL: ISOFSLSORD Type: view COMPOSITE Package: VDM_SD_SOF_OLD

SOFM Sales Order

I_SlsOrdFlfmtSalesOrder is a Composite CDS View that provides data about "SOFM Sales Order" in SAP S/4HANA. It reads from 1 data source (I_SalesDocument) and exposes 93 fields with key field SalesOrder. Part of development package VDM_SD_SOF_OLD.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocument SalesDocument from

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label SOFM Sales Order view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ISOFSLSORD view

Fields (93)

KeyFieldSource TableSource FieldDescription
KEY SalesOrder SD Document
SalesOrderType SalesDocumentType Sales Doc. Type
_SalesOrderType _SalesDocumentType
SDDocumentCategory SDDocumentCategory Document Cat.
CreatedByUser CreatedByUser User Name
_CreatedByUser _CreatedByUser
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
LastChangeDate LastChangeDate Time Stamp
OrganizationDivision OrganizationDivision Org. Division
_OrganizationDivision _OrganizationDivision
SalesOrganization SalesOrganization Sales Organization
_SalesOrganization _SalesOrganization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
_DistributionChannel _DistributionChannel
SalesGroup SalesGroup Sales Group
_SalesGroup _SalesGroup
SalesOffice SalesOffice Sales Office
_SalesOffice _SalesOffice
SoldToParty I_SalesDocument SoldToParty Sold-to Party
SoldToPartyName
ShipToParty Partner ShipToParty Ship-To Party (obsolete)
ShipToPartyName
BillToParty Partner BillToParty Inv. Recipient
BillToPartyName
PayerParty Partner PayerParty Payer
PayerPartyName
ResponsibleEmployee Partner ResponsibleEmployee Employee Resp.
ResponsibleEmployeeName
CustomerClassification
_CustomerClassification
SalesOrderDate SalesDocumentDate Document Date
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
CreditControlArea CreditControlArea Credit Control Area
CreditSegment _CreditControlArea2Segment CreditSegment Credit Segment
_CreditControlArea2Segment _CreditControlArea2Segment
NextCreditCheckDate NextCreditCheckDate
TotalNetAmount TotalNetAmount Total Net Amount
TransactionCurrency TransactionCurrency Transaction Currency
StatisticsCurrency StatisticsCurrency
CompleteDeliveryIsDefined CompleteDeliveryIsDefined Complete Dlv.
DeliveryBlockReason DeliveryBlockReason Delivery Block
_DeliveryBlockReason _DeliveryBlockReason
RequestedDeliveryDate RequestedDeliveryDate Requested Delivery Date
ShippingCondition ShippingCondition Shipping Conditions
_ShippingCondition _ShippingCondition
IncotermsClassification IncotermsClassification Incoterms
_IncotermsClassification _IncotermsClassification
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
IncotermsVersion IncotermsVersion Inco. Version
_IncotermsVersion _IncotermsVersion
ShippingType ShippingType Shipping Type
_ShippingType _ShippingType
HeaderBillingBlockReason HeaderBillingBlockReason Billing Block
_HeaderBillingBlockReason _HeaderBillingBlockReason
BillingDocumentDate BillingDocumentDate Billing Date
CustomerPaymentTerms CustomerPaymentTerms Pyt Terms
_CustomerPaymentTerms _CustomerPaymentTerms
OverallSDDocumentRejectionSts OverallSDDocumentRejectionSts
OverallDelivConfStatus OverallDelivConfStatus
OverallDeliveryStatus OverallDeliveryStatus
HdrGeneralIncompletionStatus HdrGeneralIncompletionStatus
_HdrGeneralIncompletionStatus _HdrGeneralIncompletionStatus
HeaderDelivIncompletionStatus HeaderDelivIncompletionStatus
_HeaderDelivIncompletionStatus _HeaderDelivIncompletionStatus
OverallPricingIncompletionSts OverallPricingIncompletionSts
_OverallPricingIncompletionSts _OverallPricingIncompletionSts
HeaderBillgIncompletionStatus HeaderBillgIncompletionStatus
_HeaderBillgIncompletionStatus _HeaderBillgIncompletionStatus
OvrlItmGeneralIncompletionSts OvrlItmGeneralIncompletionSts
_OvrlItmGeneralIncompletionSts _OvrlItmGeneralIncompletionSts
OvrlItmBillingIncompletionSts OvrlItmBillingIncompletionSts
_OvrlItmBillingIncompletionSts _OvrlItmBillingIncompletionSts
OvrlItmDelivIncompletionSts OvrlItmDelivIncompletionSts
_OvrlItmDelivIncompletionSts _OvrlItmDelivIncompletionSts
FinDocCreditCheckStatus FinDocCreditCheckStatus
_FinDocCreditCheckStatus _FinDocCreditCheckStatus
ExprtInsurCreditCheckStatus ExprtInsurCreditCheckStatus
_ExprtInsurCreditCheckStatus _ExprtInsurCreditCheckStatus
PaytAuthsnCreditCheckSts PaytAuthsnCreditCheckSts
_PaytAuthsnCreditCheckSts _PaytAuthsnCreditCheckSts
CentralCreditCheckStatus
_CentralCreditCheckStatus _CentralCreditCheckStatus
ControllingObject I_SalesDocument ControllingObject Object number
_ConObjStatusDelBlocked _ConObjStatusDelBlocked
_ConObjStatusBillgBlocked _ConObjStatusBillgBlocked
CustomerProjectUUID _EngagementProjectItem EngagementProjectUUID Engmnt Project UUID
CustomerProject _EngagementProjectItem EngagementProject Engmnt Project ID
CustomerProjectName
_TransactionCurrency _TransactionCurrency
_StatisticsCurrency _StatisticsCurrency

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_SlsOrdFlfmtSalesOrder.
-- 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: ISOFSLSORD

CREATE VIEW I_SlsOrdFlfmtSalesOrder AS
SELECT
  cast(SalesDocument as vdm_sales_order) AS SalesOrder,
  SalesDocumentType AS SalesOrderType,
  SDDocumentCategory,
  CreatedByUser,
  CreationDate,
  CreationTime,
  LastChangeDate,
  OrganizationDivision,
  SalesOrganization,
  DistributionChannel,
  SalesGroup,
  SalesOffice,
  SalesDocument.SoldToParty AS SoldToParty,
  cast (SalesDocument._SoldToParty.CustomerName as vdm_sold_to_name) AS SoldToPartyName,
  Partner.ShipToParty AS ShipToParty,
  cast (Partner._ShipToParty.CustomerName as ship_to_name) AS ShipToPartyName,
  Partner.BillToParty AS BillToParty,
  cast (Partner._BillToParty.CustomerName as bill_to_name) AS BillToPartyName,
  Partner.PayerParty AS PayerParty,
  cast (Partner._PayerParty.CustomerName as payer_name) AS PayerPartyName,
  Partner.ResponsibleEmployee AS ResponsibleEmployee,
  Partner._ResponsibleEmployee.PersonFullName AS ResponsibleEmployeeName,
  SalesDocument._SoldToParty.CustomerClassification AS CustomerClassification,
  SalesDocument._SoldToParty._CustomerClassification AS _CustomerClassification,
  SalesDocumentDate AS SalesOrderDate,
  PurchaseOrderByCustomer,
  CreditControlArea,
  _CreditControlArea2Segment.CreditSegment AS CreditSegment,
  NextCreditCheckDate,
  TotalNetAmount,
  TransactionCurrency,
  StatisticsCurrency,
  CompleteDeliveryIsDefined,
  DeliveryBlockReason,
  RequestedDeliveryDate,
  ShippingCondition,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  IncotermsVersion,
  ShippingType,
  HeaderBillingBlockReason,
  BillingDocumentDate,
  CustomerPaymentTerms,
  OverallSDDocumentRejectionSts,
  OverallDelivConfStatus,
  OverallDeliveryStatus,
  HdrGeneralIncompletionStatus,
  HeaderDelivIncompletionStatus,
  OverallPricingIncompletionSts,
  HeaderBillgIncompletionStatus,
  OvrlItmGeneralIncompletionSts,
  OvrlItmBillingIncompletionSts,
  OvrlItmDelivIncompletionSts,
  FinDocCreditCheckStatus,
  ExprtInsurCreditCheckStatus,
  PaytAuthsnCreditCheckSts,
  cast(CentralCreditCheckStatus as central_credit_check_status preserving type) AS CentralCreditCheckStatus,
  SalesDocument.ControllingObject AS ControllingObject,
  _EngagementProjectItem.EngagementProjectUUID AS CustomerProjectUUID,
  _EngagementProjectItem.EngagementProject AS CustomerProject,
  _EngagementProjectItem._EngagementProject.EngagementProjectName AS CustomerProjectName
FROM I_SalesDocument AS SalesDocument
;