A_CABusPartPayment
Business Partner Payment
A_CABusPartPayment is a Composite CDS View that provides data about "Business Partner Payment" in SAP S/4HANA. It reads from 1 data source (I_CABusPartPaytEnhcdForDspCrcy) and exposes 10 fields with key field CADocumentContainerUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CABusPartPaytEnhcdForDspCrcy | I_CABusPartPaytEnhcdForDspCrcy | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | waers_curc |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Business Partner Payment | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CADocumentContainerUUID | CABusPartnerPaymentUUID | ||
| CAPaymentDocument | CAPaymentDocument | |||
| CADocumentOriginCode | _PaymentDocHeader | CADocumentOriginCode | ||
| CADocumentOriginCodeName | ||||
| CADocumentContainerRefType | CADocumentContainerRefType | |||
| CADocumentContainerRefTypeText | ||||
| CreationDate | CreationDate | |||
| CreationTime | CreationTime | |||
| DisplayCurrency | DisplayCurrency | |||
| CAPaymentAmountInDC | CAPaymentAmountInDC |
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.createEnabled: false
@ObjectModel.updateEnabled: false
@ObjectModel.deleteEnabled: false
@AccessControl.authorizationCheck: #CHECK
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Business Partner Payment'
define view entity A_CABusPartPayment
with parameters
P_DisplayCurrency : waers_curc
as select from I_CABusPartPaytEnhcdForDspCrcy
(P_DisplayCurrency : $parameters.P_DisplayCurrency)
{
key CABusPartnerPaymentUUID as CADocumentContainerUUID,
//header data
CAPaymentDocument,
_PaymentDocHeader.CADocumentOriginCode,
_PaymentDocHeader._DocOriginCode._Text[1:Language = $session.system_language].CADocumentOriginCodeName,
CADocumentContainerRefType,
_DocCtnRefType._DocCtnRefTypeText[1:Language = $session.system_language].CADocumentContainerRefTypeText,
CreationDate,
CreationTime,
//payment amount
DisplayCurrency,
@Semantics.amount.currencyCode: 'DisplayCurrency'
CAPaymentAmountInDC
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CABUSPARTPAYTENHCDFORDSPCRCY",
"I_CADOCCTNREFTYPE",
"I_CADOCCTNREFTYPETEXT",
"I_CADOCUMENTHEADER",
"I_CADOCUMENTORIGINCODE",
"I_CADOCUMENTORIGINCODETEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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