Fclm_Mm_All

DDL: FCLM_MM_ALL SQL: VFCLMMMALL Type: view

Purchasing doc exp/actual with all info

Fclm_Mm_All is a CDS View that provides data about "Purchasing doc exp/actual with all info" in SAP S/4HANA. It reads from 2 data sources (Fclm_Mm_Exp_Act, Fclm_Mmpoi_Agg) and exposes 18 fields.

Data Sources (2)

SourceAliasJoin Type
Fclm_Mm_Exp_Act a from
Fclm_Mmpoi_Agg b left_outer

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName VFCLMMMALL view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Purchasing doc exp/actual with all info view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #P view

Fields (18)

KeyFieldSource TableSource FieldDescription
po_item_cat Fclm_Mm_Exp_Act po_item_cat
PurchasingDocument Fclm_Mm_Exp_Act PurchasingDocument Purchasing Document
PurchasingDocumentItem Fclm_Mm_Exp_Act PurchasingDocumentItem Purchasing Doc. Item
AccountAssignmentNumber Fclm_Mm_Exp_Act AccountAssignmentNumber Account Assgmt No.
ScheduleLine Fclm_Mm_Exp_Act ScheduleLine Schedule Line
InvoicePlanItem Fclm_Mm_Exp_Act InvoicePlanItem
InvoicePlanNumber Fclm_Mm_Exp_Act InvoicePlanNumber
ConditionStep Fclm_Mm_Exp_Act ConditionStep
ConditionCount Fclm_Mm_Exp_Act ConditionCount
shkzg Fclm_Mm_Exp_Act shkzg Returns
SchedLineStscDeliveryDate Fclm_Mm_Exp_Act SchedLineStscDeliveryDate Stat. Del. Date
Amount Fclm_Mm_Exp_Act Amount Value Amount
PurchaseOrderHistCategory Fclm_Mm_Exp_Act PurchaseOrderHistCategory
PurchaseOrderTransactionType Fclm_Mm_Exp_Act PurchaseOrderTransactionType
currency Fclm_Mm_Exp_Act currency Valuation Crcy
DocumentCurrency DocumentCurrency Document Currency
GoodsReceiptUsed
IsReturnsItem Fclm_Mm_Exp_Act IsReturnsItem Returns Item

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 Fclm_Mm_All.
-- 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: VFCLMMMALL

CREATE VIEW Fclm_Mm_All AS
SELECT
  a.po_item_cat AS po_item_cat,
  a.PurchasingDocument AS PurchasingDocument,
  a.PurchasingDocumentItem AS PurchasingDocumentItem,
  a.AccountAssignmentNumber AS AccountAssignmentNumber,
  a.ScheduleLine AS ScheduleLine,
  a.InvoicePlanItem AS InvoicePlanItem,
  a.InvoicePlanNumber AS InvoicePlanNumber,
  a.ConditionStep AS ConditionStep,
  a.ConditionCount AS ConditionCount,
  a.shkzg AS shkzg,
  a.SchedLineStscDeliveryDate AS SchedLineStscDeliveryDate,
  a.Amount AS Amount,
  a.PurchaseOrderHistCategory AS PurchaseOrderHistCategory,
  a.PurchaseOrderTransactionType AS PurchaseOrderTransactionType,
  a.currency AS currency,
  DocumentCurrency,
  coalesce(b.GoodsReceiptUsed,'') AS GoodsReceiptUsed,
  a.IsReturnsItem AS IsReturnsItem
FROM Fclm_Mm_Exp_Act AS a
LEFT OUTER JOIN Fclm_Mmpoi_Agg AS b ON /* join condition not captured in parsed metadata */
;