P_PFFPaymentRequestType

DDL: P_PFFPAYMENTREQUESTTYPE SQL: PPFFPAYRQTYPE Type: view COMPOSITE

P_PFFPaymentRequestType is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_PaymentRequest, I_PaymentRequest) and exposes 4 fields with key field PaymentRequest.

Data Sources (2)

SourceAliasJoin Type
I_PaymentRequest _PaymentRequest from
I_PaymentRequest I_PaymentRequest union_all

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PPFFPAYRQTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PaymentRequest PaymentRequest
PaymentRequestType PaymentRequestOrigin
PaymentRequestType _PaytReqChangeAndPost PaymentRequestType
BPBankAccountInternalID BPBankAccountInternalID
@AbapCatalog.sqlViewName: 'PPFFPAYRQTYPE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M

@VDM.viewType: #COMPOSITE
@VDM.private:true

define view P_PFFPaymentRequestType
  as select from I_PaymentRequest as _PaymentRequest

{
  key PaymentRequest,
      PaymentRequestOrigin as PaymentRequestType,
      BPBankAccountInternalID

}
where
  _PaytReqChangeAndPost.PaymentRequestType is null


union all


select from I_PaymentRequest

{
  key PaymentRequest,
      _PaytReqChangeAndPost.PaymentRequestType as PaymentRequestType,
      BPBankAccountInternalID

}
where
  _PaytReqChangeAndPost.PaymentRequestType is not null
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PAYMENTREQUEST",
"I_PAYTREQCHGANDPOSTINGDATA"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/