I_Paymentcard

DDL: I_PAYMENTCARD SQL: IPAYMENTCARD Type: view BASIC Package: VDM_MD_BP_BASE

Core View for Payment Card

I_Paymentcard (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Database & Data Management

I_Paymentcard is a Basic CDS View that provides data about "Core View for Payment Card" in SAP S/4HANA. It reads from 1 data source (but0cc) and exposes 10 fields with key fields BusinessPartner, PaymentCardID, PaymentCardType, CardNumber. It has 2 associations to related views. Part of development package VDM_MD_BP_BASE.

SAP Help Documentation

CategoryCDS Views for Business Partner
StatusReleased
Purpose
This CDS view returns payment card details.. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: B_BUPA_GRP : Business Partner: Authorization Groups B_BUP_DCPD : Business Partner Processing B_BUP_PCPT : Business Partner: Purpose Completed

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessDatabase & Data Management
Application ComponentAP-MD-BP
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageDatabase and Data Management for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
but0cc but0cc from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] I_Paymentcardtype _CardType $projection.PaymentCardType = _CardType.PaymentCardType and $projection.CardNumber = _CardType.PaymentCardNumber

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPAYMENTCARD view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Core View for Payment Card view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
AbapCatalog.preserveKey true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner partner Business Partner Number
KEY PaymentCardID ccard_id CardID Incoming
KEY PaymentCardType ccins Payment Card Type
KEY CardNumber ccnum Payment Cards: Card Number
IsStandardCard ccdef BP: Standard Payment Card
CardDescription ccaccname Description of Credit Card Details
CollectionIsAuthorized cc_coll_auth Flag: Authorization for Payment Card Collection
AuthorizationGroup _BusinessPartner AuthorizationGroup Authorization Group
_CardType _CardType
_BusinessPartner _BusinessPartner

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_Paymentcard.
-- 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: IPAYMENTCARD

CREATE VIEW I_Paymentcard AS
SELECT
  partner AS BusinessPartner,
  ccard_id AS PaymentCardID,
  ccins AS PaymentCardType,
  ccnum AS CardNumber,
  ccdef AS IsStandardCard,
  ccaccname AS CardDescription,
  cc_coll_auth AS CollectionIsAuthorized,
  _BusinessPartner.AuthorizationGroup AS AuthorizationGroup
FROM but0cc
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_Paymentcardtype AS _CardType ON PaymentCardType = _CardType.PaymentCardType AND CardNumber = _CardType.PaymentCardNumber  -- association [1..1]
;