I_InvgCsMObjectStaffUnitTP

DDL: I_INVGCSMOBJECTSTAFFUNITTP SQL: IINVGCSMOSTFUTTP Type: view TRANSACTIONAL

Transactional View:ICM Staff and Units

I_InvgCsMObjectStaffUnitTP is a Transactional CDS View that provides data about "Transactional View:ICM Staff and Units" in SAP S/4HANA. It reads from 1 data source (I_InvgCsMStaffAndUnit) and exposes 16 fields with key fields InvgCsMStaffUnitID, InvgCsMPartnerNumber, InvgCsMRelationship, InvgCsMRelatedEntityType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InvgCsMStaffAndUnit I_InvgCsMStaffAndUnit from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_InvgCsMObjectTP _Object $projection.InvgCsMStaffUnitID = _Object.InvgCsMObjectID
[1..1] I_BusinessPartner _BusinessPartner $projection.InvgCsMPartnerNumberForEdit = _BusinessPartner.BusinessPartner

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IINVGCSMOSTFUTTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Transactional View:ICM Staff and Units view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.writeDraftPersistence IOBJSTAFFUNIT_D view
VDM.viewType #TRANSACTIONAL view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY InvgCsMStaffUnitID InvgCsMStaffUnitID Staff and Units ID
KEY InvgCsMPartnerNumber InvgCsMPartnerNumber Partner Number
KEY InvgCsMRelationship InvgCsMRelationship Partner Function
KEY InvgCsMRelatedEntityType InvgCsMRelatedEntityType Type
InvgCsMPartnerNumberForEdit InvgCsMPartnerNumber Partner Number
InvgCsMRelationshipForEdit InvgCsMRelationship Partner Function
InvgCsMIsMainPartner InvgCsMIsMainPartner Main Partner
ValidFrom ValidFrom Vers.Valid From
ValidTo ValidTo Vers.Valid To
InvgCsMPartnerFunction InvgCsMRelationship Partner Function
FullName _BusinessPartner BusinessPartnerFullName Broker Name
BusinessPartnerUUID
InvgCsMIsDeleteAllowed
InvgCsMTargetID
_Object _Object
_BusinessPartner _BusinessPartner

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_InvgCsMObjectStaffUnitTP.
-- 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: IINVGCSMOSTFUTTP

CREATE VIEW I_InvgCsMObjectStaffUnitTP AS
SELECT
  InvgCsMStaffUnitID,
  InvgCsMPartnerNumber,
  InvgCsMRelationship,
  InvgCsMRelatedEntityType,
  InvgCsMPartnerNumber AS InvgCsMPartnerNumberForEdit,
  InvgCsMRelationship AS InvgCsMRelationshipForEdit,
  InvgCsMIsMainPartner,
  ValidFrom,
  ValidTo,
  InvgCsMRelationship AS InvgCsMPartnerFunction,
  _BusinessPartner.BusinessPartnerFullName AS FullName,
  bintohex(_BusinessPartner.BusinessPartnerUUID) AS BusinessPartnerUUID,
  cast('' as boolean) AS InvgCsMIsDeleteAllowed,
  cast('TICM-BPDIS' as abap.char( 20 ) ) AS InvgCsMTargetID
FROM I_InvgCsMStaffAndUnit
LEFT OUTER JOIN I_InvgCsMObjectTP AS _Object ON InvgCsMStaffUnitID = _Object.InvgCsMObjectID  -- association [1..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON InvgCsMPartnerNumberForEdit = _BusinessPartner.BusinessPartner  -- association [1..1]
;