I_CreditAccountPrediction

DDL: I_CREDITACCOUNTPREDICTION Type: view_entity BASIC Package: UKM_CDS

Predicted data related to credit account

I_CreditAccountPrediction is a Basic CDS View that provides data about "Predicted data related to credit account" in SAP S/4HANA. It reads from 1 data source (ukm_acc_predict) and exposes 4 fields with key fields BusinessPartner, CreditSegment. Part of development package UKM_CDS.

Data Sources (1)

SourceAliasJoin Type
ukm_acc_predict ukm_acc_predict from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Predicted data related to credit account view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner partner With Partner
KEY CreditSegment credit_sgmnt Credit Segment
CrdtLmtExceedanceReferenceDate
CrdtLmtExceedancePredictedDays days_until_limit_exceedance Predicted Days Until Limit Is Exceeded

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_CreditAccountPrediction.
-- 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 I_CreditAccountPrediction AS
SELECT
  partner AS BusinessPartner,
  credit_sgmnt AS CreditSegment,
  cast ( tstmp_to_dats(base_date_for_limit_exceedance,'UTC',$session.client,'INITIAL') as ukm_ref_date_limit_exceed preserving type ) AS CrdtLmtExceedanceReferenceDate,
  days_until_limit_exceedance AS CrdtLmtExceedancePredictedDays
FROM ukm_acc_predict
;