P_ChgDocUUIDConvertToCharLong

DDL: P_CHGDOCUUIDCONVERTTOCHARLONG Type: view_entity BASIC Package: VDM_PLMB_ECP

Change Document UUID Convert to Char32

P_ChgDocUUIDConvertToCharLong is a Basic CDS View that provides data about "Change Document UUID Convert to Char32" in SAP S/4HANA. It reads from 1 data source (I_ChangeDocumentItem) and exposes 21 fields with key fields ChangeDocumentUUID, ChangeDocObjectClass, ChangeDocument, DatabaseTable, ChangeDocTableKey. Part of development package VDM_PLMB_ECP.

Data Sources (1)

SourceAliasJoin Type
I_ChangeDocumentItem I_ChangeDocumentItem from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
VDM.private true view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY ChangeDocumentUUID Object Value
KEY ChangeDocObjectClass ChangeDocObjectClass Change Doc. Object
KEY ChangeDocument ChangeDocument Document Number
KEY DatabaseTable DatabaseTable Table Name
KEY ChangeDocTableKey ChangeDocTableKey Table Keys
KEY ChangeDocDatabaseTableField ChangeDocDatabaseTableField User
KEY ChangeDocItemChangeType ChangeDocItemChangeType Change Indicator
ChangeDocPreviousUnit ChangeDocPreviousUnit
ChangeDocNewUnit ChangeDocNewUnit
ChangeDocPreviousCurrency ChangeDocPreviousCurrency
ChangeDocNewCurrency ChangeDocNewCurrency
ChangeDocNewFieldValue ChangeDocNewFieldValue New Value
ChangeDocPreviousFieldValue ChangeDocPreviousFieldValue Old Value
CreatedByUser
CreationDate
CreationTime
clientNULLasCreationDateTime
ChangeTransactionCode
ChangeDocChangeType
ChangeDocLanguage
_ChangeDocLanguage _ChangeDocument _ChangeDocLanguage

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 P_ChgDocUUIDConvertToCharLong.
-- 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 P_ChgDocUUIDConvertToCharLong AS
SELECT
  cast(ChangeDocObject as abap.char( 32 )) AS ChangeDocumentUUID,
  ChangeDocObjectClass,
  ChangeDocument,
  DatabaseTable,
  ChangeDocTableKey,
  ChangeDocDatabaseTableField,
  ChangeDocItemChangeType,
  ChangeDocPreviousUnit,
  ChangeDocNewUnit,
  ChangeDocPreviousCurrency,
  ChangeDocNewCurrency,
  ChangeDocNewFieldValue,
  ChangeDocPreviousFieldValue,
  I_ChangeDocumentItem._ChangeDocument.CreatedByUser AS CreatedByUser,
  I_ChangeDocumentItem._ChangeDocument.CreationDate AS CreationDate,
  I_ChangeDocumentItem._ChangeDocument.CreationTime AS CreationTime,
  DATS_TIMS_TO_TSTMP( I_ChangeDocumentItem._ChangeDocument.CreationDate, I_ChangeDocumentItem._ChangeDocument.CreationTime, abap_system_timezone( $session.client,'NULL'), $session.client, 'NULL') as CreationDateTime AS clientNULLasCreationDateTime,
  I_ChangeDocumentItem._ChangeDocument.ChangeTransactionCode AS ChangeTransactionCode,
  I_ChangeDocumentItem._ChangeDocument.ChangeDocChangeType AS ChangeDocChangeType,
  I_ChangeDocumentItem._ChangeDocument.ChangeDocLanguage AS ChangeDocLanguage,
  _ChangeDocument._ChangeDocLanguage AS _ChangeDocLanguage
FROM I_ChangeDocumentItem
;