P_INFOACCT_LQITEM

DDL: P_INFOACCT_LQITEM Type: view_entity BASIC

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)

SourceAliasJoin Type
skb1 Account inner
skb1 Account inner
flqacc_info_app Entry from
flqacc_info_app Entry union_all
t001 t001 inner

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;