C_LglTransMainOrgPurOrgEditVH

DDL: C_LGLTRANSMAINORGPURORGEDITVH SQL: CLTPURCHORGEVH Type: view CONSUMPTION

Purchasing Organization Value Help

C_LglTransMainOrgPurOrgEditVH is a Consumption CDS View that provides data about "Purchasing Organization Value Help" in SAP S/4HANA. It reads from 1 data source (I_PurchasingOrganization) and exposes 5 fields with key field PurchasingOrganization. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingOrganization I_PurchasingOrganization from

Associations (1)

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

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CLTPURCHORGEVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.semanticKey PurchasingOrganization view
ObjectModel.representativeKey PurchasingOrganization view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Purchasing Organization Value Help view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchasingOrganization Purchasing Organization
PurchasingOrganizationName PurchasingOrganizationName Purch. Org. Name
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
_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 C_LglTransMainOrgPurOrgEditVH.
-- 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: CLTPURCHORGEVH

CREATE VIEW C_LglTransMainOrgPurOrgEditVH AS
SELECT
  cast( PurchasingOrganization as lcm_entity_id) AS PurchasingOrganization,
  PurchasingOrganizationName,
  CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName
FROM I_PurchasingOrganization
LEFT OUTER JOIN C_MM_CompanyCodeValueHelp AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
;