R_CreditLimitRequestTP
Credit Limit Change Requests
R_CreditLimitRequestTP is a Transactional CDS View that provides data about "Credit Limit Change Requests" in SAP S/4HANA. It reads from 1 data source (I_CreditLimitRequest) and exposes 67 fields with key field CaseUUID. It has 14 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CreditLimitRequest | I_CreditLimitRequest | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_RblsMgmtUserContactCard | _CreatedByUserContactCard | $projection.CaseCreatedBy = _CreatedByUserContactCard.ContactCardID |
| [0..1] | R_RblsMgmtUserContactCard | _LastChangeUserContactCard | $projection.CaseLastChangedBy = _LastChangeUserContactCard.ContactCardID |
| [0..1] | R_RblsMgmtUserContactCard | _ClosedByUserContactCard | $projection.CaseClosedBy = _ClosedByUserContactCard.ContactCardID |
| [0..1] | R_RblsMgmtUserContactCard | _CaseProcessorContactCard | $projection.CaseProcessor = _CaseProcessorContactCard.ContactCardID |
| [0..1] | R_RblsMgmtUserContactCard | _CaseResponsibleContactCard | $projection.CaseResponsible = _CaseResponsibleContactCard.ContactCardID |
| [0..1] | R_CreditMgmtAccountTP | _CreditManagementAccount | $projection.BusinessPartner = _CreditManagementAccount.BusinessPartner and $projection.CreditSegment = _CreditManagementAccount.CreditSegment |
| [0..1] | I_BusinessUser | _ProcessorUser | $projection.CaseProcessor = _ProcessorUser.UserID |
| [0..1] | I_BusinessUser | _PersonResponsibleUser | $projection.CaseResponsible = _PersonResponsibleUser.UserID |
| [0..1] | I_CrdtAcctNrOfBlkdCrdtDcsnDocs | _BlockedCreditDecisionDocument | $projection.BusinessPartner = _BlockedCreditDecisionDocument.BusinessPartner and $projection.CreditSegment = _BlockedCreditDecisionDocument.CreditSegment |
| [0..1] | I_CrdtMNrOfBrokenPromisesToPay | _BrokenPromisesToPay | $projection.BusinessPartner = _BrokenPromisesToPay.BusinessPartner and $projection.CreditSegment = _BrokenPromisesToPay.CreditSegment |
| [0..1] | R_CrdtMAccountMainAnalyst | _CreditAnalyst | $projection.BusinessPartner = _CreditAnalyst.BusinessPartner and $projection.CreditSegment = _CreditAnalyst.CreditSegment and _CreditAnalyst.UserID is not initial |
| [0..1] | R_CrdtMgmtBPQuickViewTP | _QuickView | $projection.BusinessPartner = _QuickView.BusinessPartner |
| [1] | E_CreditLimitRequest | _Extension | $projection.CaseUUID = _Extension.CaseUUID |
| [0..*] | R_CrdtLmtChgReqApprvlHierTP | _ApprovalHierarchy | |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.representativeKey | CaseUUID | view | |
| ObjectModel.sapObjectNodeType.name | CreditLimitChangeRequest | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Credit Limit Change Requests | view |
Fields (67)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CaseUUID | CaseUUID | UUID | |
| CaseID | CaseID | Case ID | ||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| CreditSegment | CreditSegment | Credit Segment | ||
| CaseProcessor | CaseProcessor | Processor | ||
| CaseResponsible | CaseResponsible | Person Responsible | ||
| CaseExternalReference | CaseExternalReference | External Reference | ||
| CaseTitle | CaseTitle | Case Title | ||
| CaseCreatedBy | CaseCreatedBy | Created By | ||
| CreditCaseCreationDateTime | CaseCreatedOn | Created At | ||
| CaseLastChangedBy | CaseLastChangedBy | Changed By | ||
| CreditCaseLastChangeDateTime | CaseLastChangedOn | Last Changed At | ||
| CaseClosedBy | CaseClosedBy | Closed By | ||
| CreditCaseCloseDateTime | CaseClosedTime | Closed At | ||
| CasePlannedCloseDate | CasePlannedCloseDate | Planned Close Date | ||
| CaseReason | CaseReason | Reason | ||
| CaseType | CaseType | Upper/Lowercase | ||
| CaseStatusProfile | CaseStatusProfile | Status Profile | ||
| CaseStatus | CaseStatus | Status | ||
| CaseSystemStatus | CaseSystemStatus | System Status | ||
| CasePriority | CasePriority | Priority | ||
| CaseAuthorizationLevel | CaseAuthorizationLevel | Auth. Level | ||
| CaseEscalationReason | CaseEscalationReason | Escalation Reason | ||
| CaseCategory | CaseCategory | Category | ||
| CaseStatusObjectNumber | CaseStatusObjectNumber | |||
| CaseSystemStatusName | CaseSystemStatusName | |||
| CaseUserStatusName | CaseUserStatusName | User Status | ||
| CreditLimitUtilizationPct | CreditLimitUtilizationPct | |||
| BusinessPartnerRating | BusinessPartnerRating | |||
| CreditRiskClass | CreditRiskClass | Credit Risk Class | ||
| CrdtMgmtBusinessPartnerGroup | CrdtMgmtBusinessPartnerGroup | |||
| CreditSegmentCurrency | CreditSegmentCurrency | Currency | ||
| CreditLimitAmount | CreditLimitAmount | Credit Limit | ||
| CreditLimitRequestedAmount | CreditLimitRequestedAmount | Requested | ||
| CreditLimitApprovedAmount | CreditLimitApprovedAmount | |||
| ExpectedSalesAmount | ExpectedSalesAmount | |||
| CustomerCreditExposureAmount | ||||
| CreditLimitValidityEndDate | CreditLimitValidityEndDate | Valid To | ||
| CreditCoordinator | _CreditAnalyst | UserID | User Name | |
| _BusinessPartner | _BusinessPartner | |||
| _CaseSystemStatus | _CaseSystemStatus | |||
| _CaseTypes | _CaseTypes | |||
| _CrdtMBusPartnerGroup | _CrdtMBusPartnerGroup | |||
| _CreditManagementBP | _CreditManagementBP | |||
| _CreditRiskClass | _CreditRiskClass | |||
| _CreditSegment | _CreditSegment | |||
| _Currency | _Currency | |||
| _Escalation | _Escalation | |||
| _Individual | _Individual | |||
| _CaseCategory | _CaseCategory | |||
| _Priority | _Priority | |||
| _Reasons | _Reasons | |||
| _StatProfile | _StatProfile | |||
| _CreatedByUserContactCard | _CreatedByUserContactCard | |||
| _LastChangeUserContactCard | _LastChangeUserContactCard | |||
| _ClosedByUserContactCard | _ClosedByUserContactCard | |||
| _CaseResponsibleContactCard | _CaseResponsibleContactCard | |||
| _CaseProcessorContactCard | _CaseProcessorContactCard | |||
| _CreditManagementAccount | _CreditManagementAccount | |||
| _BlockedCreditDecisionDocument | _BlockedCreditDecisionDocument | |||
| _BrokenPromisesToPay | _BrokenPromisesToPay | |||
| _CreditAnalyst | _CreditAnalyst | |||
| _ProcessorUser | _ProcessorUser | |||
| _PersonResponsibleUser | _PersonResponsibleUser | |||
| _CreditAnalystContactCard | _CreditAnalyst | _CreditAnalystContactCard | ||
| _QuickView | _QuickView | |||
| _ApprovalHierarchy | _ApprovalHierarchy |
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 R_CreditLimitRequestTP.
-- 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 R_CreditLimitRequestTP AS
SELECT
CaseUUID,
CaseID,
BusinessPartner,
CreditSegment,
CaseProcessor,
CaseResponsible,
CaseExternalReference,
CaseTitle,
CaseCreatedBy,
CaseCreatedOn AS CreditCaseCreationDateTime,
CaseLastChangedBy,
CaseLastChangedOn AS CreditCaseLastChangeDateTime,
CaseClosedBy,
CaseClosedTime AS CreditCaseCloseDateTime,
CasePlannedCloseDate,
CaseReason,
CaseType,
CaseStatusProfile,
CaseStatus,
CaseSystemStatus,
CasePriority,
CaseAuthorizationLevel,
CaseEscalationReason,
CaseCategory,
CaseStatusObjectNumber,
CaseSystemStatusName,
CaseUserStatusName,
CreditLimitUtilizationPct,
BusinessPartnerRating,
CreditRiskClass,
CrdtMgmtBusinessPartnerGroup,
CreditSegmentCurrency,
CreditLimitAmount,
CreditLimitRequestedAmount,
CreditLimitApprovedAmount,
ExpectedSalesAmount,
cast( CustomerCreditExposureAmount as ukm_clcr_comm_total preserving type ) AS CustomerCreditExposureAmount,
CreditLimitValidityEndDate,
_CreditAnalyst.UserID AS CreditCoordinator,
_CreditAnalyst._CreditAnalystContactCard AS _CreditAnalystContactCard
FROM I_CreditLimitRequest
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _CreatedByUserContactCard ON CaseCreatedBy = _CreatedByUserContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _LastChangeUserContactCard ON CaseLastChangedBy = _LastChangeUserContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _ClosedByUserContactCard ON CaseClosedBy = _ClosedByUserContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _CaseProcessorContactCard ON CaseProcessor = _CaseProcessorContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _CaseResponsibleContactCard ON CaseResponsible = _CaseResponsibleContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN R_CreditMgmtAccountTP AS _CreditManagementAccount ON BusinessPartner = _CreditManagementAccount.BusinessPartner AND CreditSegment = _CreditManagementAccount.CreditSegment -- association [0..1]
LEFT OUTER JOIN I_BusinessUser AS _ProcessorUser ON CaseProcessor = _ProcessorUser.UserID -- association [0..1]
LEFT OUTER JOIN I_BusinessUser AS _PersonResponsibleUser ON CaseResponsible = _PersonResponsibleUser.UserID -- association [0..1]
LEFT OUTER JOIN I_CrdtAcctNrOfBlkdCrdtDcsnDocs AS _BlockedCreditDecisionDocument ON BusinessPartner = _BlockedCreditDecisionDocument.BusinessPartner AND CreditSegment = _BlockedCreditDecisionDocument.CreditSegment -- association [0..1]
LEFT OUTER JOIN I_CrdtMNrOfBrokenPromisesToPay AS _BrokenPromisesToPay ON BusinessPartner = _BrokenPromisesToPay.BusinessPartner AND CreditSegment = _BrokenPromisesToPay.CreditSegment -- association [0..1]
LEFT OUTER JOIN R_CrdtMAccountMainAnalyst AS _CreditAnalyst ON BusinessPartner = _CreditAnalyst.BusinessPartner AND CreditSegment = _CreditAnalyst.CreditSegment AND _CreditAnalyst.UserID is not initial -- association [0..1]
LEFT OUTER JOIN R_CrdtMgmtBPQuickViewTP AS _QuickView ON BusinessPartner = _QuickView.BusinessPartner -- association [0..1]
LEFT OUTER JOIN E_CreditLimitRequest AS _Extension ON CaseUUID = _Extension.CaseUUID -- association [1]
LEFT OUTER JOIN R_CrdtLmtChgReqApprvlHierTP AS _ApprovalHierarchy ON /* condition not available in parsed metadata */ -- association [0..*]
;
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