I_IN_STOBilling

DDL: I_IN_STOBILLING SQL: IINSTOBILLING Type: view COMPOSITE

Stock Transport Order Billing Details

I_IN_STOBilling is a Composite CDS View that provides data about "Stock Transport Order Billing Details" in SAP S/4HANA. It reads from 2 data sources (I_IN_BillingDocHistory, I_IN_GRVerifiedSTO) and exposes 17 fields.

Data Sources (2)

SourceAliasJoin Type
I_IN_BillingDocHistory I_IN_BillingDocHistory left_outer
I_IN_GRVerifiedSTO I_IN_GRVerifiedSTO inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IINSTOBILLING view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Stock Transport Order Billing Details view

Fields (17)

KeyFieldSource TableSource FieldDescription
PurchasingDocument I_IN_STOHistory PurchasingDocument Purchasing Document
PurchasingHistoryDocumentType I_IN_STOHistory PurchasingHistoryDocumentType
PurchasingHistoryDocumentYear I_IN_STOHistory PurchasingHistoryDocumentYear
PurchasingHistoryDocument I_IN_STOHistory PurchasingHistoryDocument
STOCreationDate I_IN_STOHistory STOCreationDate
CompanyCode I_IN_STOHistory CompanyCode Receiver Company Code
Supplier I_IN_STOHistory Supplier Supplier
SupplyingPlant I_IN_STOHistory SupplyingPlant Supplying Plant
Plant I_IN_STOHistory Plant Valuation Area
PurchasingDocumentCategory I_IN_STOHistory PurchasingDocumentCategory Doc. Category
PurchasingHistoryCategory I_IN_STOHistory PurchasingHistoryCategory
PostingDate I_IN_STOHistory PostingDate Posting Date for GR
BillingDocument I_IN_BillingDocHistory BillingDocument SD Document
CreationDate I_IN_BillingDocHistory CreationDate Time Stamp
DocumentReferenceID I_IN_BillingDocHistory DocumentReferenceID Reference
SubsequentDocument I_IN_BillingDocHistory SubsequentDocument
BillingDocumentType I_IN_BillingDocHistory BillingDocumentType Billing Type

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_IN_STOBilling.
-- 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: IINSTOBILLING

CREATE VIEW I_IN_STOBilling AS
SELECT
  I_IN_STOHistory.PurchasingDocument AS PurchasingDocument,
  I_IN_STOHistory.PurchasingHistoryDocumentType AS PurchasingHistoryDocumentType,
  I_IN_STOHistory.PurchasingHistoryDocumentYear AS PurchasingHistoryDocumentYear,
  I_IN_STOHistory.PurchasingHistoryDocument AS PurchasingHistoryDocument,
  I_IN_STOHistory.STOCreationDate AS STOCreationDate,
  I_IN_STOHistory.CompanyCode AS CompanyCode,
  I_IN_STOHistory.Supplier AS Supplier,
  I_IN_STOHistory.SupplyingPlant AS SupplyingPlant,
  I_IN_STOHistory.Plant AS Plant,
  I_IN_STOHistory.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  I_IN_STOHistory.PurchasingHistoryCategory AS PurchasingHistoryCategory,
  I_IN_STOHistory.PostingDate AS PostingDate,
  I_IN_BillingDocHistory.BillingDocument AS BillingDocument,
  I_IN_BillingDocHistory.CreationDate AS CreationDate,
  I_IN_BillingDocHistory.DocumentReferenceID AS DocumentReferenceID,
  I_IN_BillingDocHistory.SubsequentDocument AS SubsequentDocument,
  I_IN_BillingDocHistory.BillingDocumentType AS BillingDocumentType
LEFT OUTER JOIN I_IN_BillingDocHistory ON /* join condition not captured in parsed metadata */
INNER JOIN I_IN_GRVerifiedSTO ON /* join condition not captured in parsed metadata */
;