P_PT_BOPCustSuplrCountry
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)
| Source | Alias | Join Type |
|---|---|---|
| P_PT_BOPCustSuplrBalance | item | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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