I_PubSecContractPartner
PubSec Contract for BP & Acct Cat
PubSec Contract for BP and Acct Cat
I_PubSecContractPartner (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Cross Applications
I_PubSecContractPartner is a Basic CDS View that provides data about "PubSec Contract for BP & Acct Cat" in SAP S/4HANA. It reads from 1 data source (dpsob_bp_acc) and exposes 59 fields with key fields PublicSectorContract, ContractPartner, ContractAccountCategory. It has 13 associations to related views.
SAP Help Documentation
| Category | CDS Views for Taxpayer Identification and Returns Processing |
|---|---|
| Status | Status |
This CDS view is designed to provide a comprehensive overview of public sector contracts associated with business partners and account categories. It consolidates various aspects of contract management, including administrative details, payment information, alternative payer and payee details, collections, and correspondence parameters. The view integrates data from multiple related entities to offer a holistic view of contract relationships and attributes. This CDS view provides the data to answer the following business questions: What are the details of public sector contracts associated with specific business partners and account categories? Who are the alternative payers and payees for a given contract, and what are their associated addresses? What are the payment parameters and methods for incoming and outgoing payments related to a contract? How is the contract categorized in terms of account determination and collections strategy? What are the correspondence parameters and activities associated with a contract, including alternative recipients and recurrence settings? Is a contract marked as obsolete or flagged for archiving, and who created or last modified the contract details? What are the inbound correspondence settings, including creation status, postponement details, and dunning procedures? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: Authorization Object ID Authorization Object Text B_BUP_PCPT Business Partner: End of Purposes F_PSOB_BEG PSCD Contract Object: Authorization Group F_PSOB_VGT PSCD Contract Object: Object Type Authorization Configuration
Structure
Important Fields Important fields in this view include the following: Field Name Label PublicSectorContract Contract Object ContractPartner Business Partner ContractAccountCategory Contract Acct Categ. CreatedByUser Created By CreationDate Created On LastChangedByUser Changed By LastChangedDate Changed On ContractAccountIsObsolete 'Obsolete' Indicator IsMarkedForArchiving Archiv. Preselection ContractAccount Contract Account CAAccountDeterminationCode Account Determin. ID PubSecContrPaytParamIsActv Payment Parameters A CAHouseBankReference Own Bank Details AddressID Address Number CAAlternativePayer Alternative Payer CAAddressIDOfAlternativePayer Alt.Payer Address No CAPaymentMethodForIncgPayment Incom. Payt Method CABankIDForIncomingPayments Bank Det.ID Incoming CAPaymentCardIDForIncomingPayt Pymt Card ID Incomg CAAlternativePayee Alternative Payee CAAddressIDOfAlternativePayee Alt.Payee Address No CAPaymentMethodForOutgPayment Outgoing Payt Method CABankIDForOutgoingPayments Bank Details ID-Outg CAPaymentCardIDForOutgoingPayt Payment Card ID Out. CACollectionsMasterDataGroup Master Data Grp CACollectionStrategy Collection Strategy CACollectionsContactPerson Coll. Contact Person SEPAMandate Mandate Reference ContrCorrespncParamIsActive CO Param Active CAAlternativeCorrespncRcpnt Corresp. Recipient CACorrespondenceActivityCode Activity CACorrespondenceVariant Corresp.Variant SeparateInvoiceIsCreated Sep. invoice PubSecContractInvoiceType Invoice Type CAAddrIDOfAltvCorrespncRcpnt Address Number InbCorrespncCreationStatus Status CACorrespondenceRecurrence Periods PostponementDays Postponement PostponementMonths Postponement CACorrespondenceDunningProced CorrespDunningProc. InboundCorrespncStartPeriod First Period InboundCorrespncStartYear Year InboundCorrespncEndPeriod Last Period InboundCorrespncEndYear Year InbCorrespncParamIsUsd Indivi
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | IS-PS-CA |
| Capabilities | Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view is designed to provide a comprehensive overview of public sector contracts associated with business partners and account categories. It consolidates various aspects of contract management, including administrative details, payment information, alternative payer and payee details, collections, and correspondence parameters. The view integrates data from multiple related entities to offer a holistic view of contract relationships and attributes. </p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the details of public sector contracts associated with specific business partners and account categories?</p></li> <li><p>Who are the alternative payers and payees for a given contract, and what are their associated addresses?</p></li> <li><p>What are the payment parameters and methods for incoming and outgoing payments related to a contract?</p></li> <li><p>How is the contract categorized in terms of account determination and collections strategy?</p></li> <li><p>What are the correspondence parameters and activities associated with a contract, including alternative recipients and recurrence settings?</p></li> <li><p>Is a contract marked as obsolete or flagged for archiving, and who created or last modified the contract details?</p></li> <li><p>What are the inbound correspondence settings, including creation status, postponement details, and dunning procedures?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dpsob_bp_acc | dpsob_bp_acc | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PublicSectorContract | _PublicSectorContract | $projection.PublicSectorContract = _PublicSectorContract.PublicSectorContract |
| [0..1] | I_ContractAccountPartner | _ContractAccountPartner | $projection.ContractPartner = _ContractAccountPartner.BusinessPartner and $projection.ContractAccount = _ContractAccountPartner.ContractAccount |
| [0..1] | I_ContractAccountCategory | _ContractAccountCategory | $projection.ContractAccountCategory = _ContractAccountCategory.ContractAccountCategory and _ContractAccountCategory.CAApplicationArea = 'P' |
| [0..1] | I_ContractAccountHeader | _ContractAccountHeader | $projection.ContractAccount = _ContractAccountHeader.ContractAccount |
| [0..1] | I_BusinessPartner | _ContractPartner | $projection.ContractPartner = _ContractPartner.BusinessPartner |
| [0..1] | I_Address | _ContractPartnerAddress | $projection.AddressID = _ContractPartnerAddress.AddressID |
| [0..1] | I_BusinessPartner | _AlternativePayer | $projection.CAAlternativePayer = _AlternativePayer.BusinessPartner |
| [0..1] | I_Address | _AlternativePayerAddress | $projection.CAAddressIDOfAlternativePayer = _AlternativePayerAddress.AddressID |
| [0..1] | I_BusinessPartner | _AlternativePayee | $projection.CAAlternativePayee = _AlternativePayee.BusinessPartner |
| [0..1] | I_Address | _AlternativePayeeAddress | $projection.CAAddressIDOfAlternativePayee = _AlternativePayeeAddress.AddressID |
| [0..1] | I_BusinessPartner | _AlternativeCorrespncRcpnt | $projection.CAAlternativeCorrespncRcpnt = _AlternativeCorrespncRcpnt.BusinessPartner |
| [0..1] | I_Address | _AltvCorrespncRcpntAddress | $projection.CAAddrIDOfAltvCorrespncRcpnt = _AltvCorrespncRcpntAddress.AddressID |
| [0..1] | I_CACollMasterDataGroup | _CACollectionsMasterDataGroup | $projection.CACollectionsMasterDataGroup = _CACollectionsMasterDataGroup.CACollectionsMasterDataGroup |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | PubSec Contract for BP & Acct Cat | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IPSCONTRACTBPACC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PublicSectorContract | psobkey | Identification Key for Contract Object | |
| KEY | ContractPartner | partner | Business Partner Number | |
| KEY | ContractAccountCategory | partneracctyp | Contract Account Category | |
| CreatedByUser | ernam | Name of Person Responsible for Creating the Object | ||
| CreationDate | erdat | Record Created On | ||
| LastChangedByUser | aenam | Name of Person Who Changed Object | ||
| LastChangedDate | aedat | Last Changed On | ||
| ContractAccountIsObsolete | xobsl | Indicator for Obsolete Contract Account Data | ||
| IsMarkedForArchiving | xdelp | Partial Archiving Preselection | ||
| ContractAccount | partneracc | Contract Account Number | ||
| CAAccountDeterminationCode | kofiz | Account Determination ID for Contract Objects | ||
| PubSecContrPaytParamIsActv | psob_pay_act | Payment Parameters Active for Contract Object | ||
| CAHouseBankReference | eigbv | Own Bank Details | ||
| AddressID | adrnr | Sold-To Address | ||
| CAAlternativePayer | abwre | Alternative Payer | ||
| CAAddressIDOfAlternativePayer | adrre | Address Number for Alternative Payer | ||
| CAPaymentMethodForIncgPayment | ezawe | Incoming Payment Method | ||
| CABankIDForIncomingPayments | ebvty | Bank Details ID for Incoming Payments | ||
| CAPaymentCardIDForIncomingPayt | ccard_id | Payment Card ID for Incoming Payments | ||
| CAAlternativePayee | abwra | Alternative Payee | ||
| CAAddressIDOfAlternativePayee | adrra | Address Number for Alternative Payee | ||
| CAPaymentMethodForOutgPayment | azawe | Outgoing Payment Methods | ||
| CABankIDForOutgoingPayments | abvty | Bank Details ID for Outgoing Payments | ||
| CAPaymentCardIDForOutgoingPayt | ccard_out | Payment Card ID for Outgoing Payments | ||
| CACollectionsMasterDataGroup | cmgrp | Collection Management: Master Data Group | ||
| CACollectionStrategy | strat | Collection Strategy | ||
| CACollectionsContactPerson | cpers | Collections Contact Person | ||
| SEPAMandate | mndid | Unique Reference to Mandate for each Payee | ||
| ContrCorrespncParamIsActive | psob_corr_act | Correspondence Parameters Active for Contract Object | ||
| CAAlternativeCorrespncRcpnt | def_corr_partner | Alternative Correspondence Recipient for Standard Case | ||
| CACorrespondenceActivityCode | def_corr_ackey | FI-CA correspondence - activity key | ||
| CACorrespondenceVariant | coprc | Correspondence Variant | ||
| SeparateInvoiceIsCreated | xsepinv | Separate Invoice | ||
| PubSecContractInvoiceType | invtp | Invoice Type | ||
| CAAddrIDOfAltvCorrespncRcpnt | adrnum_corr | Standard Address No. of Alternative Correspondence Recipient | ||
| InbCorrespncCreationStatus | filstat | Status for Generation of Inbound Correspondence | ||
| CACorrespondenceRecurrence | coper | Correspondence Interval | ||
| PostponementDays | filoffdy | Postponement of a Period (Number of Days) | ||
| PostponementMonths | filoffmt | Postponement of a Period (Months) | ||
| CACorrespondenceDunningProced | corr_mahnv | Correspondence Dunning Procedure | ||
| InboundCorrespncStartPeriod | firstper | First Valid Period for Generating Inbound Correspondence | ||
| InboundCorrespncStartYear | firstper_yr | Year of first valid period | ||
| InboundCorrespncEndPeriod | lastper | Last Valid Period for Generating Inbound Correspondence | ||
| InboundCorrespncEndYear | lastper_yr | Year of Final Valid Period | ||
| InbCorrespncParamIsUsd | individual | Overwrite Customizing Settings | ||
| ReminderIsSent | xreminder | Send Reminder | ||
| _PublicSectorContract | _PublicSectorContract | |||
| _ContractPartner | _ContractPartner | |||
| _ContractPartnerAddress | _ContractPartnerAddress | |||
| _ContractAccountCategory | _ContractAccountCategory | |||
| _ContractAccountHeader | _ContractAccountHeader | |||
| _ContractAccountPartner | _ContractAccountPartner | |||
| _AlternativePayer | _AlternativePayer | |||
| _AlternativePayerAddress | _AlternativePayerAddress | |||
| _AlternativePayee | _AlternativePayee | |||
| _AlternativePayeeAddress | _AlternativePayeeAddress | |||
| _AlternativeCorrespncRcpnt | _AlternativeCorrespncRcpnt | |||
| _AltvCorrespncRcpntAddress | _AltvCorrespncRcpntAddress | |||
| _CACollectionsMasterDataGroup | _CACollectionsMasterDataGroup |
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 I_PubSecContractPartner.
-- 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 I_PubSecContractPartner AS
SELECT
psobkey AS PublicSectorContract,
partner AS ContractPartner,
partneracctyp AS ContractAccountCategory,
ernam AS CreatedByUser,
erdat AS CreationDate,
aenam AS LastChangedByUser,
aedat AS LastChangedDate,
xobsl AS ContractAccountIsObsolete,
xdelp AS IsMarkedForArchiving,
partneracc AS ContractAccount,
kofiz AS CAAccountDeterminationCode,
psob_pay_act AS PubSecContrPaytParamIsActv,
eigbv AS CAHouseBankReference,
adrnr AS AddressID,
abwre AS CAAlternativePayer,
adrre AS CAAddressIDOfAlternativePayer,
ezawe AS CAPaymentMethodForIncgPayment,
ebvty AS CABankIDForIncomingPayments,
ccard_id AS CAPaymentCardIDForIncomingPayt,
abwra AS CAAlternativePayee,
adrra AS CAAddressIDOfAlternativePayee,
azawe AS CAPaymentMethodForOutgPayment,
abvty AS CABankIDForOutgoingPayments,
ccard_out AS CAPaymentCardIDForOutgoingPayt,
cmgrp AS CACollectionsMasterDataGroup,
strat AS CACollectionStrategy,
cpers AS CACollectionsContactPerson,
mndid AS SEPAMandate,
psob_corr_act AS ContrCorrespncParamIsActive,
def_corr_partner AS CAAlternativeCorrespncRcpnt,
def_corr_ackey AS CACorrespondenceActivityCode,
coprc AS CACorrespondenceVariant,
xsepinv AS SeparateInvoiceIsCreated,
invtp AS PubSecContractInvoiceType,
adrnum_corr AS CAAddrIDOfAltvCorrespncRcpnt,
filstat AS InbCorrespncCreationStatus,
coper AS CACorrespondenceRecurrence,
filoffdy AS PostponementDays,
filoffmt AS PostponementMonths,
corr_mahnv AS CACorrespondenceDunningProced,
firstper AS InboundCorrespncStartPeriod,
firstper_yr AS InboundCorrespncStartYear,
lastper AS InboundCorrespncEndPeriod,
lastper_yr AS InboundCorrespncEndYear,
individual AS InbCorrespncParamIsUsd,
xreminder AS ReminderIsSent
FROM dpsob_bp_acc
LEFT OUTER JOIN I_PublicSectorContract AS _PublicSectorContract ON PublicSectorContract = _PublicSectorContract.PublicSectorContract -- association [0..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON ContractPartner = _ContractAccountPartner.BusinessPartner AND ContractAccount = _ContractAccountPartner.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_ContractAccountCategory AS _ContractAccountCategory ON ContractAccountCategory = _ContractAccountCategory.ContractAccountCategory AND _ContractAccountCategory.CAApplicationArea = 'P' -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccountHeader ON ContractAccount = _ContractAccountHeader.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _ContractPartner ON ContractPartner = _ContractPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_Address AS _ContractPartnerAddress ON AddressID = _ContractPartnerAddress.AddressID -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _AlternativePayer ON CAAlternativePayer = _AlternativePayer.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_Address AS _AlternativePayerAddress ON CAAddressIDOfAlternativePayer = _AlternativePayerAddress.AddressID -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _AlternativePayee ON CAAlternativePayee = _AlternativePayee.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_Address AS _AlternativePayeeAddress ON CAAddressIDOfAlternativePayee = _AlternativePayeeAddress.AddressID -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _AlternativeCorrespncRcpnt ON CAAlternativeCorrespncRcpnt = _AlternativeCorrespncRcpnt.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_Address AS _AltvCorrespncRcpntAddress ON CAAddrIDOfAltvCorrespncRcpnt = _AltvCorrespncRcpntAddress.AddressID -- association [0..1]
LEFT OUTER JOIN I_CACollMasterDataGroup AS _CACollectionsMasterDataGroup ON CACollectionsMasterDataGroup = _CACollectionsMasterDataGroup.CACollectionsMasterDataGroup -- association [0..1]
;
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