I_PaymentPlanItemDetails
Payment Plan Item Details
I_PaymentPlanItemDetails is a Basic CDS View that provides data about "Payment Plan Item Details" in SAP S/4HANA. It reads from 2 data sources (fplt, fpltc) and exposes 46 fields with key fields PaymentPlan, PaymentPlanItem. It has 7 associations to related views.
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PaymentPlan | _PaymentPlan | $projection.PaymentPlan = _PaymentPlan.PaymentPlan |
| [0..1] | I_SDDocumentPaymentCardType | _PaymentCardType | $projection.ElectronicPaymentType = _PaymentCardType.PaymentCardType |
| [0..1] | I_Currency | _AuthorizationCurrency | $projection.AuthorizationCurrency = _AuthorizationCurrency.Currency |
| [0..1] | I_Currency | _MaximumToBeAuthorizedCurrency | $projection.TransactionCurrency = _MaximumToBeAuthorizedCurrency.Currency |
| [0..1] | I_PaymentCardMerchant | _PaymentCardMerchant | $projection.MerchantByClearingHouse = _PaymentCardMerchant.MerchantByClearingHouse |
| [0..1] | I_BillingPlanRelatedBillgSts | _BillingPlanRelatedBillgSts | $projection.PaymentPlanRelatedBillgStatus = _BillingPlanRelatedBillgSts.BillingPlanRelatedBillgStatus |
| [0..1] | I_ElectronicPaymentAuthznType | _ElectronicPaymentAuthznType | $projection.EPaytAuthorizationType = _ElectronicPaymentAuthznType.EPaytAuthorizationType |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IPAYTPLNITMDETS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | PaymentPlanItem | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Payment Plan Item Details | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (46)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PaymentPlan | fpltc | fplnr | Invoicing plan |
| KEY | PaymentPlanItem | fpltc | fpltr | Item |
| ElectronicPaymentType | Payt Card Type | |||
| ElectronicPayment | Condition Contract | |||
| ElectronicPaymentSequence | Suffix | |||
| EPaytValidityStartDate | Validity period | |||
| EPaytValidityEndDate | Validity period | |||
| ElectronicPaymentHolderName | Cardholder Name | |||
| ElectronicPaymentEntryMode | Entry mode | |||
| PaymentPlanRelatedBillgStatus | Billing status | |||
| EPaytAuthorizationType | ccaua | Auth. Type | ||
| AuthorizedAmountInAuthznCrcy | Authorized Amt | |||
| AuthorizationCurrency | waers | Transaction Currency | ||
| AuthorizationByDigitalPaytSrvc | AuthorizationNo | |||
| AuthorizationByAcquirer | Auth. Ref. No. | |||
| AuthorizationDate | Trans. Period End | |||
| AuthorizationTime | Auth. Time | |||
| MerchantByClearingHouse | Merchant ID | |||
| ElectronicPaymentIsSettled | Settled | |||
| ElectronicPaymentTerminal | Terminal | |||
| EPaytPaymentSettlement | Settlement | |||
| EPaytByDigitalPaymentSrvc | Token | |||
| PaymentServiceProvider | dp_psp | Paymnt Serv. Provid. | ||
| PaymentByPaymentServicePrvdr | dp_payid | Payment ID | ||
| TransactionByPaytSrvcPrvdr | dp_psp_transid | PSP Transaction ID | ||
| PaymentCardAuthznRelationID | dp_auth_rel_id | Auth. Rel. ID | ||
| DigitalPaymentTransID | dp_trans_id | Transaction/Payt ID | ||
| ElectronicPaymentCallStatus | Call status | |||
| EPaytAuthorizationResult | Response | |||
| EPaytToBeAuthorizedAmount | Amt to Be Auth. | |||
| EPaytAuthorizationIsExpired | Expired | |||
| EPaytAmountIsChanged | Amount changed | |||
| PreauthorizationIsRequested | Preauth. | |||
| AuthorizationStatusName | rtext | Text | ||
| MaximumToBeAuthorizedAmount | fplt | fakwr | Billing Value | |
| TransactionCurrency | waers | Transaction Currency | ||
| PaytPlnForAuthorizationItem | fplt | uelnr | High.lev.plan | |
| PaytPlnItmForAuthorizationItem | fplt | ueltr | Hg-level item | |
| PaymentPlanAuthorizationItem | ueltr_a | High.-lev.auth. | ||
| _PaymentPlan | _PaymentPlan | |||
| _PaymentCardType | _PaymentCardType | |||
| _AuthorizationCurrency | _AuthorizationCurrency | |||
| _PaymentCardMerchant | _PaymentCardMerchant | |||
| _BillingPlanRelatedBillgSts | _BillingPlanRelatedBillgSts | |||
| _MaximumToBeAuthorizedCurrency | _MaximumToBeAuthorizedCurrency | |||
| _ElectronicPaymentAuthznType | _ElectronicPaymentAuthznType |
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_PaymentPlanItemDetails.
-- 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: IPAYTPLNITMDETS
CREATE VIEW I_PaymentPlanItemDetails AS
SELECT
PaymentPlanItemDetails.fplnr AS PaymentPlan,
PaymentPlanItemDetails.fpltr AS PaymentPlanItem,
cast(ccins as vdm_epayt_type preserving type) AS ElectronicPaymentType,
cast(ccnum as vdm_epayt_number preserving type) AS ElectronicPayment,
cast(ccfol as vdm_epayt_suffix preserving type) AS ElectronicPaymentSequence,
cast(datab as vdm_epayt_validfrom preserving type) AS EPaytValidityStartDate,
cast(datbi as vdm_epayt_validto preserving type) AS EPaytValidityEndDate,
cast(ccname as vdm_epayt_holder preserving type) AS ElectronicPaymentHolderName,
cast(csour as vdm_epayt_entrymode preserving type) AS ElectronicPaymentEntryMode,
cast(fksaf as vdm_epayt_billg_status preserving type) AS PaymentPlanRelatedBillgStatus,
ccaua AS EPaytAuthorizationType,
cast(autwr as vdm_epayt_authrdamount preserving type) AS AuthorizedAmountInAuthznCrcy,
waers AS AuthorizationCurrency,
cast(aunum as vdm_epayt_authznnumber preserving type) AS AuthorizationByDigitalPaytSrvc,
cast(autra as vdm_epayt_authrefcode preserving type) AS AuthorizationByAcquirer,
cast(audat as vdm_epayt_authzndate preserving type) AS AuthorizationDate,
cast(autim as vdm_epayt_authzntime preserving type) AS AuthorizationTime,
cast(merch as vdm_epayt_merchantid preserving type) AS MerchantByClearingHouse,
cast(settl as vdm_epayt_settlement preserving type) AS ElectronicPaymentIsSettled,
cast(trmid as vdm_epayt_terminal preserving type) AS ElectronicPaymentTerminal,
cast(ccbtc as vdm_epayt_settlementrun preserving type) AS EPaytPaymentSettlement,
cast(dp_token as vdm_epayt_token preserving type) AS EPaytByDigitalPaymentSrvc,
dp_psp AS PaymentServiceProvider,
dp_payid AS PaymentByPaymentServicePrvdr,
dp_psp_transid AS TransactionByPaytSrvcPrvdr,
dp_auth_rel_id AS PaymentCardAuthznRelationID,
dp_trans_id AS DigitalPaymentTransID,
cast(ccall as vdm_epayt_callstatus preserving type) AS ElectronicPaymentCallStatus,
cast(react as vdm_epayt_authzncheckresponse preserving type) AS EPaytAuthorizationResult,
cast(autwv as vdm_epayt_tobeauthrdamount preserving type) AS EPaytToBeAuthorizedAmount,
cast(ccold as vdm_epayt_authznisexpired preserving type) AS EPaytAuthorizationIsExpired,
cast(ccval as vdm_epayt_amountchanged preserving type) AS EPaytAmountIsChanged,
cast(ccpre as vdm_epayt_preauthorization preserving type) AS PreauthorizationIsRequested,
rtext AS AuthorizationStatusName,
PaymentPlanItem.fakwr AS MaximumToBeAuthorizedAmount,
waers AS TransactionCurrency,
PaymentPlanItem.uelnr AS PaytPlnForAuthorizationItem,
PaymentPlanItem.ueltr AS PaytPlnItmForAuthorizationItem,
ueltr_a AS PaymentPlanAuthorizationItem
FROM fpltc AS PaymentPlanItemDetails
INNER JOIN fplt AS PaymentPlanItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PaymentPlan AS _PaymentPlan ON PaymentPlan = _PaymentPlan.PaymentPlan -- association [1..1]
LEFT OUTER JOIN I_SDDocumentPaymentCardType AS _PaymentCardType ON ElectronicPaymentType = _PaymentCardType.PaymentCardType -- association [0..1]
LEFT OUTER JOIN I_Currency AS _AuthorizationCurrency ON AuthorizationCurrency = _AuthorizationCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _MaximumToBeAuthorizedCurrency ON TransactionCurrency = _MaximumToBeAuthorizedCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_PaymentCardMerchant AS _PaymentCardMerchant ON MerchantByClearingHouse = _PaymentCardMerchant.MerchantByClearingHouse -- association [0..1]
LEFT OUTER JOIN I_BillingPlanRelatedBillgSts AS _BillingPlanRelatedBillgSts ON PaymentPlanRelatedBillgStatus = _BillingPlanRelatedBillgSts.BillingPlanRelatedBillgStatus -- association [0..1]
LEFT OUTER JOIN I_ElectronicPaymentAuthznType AS _ElectronicPaymentAuthznType ON EPaytAuthorizationType = _ElectronicPaymentAuthznType.EPaytAuthorizationType -- 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