S_Ccl_Code_T_U

DDL: S_CCL_CODE_T_U SQL: S_V_CCL_CODE_T_U Type: view

S_Ccl_Code_T_U is a CDS View in SAP S/4HANA. It reads from 4 data sources (S_Ccl_Code_T_A, sccl_d_code_t, sccl_d2_code_t, sccl_d2_code_t) and exposes 27 fields with key fields DraftUUID, Language, Code, CodeListID, Language.

Data Sources (4)

SourceAliasJoin Type
S_Ccl_Code_T_A ActiveDocument from
sccl_d_code_t DraftDocument left_outer
sccl_d2_code_t DraftDocument left_outer
sccl_d2_code_t sccl_d2_code_t union_all

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName S_V_CCL_CODE_T_U view
ClientDependent false view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY DraftUUID
KEY Language S_Ccl_Code_T_A Language Report Text Language
KEY Code S_Ccl_Code_T_A Code Water Hazard Cl.
KEY CodeListID S_Ccl_Code_T_A CodeListID Code List ID
LanguageForEdit S_Ccl_Code_T_A Language Original Language
RootDraftUUID NodeID
ParentDraftUUID NodeID
Language Report Text Language
Description S_Ccl_Code_T_A Description Well Code Des.
Transported S_Ccl_Code_T_A Transported Truth Value
DraftAdministrativeDataUUID sccl_d2_code_t draftuuid UUID
IsActiveEntity
HasActiveEntity TRUE
KEY Language language Report Text Language
KEY Code code Water Hazard Cl.
KEY CodeListID codelistid Code List ID
LanguageForEdit languageforedit Original Language
RootDraftUUID rootdraftuuid NodeID
ParentDraftUUID parentdraftuuid NodeID
Language Report Text Language
Description description Well Code Des.
Transported transported Truth Value
DraftAdministrativeDataUUID UUID
DraftAdministrativeDataUUID draftuuid UUID
IsActiveEntity
HasActiveEntity hasactiveentity TRUE
HasDraftEntity

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 S_Ccl_Code_T_U.
-- 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: S_V_CCL_CODE_T_U

CREATE VIEW S_Ccl_Code_T_U AS
SELECT
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS DraftUUID,
  ActiveDocument.Language AS Language,
  ActiveDocument.Code AS Code,
  ActiveDocument.CodeListID AS CodeListID,
  ActiveDocument.Language AS LanguageForEdit,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS RootDraftUUID,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS ParentDraftUUID,
  ActiveDocument.Description AS Description,
  ActiveDocument.Transported AS Transported,
  DraftDocument.draftuuid AS DraftAdministrativeDataUUID,
  cast( 'X' as sdraft_is_active preserving type ) AS IsActiveEntity,
  cast( ' ' as sdraft_has_active preserving type ) AS HasActiveEntity,
  cast( ' ' as sdraft_has_draft preserving type ) AS HasDraftEntity
FROM S_Ccl_Code_T_A AS ActiveDocument
LEFT OUTER JOIN sccl_d_code_t AS DraftDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN sccl_d2_code_t AS DraftDocument ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): sccl_d2_code_t
;