I_FixedAssetCompanyCode

DDL: I_FIXEDASSETCOMPANYCODE Type: view_entity BASIC

Fixed Asset Company Code

I_FixedAssetCompanyCode is a Basic CDS View that provides data about "Fixed Asset Company Code" in SAP S/4HANA. It reads from 1 data source (faat_cmp) and exposes 6 fields with key field CompanyCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
faat_cmp faat_cmp from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Fixed Asset Company Code view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode comp_code Procuring Comp. Cde
FixedAssetCompanyCodeStatus status Workflow Status
IsLocked locked TRUE
LocalLastChangeDateTime local_last_changed_at Time Stamp
LastChangeDateTime last_changed_at Timestamp
_CompanyCode _CompanyCode

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_FixedAssetCompanyCode.
-- 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 I_FixedAssetCompanyCode AS
SELECT
  comp_code AS CompanyCode,
  status AS FixedAssetCompanyCodeStatus,
  locked AS IsLocked,
  local_last_changed_at AS LocalLastChangeDateTime,
  last_changed_at AS LastChangeDateTime
FROM faat_cmp
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
;