I_ProcmtHubPurReqnAcctAssgmt

DDL: I_PROCMTHUBPURREQNACCTASSGMT SQL: IHUBPRACCASNMT Type: view BASIC Package: VDM_MM_PUR_EXT_PR

Basic View For Ext Pur Reqn Acct Assigmt

I_ProcmtHubPurReqnAcctAssgmt is a Basic CDS View that provides data about "Basic View For Ext Pur Reqn Acct Assigmt" in SAP S/4HANA. It reads from 1 data source (mmpur_ext_ebkn) and exposes 23 fields with key fields ProcmtHubPurchaseRequisition, ProcmtHubPurRequisitionItem, ProcmtHubPurReqnAcctAssgmtNo, ProcurementHubSourceSystem. Part of development package VDM_MM_PUR_EXT_PR.

Data Sources (1)

SourceAliasJoin Type
mmpur_ext_ebkn mmpur_ext_ebkn from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IHUBPRACCASNMT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic View For Ext Pur Reqn Acct Assigmt view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ProcmtHubPurchaseRequisition purchaserequisition Requisition
KEY ProcmtHubPurRequisitionItem purchaserequisitionitem Requisn. item
KEY ProcmtHubPurReqnAcctAssgmtNo purreqnacctassgmtnmbr Ser.no.acc.ass.
KEY ProcurementHubSourceSystem extsourcesystem Connected System ID
Quantity quantity Value
MultipleAcctAssgmtDistrPercent multipleacctassgmtdistrpercent Distribution
ProcmtHubGLAccount glaccount General Ledger
ProcmtHubCostCenter costcenter Cost Center
ProcmtHubFunctionalArea functionalarea Sendr Fctl Area
ProcmtHubFund fund Sender Fund
ProcmtHubFundsCenter fundscenter Funds Center
ProcmtHubControllingArea controllingarea Controlling Area
ProcmtHubUnloadingPointName unloadingpointname Unloading Point Name
ProcmtHubProcessOrder processorder Order
ProcmtHubProjectNetwork projectnetwork Order
ProcmtHubProjectNetworkIntID projectnetworkinternalid Plan No.f.Oper.
ProcmtHubWBSElementInternalID WBS Internal ID
ProcmtHubSalesOrder salesorder SD Document
ProcmtHubSalesOrdScheduleLine salesorderscheduleline SOrder schedule
ProcmtHubSalesDocumentItem salesdocumentitem Sales Document Item
ProcmtHubMasterFixedAsset masterfixedasset Fixed Asset
ChartOfAccounts chartofaccounts Node Class
ValidityDate

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_ProcmtHubPurReqnAcctAssgmt.
-- 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: IHUBPRACCASNMT

CREATE VIEW I_ProcmtHubPurReqnAcctAssgmt AS
SELECT
  purchaserequisition AS ProcmtHubPurchaseRequisition,
  purchaserequisitionitem AS ProcmtHubPurRequisitionItem,
  purreqnacctassgmtnmbr AS ProcmtHubPurReqnAcctAssgmtNo,
  extsourcesystem AS ProcurementHubSourceSystem,
  Quantity,
  MultipleAcctAssgmtDistrPercent,
  glaccount AS ProcmtHubGLAccount,
  costcenter AS ProcmtHubCostCenter,
  functionalarea AS ProcmtHubFunctionalArea,
  fund AS ProcmtHubFund,
  fundscenter AS ProcmtHubFundsCenter,
  controllingarea AS ProcmtHubControllingArea,
  unloadingpointname AS ProcmtHubUnloadingPointName,
  processorder AS ProcmtHubProcessOrder,
  projectnetwork AS ProcmtHubProjectNetwork,
  projectnetworkinternalid AS ProcmtHubProjectNetworkIntID,
  cast( wbselementinternalid as abap.char(40)) AS ProcmtHubWBSElementInternalID,
  salesorder AS ProcmtHubSalesOrder,
  salesorderscheduleline AS ProcmtHubSalesOrdScheduleLine,
  salesdocumentitem AS ProcmtHubSalesDocumentItem,
  masterfixedasset AS ProcmtHubMasterFixedAsset,
  ChartOfAccounts,
  cast(substring( cast(tstmp_current_utctimestamp() as abap.char( 17 ) ), 1, 8 ) as abap.dats ) AS ValidityDate
FROM mmpur_ext_ebkn
;