I_CollsInvoiceRelatedResubmsn

DDL: I_COLLSINVOICERELATEDRESUBMSN Type: view COMPOSITE

Resubmission Related to Invoice

I_CollsInvoiceRelatedResubmsn is a Composite CDS View that provides data about "Resubmission Related to Invoice" in SAP S/4HANA. It reads from 1 data source (I_CollsInvoiceRelatedObject) and exposes 22 fields with key fields LogicalSystem, ObjectType, ObjectKey, RelationToLinkedObject, ResubmissionUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CollsInvoiceRelatedObject I_CollsInvoiceRelatedObject from

Associations (2)

CardinalityTargetAliasCondition
[0..1] R_RblsMgmtUserContactCard _CreatedByContactCard $projection.createdbyuser = _CreatedByContactCard.ContactCardID
[0..1] R_RblsMgmtUserContactCard _ChangedByContactCard $projection.changedby = _ChangedByContactCard.ContactCardID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICOLLSINVRELRSM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Resubmission Related to Invoice view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY LogicalSystem LogicalSystem
KEY ObjectType ObjectType
KEY ObjectKey ObjectKey
KEY RelationToLinkedObject RelationToLinkedObject
KEY ResubmissionUUID CaseUniqueID
ObjectClassification ObjectClassification
ObjectIsConfirmed ObjectIsConfirmed
ObjectIsVoided ObjectIsVoided
CompanyCode CompanyCode
AccountingDocument AccountingDocument
FiscalYear FiscalYear
AccountingDocumentItem AccountingDocumentItem
CaseID CaseID
CreatedByUser _CollectionsResubmission CreatedByUser
ChangedBy _CollectionsResubmission ChangedBy
ResubmissionStatus _CollectionsResubmission ResubmissionStatus
ResubmissionDueDate _CollectionsResubmission ResubmissionDueDate
CreationDateTime _CollectionsResubmission CreationDateTime
_CaseAttribute _CaseAttribute
_CollectionsResubmission _CollectionsResubmission
_CreatedByContactCard _CreatedByContactCard
_ChangedByContactCard _ChangedByContactCard
@AbapCatalog: { sqlViewName: 'ICOLLSINVRELRSM',
                compiler: { compareFilter: true },
                preserveKey: true }
@AccessControl: { authorizationCheck: #CHECK }
@EndUserText.label: 'Resubmission Related to Invoice'
@VDM: { viewType: #COMPOSITE,
        lifecycle: { contract: { type: #SAP_INTERNAL_API } } }
@ClientHandling: { algorithm: #SESSION_VARIABLE }
@ObjectModel: { usageType: { serviceQuality: #A,
                             sizeCategory: #L,
                             dataClass: #TRANSACTIONAL },
                semanticKey: [ 'ResubmissionUUID' ] }

define root view I_CollsInvoiceRelatedResubmsn
  as select from I_CollsInvoiceRelatedObject

  // VDM Associations

  // Created By Contact Card

  association [0..1] to R_RblsMgmtUserContactCard as _CreatedByContactCard on $projection.createdbyuser = _CreatedByContactCard.ContactCardID

  // Changed By Contact Card

  association [0..1] to R_RblsMgmtUserContactCard as _ChangedByContactCard on $projection.changedby = _ChangedByContactCard.ContactCardID

{

      // VDM Fields

  key LogicalSystem,
  key ObjectType,
  key ObjectKey,
  key RelationToLinkedObject,
  key CaseUniqueID as ResubmissionUUID,
      ObjectClassification,
      ObjectIsConfirmed,
      ObjectIsVoided,
      CompanyCode,
      AccountingDocument,
      FiscalYear,
      AccountingDocumentItem,
      CaseID,

      @ObjectModel: { foreignKey: { association: '_CreatedByContactCard' } }
      _CollectionsResubmission.CreatedByUser,

      @ObjectModel: { foreignKey: { association: '_ChangedByContactCard' } }
      _CollectionsResubmission.ChangedBy,

      _CollectionsResubmission.ResubmissionStatus,

      _CollectionsResubmission.ResubmissionDueDate,

      _CollectionsResubmission.CreationDateTime,

      // Exposed Associations

      _CaseAttribute,
      _CollectionsResubmission,
      _CreatedByContactCard,
      _ChangedByContactCard

}

where
      RelationToLinkedObject =  'R1'
  and ObjectType             =  'BSEG'
  and ObjectIsVoided         <> 'X'
  and _CollectionsResubmission.ResubmissionDueDate != '99991231'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COLLECTIONSRESUBMISSION",
"I_COLLSINVOICERELATEDOBJECT"
],
"ASSOCIATED":
[
"I_CASEATTRIBUTE",
"I_COLLECTIONSRESUBMISSION",
"R_RBLSMGMTUSERCONTACTCARD"
],
"BASE":
[
"I_COLLSINVOICERELATEDOBJECT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/