I_CAPaymentForm

DDL: I_CAPAYMENTFORM SQL: ICAPAYTFORM Type: view BASIC

Zahlschein

I_CAPaymentForm is a Basic CDS View that provides data about "Zahlschein" in SAP S/4HANA. It reads from 1 data source (dfkkzr) and exposes 21 fields with key fields CAPaymentFormNumber, CADocumentNumber, CABPItemNumber, CARepetitionItemNumber, BusinessPartner. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dfkkzr dfkkzr from

Associations (5)

CardinalityTargetAliasCondition
[1] I_CADocumentHeader _DocHeader $projection.CADocumentNumber = _DocHeader.CADocumentNumber
[1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1] I_ContractAccountHeader _CAHeader $projection.ContractAccount = _CAHeader.ContractAccount
[1] I_ContractAccountPartner _CAPartner $projection.BusinessPartner = _CAPartner.BusinessPartner and $projection.ContractAccount = _CAPartner.ContractAccount
[1] I_CACorrespondenceType _CACorrespondenceType $projection.CACorrespondenceType = _CACorrespondenceType.CACorrespondenceType

Annotations (10)

NameValueLevelField
EndUserText.label Zahlschein view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ICAPAYTFORM view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY CAPaymentFormNumber nrzas Payment Form
KEY CADocumentNumber opbel Reopen
KEY CABPItemNumber opupk Item
KEY CARepetitionItemNumber opupw Repetition Item
KEY BusinessPartner Tech. BPartner
KEY ContractAccount Tech. CtrAcct
CompanyCode bukrs Value
CAPaymentFormExternalNumber rfzas Pmnt form ref.
CADeletionDate loedt Deletion date
PaymentFormIsPaymentByLink xpblr Payment by Link
DigitalPaymentPaymentRequest dprqi Payment Request
CACorrespondenceType cotyp Destin. Type
CACorrespondence cokey Correspond. Key
CreatedByUser ernam User Name
CreationDate cpudt Imported On
CreationTime cputm Time
_DocHeader _DocHeader
_BusinessPartner _BusinessPartner
_CAHeader _CAHeader
_CAPartner _CAPartner
_CACorrespondenceType _CACorrespondenceType

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_CAPaymentForm.
-- 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.
-- SQL view name: ICAPAYTFORM

CREATE VIEW I_CAPaymentForm AS
SELECT
  nrzas AS CAPaymentFormNumber,
  opbel AS CADocumentNumber,
  opupk AS CABPItemNumber,
  opupw AS CARepetitionItemNumber,
  cast(gpart as bu_partner preserving type ) AS BusinessPartner,
  cast(vkont as vkont_gfn_kk preserving type ) AS ContractAccount,
  bukrs AS CompanyCode,
  rfzas AS CAPaymentFormExternalNumber,
  loedt AS CADeletionDate,
  xpblr AS PaymentFormIsPaymentByLink,
  dprqi AS DigitalPaymentPaymentRequest,
  cotyp AS CACorrespondenceType,
  cokey AS CACorrespondence,
  ernam AS CreatedByUser,
  cpudt AS CreationDate,
  cputm AS CreationTime
FROM dfkkzr
LEFT OUTER JOIN I_CADocumentHeader AS _DocHeader ON CADocumentNumber = _DocHeader.CADocumentNumber  -- association [1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1]
LEFT OUTER JOIN I_ContractAccountHeader AS _CAHeader ON ContractAccount = _CAHeader.ContractAccount  -- association [1]
LEFT OUTER JOIN I_ContractAccountPartner AS _CAPartner ON BusinessPartner = _CAPartner.BusinessPartner AND ContractAccount = _CAPartner.ContractAccount  -- association [1]
LEFT OUTER JOIN I_CACorrespondenceType AS _CACorrespondenceType ON CACorrespondenceType = _CACorrespondenceType.CACorrespondenceType  -- association [1]
;