I_SupplierInvoiceOriginText

DDL: I_SUPPLIERINVOICEORIGINTEXT SQL: ISINVCORIGTEXT Type: view BASIC

Supplier Invoice Origin Text

I_SupplierInvoiceOriginText is a Basic CDS View that provides data about "Supplier Invoice Origin Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields SupplierInvoiceOrigin, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = $session.system_language
[1..1] I_SupplierInvoiceOrigin _SupplierInvoiceOrigin $projection.SupplierInvoiceOrigin = _SupplierInvoiceOrigin.SupplierInvoiceOrigin

Annotations (14)

NameValueLevelField
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey SupplierInvoiceOrigin view
EndUserText.label Supplier Invoice Origin Text view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.sqlViewName ISINVCORIGTEXT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoiceOrigin
KEY Language ddlanguage Lang.
SupplierInvoiceOriginDesc Short text
_SupplierInvoiceOrigin _SupplierInvoiceOrigin
_Language _Language

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_SupplierInvoiceOriginText.
-- 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: ISINVCORIGTEXT

CREATE VIEW I_SupplierInvoiceOriginText AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as ivtyp ) AS SupplierInvoiceOrigin,
  ddlanguage AS Language,
  cast ( ddtext as mmiv_description_text preserving type) AS SupplierInvoiceOriginDesc
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SupplierInvoiceOrigin AS _SupplierInvoiceOrigin ON SupplierInvoiceOrigin = _SupplierInvoiceOrigin.SupplierInvoiceOrigin  -- association [1..1]
;