C_IN_JournalVoucherQuery

DDL: C_IN_JOURNALVOUCHERQUERY SQL: CINJRNLVCHRQRY Type: view CONSUMPTION Package: GLO_LOG_IN

Query View for Journal Vouchers in India

C_IN_JournalVoucherQuery is a Consumption CDS View that provides data about "Query View for Journal Vouchers in India" in SAP S/4HANA. It reads from 1 data source (C_IN_JournalVoucherCube) and exposes 21 fields. It has 2 associations to related views. Part of development package GLO_LOG_IN.

Data Sources (1)

SourceAliasJoin Type
C_IN_JournalVoucherCube C_IN_JournalVoucherCube from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_IN_ReversalTypeStdVH _ReversalTypeStdVH $projection.ReversalType = _ReversalTypeStdVH.ReversalType
[0..1] I_IN_ReversalReasonStdVH _ReversalReasonStdVH $projection.ReversalReason = _ReversalReasonStdVH.ReversalReason

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CINJRNLVCHRQRY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
EndUserText.label Query View for Journal Vouchers in India view
Analytics.query true view
VDM.viewType #CONSUMPTION view
OData.publish true view

Fields (21)

KeyFieldSource TableSource FieldDescription
AccountingDocument AccountingDocument Accounting Document
FiscalYear FiscalYear Fiscal Year
CompanyCode CompanyCode Company Code
ReversalType ReversalType Reversal Type
ReversalReason ReversalReason Reversal Reason
TaxItem TaxItem Accounting Document Item
ConditionType ConditionType Condition Type
TaxCode TaxCode Tax Code
GLAccount GLAccount GL Account
Currency Currency Currency
UserName UserName User Name
CreationDate CreationDate Creation Date
JrnlVchrReversedAmt JrnlVchrReversedAmt Reversed Amount
JrnlVchrResidualAmt JrnlVchrResidualAmt
NumberOfDocuments NumberOfDocuments Number of Documents
BusinessPlace BusinessPlace Business Place
ReferenceDocument ReferenceDocument Reference Document
DebitAmountInTransCrcy DebitAmountInTransCrcy Debit Amount
CreditAmountInTransCrcy CreditAmountInTransCrcy Credit Amount
_ReversalReasonStdVH _ReversalReasonStdVH
_ReversalTypeStdVH _ReversalTypeStdVH

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_IN_JournalVoucherQuery.
-- 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: CINJRNLVCHRQRY

CREATE VIEW C_IN_JournalVoucherQuery AS
SELECT
  AccountingDocument,
  FiscalYear,
  CompanyCode,
  ReversalType,
  ReversalReason,
  TaxItem,
  ConditionType,
  TaxCode,
  GLAccount,
  Currency,
  UserName,
  CreationDate,
  JrnlVchrReversedAmt,
  JrnlVchrResidualAmt,
  NumberOfDocuments,
  BusinessPlace,
  ReferenceDocument,
  DebitAmountInTransCrcy,
  CreditAmountInTransCrcy
FROM C_IN_JournalVoucherCube
LEFT OUTER JOIN I_IN_ReversalTypeStdVH AS _ReversalTypeStdVH ON ReversalType = _ReversalTypeStdVH.ReversalType  -- association [0..1]
LEFT OUTER JOIN I_IN_ReversalReasonStdVH AS _ReversalReasonStdVH ON ReversalReason = _ReversalReasonStdVH.ReversalReason  -- association [0..1]
;