C_DirectDebitMandateTP
Direct Debit Mandate Projection TP
C_DirectDebitMandateTP is a Consumption CDS View that provides data about "Direct Debit Mandate Projection TP" in SAP S/4HANA. It reads from 1 data source (R_DirectDebitMandateTP) and exposes 173 fields with key fields MandateApplication, OriginalMandate, OriginalMandateCreditor. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F7991, UI_DIRECTDEBITMANDATE_MANAGE). Part of development package ODATA_FIN_DDM_MANDATE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_DirectDebitMandateTP | R_DirectDebitMandateTP | projection |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_DirectDebitMandateUsageTP | _MandateUsage | $projection.DirectDebitMandateUUID = _MandateUsage.DirectDebitMandateUUID |
| [0..*] | C_DirectDebitMandateVersionTP | _MandateVersion | $projection.MandateApplication = _MandateVersion.MandateApplication and $projection.OriginalMandate = _MandateVersion.OriginalMandate and $projection.OriginalMandateCreditor = _MandateVersion.OriginalMandateCreditor |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Direct Debit Mandate Projection TP | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F7991 | ASQL_F7991 | C2 | NOT_RELEASED | |
| UI_DIRECTDEBITMANDATE_MANAGE | UI_DIRECTDEBITMANDT_MANAGE_V4 | V4 | C1 | NOT_RELEASED |
Fields (173)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MandateApplication | R_DirectDebitMandateTP | MandateApplication | Application |
| KEY | OriginalMandate | R_DirectDebitMandateTP | OriginalMandate | Orig. Mandate |
| KEY | OriginalMandateCreditor | R_DirectDebitMandateTP | OriginalMandateCreditor | Origin. Cred. |
| DirectDebitMandateUUID | DirectDebitMandateUUID | Mandate GUID | ||
| TemporaryMandateApplication | TemporaryMandateApplication | Application | ||
| DirectDebitMandate | DirectDebitMandate | Mandate Ref. | ||
| MandateVersion | MandateVersion | Mandate Version | ||
| MandateSignatureLocation | MandateSignatureLocation | Location | ||
| MandateSignatureDate | MandateSignatureDate | Signature | ||
| MandatePaymentType | MandatePaymentType | Payment Type | ||
| MandateValidityDateStartDate | MandateValidityDateStartDate | Valid From | ||
| MandateValidityEndDate | MandateValidityEndDate | Valid To | ||
| MandateStatus | MandateStatus | Status | ||
| MandateStatusCriticality | MandateStatusCriticality | |||
| MandateIsB2BMandate | MandateIsB2BMandate | B2B Mandate | ||
| MandateStatusChangeReason | MandateStatusChangeReason | ReasonForChange | ||
| MandateCreatedByUser | MandateCreatedByUser | Creator | ||
| MandateCreationDate | MandateCreationDate | Created On | ||
| MandateCreationTime | MandateCreationTime | Created At | ||
| DirectDebitMandateChangeReason | DirectDebitMandateChangeReason | ReasonForChange | ||
| MandateIsLocked | MandateIsLocked | Global Lock | ||
| IDOriginalMandateCreatedByUser | IDOriginalMandateCreatedByUser | Created (Orig) | ||
| OriglMandateCreationDate | OriglMandateCreationDate | Created On | ||
| OriglMandateCreationTime | OriglMandateCreationTime | Created At | ||
| MandateReferenceType | MandateReferenceType | Reference Type | ||
| MandateReference | MandateReference | Reference ID | ||
| MandateReferenceDesc | MandateReferenceDesc | Explanation | ||
| MandateSenderType | MandateSenderType | Sender Type | ||
| MandateSender | MandateSender | ID of Sender | ||
| SenderLastName | SenderLastName | Last Name | ||
| SenderFirstName | SenderFirstName | First Name | ||
| SenderStreetName | SenderStreetName | Street | ||
| SenderHouseNumber | SenderHouseNumber | House Number | ||
| SenderPostalCode | SenderPostalCode | Postal Code | ||
| SenderCityName | SenderCityName | City | ||
| SenderCountry | SenderCountry | Country/Reg. | ||
| MandateSenderIBAN | MandateSenderIBAN | IBAN | ||
| MandateSenderBankSWIFTCode | MandateSenderBankSWIFTCode | SWIFT/BIC | ||
| SenderLanguage | SenderLanguage | Language | ||
| MandateAlternativeDebtor | MandateAlternativeDebtor | ID Alt. Debtor | ||
| MandateRecipientType | MandateRecipientType | Recipient Type | ||
| MandateRecipient | MandateRecipient | Recipient ID | ||
| RecipientName1 | RecipientName1 | Name 1 | ||
| RecipientName2 | RecipientName2 | Name 2 | ||
| MandateCreditor | MandateCreditor | Creditor ID | ||
| RecipientStreetName | RecipientStreetName | Street | ||
| RecipientHouseNumber | RecipientHouseNumber | House Number | ||
| RecipientPostalCode | RecipientPostalCode | Postal Code | ||
| RecipientCityName | RecipientCityName | City | ||
| RecipientCountry | RecipientCountry | Country/Reg. | ||
| MandateAlternativePayeeName | MandateAlternativePayeeName | Name Alt. Payee | ||
| MandateAlternativePayee | MandateAlternativePayee | ID Alt. Payee | ||
| MandateFirstUseDate | MandateFirstUseDate | Date | ||
| MandateFirstUseObjTypeCode | MandateFirstUseObjTypeCode | Type of First Usage | ||
| MandateFirstUseInPaymentDoc | MandateFirstUseInPaymentDoc | Key | ||
| MandateLastUseDate | MandateLastUseDate | Date | ||
| MandateLastUseObjTypeCode | MandateLastUseObjTypeCode | Type of Last Usage | ||
| MandateLastUseInPaymentDoc | MandateLastUseInPaymentDoc | ID of Last Usage | ||
| MandateFirstUsePaymentRun | MandateFirstUsePaymentRun | First Payment Run | ||
| MandateOrganizationalUnit1 | MandateOrganizationalUnit1 | Organization ID | ||
| MandateOrganizationalUnit2 | MandateOrganizationalUnit2 | Organization ID | ||
| MandateOrganizationalUnit3 | MandateOrganizationalUnit3 | Organization | ||
| MandateOrganizationalUnit4 | MandateOrganizationalUnit4 | Organization | ||
| PayingCompanyCode | PayingCompanyCode | Paying Company Code | ||
| Customer | Customer | Sold-to Party | ||
| MandateContractType | MandateContractType | Contr. Type | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| InputFiscalYear | InputFiscalYear | Fiscal Year | ||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| CAContract | CAContract | Contract | ||
| ContractAccount | ContractAccount | Contract Acct | ||
| SenderCountryOrRegion | SenderCountryOrRegion | Country/Reg. | ||
| MandateDirectDebitProcedure | MandateDirectDebitProcedure | DD Procedure | ||
| BankCountry | BankCountry | Bank Ctry/Rgn. Key | ||
| PayingBankKey | PayingBankKey | Bank Key | ||
| BankAccount | BankAccount | Bank acct | ||
| BankControlKey | BankControlKey | Control Key | ||
| ReferenceBankDetails | ReferenceBankDetails | Reference | ||
| ShortKeyHouseBank | ShortKeyHouseBank | House Bank | ||
| AccountDetails | AccountDetails | Account ID | ||
| CASubApplication | CASubApplication | Subapplication | ||
| MandateApplicationText | _MandateApplicationText | SEPAMandateApplicationName | ||
| MandatePaymentTypeName | _MandatePaymentTypeText | SEPAPaymentTypeName | ||
| MandateStatusName | _SEPAMandateStatusText | SEPAMandateStatusName | ||
| PayerCountryName | _PayerCountryText | CountryName | Country | |
| RecipientCountryName | _RecipientCountryText | CountryName | Country | |
| SenderCountryName | _SenderCountryText | CountryName | Country | |
| MandateStatusChangeReasonName | _MandateChangeReasonText | SEPAMandateStsChangeReasonName | ||
| BusinessPartnerName | _BusinessPartner | BusinessPartnerName | Extracted Customer Name | |
| CAProviderContractName | _ProviderContractText | CAProviderContractName | ||
| ContractAccountName | _ContractAccountText | ContractAccountName | Cont. acct name | |
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| char1 | ||||
| _Application | _Application | |||
| _BusinessPartner | _BusinessPartner | |||
| _CompanyCode | _CompanyCode | |||
| _CreatedByUser | _CreatedByUser | |||
| _Customer | _Customer | |||
| _FirstUseObjTypeText | _FirstUseObjTypeText | |||
| _LastUseObjTypeText | _LastUseObjTypeText | |||
| _MandateChangeReason | _MandateChangeReason | |||
| _SEPAMandateStatus | _SEPAMandateStatus | |||
| _OriglCreatedByUser | _OriglCreatedByUser | |||
| _PayingCompanyCode | _PayingCompanyCode | |||
| _PaymentType | _PaymentType | |||
| _RecipientTypeText | _RecipientTypeText | |||
| _ReferenceTypeText | _ReferenceTypeText | |||
| _SenderTypeText | _SenderTypeText | |||
| _MandateVersion | _MandateVersion | |||
| _MandateUsage | _MandateUsage | |||
| _SenderCountryText | _SenderCountryText | |||
| _PayerCountryText | _PayerCountryText | |||
| _RecipientCountryText | _RecipientCountryText | |||
| _ContractAccountText | _ContractAccountText | |||
| _CASubApplicationText | _CASubApplicationText | |||
| _MandateApplicationText | _MandateApplicationText | |||
| _MandatePaymentTypeText | _MandatePaymentTypeText | |||
| _SEPAMandateStatusText | _SEPAMandateStatusText | |||
| _MandateChangeReasonText | _MandateChangeReasonText |
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 C_DirectDebitMandateTP.
-- 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 C_DirectDebitMandateTP AS
SELECT
R_DirectDebitMandateTP.MandateApplication AS MandateApplication,
R_DirectDebitMandateTP.OriginalMandate AS OriginalMandate,
R_DirectDebitMandateTP.OriginalMandateCreditor AS OriginalMandateCreditor,
DirectDebitMandateUUID,
TemporaryMandateApplication,
DirectDebitMandate,
MandateVersion,
MandateSignatureLocation,
MandateSignatureDate,
MandatePaymentType,
MandateValidityDateStartDate,
MandateValidityEndDate,
MandateStatus,
MandateStatusCriticality,
MandateIsB2BMandate,
MandateStatusChangeReason,
MandateCreatedByUser,
MandateCreationDate,
MandateCreationTime,
DirectDebitMandateChangeReason,
MandateIsLocked,
IDOriginalMandateCreatedByUser,
OriglMandateCreationDate,
OriglMandateCreationTime,
MandateReferenceType,
MandateReference,
MandateReferenceDesc,
MandateSenderType,
MandateSender,
SenderLastName,
SenderFirstName,
SenderStreetName,
SenderHouseNumber,
SenderPostalCode,
SenderCityName,
SenderCountry,
MandateSenderIBAN,
MandateSenderBankSWIFTCode,
SenderLanguage,
MandateAlternativeDebtor,
MandateRecipientType,
MandateRecipient,
RecipientName1,
RecipientName2,
MandateCreditor,
RecipientStreetName,
RecipientHouseNumber,
RecipientPostalCode,
RecipientCityName,
RecipientCountry,
MandateAlternativePayeeName,
MandateAlternativePayee,
MandateFirstUseDate,
MandateFirstUseObjTypeCode,
MandateFirstUseInPaymentDoc,
MandateLastUseDate,
MandateLastUseObjTypeCode,
MandateLastUseInPaymentDoc,
MandateFirstUsePaymentRun,
MandateOrganizationalUnit1,
MandateOrganizationalUnit2,
MandateOrganizationalUnit3,
MandateOrganizationalUnit4,
PayingCompanyCode,
Customer,
MandateContractType,
CompanyCode,
AccountingDocument,
InputFiscalYear,
BusinessPartner,
CAContract,
ContractAccount,
SenderCountryOrRegion,
MandateDirectDebitProcedure,
BankCountry,
PayingBankKey,
BankAccount,
BankControlKey,
ReferenceBankDetails,
ShortKeyHouseBank,
AccountDetails,
CASubApplication,
_MandateApplicationText.SEPAMandateApplicationName AS MandateApplicationText,
_MandatePaymentTypeText.SEPAPaymentTypeName AS MandatePaymentTypeName,
_SEPAMandateStatusText.SEPAMandateStatusName AS MandateStatusName,
_PayerCountryText.CountryName AS PayerCountryName,
_RecipientCountryText.CountryName AS RecipientCountryName,
_SenderCountryText.CountryName AS SenderCountryName,
_MandateChangeReasonText.SEPAMandateStsChangeReasonName AS MandateStatusChangeReasonName,
_BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
_ProviderContractText.CAProviderContractName AS CAProviderContractName,
_ContractAccountText.ContractAccountName AS ContractAccountName,
virtual UICT_BusinessPartner : abap.char(1) AS char1
FROM R_DirectDebitMandateTP
LEFT OUTER JOIN C_DirectDebitMandateUsageTP AS _MandateUsage ON DirectDebitMandateUUID = _MandateUsage.DirectDebitMandateUUID -- association [0..*]
LEFT OUTER JOIN C_DirectDebitMandateVersionTP AS _MandateVersion ON MandateApplication = _MandateVersion.MandateApplication AND OriginalMandate = _MandateVersion.OriginalMandate AND OriginalMandateCreditor = _MandateVersion.OriginalMandateCreditor -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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