Sepm_I_SlsordPaymentTerms

DDL: SEPM_I_SLSORDPAYMENTTERMS SQL: SEPM_ISOPTERMS Type: view

EPM Demo: Sales Order Payment Terms

Sepm_I_SlsordPaymentTerms is a CDS View of category Dimension that provides data about "EPM Demo: Sales Order Payment Terms" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field SalesOrderPaymentTerms. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] Sepm_I_SlsordPaymentTermsT _Text $projection.SalesOrderPaymentTerms = _Text.SalesOrderPaymentTerms

Annotations (10)

NameValueLevelField
EndUserText.label EPM Demo: Sales Order Payment Terms view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AbapCatalog.sqlViewName SEPM_ISOPTERMS view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey SalesOrderPaymentTerms view
ClientDependent true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY SalesOrderPaymentTerms
_Text _Text

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 Sepm_I_SlsordPaymentTerms.
-- 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: SEPM_ISOPTERMS

CREATE VIEW Sepm_I_SlsordPaymentTerms AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as snwd_so_payment_term preserving type ) AS SalesOrderPaymentTerms
FROM dd07l
LEFT OUTER JOIN Sepm_I_SlsordPaymentTermsT AS _Text ON SalesOrderPaymentTerms = _Text.SalesOrderPaymentTerms  -- association [0..*]
;