C_OIL_LgclInvtryBalAdjmt
LIA Document Items Balance Adjustment
C_OIL_LgclInvtryBalAdjmt is a Consumption CDS View that provides data about "LIA Document Items Balance Adjustment" in SAP S/4HANA. It reads from 1 data source (R_OIL_LgclInvtryBalAdjmtTP) and exposes 30 fields with key fields LgclInvtryAdjmtDocumentNumber, LgclInvtryAdjmtDocumentYear, LgclInvtryAdjmtDocItemNumber, LgclInvtryAdjmtItmType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_OIL_LgclInvtryBalAdjmtTP | R_OIL_LgclInvtryBalAdjmtTP | projection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | LIA Document Items Balance Adjustment | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LgclInvtryAdjmtDocumentNumber | LgclInvtryAdjmtDocumentNumber | LIA number | |
| KEY | LgclInvtryAdjmtDocumentYear | LgclInvtryAdjmtDocumentYear | Mat. Doc. Year | |
| KEY | LgclInvtryAdjmtDocItemNumber | LgclInvtryAdjmtDocItemNumber | LIA doc item | |
| KEY | LgclInvtryAdjmtItmType | LgclInvtryAdjmtItmType | LIA item type | |
| LgclInvtryAdjmtBalAdjmtTypeTxtlocalized | ||||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| ExchangeAgreement | ExchangeAgreement | Exchange no. | ||
| Plant | Plant | Valuation Area | ||
| PlantName | _Plant | PlantName | Plant Name | |
| FeeAccountingProcessKey | FeeAccountingProcessKey | Process key | ||
| FeeAccountAssignmentTextlocalized | ||||
| Material | Material | Vehicle Model | ||
| MaterialNamelocalized | ||||
| TransacUnitOfMeasureQuantity | TransacUnitOfMeasureQuantity | Quantity | ||
| UnitOfMeasure | UnitOfMeasure | Unit Protected Qty | ||
| ExchangeProductNumber | ExchangeProductNumber | Sub product no. | ||
| MaterialNameasProductNamelocalized | ||||
| LadingExternalBill | LadingExternalBill | Extern.BOL no. | ||
| ItemTextLgclInvtryAdjmt | ItemTextLgclInvtryAdjmt | Text | ||
| ExchangeAgreementType | ExchangeAgreementType | Exchange type | ||
| ExchangeAgreementTypeDesclocalized | ||||
| _CompanyCode | _CompanyCode | |||
| _DerivedProduct | _DerivedProduct | |||
| _ExchangeAgreementType | _ExchangeAgreementType | |||
| _StockIdentifyingMaterial | _StockIdentifyingMaterial | |||
| _Plant | _Plant | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _BalanceAdjustmentTypeVH | _BalanceAdjustmentTypeVH | |||
| _FeeAcctgProcStringVH | _FeeAcctgProcStringVH |
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 C_OIL_LgclInvtryBalAdjmt.
-- 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 C_OIL_LgclInvtryBalAdjmt AS
SELECT
LgclInvtryAdjmtDocumentNumber,
LgclInvtryAdjmtDocumentYear,
LgclInvtryAdjmtDocItemNumber,
LgclInvtryAdjmtItmType,
_BalanceAdjustmentTypeVH._Text.LgclInvtryAdjmtBalAdjmtTypeTxt : localized AS LgclInvtryAdjmtBalAdjmtTypeTxtlocalized,
CompanyCode,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
ExchangeAgreement,
Plant,
_Plant.PlantName AS PlantName,
FeeAccountingProcessKey,
_FeeAcctgProcStringVH._Text.FeeAccountAssignmentText : localized AS FeeAccountAssignmentTextlocalized,
Material,
_StockIdentifyingMaterial._Text.MaterialName : localized AS MaterialNamelocalized,
TransacUnitOfMeasureQuantity,
UnitOfMeasure,
ExchangeProductNumber,
_DerivedProduct._Text.MaterialName as ProductName : localized AS MaterialNameasProductNamelocalized,
LadingExternalBill,
ItemTextLgclInvtryAdjmt,
ExchangeAgreementType,
_ExchangeAgreementType._ExchangeAgreementTypeText.ExchangeAgreementTypeDesc : localized AS ExchangeAgreementTypeDesclocalized
FROM R_OIL_LgclInvtryBalAdjmtTP
;
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