I_RAProcdFlfmtRevnAcctItem

DDL: I_RAPROCDFLFMTREVNACCTITEM Type: view_entity BASIC Package: FARR_INBOUND_CDS

Processed Fulfillment RA Items

I_RAProcdFlfmtRevnAcctItem is a Basic CDS View that provides data about "Processed Fulfillment RA Items" in SAP S/4HANA. It reads from 1 data source (farr_d_flfmt_mi) and exposes 32 fields with key fields RevnAcctgSenderComponent, RASndgCompLogicalSystem, RASndgCompDocumentItemType, RASndgCompDocumentItem. It has 5 associations to related views. Part of development package FARR_INBOUND_CDS.

Data Sources (1)

SourceAliasJoin Type
farr_d_flfmt_mi farr_d_flfmt_mi from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_RAPerfObligationEventType _PerfObligationEventType $projection.PerfOblgnEventType = _PerfObligationEventType.PerfOblgnEventType
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.QuantityUnit = _UnitOfMeasure.UnitOfMeasure
[0..1] I_Currency _Currency $projection.SalesDocumentCurrency = _Currency.Currency
[0..1] I_User _CreatedByUser $projection.RevnAcctgItemCreatedByUser = _CreatedByUser.UserID

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Processed Fulfillment RA Items view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY RevnAcctgSenderComponent srcdoc_comp Source Comp.
KEY RASndgCompLogicalSystem srcdoc_logsys Source System
KEY RASndgCompDocumentItemType srcdoc_type SrcItemType
KEY RASndgCompDocumentItem srcdoc_id Src. Item ID
RevnAcctgOperationalDocument header_id Stress Test: GUID
CompanyCode bukrs Value
RAOriginalDocItemSenderComp OrigItemComp.
RAOriginalDocItemLogicalSystem LogSysOrigItem
RAOriginalDocItemType OrigItType
RAOriginalDocItemID OriginalItemID
PerfOblgnEventType event_type Type of Event
RAItemLastChangeDateTime Timestamp
RAItemCreationDateTime crea_tmstp_utc Timestamp
RevnAcctgItemCreatedByUser crea_user User
RAOperationalDocumentItem item_id Simulation Item ID
ApplicationLogHandle log_handle Migration Log Handle
Quantity Value
RAItemDifferenceToDeliveredQty Diff to Dlv Qty
QuantityUnit quantity_unit Unit of Measure
SalesDocumentCurrency Transaction Currency
FulfilledAmountInSlsDocCrcy amount Value Amount
RAFulfillmentEventDate event_date Fulfillment Date
RAFulfillmentEventTime event_time Time Stamp
IsBusinessPurposeCompleted is_blocked Func Is Blocked
RAItemStatus
RAItemType
RAItemIsManuallyChanged manually_changed Manual Changed
_CompanyCode _CompanyCode
_CreatedByUser _CreatedByUser
_Currency _Currency
_PerfObligationEventType _PerfObligationEventType
_UnitOfMeasure _UnitOfMeasure

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_RAProcdFlfmtRevnAcctItem.
-- 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_RAProcdFlfmtRevnAcctItem AS
SELECT
  srcdoc_comp AS RevnAcctgSenderComponent,
  srcdoc_logsys AS RASndgCompLogicalSystem,
  srcdoc_type AS RASndgCompDocumentItemType,
  srcdoc_id AS RASndgCompDocumentItem,
  header_id AS RevnAcctgOperationalDocument,
  bukrs AS CompanyCode,
  cast(origdoc_comp as farr_cds_rai_origdoc_comp preserving type) AS RAOriginalDocItemSenderComp,
  cast(origdoc_logsys as farr_cds_rai_origdoc_logsys preserving type) AS RAOriginalDocItemLogicalSystem,
  cast(origdoc_type as farr_cds_rai_origdoc_type preserving type) AS RAOriginalDocItemType,
  cast(origdoc_id as farr_cds_rai_origdoc_id preserving type) AS RAOriginalDocItemID,
  event_type AS PerfOblgnEventType,
  cast(timestamp_utc as farr_cds_rai_timestamp preserving type) AS RAItemLastChangeDateTime,
  crea_tmstp_utc AS RAItemCreationDateTime,
  crea_user AS RevnAcctgItemCreatedByUser,
  item_id AS RAOperationalDocumentItem,
  log_handle AS ApplicationLogHandle,
  cast(quantity as farr_cds_quantity) AS Quantity,
  cast(delivered_qty_diff as farr_cds_delivered_qty_diff preserving type) AS RAItemDifferenceToDeliveredQty,
  quantity_unit AS QuantityUnit,
  cast(waers as waerk preserving type) AS SalesDocumentCurrency,
  amount AS FulfilledAmountInSlsDocCrcy,
  event_date AS RAFulfillmentEventDate,
  event_time AS RAFulfillmentEventTime,
  is_blocked AS IsBusinessPurposeCompleted,
  cast(abap.char'2' as farr_cds_rai_status preserving type) AS RAItemStatus,
  cast(abap.char'02' as farr_cds_rai_type preserving type) AS RAItemType,
  manually_changed AS RAItemIsManuallyChanged
FROM farr_d_flfmt_mi
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_RAPerfObligationEventType AS _PerfObligationEventType ON PerfOblgnEventType = _PerfObligationEventType.PerfOblgnEventType  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON QuantityUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON SalesDocumentCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON RevnAcctgItemCreatedByUser = _CreatedByUser.UserID  -- association [0..1]
;