I_SrvcTransMstrAgrmtItmUsrSts

DDL: I_SRVCTRANSMSTRAGRMTITMUSRSTS Type: view_entity COMPOSITE

Master Agreement Item User Status

I_SrvcTransMstrAgrmtItmUsrSts is a Composite CDS View that provides data about "Master Agreement Item User Status" in SAP S/4HANA. It reads from 3 data sources (I_SrvcTransMasterAgreementItem, I_SrvcMgmtObjectStatus, P_StatusObjectWithGUID) and exposes 7 fields with key fields SrvcTransMstrAgrmtID, SrvcTransMstrAgrmtItem, UserStatus. It has 3 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_SrvcTransMasterAgreementItem MasterAgreementItem inner
I_SrvcMgmtObjectStatus MasterAgreementItemStatus from
P_StatusObjectWithGUID StatusObject inner

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_StatusCode _StatusCode $projection.UserStatus = _StatusCode.StatusCode and $projection.StatusProfile = _StatusCode.StatusProfile
[0..1] I_StatusProfile _StatusProfile $projection.StatusProfile = _StatusProfile.StatusProfile
[1..1] I_SrvcTransMasterAgreement _MasterAgreement $projection.SrvcTransMstrAgrmtID = _MasterAgreement.SrvcTransMstrAgrmtID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Master Agreement Item User Status view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY SrvcTransMstrAgrmtID I_SrvcTransMasterAgreementItem SrvcTransMstrAgrmtID Transaction ID
KEY SrvcTransMstrAgrmtItem I_SrvcTransMasterAgreementItem SrvcTransMstrAgrmtItem Item Number in Doc.
KEY UserStatus I_SrvcMgmtObjectStatus SrvcMgmtObjectStatus Status of Time-Dependent Document Linkage
StatusProfile P_StatusObjectWithGUID StatusProfile Status Profile
_StatusCode _StatusCode
_StatusProfile _StatusProfile
_MasterAgreement _MasterAgreement

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_SrvcTransMstrAgrmtItmUsrSts.
-- 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_SrvcTransMstrAgrmtItmUsrSts AS
SELECT
  MasterAgreementItem.SrvcTransMstrAgrmtID AS SrvcTransMstrAgrmtID,
  MasterAgreementItem.SrvcTransMstrAgrmtItem AS SrvcTransMstrAgrmtItem,
  MasterAgreementItemStatus.SrvcMgmtObjectStatus AS UserStatus,
  StatusObject.StatusProfile AS StatusProfile
FROM I_SrvcMgmtObjectStatus AS MasterAgreementItemStatus
INNER JOIN P_StatusObjectWithGUID AS StatusObject ON /* join condition not captured in parsed metadata */
INNER JOIN I_SrvcTransMasterAgreementItem AS MasterAgreementItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StatusCode AS _StatusCode ON UserStatus = _StatusCode.StatusCode AND StatusProfile = _StatusCode.StatusProfile  -- association [0..1]
LEFT OUTER JOIN I_StatusProfile AS _StatusProfile ON StatusProfile = _StatusProfile.StatusProfile  -- association [0..1]
LEFT OUTER JOIN I_SrvcTransMasterAgreement AS _MasterAgreement ON SrvcTransMstrAgrmtID = _MasterAgreement.SrvcTransMstrAgrmtID  -- association [1..1]
;