I_PaymentCardMasterTP_2

DDL: I_PAYMENTCARDMASTERTP_2 Type: view_entity TRANSACTIONAL

Card master BO TP view

I_PaymentCardMasterTP_2 is a Transactional CDS View that provides data about "Card master BO TP view" in SAP S/4HANA. It reads from 1 data source (I_Paymentcardtype) and exposes 15 fields with key fields PaymentCardType, PaymentCardNumber. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Paymentcardtype I_Paymentcardtype from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_PaymentCardLock _PaymentCardLock $projection.PaymentCardLock = _PaymentCardLock.PaymentCardLock
[0..1] I_PaymentCardLockText _Text $projection.PaymentCardLock = _Text.PaymentCardLock and _Text.Language = $session.system_language
[1..1] I_PaymentCardTypeText _PaymentCardTypeText $projection.PaymentCardType = _PaymentCardTypeText.PaymentCardType and _PaymentCardTypeText.Language = $session.system_language

Annotations (8)

NameValueLevelField
EndUserText.label Card master BO TP view view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PaymentCardType PaymentCardType Payt Card Type
KEY PaymentCardNumber PaymentCardNumber Condition Contract
PaymentCardTypeForEdit PaymentCardType Payt Card Type
PaymentCardNumberForEdit PaymentCardNumber Condition Contract
ValidityDate ValidityDate Valid On
ValidityEndDate ValidityEndDate ValidTo
CardHolder CardHolder Cardholder Name
PaymentCardCategory PaymentCardCategory Item Category
CardIssuingBank CardIssuingBank Issuing bank
CardIssueDate CardIssueDate Issued on
PaymentCardLock PaymentCardLock Lock
MaskedCardNumber MaskedCardNumber Card Number
_PaymentCardLock _PaymentCardLock
_PaymentCardTypeText _PaymentCardTypeText
_Text _Text

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_PaymentCardMasterTP_2.
-- 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.

CREATE VIEW I_PaymentCardMasterTP_2 AS
SELECT
  PaymentCardType,
  PaymentCardNumber,
  PaymentCardType AS PaymentCardTypeForEdit,
  PaymentCardNumber AS PaymentCardNumberForEdit,
  ValidityDate,
  ValidityEndDate,
  CardHolder,
  PaymentCardCategory,
  CardIssuingBank,
  CardIssueDate,
  PaymentCardLock,
  MaskedCardNumber
FROM I_Paymentcardtype
LEFT OUTER JOIN I_PaymentCardLock AS _PaymentCardLock ON PaymentCardLock = _PaymentCardLock.PaymentCardLock  -- association [0..1]
LEFT OUTER JOIN I_PaymentCardLockText AS _Text ON PaymentCardLock = _Text.PaymentCardLock AND _Text.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_PaymentCardTypeText AS _PaymentCardTypeText ON PaymentCardType = _PaymentCardTypeText.PaymentCardType AND _PaymentCardTypeText.Language = $session.system_language  -- association [1..1]
;