I_CreditAccountExtended
Credit Account Extended
I_CreditAccountExtended (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_CreditAccountExtended is a Composite CDS View (Cube) that provides data about "Credit Account Extended" in SAP S/4HANA. It reads from 1 data source (P_CreditAccountData) and exposes 38 fields with key fields BusinessPartner, CreditSegment. It has 10 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 account data, integrating various aspects such as business partner information, credit risk, currency details, and credit limits. It is structured to support analytical and reporting needs by aggregating and presenting credit-related data in a unified format. This CDS view provides the data to answer the following business questions: What is the credit exposure and credit limit for each business partner? How does the credit exposure compare to the credit limit for each business partner? What are the details of the credit risk class associated with each business partner? Which business partners have their credit accounts blocked, and what are the reasons for the block? What is the validity period of the credit limits, and when were they last changed? How many business partners are associated with each credit segment? Are the credit limits equal to the calculated or requested credit limits? What is the currency in which the credit exposure and limits are displayed? What is the exchange rate type used for currency conversion in credit calculations? How many days remain until the credit limit validity expires? What is the status of business partners in terms of being critical or having zero credit limits? 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_ReadLineItem : This parameter is a flag used to include the exposure from finance. Default value: Y ( Yes ) 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 Label BusinessPartner Business Partner CreditSegment Credit Segment CreditRiskClass Risk Class Country Country/Region Region Region DisplayCurrency Currency CustomerCreditExposureAmount Exposure Amount CustomerCreditLimitAmount Credit Limit CreditLimitCalculatedAmount Calculated Credit Limit CreditLimitRequestedAmount Requested Credit Limit NumberOfBusinessPartners Number of Business Partners CrdtLimitIsEqualCrdtLimitCalcd Current Limit Vs. Calculated Limit CrdtLimitIsEqualCrdtLimitReqd Current Limit Vs. Requested Limit CreditAccountIsBlocked Blocked Credit Account CreditLimitValidityEndDate Lmt Validity End CreditLimitLastChangeDate Lmt Changed On CreditAccountGroup Credit Group CrdtMgmtBusinessPartnerGroup Credit Group CreditAccountResubmissionDate Resubmission On BusinessPartnerIsCritical Special Attention CreditLimitIsZero Limit is Zero CreditAccountBlockReason Blocking Reason CrdtLmtIsReqdFrmAutomCalc Lmt Calculated CreditLimitReqdValidityEndDate Lmt Reqd End Date CreditLimitRequestDate Lmt Reqd Date CrdtLimitValidityRemainingDays Limit Remaining Days CreditLimitLastChangeDays Days Since Last Change to Credit Limit ExchangeRateType Exchange Rate Type
This CDS view is designed to provide a comprehensive overview of credit account data, integrating various aspects such as business partner information, credit risk, currency details, and credit limits. It is structured to support analytical and reporting needs by aggregating and presenting credit-related data in a unified format. This CDS view provides the data to answer the following business questions: What is the credit exposure and credit limit for each business partner? How does the credit exposure compare to the credit limit for each business partner? What are the details of the credit risk class associated with each business partner? Which business partners have their credit accounts blocked, and what are the reasons for the block? What is the validity period of the credit limits, and when were they last changed? How many business partners are associated with each credit segment? Are the credit limits equal to the calculated or requested credit limits? What is the currency in which the credit exposure and limits are displayed? What is the exchange rate type used for currency conversion in credit calculations? How many days remain until the credit limit validity expires? What is the status of business partners in terms of being critical or having zero credit limits? 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_ReadLineItem : This parameter is a flag used to include the exposure from finance. Default value: Y ( Yes ) 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 Label BusinessPartner Business Partner CreditSegment Credit Segment CreditRiskClass Risk Class Country Country/Region Region Region DisplayCurrency Currency CustomerCreditExposureAmount Exposure Amount CustomerCreditLimitAmount Credit Limit CreditLimitCalculatedAmount Calculated Credit Limit CreditLimitRequestedAmount Requested Credit Limit NumberOfBusinessPartners Number of Business Partners CrdtLimitIsEqualCrdtLimitCalcd Current Limit Vs. Calculated Limit CrdtLimitIsEqualCrdtLimitReqd Current Limit Vs. Requested Limit CreditAccountIsBlocked Blocked Credit Account CreditLimitValidityEndDate Lmt Validity End CreditLimitLastChangeDate Lmt Changed On CreditAccountGroup Credit Group CrdtMgmtBusinessPartnerGroup Credit Group CreditAccountResubmissionDate Resubmission On BusinessPartnerIsCritical Special Attention CreditLimitIsZero Limit is Zero CreditAccountBlockReason Blocking Reason CrdtLmtIsReqdFrmAutomCalc Lmt Calculated CreditLimitReqdValidityEndDate Lmt Reqd End Date CreditLimitRequestDate Lmt Reqd Date CrdtLimitValidityRemainingDays Limit Remaining Days CreditLimitLastChangeDays Days Since Last Change to Credit Limit ExchangeRateType Exchange Rate Type
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_CreditAccountData | P_CreditAccountData | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_ExchangeRateType | kurst_curr | |
| P_DisplayCurrency | vdm_v_display_currency | |
| P_ReadLineItem | read_fiar_lineitems | |
| P_KeyDate | sydate |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [0..1] | I_CreditManagementBP | _Partner | $projection.BusinessPartner = _Partner.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 |
| [0..1] | I_CreditManagementSegment | _CreditSegment | $projection.CreditSegment = _CreditSegment.CreditSegment |
| [0..1] | I_CustomerCreditGroup | _CustomerCreditGroup | $projection.CreditAccountGroup = _CustomerCreditGroup.CreditAccountGroup |
| [0..1] | I_CrdtMBusPartnerGroup | _CrdtMBusPartnerGroup | $projection.CrdtMgmtBusinessPartnerGroup = _CrdtMBusPartnerGroup.CrdtMgmtBusinessPartnerGroup |
| [0..1] | I_CreditBlockReason | _BlockReason | $projection.CreditAccountBlockReason = _BlockReason.CreditAccountBlockReason |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Credit Account Extended | view | |
| AbapCatalog.sqlViewName | ICRDTACCTEXTEND | 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 (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | BusinessPartner | Business Partner Number | |
| KEY | CreditSegment | Credit Segment | ||
| CreditRiskClass | Risk Class | |||
| Country | Country/Region | |||
| Region | Region (State, Province, County) | |||
| DisplayCurrency | DisplayCurrency | Display Currency | ||
| CustomerCreditExposureAmount | Credit Exposure Amount | |||
| CustomerCreditLimitAmount | Customer's Credit Limit | |||
| CreditLimitCalculatedAmount | Calculated Credit Limit | |||
| CreditLimitRequestedAmount | Requested Credit Limit | |||
| NumberOfBusinessPartners | Number of Business Partners | |||
| CrdtLimitIsEqualCrdtLimitCalcd | Current Limit Vs. Calculated Limit | |||
| CrdtLimitIsEqualCrdtLimitReqd | Current Limit Vs. Requested Limit | |||
| CreditAccountIsBlocked | Blocked Credit Account | |||
| CreditLimitValidityEndDate | Credit Limit Validity End Date | |||
| CreditLimitLastChangeDate | Last Change Date for Credit Limit | |||
| CreditAccountGroup | Customer Credit Group | |||
| CrdtMgmtBusinessPartnerGroup | Customer Credit Group | |||
| CreditAccountResubmissionDate | Resubmission Date | |||
| BusinessPartnerIsCritical | Special Attention Required | |||
| CreditLimitIsZero | Credit Limit is Zero | |||
| CreditAccountBlockReason | Credit Account Blocking Reason | |||
| CrdtLmtIsReqdFrmAutomCalc | Credit Limit Request from Automatic Calculation | |||
| CreditLimitReqdValidityEndDate | Credit Limit Requested Validity End Date | |||
| CreditLimitRequestDate | Credit Limit Requested Date | |||
| CrdtLimitValidityRemainingDays | Limit Remaining Days | |||
| CreditLimitLastChangeDays | Days Since Last Change Made to Credit Limit | |||
| ExchangeRateType | ||||
| _DisplayCurrency | _DisplayCurrency | |||
| _CreditRiskClass | _CreditRiskClass | |||
| _CreditSegment | _CreditSegment | |||
| _Country | _Country | |||
| _Region | _Region | |||
| _BusinessPartner | _BusinessPartner | |||
| _Partner | _Partner | |||
| _CustomerCreditGroup | _CustomerCreditGroup | |||
| _CrdtMBusPartnerGroup | _CrdtMBusPartnerGroup | |||
| _BlockReason | _BlockReason |
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_CreditAccountExtended.
-- 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: ICRDTACCTEXTEND
-- Parameters: P_ExchangeRateType : kurst_curr, P_DisplayCurrency : vdm_v_display_currency, P_ReadLineItem : read_fiar_lineitems, P_KeyDate : sydate
CREATE VIEW I_CreditAccountExtended AS
SELECT
BusinessPartner,
cast( CreditSegment as farp_credit_segment preserving type ) AS CreditSegment,
cast( _Partner.CreditRiskClass as farp_risk_class preserving type ) AS CreditRiskClass,
cast( _BusinessPartner._CurrentDefaultAddress._StandardAddress.Country as farp_country preserving type) AS Country,
_BusinessPartner._CurrentDefaultAddress._StandardAddress.Region AS Region,
DisplayCurrency,
cast( CustomerCreditExposureAmount as farp_credit_exposure preserving type ) AS CustomerCreditExposureAmount,
cast( CustomerCreditLimitAmount as farp_creditlimit_amt preserving type ) AS CustomerCreditLimitAmount,
cast( CreditLimitCalculatedAmount as farp_credlimit_calculated_amt preserving type ) AS CreditLimitCalculatedAmount,
cast( CreditLimitRequestedAmount as farp_credlimit_requested_amt preserving type ) AS CreditLimitRequestedAmount,
cast( NumberOfBusinessPartners as farp_number_of_bp ) AS NumberOfBusinessPartners,
cast( CrdtLimitIsEqualCrdtLimitCalcd as farp_crdtlmtisequalcrdtlmtcalc preserving type ) AS CrdtLimitIsEqualCrdtLimitCalcd,
cast( CrdtLimitIsEqualCrdtLimitReqd as farp_crdtlmt_eq_rdtlmtreqd ) AS CrdtLimitIsEqualCrdtLimitReqd,
cast( CreditAccountIsBlocked as farp_crdtacct_is_blocked preserving type ) AS CreditAccountIsBlocked,
cast( CreditLimitValidityEndDate as farp_crdtlmt_validity_enddate preserving type ) AS CreditLimitValidityEndDate,
cast( CreditLimitLastChangeDate as farp_crdt_lmt_last_change_date preserving type ) AS CreditLimitLastChangeDate,
cast( _Partner.CreditAccountGroup as ukm_cred_group ) AS CreditAccountGroup,
cast(_Partner.CrdtMgmtBusinessPartnerGroup as ukm_cred_group preserving type) AS CrdtMgmtBusinessPartnerGroup,
cast( CreditAccountResubmissionDate as ukm_follow_up_dt preserving type ) AS CreditAccountResubmissionDate,
cast( BusinessPartnerIsCritical as farp_critical_account preserving type ) AS BusinessPartnerIsCritical,
cast( CreditLimitIsZero as farp_crdtlmt_is_zero preserving type ) AS CreditLimitIsZero,
cast( CreditAccountBlockReason as farp_crdtacct_block_reason preserving type ) AS CreditAccountBlockReason,
cast( CrdtLmtIsReqdFrmAutomCalc as farp_crdtlmt_reqdfrm_automcalc preserving type ) AS CrdtLmtIsReqdFrmAutomCalc,
cast( CreditLimitReqdValidityEndDate as farp_crdtlmt_reqd_enddate preserving type ) AS CreditLimitReqdValidityEndDate,
cast( CreditLimitRequestDate as farp_crdtlmt_reqd_date preserving type ) AS CreditLimitRequestDate,
cast( CrdtLimitValidityRemainingDays as farp_crdtlmt_remaining_days preserving type ) AS CrdtLimitValidityRemainingDays,
cast( CreditLimitLastChangeDays as farp_crdtlmt_last_change_days preserving type ) AS CreditLimitLastChangeDays,
:P_ExchangeRateType AS ExchangeRateType
FROM P_CreditAccountData
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_CreditManagementBP AS _Partner ON BusinessPartner = _Partner.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 [0..1]
LEFT OUTER JOIN I_CustomerCreditGroup AS _CustomerCreditGroup ON CreditAccountGroup = _CustomerCreditGroup.CreditAccountGroup -- association [0..1]
LEFT OUTER JOIN I_CrdtMBusPartnerGroup AS _CrdtMBusPartnerGroup ON CrdtMgmtBusinessPartnerGroup = _CrdtMBusPartnerGroup.CrdtMgmtBusinessPartnerGroup -- association [0..1]
LEFT OUTER JOIN I_CreditBlockReason AS _BlockReason ON CreditAccountBlockReason = _BlockReason.CreditAccountBlockReason -- 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