view_ab_lts

DDL: CDS_AB_LTS SQL: CDS_AB_LTS Type: view

Supplier Subrange of an Settlement Management Item

view_ab_lts is a CDS View that provides data about "Supplier Subrange of an Settlement Management Item" in SAP S/4HANA. It reads from 2 data sources (wbrk, wbrp) and exposes 6 fields with key fields wbeln, posnr. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
wbrk agbu_head inner
wbrp agbu_items from

Associations (2)

CardinalityTargetAliasCondition
[0..1] wyt1 VendorSubrange $projection.lifre = VendorSubrange.lifnr and $projection.ltsnr = VendorSubrange.ltsnr
[0..*] wyt1t VendorSubrangeTexts $projection.lifre = VendorSubrangeTexts.lifnr and $projection.ltsnr = VendorSubrangeTexts.ltsnr

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CDS_AB_LTS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Supplier Subrange of an Settlement Management Item view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XXL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY wbeln wbrp wbeln Sett. Doc. List
KEY posnr wbrp posnr WBS Element
lifre wbrk lifre Location Alias
ltsnr wbrp ltsnr Suppl. Subrange
VendorSubrange VendorSubrange
VendorSubrangeTexts VendorSubrangeTexts

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 view_ab_lts.
-- 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: CDS_AB_LTS

CREATE VIEW view_ab_lts AS
SELECT
  agbu_items.wbeln AS wbeln,
  agbu_items.posnr AS posnr,
  agbu_head.lifre AS lifre,
  agbu_items.ltsnr AS ltsnr,
  VendorSubrange,
  VendorSubrangeTexts
FROM wbrp AS agbu_items
INNER JOIN wbrk AS agbu_head ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN wyt1 AS VendorSubrange ON lifre = VendorSubrange.lifnr AND ltsnr = VendorSubrange.ltsnr  -- association [0..1]
LEFT OUTER JOIN wyt1t AS VendorSubrangeTexts ON lifre = VendorSubrangeTexts.lifnr AND ltsnr = VendorSubrangeTexts.ltsnr  -- association [0..*]
;