ACE_ACESOBJ

DDL: ACE_ACESOBJ SQL: ACEV_ACESOBJ Type: view

view ACESOBJ

ACE_ACESOBJ is a CDS View that provides data about "view ACESOBJ" in SAP S/4HANA. It reads from 3 data sources (acedsoh, aceobj, acepsoh) and exposes 12 fields with key fields comp, bukrs, ref_key, ref_subkey.

Data Sources (3)

SourceAliasJoin Type
acedsoh acedsoh inner
aceobj aceobj from
acepsoh acepsoh left_outer

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ACEV_ACESOBJ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label view ACESOBJ view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY comp aceobj comp Legal competence
KEY bukrs aceobj bukrs Value
KEY ref_key aceobj ref_key Source Reference Key
KEY ref_subkey acedsoh ref_subkey Ext Ref of Subobject
objid acedsoh objid Work Center
subid acedsoh subid Topic ID
PREMTRE_FDATE acepsoh deactdate Finish Date
firstyear acepsoh firstyear First Year
lastyear acepsoh lastyear Last Year
ACAC_OBJTYPE
ACAC_OBJNUMBER
clientNULLendasTIMESTMP

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 ACE_ACESOBJ.
-- 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: ACEV_ACESOBJ

CREATE VIEW ACE_ACESOBJ AS
SELECT
  aceobj.comp AS comp,
  aceobj.bukrs AS bukrs,
  aceobj.ref_key AS ref_key,
  acedsoh.ref_subkey AS ref_subkey,
  acedsoh.objid AS objid,
  acedsoh.subid AS subid,
  acepsoh.deactdate AS PREMTRE_FDATE,
  acepsoh.firstyear AS firstyear,
  acepsoh.lastyear AS lastyear,
  substring(aceobj.ref_key, 1, 10) AS ACAC_OBJTYPE,
  substring(aceobj.ref_key, 11, 22) AS ACAC_OBJNUMBER,
  case when acepsoh.objid is null then dats_tims_to_tstmp(acedsoh.cpudt, acedsoh.cputm, abap_system_timezone( $session.client,'NULL') , $session.client, 'NULL' ) else dats_tims_to_tstmp(acepsoh.cpudt, acepsoh.cputm, abap_system_timezone( $session.client,'NULL') , $session.client, 'NULL' ) end as TIMESTMP AS clientNULLendasTIMESTMP
FROM aceobj
INNER JOIN acedsoh ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN acepsoh ON /* join condition not captured in parsed metadata */
;