I_CollsResubmissionDraft

DDL: I_COLLSRESUBMISSIONDRAFT Type: view BASIC

Resubmission Drafts

I_CollsResubmissionDraft is a Basic CDS View that provides data about "Resubmission Drafts" in SAP S/4HANA. It reads from 1 data source (collsrsmdra) and exposes 28 fields with key field DraftUUID. It has 9 associations to related views.

Data Sources (1)

SourceAliasJoin Type
collsrsmdra collsrsmdra from

Associations (9)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_CollectionSegment _CollectionSegment $projection.CollectionSegment = _CollectionSegment.CollectionSegment
[0..1] I_ResubmissionReason _ResubmissionReason $projection.ResubmissionReason = _ResubmissionReason.ResubmissionReason
[0..1] I_ResubmissionStatus _ResubmissionStatus $projection.ResubmissionStatus = _ResubmissionStatus.ResubmissionStatus
[0..1] I_User _CreatedBy $projection.CreatedByUser = _CreatedBy.UserID
[0..1] I_UserContactCard _CreatedByContactCard $projection.CreatedByUser = _CreatedByContactCard.ContactCardID
[0..1] I_User _ChangedBy $projection.ChangedBy = _ChangedBy.UserID
[0..1] I_UserContactCard _ChangedByContactCard $projection.ChangedBy = _ChangedByContactCard.ContactCardID
[0..1] I_DraftAdministrativeData _DraftAdministrativeData $projection.DraftAdministrativeDataUUID = _DraftAdministrativeData.DraftUUID and _DraftAdministrativeData.DraftEntityType = 'R_COLLSRESUBMISSIONTP'

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ICOLLSRSMDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Resubmission Drafts view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey DraftUUID view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY DraftUUID draftuuid UUID
ResubmissionUUID resubmissionuuid Resubmission Key
BusinessPartner businesspartner Issuing Authority
CollectionSegment collectionsegment Segment
ResubmissionDueDate resubmissionduedate Resubmission Date
CollResubmissionDateTime collresubmissiondatetime Time Stamp
NoCntctUntilResubmsnDateIsReq nocntctuntilresubmsndateisreq Don't Contact Until Resubmission Date
ResubmissionReason resubmissionreason Reason
ResubmissionStatus resubmissionstatus Status
CreatedByUser createdbyuser User Name
CreationDateTime Timestamp
ChangedBy changedby User Name
ChangedOnDateTime Last Changed At
ObjectType objecttype Type
ObjectKey objectkey Object Key
HasActiveEntity hasactiveentity TRUE
DraftCreationDateTime draftentitycreationdatetime Draft Created On
DraftLastChangedDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
_BusinessPartner _BusinessPartner
_CollectionSegment _CollectionSegment
_ResubmissionReason _ResubmissionReason
_ResubmissionStatus _ResubmissionStatus
_CreatedBy _CreatedBy
_ChangedBy _ChangedBy
_CreatedByContactCard _CreatedByContactCard
_ChangedByContactCard _ChangedByContactCard
_DraftAdministrativeData _DraftAdministrativeData

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_CollsResubmissionDraft.
-- 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_CollsResubmissionDraft AS
SELECT
  DraftUUID,
  ResubmissionUUID,
  BusinessPartner,
  CollectionSegment,
  ResubmissionDueDate,
  CollResubmissionDateTime,
  NoCntctUntilResubmsnDateIsReq,
  ResubmissionReason,
  ResubmissionStatus,
  CreatedByUser,
  cast( creationdatetime as coll_pr_creation_date_time ) AS CreationDateTime,
  ChangedBy,
  cast( changedondatetime as fdmo_change_time ) AS ChangedOnDateTime,
  ObjectType,
  ObjectKey,
  HasActiveEntity,
  draftentitycreationdatetime AS DraftCreationDateTime,
  draftentitylastchangedatetime AS DraftLastChangedDateTime,
  DraftAdministrativeDataUUID
FROM collsrsmdra
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_CollectionSegment AS _CollectionSegment ON CollectionSegment = _CollectionSegment.CollectionSegment  -- association [0..1]
LEFT OUTER JOIN I_ResubmissionReason AS _ResubmissionReason ON ResubmissionReason = _ResubmissionReason.ResubmissionReason  -- association [0..1]
LEFT OUTER JOIN I_ResubmissionStatus AS _ResubmissionStatus ON ResubmissionStatus = _ResubmissionStatus.ResubmissionStatus  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedBy ON CreatedByUser = _CreatedBy.UserID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByContactCard ON CreatedByUser = _CreatedByContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangedBy ON ChangedBy = _ChangedBy.UserID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ChangedByContactCard ON ChangedBy = _ChangedByContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_DraftAdministrativeData AS _DraftAdministrativeData ON DraftAdministrativeDataUUID = _DraftAdministrativeData.DraftUUID AND _DraftAdministrativeData.DraftEntityType = 'R_COLLSRESUBMISSIONTP'  -- association [0..1]
;