P_RU_SuplrCustAcctgDocItem0

DDL: P_RU_SUPLRCUSTACCTGDOCITEM0 SQL: PRUSUPCUSITEM0 Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

First Supplier/Customer item in Accounting Document - 1

P_RU_SuplrCustAcctgDocItem0 is a Consumption CDS View that provides data about "First Supplier/Customer item in Accounting Document - 1" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 14 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (1)

SourceAliasJoin Type
I_OperationalAcctgDocItem I_OperationalAcctgDocItem from

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PRUSUPCUSITEM0 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
FinancialAccountType FinancialAccountType Fin. Account Type
Customer Customer Sold-to Party
Supplier Supplier Supplier
BranchAccount BranchAccount Branch Account No.
TransactionCurrency TransactionCurrency Transaction Currency
AssignmentReference AssignmentReference Assignment Reference
DebitCreditCode DebitCreditCode Single-Character Flag
IsNegativePosting IsNegativePosting Negative Posting
IsUsedInPaymentTransaction IsUsedInPaymentTransaction Is Used In Payment Transaction
SpecialGLTransactionType SpecialGLTransactionType Transact.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 P_RU_SuplrCustAcctgDocItem0.
-- 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: PRUSUPCUSITEM0

CREATE VIEW P_RU_SuplrCustAcctgDocItem0 AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  AccountingDocumentItem,
  FinancialAccountType,
  Customer,
  Supplier,
  BranchAccount,
  TransactionCurrency,
  AssignmentReference,
  DebitCreditCode,
  IsNegativePosting,
  IsUsedInPaymentTransaction,
  SpecialGLTransactionType
FROM I_OperationalAcctgDocItem
;