C_CollectionStrategyTP

DDL: C_COLLECTIONSTRATEGYTP SQL: CCOLLSTRGYTP Type: view CONSUMPTION

Collection Strategy

C_CollectionStrategyTP is a Consumption CDS View that provides data about "Collection Strategy" in SAP S/4HANA. It reads from 1 data source (I_CollectionStrategyTP) and exposes 29 fields with key field CollectionStrategy. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CollectionStrategyTP I_CollectionStrategyTP from

Associations (3)

CardinalityTargetAliasCondition
[1..*] C_CollRuleToCollStrgyTP _CollRuleToCollStrgyTP $projection.CollectionStrategy = _CollRuleToCollStrgyTP.CollectionStrategy
[0..1] I_UserContactCard _CreatedByContactCard $projection.CollStrgyCreatedBy = _CreatedByContactCard.ContactCardID
[0..*] I_CurrencyText _CurrencyText $projection.CollStrgyCurrency = _CurrencyText.Currency

Annotations (23)

NameValueLevelField
AbapCatalog.sqlViewName CCOLLSTRGYTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Collection Strategy view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
VDM.viewType #CONSUMPTION view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.createEnabled true view
ObjectModel.draftEnabled true view
UI.headerInfo.typeName Collection Strategy view
UI.headerInfo.typeNamePlural Collection Strategies view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value CollectionStrategyForEdit view
UI.headerInfo.title.label Collection Strategy view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value CollStrgyName view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY CollectionStrategy CollectionStrategy
CollectionStrategyForEdit CollectionStrategyForEdit
CollStrgyName CollStrgyName
CollStrgyCurrency CollStrgyCurrency
CurrencyName
CollStrgyMaxValuation CollStrgyMaxValuation
CollStrgyAutoValuation CollStrgyAutoValuation
CollStrgyStsDesc CollStrgyStsDesc
CollStrgyStsCriticality CollStrgyStsCriticality
CollDuDteCshDiscIsConsidered CollDuDteCshDiscIsConsidered
CollStrgyNmbrDaysBeforeDueDate CollStrgyNmbrDaysBeforeDueDate
CollStrgyTolDaysAfterDunn CollStrgyTolDaysAfterDunn
CollItmWthLglDunProcedIsExcl CollItmWthLglDunProcedIsExcl
CollStrgyOverduePeriod1 CollStrgyOverduePeriod1
CollStrgyOverduePeriod2 CollStrgyOverduePeriod2
CollStrgyOverduePeriod3 CollStrgyOverduePeriod3
CollStrgyOverduePeriod4 CollStrgyOverduePeriod4
CollStrgyDueDatePeriod1 CollStrgyDueDatePeriod1
CollStrgyDueDatePeriod2 CollStrgyDueDatePeriod2
CollStrgyDueDatePeriod3 CollStrgyDueDatePeriod3
CollStrgyDueDatePeriod4 CollStrgyDueDatePeriod4
CollStrgyCreatedBy CollStrgyCreatedBy Created By (System User)
CreatedByUserName _CreatedByContactCard FullName Name
CollStrgyCreatedOn CollStrgyCreatedOn
CollStrgyLastChangedBy CollStrgyLastChangedBy
CollStrgyLastChangedOn CollStrgyLastChangedOn
_CollRuleToCollStrgyTP _CollRuleToCollStrgyTP
_Currency _Currency
_CreatedByContactCard _CreatedByContactCard

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 C_CollectionStrategyTP.
-- 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: CCOLLSTRGYTP

CREATE VIEW C_CollectionStrategyTP AS
SELECT
  CollectionStrategy,
  CollectionStrategyForEdit,
  CollStrgyName,
  CollStrgyCurrency,
  _CurrencyText[1:Language = $session.system_language].CurrencyName AS CurrencyName,
  CollStrgyMaxValuation,
  CollStrgyAutoValuation,
  CollStrgyStsDesc,
  CollStrgyStsCriticality,
  CollDuDteCshDiscIsConsidered,
  CollStrgyNmbrDaysBeforeDueDate,
  CollStrgyTolDaysAfterDunn,
  CollItmWthLglDunProcedIsExcl,
  CollStrgyOverduePeriod1,
  CollStrgyOverduePeriod2,
  CollStrgyOverduePeriod3,
  CollStrgyOverduePeriod4,
  CollStrgyDueDatePeriod1,
  CollStrgyDueDatePeriod2,
  CollStrgyDueDatePeriod3,
  CollStrgyDueDatePeriod4,
  CollStrgyCreatedBy,
  _CreatedByContactCard.FullName AS CreatedByUserName,
  CollStrgyCreatedOn,
  CollStrgyLastChangedBy,
  CollStrgyLastChangedOn
FROM I_CollectionStrategyTP
LEFT OUTER JOIN C_CollRuleToCollStrgyTP AS _CollRuleToCollStrgyTP ON CollectionStrategy = _CollRuleToCollStrgyTP.CollectionStrategy  -- association [1..*]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByContactCard ON CollStrgyCreatedBy = _CreatedByContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_CurrencyText AS _CurrencyText ON CollStrgyCurrency = _CurrencyText.Currency  -- association [0..*]
;