I_PrmtHbRpldPurReqnAcctAssgmt

DDL: I_PRMTHBRPLDPURREQNACCTASSGMT SQL: IPRMTHBACCASNMT Type: view BASIC

Basic View For ExtPrRqn Act Asgmt Rplctd

I_PrmtHbRpldPurReqnAcctAssgmt is a Basic CDS View that provides data about "Basic View For ExtPrRqn Act Asgmt Rplctd" in SAP S/4HANA. It reads from 1 data source (mmpur_ext_ebkn) and exposes 27 fields with key fields ProcmtHubPurchaseRequisition, ProcmtHubPurRequisitionItem, ProcmtHubPurReqnAcctAssgmtNo, ProcurementHubSourceSystem.

Data Sources (1)

SourceAliasJoin Type
mmpur_ext_ebkn mmpur_ext_ebkn from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPRMTHBACCASNMT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic View For ExtPrRqn Act Asgmt Rplctd 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
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.preserveKey true view

Fields (27)

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
ProcmtHubGoodsRecipientName goodsrecipientname Recipient 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
BusinessArea businessarea Business Area
ProfitCenter profitcenter Profit Center
IsDeleted isdeleted TRUE
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_PrmtHbRpldPurReqnAcctAssgmt.
-- 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: IPRMTHBACCASNMT

CREATE VIEW I_PrmtHbRpldPurReqnAcctAssgmt 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,
  goodsrecipientname AS ProcmtHubGoodsRecipientName,
  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,
  BusinessArea,
  ProfitCenter,
  IsDeleted,
  cast(substring( cast(tstmp_current_utctimestamp() as abap.char( 17 ) ), 1, 8 ) as abap.dats ) AS ValidityDate
FROM mmpur_ext_ebkn
;