A_BusSolnOrdSimulation

DDL: A_BUSSOLNORDSIMULATION Type: view_entity CONSUMPTION Package: ODATA_CRMS4_SOLUTIONORDER_API

Header Simulation

A_BusSolnOrdSimulation is a Consumption CDS View that provides data about "Header Simulation" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 23 fields with key field BusinessSolutionOrder. It has 3 associations to related views. It is exposed through 1 OData service (API_BUSSOLNORDSIMULATION). Part of development package ODATA_CRMS4_SOLUTIONORDER_API.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd I_ServiceDocumentEnhcd from

Associations (3)

CardinalityTargetAliasCondition
[0..1] E_ServiceDocument _Extension $projection.BusinessSolutionOrder = _Extension.ServiceOrder and _Extension.ServiceCategory = 'BUS2000172'
[0..*] A_BusSolnOrdItemSimulation _Item
[0..*] A_BusSolnOrdPartnerSimulation _Partner

Annotations (10)

NameValueLevelField
EndUserText.label Header Simulation view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name BusinessSolutionOrder_Type view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.query.implementedBy ABAP:CL_CRMS4_SOLO_SIMLN_QUERY view

OData Services (1)

ServiceBindingVersionContractRelease
API_BUSSOLNORDSIMULATION API_BUSSOLNORDSIMULATION V4 C2 C1

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY BusinessSolutionOrder ServiceDocument Transaction ID
BusSolnOrdType ServiceDocumentType Transaction Type
BusSolnOrdDescription ServiceDocumentDescription
PaymentTerms PaymentTerms Pyt Terms
Language Language Report Text Language
ServiceDocumentCreatedByUser ServiceDocumentCreatedByUser
SoldToParty SoldToParty Sold-to Party
ShipToParty ShipToParty Ship-To Party (obsolete)
BillToParty BillToParty Inv. Recipient
PayerParty PayerParty Payer
ContactPersonBusinessPartnerId ContactPerson Contact Person Key
RespEmployeeBusinessPartnerId ResponsibleEmployee Employee Resp.
TransactionCurrency TransactionCurrency Transaction Currency
ServiceDocNetAmount ServiceDocNetAmount
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
BusSolnOrdHasError ServiceDocumentHasError
ServiceObjectType ServiceObjectType Object Type
_Item _Item
_Partner _Partner

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_BusSolnOrdSimulation.
-- 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_BusSolnOrdSimulation AS
SELECT
  ServiceDocument AS BusinessSolutionOrder,
  ServiceDocumentType AS BusSolnOrdType,
  ServiceDocumentDescription AS BusSolnOrdDescription,
  PaymentTerms,
  Language,
  ServiceDocumentCreatedByUser,
  SoldToParty,
  ShipToParty,
  BillToParty,
  PayerParty,
  ContactPerson AS ContactPersonBusinessPartnerId,
  ResponsibleEmployee AS RespEmployeeBusinessPartnerId,
  TransactionCurrency,
  ServiceDocNetAmount,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesOffice,
  SalesGroup,
  ServiceDocumentHasError AS BusSolnOrdHasError,
  ServiceObjectType
FROM I_ServiceDocumentEnhcd
LEFT OUTER JOIN E_ServiceDocument AS _Extension ON BusinessSolutionOrder = _Extension.ServiceOrder AND _Extension.ServiceCategory = 'BUS2000172'  -- association [0..1]
LEFT OUTER JOIN A_BusSolnOrdItemSimulation AS _Item ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN A_BusSolnOrdPartnerSimulation AS _Partner ON /* condition not available in parsed metadata */  -- association [0..*]
;