A_CABusPartPayment

DDL: A_CABUSPARTPAYMENT Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_CABusPartPaytEnhcdForDspCrcy I_CABusPartPaytEnhcdForDspCrcy from

Parameters (1)

NameTypeDefault
P_DisplayCurrency waers_curc

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/