I_CreditManagementSegment

DDL: I_CREDITMANAGEMENTSEGMENT SQL: ICREDMGMNTSEGM Type: view BASIC Package: UKM_CDS

Credit Management Segment

I_CreditManagementSegment (Basic)

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

Credit Segment · Financial Operations

I_CreditManagementSegment is a Basic CDS View (Dimension) that provides data about "Credit Management Segment" in SAP S/4HANA. It reads from 1 data source (ukmcred_sgm0c) and exposes 8 fields with key field CreditSegment. It has 3 associations to related views. Part of development package UKM_CDS.

SAP Help Documentation

CategoryCDS Views for Credit Evaluation and Management
Purpose
This CDS view helps to find out which credit segments are defined for business partners in SAP Credit Management. This CDS view provides the data to answer the following business questions: Which credit segments are defined for business partners in SAP 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: SAP_FIN_BC_CR_CRED_ACC_PC - Credit Management - Credit Accounts SAP_FIN_BC_CR_DISPLAY_PC - Credit Management - Credit Data Overview

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-CR-2CL
CapabilitiesData Source for Data Extraction,Analytical Dimension,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Data Source in SQL Select
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 helps to find out which credit segments are defined for business partners in SAP Credit Management.</p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>Which credit segments are defined for business partners in SAP 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
ukmcred_sgm0c ukmcred_sgm0c from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_CreditManagementSegmentTxt _Text $projection.CreditSegment = _Text.CreditSegment
[1..1] I_Currency _Currency $projection.CreditSegmentCurrency = _Currency.Currency
[0..1] I_CreditSegmentAddlConfign _CreditSegmentAddlConfign $projection.CreditSegment = _CreditSegmentAddlConfign.CreditSegment

Annotations (13)

NameValueLevelField
EndUserText.label Credit Management Segment view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AbapCatalog.sqlViewName ICREDMGMNTSEGM view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey CreditSegment view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.sapObjectNodeType.name CreditSegment view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CreditSegment Credit Segment
CreditSegmentCurrency Credit Segment Currency
ExchangeRateType kurst Fix.rate type (EMU)
CrdtSgmtIsMainCreditSegment main_cred_sgmnt Indicator for Main Credit Segment
CrdtSgmtIsAddedToMainSgmt main_credsgm_add Additive Contribution to Main Credit Segment
_Text _Text
_Currency _Currency
_CreditSegmentAddlConfign _CreditSegmentAddlConfign

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_CreditManagementSegment.
-- 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: ICREDMGMNTSEGM

CREATE VIEW I_CreditManagementSegment AS
SELECT
  cast( credit_sgmnt as farp_credit_segment preserving type ) AS CreditSegment,
  cast( currency as farp_sgm_currency preserving type ) AS CreditSegmentCurrency,
  kurst AS ExchangeRateType,
  main_cred_sgmnt AS CrdtSgmtIsMainCreditSegment,
  main_credsgm_add AS CrdtSgmtIsAddedToMainSgmt
FROM ukmcred_sgm0c
LEFT OUTER JOIN I_CreditManagementSegmentTxt AS _Text ON CreditSegment = _Text.CreditSegment  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _Currency ON CreditSegmentCurrency = _Currency.Currency  -- association [1..1]
LEFT OUTER JOIN I_CreditSegmentAddlConfign AS _CreditSegmentAddlConfign ON CreditSegment = _CreditSegmentAddlConfign.CreditSegment  -- association [0..1]
;