I_IN_STOBilling
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)
| Source | Alias | Join Type |
|---|---|---|
| I_IN_BillingDocHistory | I_IN_BillingDocHistory | left_outer |
| I_IN_GRVerifiedSTO | I_IN_GRVerifiedSTO | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA