I_CreditLimitRequestCube
Credit Limit Request - Cube
I_CreditLimitRequestCube (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Financial Operations
I_CreditLimitRequestCube is a Composite CDS View (Cube) that provides data about "Credit Limit Request - Cube" in SAP S/4HANA. It reads from 1 data source (P_CreditLimitRequest2) and exposes 55 fields with key field CaseUUID. It has 18 associations to related views.
SAP Help Documentation
| Category | CDS Views for Credit Evaluation and Management |
|---|---|
| Data Category | Cube |
Purpose
This CDS view is designed to provide a comprehensive overview of credit limit requests, including details about the business partner, credit segment, and various case attributes. It aggregates and presents data related to credit limits, requests, approvals, and associated business metrics, allowing for detailed analysis and reporting. This CDS view provides the data to answer the following business questions: What are the details of credit limit requests for a specific business partner or credit segment? How many credit limit requests have been made, and what is their status? What is the utilization percentage of the credit limit for a business partner? What are the credit risk class and business partner rating associated with the credit limit requests? How do the requested, approved, and actual credit limit amounts compare? What is the expected sales amount and customer credit exposure amount related to the credit limit requests? Are there any cases where the planned close date for a credit limit request has been exceeded? What are the details of the case processor, creator, last changer, and closer for each credit limit request? What are the reasons, types, and categories associated with the credit limit request cases? What is the priority and system status of each credit limit request case? 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 a role with the following restriction types set to read access: Restriction Type ID Restriction Type RLTYP BP Role B_BUP_DCPC Business Partner Processing BEGRU_BUPA_GRP Authorization Group for Business Partners UKM_SGMNT Credit Segment You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Parameters The parameters of the CDS view are as follows: P_ExchangeRateType : This parameter is used to set the exchange rate type for currency conversion. Default value: M ( Standard translation at average rate ) P_DisplayCurrency : This parameter is used to define the currency in which amounts are displayed. P_KeyDate : This parameter is used to specify the key date for data extraction. Important Fields Important fields in this view include the following: Field Name Description CaseUUID UUID in Character Format BusinessPartner Business Partner Number CreditSegment Credit Segment CreditLimitUtilizationPct Credit Limit Utilization in Percent CreditLimitRequestedAmount Requested Credit Limit
This CDS view is designed to provide a comprehensive overview of credit limit requests, including details about the business partner, credit segment, and various case attributes. It aggregates and presents data related to credit limits, requests, approvals, and associated business metrics, allowing for detailed analysis and reporting. This CDS view provides the data to answer the following business questions: What are the details of credit limit requests for a specific business partner or credit segment? How many credit limit requests have been made, and what is their status? What is the utilization percentage of the credit limit for a business partner? What are the credit risk class and business partner rating associated with the credit limit requests? How do the requested, approved, and actual credit limit amounts compare? What is the expected sales amount and customer credit exposure amount related to the credit limit requests? Are there any cases where the planned close date for a credit limit request has been exceeded? What are the details of the case processor, creator, last changer, and closer for each credit limit request? What are the reasons, types, and categories associated with the credit limit request cases? What is the priority and system status of each credit limit request case? 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 a role with the following restriction types set to read access: Restriction Type ID Restriction Type RLTYP BP Role B_BUP_DCPC Business Partner Processing BEGRU_BUPA_GRP Authorization Group for Business Partners UKM_SGMNT Credit Segment You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Parameters The parameters of the CDS view are as follows: P_ExchangeRateType : This parameter is used to set the exchange rate type for currency conversion. Default value: M ( Standard translation at average rate ) P_DisplayCurrency : This parameter is used to define the currency in which amounts are displayed. P_KeyDate : This parameter is used to specify the key date for data extraction. Important Fields Important fields in this view include the following: Field Name Description CaseUUID UUID in Character Format BusinessPartner Business Partner Number CreditSegment Credit Segment CreditLimitUtilizationPct Credit Limit Utilization in Percent CreditLimitRequestedAmount Requested Credit Limit
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Financial Operations |
| Application Component | FIN-FSCM-CR |
| Capabilities | Data Provider for Analytical Queries, Data Source in SQL Select, Data Source for Defining CDS Entities |
| Package | Financial Operations for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CreditLimitRequest2 | P_CreditLimitRequest2 | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate | |
| P_DisplayCurrency | vdm_v_display_currency | |
| P_ExchangeRateType | kurst_curr |
Associations (18)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [1..1] | I_Currency | _DisplayCurrency | $projection.DisplayCurrency = _DisplayCurrency.Currency |
| [1..1] | I_CreditRiskClass | _CreditRiskClass | $projection.CreditRiskClass = _CreditRiskClass.CreditRiskClass |
| [0..1] | I_Country | _Country | $projection.Country = _Country.Country |
| [0..1] | I_Region | _Region | $projection.Country = _Region.Country and $projection.Region = _Region.Region |
| [1..1] | I_CreditManagementSegment | _CreditSegment | $projection.CreditSegment = _CreditSegment.CreditSegment |
| [0..1] | I_CreditCaseContact | _Processor | $projection.CaseProcessor = _Processor.UserID |
| [0..1] | I_CreditCaseContact | _CreatedBy | $projection.CaseCreatedBy = _CreatedBy.UserID |
| [0..1] | I_CreditCaseContact | _ChangedBy | $projection.CaseLastChangedBy = _ChangedBy.UserID |
| [0..1] | I_CreditCaseContact | _ClosedBy | $projection.CaseClosedBy = _ClosedBy.UserID |
| [0..1] | I_CaseReasons | _Reasons | $projection.CaseReason = _Reasons.CaseReason and $projection.CaseType = _Reasons.CaseType |
| [0..1] | I_Casetypes | _CaseTypes | $projection.CaseType = _CaseTypes.CaseType |
| [0..1] | I_CaseStatusProfile | _StatusProfile | $projection.CaseStatusProfile = _StatusProfile.CaseStatusProfile |
| [0..1] | I_CaseStatus | _CaseSystemStatus | $projection.CaseSystemStatus = _CaseSystemStatus.Status |
| [0..1] | I_CasePriority | _Priority | $projection.CasePriority = _Priority.CasePriority |
| [0..1] | I_CaseCategory | _Category | $projection.CaseType = _Category.CaseType and $projection.CaseCategory = _Category.CaseCategory |
| [0..1] | I_Caseindividualstatus | _Individual | $projection.CaseStatus = _Individual.CaseStatus and $projection.CaseStatusProfile = _Individual.CaseStatusProfile |
| [0..1] | I_CrdtMBusPartnerGroup | _CrdtMBusPartnerGroup | $projection.CrdtMgmtBusinessPartnerGroup = _CrdtMBusPartnerGroup.CrdtMgmtBusinessPartnerGroup |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Credit Limit Request - Cube | view | |
| AbapCatalog.sqlViewName | ICRDTLMTREQCUBE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CaseUUID | CaseUUID | UUID in character form | |
| CaseID | CaseID | Case ID | ||
| BusinessPartner | BusinessPartner | Business Partner Number | ||
| CreditSegment | CreditSegment | Credit Segment | ||
| Country | Country/Region | |||
| Region | Region (State, Province, County) | |||
| CaseProcessor | CaseProcessor | Processor | ||
| CaseCreatedBy | CaseCreatedBy | Created By | ||
| CaseLastChangedBy | CaseLastChangedBy | Last Changed By | ||
| CaseClosedBy | CaseClosedBy | Closed by User | ||
| CaseReason | CaseReason | Reason for Case | ||
| CaseType | CaseType | Upper/Lowercase | ||
| CaseStatusProfile | CaseStatusProfile | Case: Status Profile | ||
| CaseSystemStatus | CaseSystemStatus | Case: System Status | ||
| CaseStatus | CaseStatus | Case: Status | ||
| CasePriority | CasePriority | Priority | ||
| CaseEscalationReason | CaseEscalationReason | Reason for Escalation | ||
| CaseCategory | CaseCategory | Category | ||
| CreditLimitUtilizationPct | CreditLimitUtilizationPct | Credit Limit Utilization in Percent | ||
| BusinessPartnerRating | BusinessPartnerRating | Score | ||
| CreditRiskClass | CreditRiskClass | Credit Risk Class | ||
| CrdtMgmtBusinessPartnerGroup | CrdtMgmtBusinessPartnerGroup | Customer Credit Group | ||
| NumberOfCreditLimitRequests | Number of Credit Limit Requests | |||
| CaseCreationDate | Created On | |||
| CaseLastChangeDate | Last Changed On | |||
| CaseClosingDate | Closed On | |||
| CasePlannedCloseDate | Planned Close Date | |||
| CaseIsClosed | Case is Closed | |||
| NmbrOfDaysPlndClsDateExceeded | Number of Days After Planned Closing Date | |||
| CreditLimitIsApproved | Credit Limit Is Approved | |||
| CrdtLmtReqdIsEqualCrdtLmtAprvd | Requested Limit Vs. Approved Limit | |||
| DisplayCurrency | DisplayCurrency | Display Currency | ||
| CreditLimitAmount | Customer's Credit Limit | |||
| CreditLimitRequestedAmount | Requested Credit Limit | |||
| CreditLimitApprovedAmount | Approved Credit Limit | |||
| ExpectedSalesAmount | Expected Sales Revenue | |||
| CustomerCreditExposureAmount | Credit Exposure Amount | |||
| _BusinessPartner | _BusinessPartner | |||
| _Country | _Country | |||
| _Region | _Region | |||
| _CreditSegment | _CreditSegment | |||
| _Processor | _Processor | |||
| _CreatedBy | _CreatedBy | |||
| _ChangedBy | _ChangedBy | |||
| _ClosedBy | _ClosedBy | |||
| _DisplayCurrency | _DisplayCurrency | |||
| _CaseTypes | _CaseTypes | |||
| _CreditRiskClass | _CreditRiskClass | |||
| _Priority | _Priority | |||
| _CaseSystemStatus | _CaseSystemStatus | |||
| _StatusProfile | _StatusProfile | |||
| _Individual | _Individual | |||
| _Category | _Category | |||
| _Reasons | _Reasons | |||
| _CrdtMBusPartnerGroup | _CrdtMBusPartnerGroup |
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_CreditLimitRequestCube.
-- 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: ICRDTLMTREQCUBE
-- Parameters: P_KeyDate : sydate, P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst_curr
CREATE VIEW I_CreditLimitRequestCube AS
SELECT
CaseUUID,
CaseID,
BusinessPartner,
CreditSegment,
cast( _BusinessPartner._CurrentDefaultAddress._StandardAddress.Country as farp_country preserving type) AS Country,
_BusinessPartner._CurrentDefaultAddress._StandardAddress.Region AS Region,
CaseProcessor,
CaseCreatedBy,
CaseLastChangedBy,
CaseClosedBy,
CaseReason,
CaseType,
CaseStatusProfile,
CaseSystemStatus,
CaseStatus,
CasePriority,
CaseEscalationReason,
CaseCategory,
CreditLimitUtilizationPct,
BusinessPartnerRating,
CreditRiskClass,
CrdtMgmtBusinessPartnerGroup,
cast( NumberOfCreditLimitRequests as numberofcreditlimitrequests ) AS NumberOfCreditLimitRequests,
cast( CaseCreationDate as scmg_create_date preserving type ) AS CaseCreationDate,
cast( CaseLastChangeDate as scmg_change_date preserving type ) AS CaseLastChangeDate,
cast( CaseClosingDate as scmg_closing_date preserving type ) AS CaseClosingDate,
cast( CasePlannedCloseDate as scmg_plan_end_date preserving type ) AS CasePlannedCloseDate,
cast ( CaseIsClosed as case_is_closed preserving type ) AS CaseIsClosed,
cast( NmbrOfDaysPlndClsDateExceeded as numberofdaysafterplannedclose preserving type ) AS NmbrOfDaysPlndClsDateExceeded,
cast( CreditLimitIsApproved as farp_crdtlmt_is_approved preserving type ) AS CreditLimitIsApproved,
cast( CrdtLmtReqdIsEqualCrdtLmtAprvd as farp_crdtlmtreq_eq_crdtlmtappr preserving type ) AS CrdtLmtReqdIsEqualCrdtLmtAprvd,
DisplayCurrency,
cast( CreditLimitAmount as farp_creditlimit_amt ) AS CreditLimitAmount,
cast( CreditLimitRequestedAmount as farp_credlimit_requested_amt ) AS CreditLimitRequestedAmount,
cast( CreditLimitApprovedAmount as farp_credlimit_approved_amt ) AS CreditLimitApprovedAmount,
cast( ExpectedSalesAmount as crmt_report_exp_revenue ) AS ExpectedSalesAmount,
cast( CustomerCreditExposureAmount as farp_credit_exposure ) AS CustomerCreditExposureAmount
FROM P_CreditLimitRequest2
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DisplayCurrency ON DisplayCurrency = _DisplayCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_CreditRiskClass AS _CreditRiskClass ON CreditRiskClass = _CreditRiskClass.CreditRiskClass -- association [1..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_Region AS _Region ON Country = _Region.Country AND Region = _Region.Region -- association [0..1]
LEFT OUTER JOIN I_CreditManagementSegment AS _CreditSegment ON CreditSegment = _CreditSegment.CreditSegment -- association [1..1]
LEFT OUTER JOIN I_CreditCaseContact AS _Processor ON CaseProcessor = _Processor.UserID -- association [0..1]
LEFT OUTER JOIN I_CreditCaseContact AS _CreatedBy ON CaseCreatedBy = _CreatedBy.UserID -- association [0..1]
LEFT OUTER JOIN I_CreditCaseContact AS _ChangedBy ON CaseLastChangedBy = _ChangedBy.UserID -- association [0..1]
LEFT OUTER JOIN I_CreditCaseContact AS _ClosedBy ON CaseClosedBy = _ClosedBy.UserID -- association [0..1]
LEFT OUTER JOIN I_CaseReasons AS _Reasons ON CaseReason = _Reasons.CaseReason AND CaseType = _Reasons.CaseType -- association [0..1]
LEFT OUTER JOIN I_Casetypes AS _CaseTypes ON CaseType = _CaseTypes.CaseType -- association [0..1]
LEFT OUTER JOIN I_CaseStatusProfile AS _StatusProfile ON CaseStatusProfile = _StatusProfile.CaseStatusProfile -- association [0..1]
LEFT OUTER JOIN I_CaseStatus AS _CaseSystemStatus ON CaseSystemStatus = _CaseSystemStatus.Status -- association [0..1]
LEFT OUTER JOIN I_CasePriority AS _Priority ON CasePriority = _Priority.CasePriority -- association [0..1]
LEFT OUTER JOIN I_CaseCategory AS _Category ON CaseType = _Category.CaseType AND CaseCategory = _Category.CaseCategory -- association [0..1]
LEFT OUTER JOIN I_Caseindividualstatus AS _Individual ON CaseStatus = _Individual.CaseStatus AND CaseStatusProfile = _Individual.CaseStatusProfile -- association [0..1]
LEFT OUTER JOIN I_CrdtMBusPartnerGroup AS _CrdtMBusPartnerGroup ON CrdtMgmtBusinessPartnerGroup = _CrdtMBusPartnerGroup.CrdtMgmtBusinessPartnerGroup -- 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