I_CAClarificationDocumentVH

DDL: I_CACLARIFICATIONDOCUMENTVH SQL: ICACLARIFDOCVH Type: view COMPOSITE

Value Help for Clarification Document

I_CAClarificationDocumentVH is a Composite CDS View that provides data about "Value Help for Clarification Document" in SAP S/4HANA. It reads from 1 data source (I_CADocumentHeader) and exposes 15 fields with key field CAClarificationDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CADocumentHeader I_CADocumentHeader from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_UserContactCard _UserContactCard $projection.CreatedByUser = _UserContactCard.ContactCardID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICACLARIFDOCVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Value Help for Clarification Document view
Search.searchable true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CAClarificationDocument Clarification Document
CADocumentType CADocumentType Document Type
CADocumentTypeName
CAReconciliationKey CAReconciliationKey Reconcil. Key
CAPostingDate CAPostingDate Posting Date
CADocumentOriginCode CADocumentOriginCode Document Origin
CADocumentOriginCodeName
CreatedByUser CreatedByUser User Name
CreatedByUserName _UserContactCard FullName Name
CreationDate CreationDate Time Stamp
CAReferenceDocument CAReferenceDocument Reference
CAApplicationArea CAApplicationArea ApplicationArea
CATaxCompanyCode CATaxCompanyCode Tax comp. code
_DocType _DocType
_DocOriginCode _DocOriginCode

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_CAClarificationDocumentVH.
-- 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: ICACLARIFDOCVH

CREATE VIEW I_CAClarificationDocumentVH AS
SELECT
  cast (CADocumentNumber as klaeb_kk preserving type) AS CAClarificationDocument,
  CADocumentType,
  _DocType._Text[1:Language = $session.system_language].CADocumentTypeName AS CADocumentTypeName,
  CAReconciliationKey,
  CAPostingDate,
  CADocumentOriginCode,
  cast (_DocOriginCode._Text[1: Language=$session.system_language].CADocumentOriginCodeName as htext_gfn_kk) AS CADocumentOriginCodeName,
  CreatedByUser,
  _UserContactCard.FullName AS CreatedByUserName,
  CreationDate,
  CAReferenceDocument,
  CAApplicationArea,
  CATaxCompanyCode
FROM I_CADocumentHeader
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON CreatedByUser = _UserContactCard.ContactCardID  -- association [0..1]
;