P_PT_BOPCustSuplrCountry

DDL: P_PT_BOPCUSTSUPLRCOUNTRY Type: view_entity COMPOSITE

P_PT_BOPCustSuplrCountry is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_PT_BOPCustSuplrBalance) and exposes 40 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem.

Data Sources (1)

SourceAliasJoin Type
P_PT_BOPCustSuplrBalance item from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_PT_BOPCustSuplrBalance CompanyCode Receiver Company Code
KEY FiscalYear P_PT_BOPCustSuplrBalance FiscalYear G/L Fiscal Year
KEY AccountingDocument P_PT_BOPCustSuplrBalance AccountingDocument Journal Entry
KEY AccountingDocumentItem P_PT_BOPCustSuplrBalance AccountingDocumentItem Posting View Item
FinancialAccountType P_PT_BOPCustSuplrBalance FinancialAccountType Fin. Account Type
ClearingAccountingDocument P_PT_BOPCustSuplrBalance ClearingAccountingDocument Clearing Journal Entry
ClearingJournalEntry P_PT_BOPCustSuplrBalance ClearingJournalEntry Clrng doc.
ClearingDate P_PT_BOPCustSuplrBalance ClearingDate Clearing Date
ClearingDocFiscalYear P_PT_BOPCustSuplrBalance ClearingDocFiscalYear Fiscal Year of Clearing Journal Entry
AccountingDocumentType P_PT_BOPCustSuplrBalance AccountingDocumentType Journal Entry Type
AccountingDocumentCategory P_PT_BOPCustSuplrBalance AccountingDocumentCategory Journal Entry Category
SpecialGLCode P_PT_BOPCustSuplrBalance SpecialGLCode Special G/L Ind
FinancialTransactionType P_PT_BOPCustSuplrBalance FinancialTransactionType Transact. Type
Postingdate P_PT_BOPCustSuplrBalance Postingdate Posting Date for GR
PostingKey P_PT_BOPCustSuplrBalance PostingKey Posting Key
DocumentDate P_PT_BOPCustSuplrBalance DocumentDate Journal Entry Date
Customer P_PT_BOPCustSuplrBalance Customer Sold-to Party
Supplier P_PT_BOPCustSuplrBalance Supplier Supplier
BusinessPartner P_PT_BOPCustSuplrBalance BusinessPartner Issuing Authority
PT_BOPValueType P_PT_BOPCustSuplrBalance PT_BOPValueType
PT_BOPAccountType P_PT_BOPCustSuplrBalance PT_BOPAccountType
PT_BOPAcctBalDebitClsfctn P_PT_BOPCustSuplrBalance PT_BOPAcctBalDebitClsfctn
PT_BOPAcctBalCreditClsfctn P_PT_BOPCustSuplrBalance PT_BOPAcctBalCreditClsfctn
DebitCreditCode P_PT_BOPCustSuplrBalance DebitCreditCode Single-Character Flag
TransactionCurrency P_PT_BOPCustSuplrBalance TransactionCurrency Transaction Currency
AmountInTransactionCurrency P_PT_BOPCustSuplrBalance AmountInTransactionCurrency Pt Crcy Amt
GLAccount P_PT_BOPCustSuplrBalance GLAccount General Ledger
CurrencyISOCode P_PT_BOPCustSuplrBalance CurrencyISOCode Document Currency
ReviewComment P_PT_BOPCustSuplrBalance ReviewComment
VATRegistration P_PT_BOPCustSuplrBalance VATRegistration VAT Registration No.
VATRegistrationCountry P_PT_BOPCustSuplrBalance VATRegistrationCountry CtryRgnSlsTxNo.
SupplierVATRegistration P_PT_BOPCustSuplrBalance SupplierVATRegistration VAT Registration No.
CustomerVATRegistration P_PT_BOPCustSuplrBalance CustomerVATRegistration VAT Registration No.
SupplierVATRegistrationCountry P_PT_BOPCustSuplrBalance SupplierVATRegistrationCountry
CustomerVATRegistrationCountry P_PT_BOPCustSuplrBalance CustomerVATRegistrationCountry
OneTimeVendor P_PT_BOPCustSuplrBalance OneTimeVendor
OneTimeCustomer P_PT_BOPCustSuplrBalance OneTimeCustomer
OneTimeCountry P_PT_BOPCustSuplrBalance OneTimeCountry
SupplierCountry P_PT_BOPCustSuplrBalance SupplierCountry
CustomerCountry P_PT_BOPCustSuplrBalance CustomerCountry

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_PT_BOPCustSuplrCountry.
-- 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_PT_BOPCustSuplrCountry AS
SELECT
  item.CompanyCode AS CompanyCode,
  item.FiscalYear AS FiscalYear,
  item.AccountingDocument AS AccountingDocument,
  item.AccountingDocumentItem AS AccountingDocumentItem,
  item.FinancialAccountType AS FinancialAccountType,
  item.ClearingAccountingDocument AS ClearingAccountingDocument,
  item.ClearingJournalEntry AS ClearingJournalEntry,
  item.ClearingDate AS ClearingDate,
  item.ClearingDocFiscalYear AS ClearingDocFiscalYear,
  item.AccountingDocumentType AS AccountingDocumentType,
  item.AccountingDocumentCategory AS AccountingDocumentCategory,
  item.SpecialGLCode AS SpecialGLCode,
  item.FinancialTransactionType AS FinancialTransactionType,
  item.Postingdate AS Postingdate,
  item.PostingKey AS PostingKey,
  item.DocumentDate AS DocumentDate,
  item.Customer AS Customer,
  item.Supplier AS Supplier,
  item.BusinessPartner AS BusinessPartner,
  item.PT_BOPValueType AS PT_BOPValueType,
  item.PT_BOPAccountType AS PT_BOPAccountType,
  item.PT_BOPAcctBalDebitClsfctn AS PT_BOPAcctBalDebitClsfctn,
  item.PT_BOPAcctBalCreditClsfctn AS PT_BOPAcctBalCreditClsfctn,
  item.DebitCreditCode AS DebitCreditCode,
  item.TransactionCurrency AS TransactionCurrency,
  item.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  item.GLAccount AS GLAccount,
  item.CurrencyISOCode AS CurrencyISOCode,
  item.ReviewComment AS ReviewComment,
  item.VATRegistration AS VATRegistration,
  item.VATRegistrationCountry AS VATRegistrationCountry,
  item.SupplierVATRegistration AS SupplierVATRegistration,
  item.CustomerVATRegistration AS CustomerVATRegistration,
  item.SupplierVATRegistrationCountry AS SupplierVATRegistrationCountry,
  item.CustomerVATRegistrationCountry AS CustomerVATRegistrationCountry,
  item.OneTimeVendor AS OneTimeVendor,
  item.OneTimeCustomer AS OneTimeCustomer,
  item.OneTimeCountry AS OneTimeCountry,
  item.SupplierCountry AS SupplierCountry,
  item.CustomerCountry AS CustomerCountry
FROM P_PT_BOPCustSuplrBalance AS item
;