I_JITSlsSchedgAgrmtBasic

DDL: I_JITSLSSCHEDGAGRMTBASIC Type: view_entity BASIC Package: NJIT_CORE

JIT Sales Scheduling Agreement

I_JITSlsSchedgAgrmtBasic is a Basic CDS View that provides data about "JIT Sales Scheduling Agreement" in SAP S/4HANA. It reads from 2 data sources (I_SalesDocumentType, vlpkm) and exposes 13 fields with key fields MaterialByCustomer, SoldToParty, CustomerPartnerDescription, abladendasUnloadingPointName, MatlUsageIndicator. It has 2 associations to related views. Part of development package NJIT_CORE.

Data Sources (2)

SourceAliasJoin Type
I_SalesDocumentType I_SalesDocumentType from
vlpkm vlpkm inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SalesDocumentItem _SalesDocumentItem $projection.SalesSchedulingAgreement = _SalesDocumentItem.SalesDocument and $projection.SalesSchedulingAgreementItem = _SalesDocumentItem.SalesDocumentItem
[0..1] I_Customer _Customer $projection.SoldToParty = _Customer.Customer

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label JIT Sales Scheduling Agreement view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view
VDM.viewType #BASIC view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY MaterialByCustomer vlpkm kdmat Customer Mat.
KEY SoldToParty vlpkm kunnr Stock customer
KEY CustomerPartnerDescription vlpkm knref Partner Desc.
KEY abladendasUnloadingPointName
KEY MatlUsageIndicator vlpkm abrvw Usage
KEY SalesOrganization vlpkm vkorg SD Sales Org.
KEY DistributionChannel vlpkm vtweg RefDistCh-Cust/Mat.
KEY Division vlpkm spart Source supplier
KEY SalesDocumentType I_SalesDocumentType SalesDocumentType Sales Doc. Type
KEY SalesSchedulingAgreement
KEY SalesSchedulingAgreementItem
_SalesDocumentItem _SalesDocumentItem
_Customer _Customer

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_JITSlsSchedgAgrmtBasic.
-- 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_JITSlsSchedgAgrmtBasic AS
SELECT
  vlpkm.kdmat AS MaterialByCustomer,
  vlpkm.kunnr AS SoldToParty,
  vlpkm.knref AS CustomerPartnerDescription,
  case when vbpa_i.ablad is not null then vbpa_i.ablad else vbpa_h.ablad end as UnloadingPointName AS abladendasUnloadingPointName,
  vlpkm.abrvw AS MatlUsageIndicator,
  vlpkm.vkorg AS SalesOrganization,
  vlpkm.vtweg AS DistributionChannel,
  vlpkm.spart AS Division,
  I_SalesDocumentType.SalesDocumentType AS SalesDocumentType,
  cast(vlpkm.vbeln as vdm_sales_schedg_agrmt preserving type) AS SalesSchedulingAgreement,
  cast(vlpkm.posnr as vdm_sales_schedg_agrmt_item preserving type) AS SalesSchedulingAgreementItem
FROM I_SalesDocumentType
INNER JOIN vlpkm ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SalesDocumentItem AS _SalesDocumentItem ON SalesSchedulingAgreement = _SalesDocumentItem.SalesDocument AND SalesSchedulingAgreementItem = _SalesDocumentItem.SalesDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON SoldToParty = _Customer.Customer  -- association [0..1]
;