I_APCshDiscLossCauseText

DDL: I_APCSHDISCLOSSCAUSETEXT SQL: IFILOSSCAUSET Type: view BASIC

Cause of Cash Discount Loss Text

I_APCshDiscLossCauseText is a Basic CDS View that provides data about "Cause of Cash Discount Loss Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields CashDiscountLossCause, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (11)

NameValueLevelField
EndUserText.label Cause of Cash Discount Loss Text view
AbapCatalog.sqlViewName IFILOSSCAUSET view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
AccessControl.authorizationCheck #NOT_ALLOWED view
ObjectModel.representativeKey CashDiscountLossCause view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CashDiscountLossCause
KEY Language Lang.
CauseOfCashDiscountLossName Short text
_Language _Language

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_APCshDiscLossCauseText.
-- 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: IFILOSSCAUSET

CREATE VIEW I_APCshDiscLossCauseText AS
SELECT
  cast(substring( domvalue_l, 1, 2) as farp_cash_discount_loss_cause) AS CashDiscountLossCause,
  cast( ddlanguage as spras ) AS Language,
  cast(ddtext as farp_cash_disc_loss_cause_name) AS CauseOfCashDiscountLossName
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;