CRMS4_IU_I_MIHEAD

DDL: CRMS4_IU_I_MIHEAD SQL: CRMS4IUVIMIHEAD Type: view

Move-In Document

CRMS4_IU_I_MIHEAD is a CDS View that provides data about "Move-In Document" in SAP S/4HANA. It reads from 1 data source (eein) and exposes 14 fields with key field UtilitiesMoveInDocument. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
eein eein from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_ContractAccountHeader _ContractAccountHeader _ContractAccountHeader.ContractAccount = $projection.ContractAccount
[1..*] CRMS4_IU_I_MICNTR _Contracts _Contracts.UtilitiesMoveInDocument = $projection.UtilitiesMoveInDocument
[1..1] I_BusinessPartner _BusinessPartner _BusinessPartner.BusinessPartner = $projection.BusinessPartner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CRMS4IUVIMIHEAD view
EndUserText.label Move-In Document view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.representativeKey UtilitiesMoveInDocument view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY UtilitiesMoveInDocument eein einzbeleg Move-In Doc.
ContractAccount eein vkont Tech. CtrAcct
BusinessPartner eein kunde Reason
ActualMoveInDate eein bezugsdat Actual MI date
IsReversed eein stornokz Move-in revd
CreationDate eein erdat Entered On
CreatedByUser eein ernam User Name
LastChangeDate eein aedat Obsolete
LastChangedByUser eein aenam User Name
AuthorizationGroup eein begru AuthorizGroup
DeletionIndicator eein loevm End Contract
_ContractAccountHeader _ContractAccountHeader
_Contracts _Contracts
_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 CRMS4_IU_I_MIHEAD.
-- 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: CRMS4IUVIMIHEAD

CREATE VIEW CRMS4_IU_I_MIHEAD AS
SELECT
  eein.einzbeleg AS UtilitiesMoveInDocument,
  eein.vkont AS ContractAccount,
  eein.kunde AS BusinessPartner,
  eein.bezugsdat AS ActualMoveInDate,
  eein.stornokz AS IsReversed,
  eein.erdat AS CreationDate,
  eein.ernam AS CreatedByUser,
  eein.aedat AS LastChangeDate,
  eein.aenam AS LastChangedByUser,
  eein.begru AS AuthorizationGroup,
  eein.loevm AS DeletionIndicator
FROM eein
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccountHeader ON _ContractAccountHeader.ContractAccount = ContractAccount  -- association [1..1]
LEFT OUTER JOIN CRMS4_IU_I_MICNTR AS _Contracts ON _Contracts.UtilitiesMoveInDocument = UtilitiesMoveInDocument  -- association [1..*]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON _BusinessPartner.BusinessPartner = BusinessPartner  -- association [1..1]
;