I_CreditManagementAccount

DDL: I_CREDITMANAGEMENTACCOUNT SQL: ICREDMGMNTACCNT Type: view BASIC Package: UKM_CDS

Credit Management Account

I_CreditManagementAccount (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Financial Operations

I_CreditManagementAccount is a Basic CDS View that provides data about "Credit Management Account" in SAP S/4HANA. It reads from 1 data source (ukmbp_cms_sgm) and exposes 21 fields with key fields BusinessPartner, CreditSegment. It has 4 associations to related views. Part of development package UKM_CDS.

SAP Help Documentation

CategoryCDS Views for Credit Evaluation and Management
Purpose
This CDS view retrieves information of a business partner on credit segment level. This is a basic view that is used for analytical apps, for example, the Display Credit Exposure app. This CDS view provides the data to answer the following business questions: What is the credit limit of a business partner in a specific credit segment? Is special attention required for a business partner? Is a business partner blocked in Credit Management? 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 One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: Credit Management - Credit Accounts ( SAP_FIN_BC_CR_CRED_ACC_PC ) Credit Management - Credit Data Overview ( SAP_FIN_BC_CR_DISPLAY_PC ) Development - API Test - Finance - Credit Management ( SAP_A4C_BC_DEV_TST_FIN_CR0_PC )

Structure
Important fields Important fields in this view include the following: Field Name Description CustomerCreditLimitAmount Customer's Credit Limit CreditAccountIsBlocked Block in Cr. Mgmt. BusinessPartnerIsCritical Special Attention CreditAccountBlockReason Block Reason

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-CR-2CL
CapabilitiesData Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves information of a business partner on credit segment level. This is a basic view that is used for analytical apps, for example, the Display Credit Exposure app.</p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>What is the credit limit of a business partner in a specific credit segment?</p> </li> <li> <p>Is special attention required for a business partner? </p> </li> <li> <p>Is a business partner blocked in Credit Management? </p> </li> </ul> <p>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.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
ukmbp_cms_sgm ukmbp_cms_sgm from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] I_CreditManagementBP _CreditAccount $projection.BusinessPartner = _CreditAccount.BusinessPartner
[1..1] I_CreditManagementSegment _CreditSegment $projection.CreditSegment = _CreditSegment.CreditSegment
[0..1] I_CreditBlockReason _CreditBlockReason $projection.CreditAccountBlockReason = _CreditBlockReason.CreditAccountBlockReason

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICREDMGMNTACCNT view
EndUserText.label Credit Management Account view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner partner Business Partner Number
KEY CreditSegment Credit Segment
CreditSegmentCurrency _CreditSegment CreditSegmentCurrency Credit Segment Currency
CustomerCreditLimitAmount credit_limit Credit Limit
CreditLimitCalculatedAmount cred_lim_calc Calculated Credit Limit
CreditLimitRequestedAmount cred_lim_req Credit Limit Requested
CreditAccountIsBlocked xblocked Blocked by Credit Management
CreditLimitValidityEndDate limit_valid_date Valid To Date
CreditLimitLastChangeDate limit_chg_date Change Date for Credit Limit
CreditCoordinator coordinator Credit Analyst
CreditAccountResubmissionDate follow_up_dt Resubmission Date
BusinessPartnerIsCritical Special Attention Required
CreditLimitIsZero x_limit_zero Limit Is Zero
CreditAccountBlockReason block_reason Reason for Block in Credit Management
CrdtLmtIsReqdFrmAutomCalc automatic_req Limit Request from Automatic Calculation
CreditLimitReqdValidityEndDate lim_val_date_req Valid To Date (Requested)
CreditLimitRequestDate req_date Requested On
_BusinessPartner _BusinessPartner
_CreditAccount _CreditAccount
_CreditSegment _CreditSegment
_CreditBlockReason _CreditBlockReason

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_CreditManagementAccount.
-- 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: ICREDMGMNTACCNT

CREATE VIEW I_CreditManagementAccount AS
SELECT
  partner AS BusinessPartner,
  cast( credit_sgmnt as ukm_credit_sgmnt preserving type ) AS CreditSegment,
  _CreditSegment.CreditSegmentCurrency AS CreditSegmentCurrency,
  credit_limit AS CustomerCreditLimitAmount,
  cred_lim_calc AS CreditLimitCalculatedAmount,
  cred_lim_req AS CreditLimitRequestedAmount,
  xblocked AS CreditAccountIsBlocked,
  limit_valid_date AS CreditLimitValidityEndDate,
  limit_chg_date AS CreditLimitLastChangeDate,
  coordinator AS CreditCoordinator,
  follow_up_dt AS CreditAccountResubmissionDate,
  cast( xcritical as ukm_critical_account preserving type ) AS BusinessPartnerIsCritical,
  x_limit_zero AS CreditLimitIsZero,
  block_reason AS CreditAccountBlockReason,
  automatic_req AS CrdtLmtIsReqdFrmAutomCalc,
  lim_val_date_req AS CreditLimitReqdValidityEndDate,
  req_date AS CreditLimitRequestDate
FROM ukmbp_cms_sgm
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_CreditManagementBP AS _CreditAccount ON BusinessPartner = _CreditAccount.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_CreditManagementSegment AS _CreditSegment ON CreditSegment = _CreditSegment.CreditSegment  -- association [1..1]
LEFT OUTER JOIN I_CreditBlockReason AS _CreditBlockReason ON CreditAccountBlockReason = _CreditBlockReason.CreditAccountBlockReason  -- association [0..1]
;