P_INFOACCT_LQITEM
Entry for Information Account
P_INFOACCT_LQITEM is a Basic CDS View that provides data about "Entry for Information Account" in SAP S/4HANA. It reads from 5 data sources (skb1, skb1, flqacc_info_app, flqacc_info_app, t001) and exposes 17 fields with key fields ChartOfAccounts, CompanyCode, GLAccount, GLAccountFrom, GLAccountTo.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| skb1 | Account | inner |
| skb1 | Account | inner |
| flqacc_info_app | Entry | from |
| flqacc_info_app | Entry | union_all |
| t001 | t001 | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Entry for Information Account | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChartOfAccounts | flqacc_info_app | ktopl | G/L Chart of Accounts |
| KEY | CompanyCode | flqacc_info_app | bukrs | Value |
| KEY | GLAccount | skb1 | saknr | G/L Account |
| KEY | GLAccountFrom | flqacc_info_app | saknr_v | Account From |
| KEY | GLAccountTo | flqacc_info_app | saknr_b | Account To |
| KEY | saknr_bthen2else3endendasPriorityOfRule | |||
| SignOfIncludeExclude | flqacc_info_app | sign | Type of SIGN component in row type of a Ranges type | |
| DefaultLiquidityItem | flqacc_info_app | lqpos_d | Default Value | |
| ktoplasChartOfAccounts | ||||
| KEY | CompanyCode | t001 | bukrs | Value |
| KEY | GLAccount | skb1 | saknr | G/L Account |
| KEY | GLAccountFrom | flqacc_info_app | saknr_v | Account From |
| KEY | GLAccountTo | flqacc_info_app | saknr_b | Account To |
| KEY | saknr_bthen5else6endendasPriorityOfRule | |||
| SignOfIncludeExclude | flqacc_info_app | sign | Type of SIGN component in row type of a Ranges type | |
| DefaultLiquidityItem | flqacc_info_app | lqpos_d | Default Value | |
| FurtherEvaluation | flqacc_info_app | further | Furth.Evaluatn |
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 P_INFOACCT_LQITEM.
-- 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 P_INFOACCT_LQITEM AS
SELECT
Entry.ktopl AS ChartOfAccounts,
Entry.bukrs AS CompanyCode,
Account.saknr AS GLAccount,
Entry.saknr_v AS GLAccountFrom,
Entry.saknr_b AS GLAccountTo,
case when Entry.saknr_b is initial then 1 else case when Entry.saknr_v = Entry.saknr_b then 2 else 3 end end as PriorityOfRule AS saknr_bthen2else3endendasPriorityOfRule,
Entry.sign AS SignOfIncludeExclude,
Entry.lqpos_d AS DefaultLiquidityItem,
Entry.further as FurtherEvaluation AS ktoplasChartOfAccounts,
case when Entry.saknr_b is initial then 4 else case when Entry.saknr_v = Entry.saknr_b then 5 else 6 end end as PriorityOfRule AS saknr_bthen5else6endendasPriorityOfRule,
Entry.further AS FurtherEvaluation
FROM flqacc_info_app AS Entry
INNER JOIN skb1 AS Account ON /* join condition not captured in parsed metadata */
INNER JOIN t001 ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): flqacc_info_app
;
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