I_EDocMsg

DDL: I_EDOCMSG SQL: IEDOCMSG Type: view BASIC

eDocument Inbound message Processing

I_EDocMsg is a Basic CDS View that provides data about "eDocument Inbound message Processing" in SAP S/4HANA. It reads from 1 data source (edomsgcontrol) and exposes 17 fields with key field EDocMessageUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
edomsgcontrol edomsgcontrol from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.EDocMsgCompanyCode = _CompanyCode.CompanyCode
[0..1] I_ElectronicDocMsgType _MsgType $projection.ElectronicDocMessageType = _MsgType.ElectronicDocMessageType
[0..1] I_ElectronicDocType _ElectronicDocType $projection.ElectronicDocType = _ElectronicDocType.ElectronicDocType
[1..1] I_EDocMsgStatus _Status $projection.EDocMessageStatus = _Status.EDocMessageStatus
[1..1] I_Country _Country $projection.EDocMessageCountry = _Country.Country

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IEDOCMSG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label eDocument Inbound message Processing view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey EDocMessageUUID view
VDM.viewType #BASIC view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY EDocMessageUUID msgguid Message GUID
EDocMsgCompanyCode bukrs Value
EDocMessageCountry land CtryReg ISO Cd
ElectronicDocMessageType message_type Para. Change Check
EDocMessageName message_name Msg.Name
EDocMsgReceivedAtDateTime received_at Time Stamp
EDocMessageStatus status Workflow Status
EDocMessageChangeDate change_date Time Stamp
EDocMessageChangeTime change_time Time Stamp
EDocMessageChangedByUser changed_by User Name
ElectronicDocUUID edoc_guid eDocument GUID
ElectronicDocType edoc_type eDoc Type
_CompanyCode _CompanyCode
_MsgType _MsgType
_ElectronicDocType _ElectronicDocType
_Status _Status
_Country _Country

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_EDocMsg.
-- 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: IEDOCMSG

CREATE VIEW I_EDocMsg AS
SELECT
  msgguid AS EDocMessageUUID,
  bukrs AS EDocMsgCompanyCode,
  land AS EDocMessageCountry,
  message_type AS ElectronicDocMessageType,
  message_name AS EDocMessageName,
  received_at AS EDocMsgReceivedAtDateTime,
  status AS EDocMessageStatus,
  change_date AS EDocMessageChangeDate,
  change_time AS EDocMessageChangeTime,
  changed_by AS EDocMessageChangedByUser,
  edoc_guid AS ElectronicDocUUID,
  edoc_type AS ElectronicDocType
FROM edomsgcontrol
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON EDocMsgCompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_ElectronicDocMsgType AS _MsgType ON ElectronicDocMessageType = _MsgType.ElectronicDocMessageType  -- association [0..1]
LEFT OUTER JOIN I_ElectronicDocType AS _ElectronicDocType ON ElectronicDocType = _ElectronicDocType.ElectronicDocType  -- association [0..1]
LEFT OUTER JOIN I_EDocMsgStatus AS _Status ON EDocMessageStatus = _Status.EDocMessageStatus  -- association [1..1]
LEFT OUTER JOIN I_Country AS _Country ON EDocMessageCountry = _Country.Country  -- association [1..1]
;