R_DsputCaseJrnlEntrAssgmtTP

DDL: R_DSPUTCASEJRNLENTRASSGMTTP Type: view_entity TRANSACTIONAL Package: ODATA_DISPUTE_OI_ASSIGNM

Proposed Assignments

R_DsputCaseJrnlEntrAssgmtTP is a Transactional CDS View that provides data about "Proposed Assignments" in SAP S/4HANA. It reads from 1 data source (I_DsputCaseJrnlEntrAssgmtPrpsl) and exposes 18 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem, Customer. It has 4 associations to related views. Part of development package ODATA_DISPUTE_OI_ASSIGNM.

Data Sources (1)

SourceAliasJoin Type
I_DsputCaseJrnlEntrAssgmtPrpsl I_DsputCaseJrnlEntrAssgmtPrpsl from

Associations (4)

CardinalityTargetAliasCondition
[0..1] R_RblsMgmtUserContactCard _DisputeCaseProcessor $projection.DisputeCaseProcessor = _DisputeCaseProcessor.ContactCardID
[0..1] R_DisputeCaseTP _DisputeCase $projection.CaseUUID = _DisputeCase.DisputeCaseUUID
[0..*] R_DsputCaseAssgPrpslConflictTP _DsputCaseAssgPrpslConflict
[0..*] R_JrnlEntrDsputCasePosblAssgTP _JrnlEntrDsputCasePosblAssg

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Proposed Assignments view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.sapObjectNodeType.name JournalEntry view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
KEY Customer Customer Sold-to Party
CaseUUID CaseUUID UUID
NumberOfMatchingDisputeCases NumberOfMatchingDisputeCases Number of Hits
JournalEntryHasAssgmtConflict JournalEntryHasAssgmtConflict Case Matches Several Items
JrnlEntrIsAssgdToDsputCase JrnlEntrIsAssgdToDsputCase Assigned
DisputeCaseProcessor DisputeCaseProcessor Clerk
_DisputeCaseProcessor _DisputeCaseProcessor
_AccountingDocument _AccountingDocument
_CompanyCode _CompanyCode
_Customer _Customer
_DisputeCase _DisputeCase
_OperationalAcctgDocItem _OperationalAcctgDocItem
_DsputCaseAssgPrpslConflict _DsputCaseAssgPrpslConflict
_JrnlEntrDsputCasePosblAssg _JrnlEntrDsputCasePosblAssg

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 R_DsputCaseJrnlEntrAssgmtTP.
-- 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 R_DsputCaseJrnlEntrAssgmtTP AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  AccountingDocumentItem,
  Customer,
  CaseUUID,
  NumberOfMatchingDisputeCases,
  JournalEntryHasAssgmtConflict,
  JrnlEntrIsAssgdToDsputCase,
  DisputeCaseProcessor
FROM I_DsputCaseJrnlEntrAssgmtPrpsl
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _DisputeCaseProcessor ON DisputeCaseProcessor = _DisputeCaseProcessor.ContactCardID  -- association [0..1]
LEFT OUTER JOIN R_DisputeCaseTP AS _DisputeCase ON CaseUUID = _DisputeCase.DisputeCaseUUID  -- association [0..1]
LEFT OUTER JOIN R_DsputCaseAssgPrpslConflictTP AS _DsputCaseAssgPrpslConflict ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_JrnlEntrDsputCasePosblAssgTP AS _JrnlEntrDsputCasePosblAssg ON /* condition not available in parsed metadata */  -- association [0..*]
;