R_PPS_PurchaseReqnAcctAssgmtTP

DDL: R_PPS_PURCHASEREQNACCTASSGMTTP Type: view_entity TRANSACTIONAL

Pur Reqn Acct Assgmt Basic - TP

R_PPS_PurchaseReqnAcctAssgmtTP is a Transactional CDS View that provides data about "Pur Reqn Acct Assgmt Basic - TP" in SAP S/4HANA. It reads from 1 data source (R_PPS_PurchaseReqnAcctAssgmt) and exposes 82 fields with key fields PurReqnAcctAssgmtNmbr, PurchaseRequisition, PurchaseRequisitionItem. It has 17 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_PPS_PurchaseReqnAcctAssgmt Document from

Associations (17)

CardinalityTargetAliasCondition
[1..1] R_PPS_PurchaseReqnTP _PurchaseReqn _PurchaseReqn.PurchaseRequisition = $projection.PurchaseRequisition
[0..*] I_BudgetPeriodText _BudgetPeriodText _BudgetPeriodText.BudgetPeriod = $projection.BudgetPeriod
[0..*] I_FundText _FundText $projection.FinancialManagementArea = _FundText.FinancialManagementArea and $projection.Fund = _FundText.Fund
[0..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
[1..1] R_PPS_PurReqnAcctAssgmtExtn _AccAssignmentExtension _AccAssignmentExtension.PurchaseRequisition = $projection.PurchaseRequisition and _AccAssignmentExtension.PurchaseRequisitionItem = $projection.PurchaseRequisitionItem and _AccAssignmentExtension.PPSPurgDocAcctAssgmtNumber = $projection.PurReqnAcctAssgmtNmbr
[0..*] I_FundsCenterText _FundsCenterText _FundsCenterText.Language = $session.system_language and _FundsCenterText.FundsCenter = $projection.FundsCenter and _FundsCenterText.FinancialManagementArea = $projection.FinancialManagementArea and _FundsCenterText.ValidityStartDate <= $session.system_date and _FundsCenterText.ValidityEndDate >= $session.system_date
[0..*] I_CostCenterText _CostCenterText _CostCenterText.CostCenter = $projection.CostCenter and _CostCenterText.ControllingArea = $projection.ControllingArea and _CostCenterText.ValidityStartDate <= $session.system_date and _CostCenterText.ValidityEndDate >= $session.system_date
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_FixedAsset _FixedAsset $projection.FixedAsset = _FixedAsset.FixedAsset and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.CompanyCode = _FixedAsset.CompanyCode
[0..*] I_FunctionalAreaText _FuncnlAreaText $projection.FunctionalArea = _FuncnlAreaText.FunctionalArea
[0..1] I_EarmarkedFundsDocumentMMVH _EarmarkedFundsDocumentMMVH $projection.EarmarkedFundsDocument = _EarmarkedFundsDocumentMMVH.EarmarkedFundsDocument
[0..*] I_GrantText _GrantText $projection.GrantID = _GrantText.GrantID ------Extension
[0..1] E_Purreqnacctassgmt _PurReqnAcctAssgmtExtension $projection.PurchaseRequisition = _PurReqnAcctAssgmtExtension.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurReqnAcctAssgmtExtension.PurchaseRequisitionItem and $projection.PurReqnAcctAssgmtNmbr = _PurReqnAcctAssgmtExtension.PurchaseReqnAcctAssgmtNumber
[0..1] I_CommitmentItemText _CommitmentItemText $projection.CommitmentItemShortID = _CommitmentItemText.CommitmentItem and $projection.FinancialManagementArea = _CommitmentItemText.FinancialManagementArea and _CommitmentItemText.FinMgmtAreaFiscalYear = '0000' and _CommitmentItemText.Language = $session.system_language
[0..*] I_ProfitCenterText _ProfitCenterText $projection.ControllingArea = _ProfitCenterText.ControllingArea and $projection.ProfitCenter = _ProfitCenterText.ProfitCenter and _ProfitCenterText.ValidityEndDate >= $session.system_date
[0..*] I_GlAccountTextInCompanycode _GLAccountText $projection.GLAccount = _GLAccountText.GLAccount and $projection.CompanyCode = _GLAccountText.CompanyCode
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea

Annotations (15)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.sapObjectNodeType.name PPS_PurReqnItmAcctAssgmt view
EndUserText.label Pur Reqn Acct Assgmt Basic - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix PRA view
AbapCatalog.extensibility.quota.maximumFields 170 view
AbapCatalog.extensibility.quota.maximumBytes 1700 view

Fields (82)

KeyFieldSource TableSource FieldDescription
KEY PurReqnAcctAssgmtNmbr R_PPS_PurchaseReqnAcctAssgmt PurReqnAcctAssgmtNmbr Ser.no.acc.ass.
KEY PurchaseRequisition R_PPS_PurchaseReqnAcctAssgmt PurchaseRequisition Requisition
KEY PurchaseRequisitionItem R_PPS_PurchaseReqnAcctAssgmt PurchaseRequisitionItem Requisn. item
CostCenter R_PPS_PurchaseReqnAcctAssgmt CostCenter Cost Center
MasterFixedAsset R_PPS_PurchaseReqnAcctAssgmt MasterFixedAsset Fixed Asset
ProjectNetwork R_PPS_PurchaseReqnAcctAssgmt ProjectNetwork Order
Quantity R_PPS_PurchaseReqnAcctAssgmt Quantity Value
BaseUnit R_PPS_PurchaseReqnAcctAssgmt BaseUnit Unit of Measure
MultipleAcctAssgmtDistrPercent R_PPS_PurchaseReqnAcctAssgmt MultipleAcctAssgmtDistrPercent Distribution
PurReqnItemCurrency
PurReqnNetAmount R_PPS_PurchaseReqnAcctAssgmt PurReqnNetAmount Net Value
IsDeleted R_PPS_PurchaseReqnAcctAssgmt IsDeleted TRUE
GLAccount R_PPS_PurchaseReqnAcctAssgmt GLAccount General Ledger
BusinessArea R_PPS_PurchaseReqnAcctAssgmt BusinessArea Business Area
SalesOrder R_PPS_PurchaseReqnAcctAssgmt SalesOrder SD Document
SalesOrderItem R_PPS_PurchaseReqnAcctAssgmt SalesOrderItem Sales Order Item
SalesOrderScheduleLine R_PPS_PurchaseReqnAcctAssgmt SalesOrderScheduleLine SOrder schedule
FixedAsset R_PPS_PurchaseReqnAcctAssgmt FixedAsset Sub-number
OrderID R_PPS_PurchaseReqnAcctAssgmt OrderID Order ID
UnloadingPointName R_PPS_PurchaseReqnAcctAssgmt UnloadingPointName Unloading Point Name
ControllingArea R_PPS_PurchaseReqnAcctAssgmt ControllingArea Controlling Area
CostObject R_PPS_PurchaseReqnAcctAssgmt CostObject Cost Object
ProfitabilitySegment
ProfitCenter R_PPS_PurchaseReqnAcctAssgmt ProfitCenter Profit Center
WBSElementInternalID R_PPS_PurchaseReqnAcctAssgmt WBSElementInternalID_2
WBSElementExternalID
WBSElement
ProjectNetworkInternalID R_PPS_PurchaseReqnAcctAssgmt ProjectNetworkInternalID Plan No.f.Oper.
CommitmentItem
CommitmentItemShortID R_PPS_PurchaseReqnAcctAssgmt CommitmentItemShortID Commitment Item Short ID
FundsCenter R_PPS_PurchaseReqnAcctAssgmt FundsCenter Funds Center
Fund R_PPS_PurchaseReqnAcctAssgmt Fund Sender Fund
FunctionalArea R_PPS_PurchaseReqnAcctAssgmt FunctionalArea Sendr Fctl Area
CreationDate R_PPS_PurchaseReqnAcctAssgmt CreationDate Time Stamp
GoodsRecipientName R_PPS_PurchaseReqnAcctAssgmt GoodsRecipientName Recipient Name
ChartOfAccounts _ControllingArea ChartOfAccounts Node Class
NetworkActivityInternalID
PartnerAccountNumber R_PPS_PurchaseReqnAcctAssgmt PartnerAccountNumber Partner
JointVentureRecoveryCode R_PPS_PurchaseReqnAcctAssgmt JointVentureRecoveryCode Recovery Ind.
SettlementReferenceDate R_PPS_PurchaseReqnAcctAssgmt SettlementReferenceDate Reference date
EarmarkedFundsDocument R_PPS_PurchaseReqnAcctAssgmt EarmarkedFundsDocument Earmarked Funds
EarmarkedFundsDocumentItem R_PPS_PurchaseReqnAcctAssgmt EarmarkedFundsDocumentItem Document Item
CostCtrActivityType R_PPS_PurchaseReqnAcctAssgmt CostCtrActivityType Activity Type
BusinessProcess R_PPS_PurchaseReqnAcctAssgmt BusinessProcess Business Process
GrantID R_PPS_PurchaseReqnAcctAssgmt GrantID Sender Grant
ValidityDate R_PPS_PurchaseReqnAcctAssgmt ValidityDate Valid On
Plant R_PPS_PurchaseReqnAcctAssgmt Plant Valuation Area
BudgetPeriod R_PPS_PurchaseReqnAcctAssgmt BudgetPeriod Budget Period
NetworkActivity
CompanyCode CompanyCode Receiver Company Code
FinancialManagementArea _CompanyCode FinancialManagementArea FM Area
PubSecSplitBatchNumberID R_PPS_PurchaseReqnAcctAssgmt PubSecSplitBatchNumberID Dist.Batch No.
PubSecSplitAuthznGroup R_PPS_PurchaseReqnAcctAssgmt PubSecSplitAuthznGroup Auth.Group
PPSAccountAssignmentIsUnfunded _AccAssignmentExtension PPSAccountAssignmentIsUnfunded Acc. Asg is Unfunded
PPSPurReqnNetAmount _AccAssignmentExtension PPSPurReqnNetAmount
PPSPurReqnNetAmountCurrency _AccAssignmentExtension PPSPurReqnNetAmountCurrency
PPSAcctAsgtRefNmbr _AccAssignmentExtension PPSAcctAsgtRefNmbr
PPSAcctAsgtSublineItmNmbr _AccAssignmentExtension PPSAcctAsgtSublineItmNmbr
_PurchaseReqnItem _PurchaseReqnItem
_PurchaseReqnItemBsc _PurchaseReqnItemBsc
_PurchaseReqn _PurchaseReqn
_CostCenterText _CostCenterText
_GLAccountText _GLAccountText
_BusinessAreaText _BusinessAreaText
_SalesOrder _SalesOrder
_SalesOrderItem _SalesOrderItem
_ControllingArea _ControllingArea
_WBSElementBasicData _WBSElementBasicData
_Order _Order
_ProjectNetwork _ProjectNetwork
_CompanyCode _CompanyCode
_BudgetPeriodText _BudgetPeriodText
_FundText _FundText
_MasterFixedAsset _MasterFixedAsset
_EarmarkedFundsDocumentMMVH _EarmarkedFundsDocumentMMVH
_AccAssignmentExtension _AccAssignmentExtension
_FundsCenterText _FundsCenterText
_FuncnlAreaText _FuncnlAreaText
_FixedAsset _FixedAsset
_CommitmentItemText _CommitmentItemText
_ProfitCenterText _ProfitCenterText
_GrantText _GrantText

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 R_PPS_PurchaseReqnAcctAssgmtTP.
-- 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 R_PPS_PurchaseReqnAcctAssgmtTP AS
SELECT
  Document.PurReqnAcctAssgmtNmbr AS PurReqnAcctAssgmtNmbr,
  Document.PurchaseRequisition AS PurchaseRequisition,
  Document.PurchaseRequisitionItem AS PurchaseRequisitionItem,
  Document.CostCenter AS CostCenter,
  Document.MasterFixedAsset AS MasterFixedAsset,
  Document.ProjectNetwork AS ProjectNetwork,
  Document.Quantity AS Quantity,
  Document.BaseUnit AS BaseUnit,
  Document.MultipleAcctAssgmtDistrPercent AS MultipleAcctAssgmtDistrPercent,
  cast ( Document.PurReqnItemCurrency as pps_e_pr_item_currency preserving type ) AS PurReqnItemCurrency,
  Document.PurReqnNetAmount AS PurReqnNetAmount,
  Document.IsDeleted AS IsDeleted,
  Document.GLAccount AS GLAccount,
  Document.BusinessArea AS BusinessArea,
  Document.SalesOrder AS SalesOrder,
  Document.SalesOrderItem AS SalesOrderItem,
  Document.SalesOrderScheduleLine AS SalesOrderScheduleLine,
  Document.FixedAsset AS FixedAsset,
  Document.OrderID AS OrderID,
  Document.UnloadingPointName AS UnloadingPointName,
  Document.ControllingArea AS ControllingArea,
  Document.CostObject AS CostObject,
  cast( Document.ProfitabilitySegment as rkeobjnr_char ) AS ProfitabilitySegment,
  Document.ProfitCenter AS ProfitCenter,
  Document.WBSElementInternalID_2 AS WBSElementInternalID,
  cast ( Document.WBSElementExternalID_2 as pps_e_pr_wbs_ext_id preserving type ) AS WBSElementExternalID,
  cast( Document.WBSElement as ps_posid_edit preserving type ) AS WBSElement,
  Document.ProjectNetworkInternalID AS ProjectNetworkInternalID,
  cast( Document.CommitmentItemShortID as fm_fipex ) AS CommitmentItem,
  Document.CommitmentItemShortID AS CommitmentItemShortID,
  Document.FundsCenter AS FundsCenter,
  Document.Fund AS Fund,
  Document.FunctionalArea AS FunctionalArea,
  Document.CreationDate AS CreationDate,
  Document.GoodsRecipientName AS GoodsRecipientName,
  _ControllingArea.ChartOfAccounts AS ChartOfAccounts,
  cast ( Document.NetworkActivityInternalID as pps_e_pr_internal_id preserving type ) AS NetworkActivityInternalID,
  Document.PartnerAccountNumber AS PartnerAccountNumber,
  Document.JointVentureRecoveryCode AS JointVentureRecoveryCode,
  Document.SettlementReferenceDate AS SettlementReferenceDate,
  Document.EarmarkedFundsDocument AS EarmarkedFundsDocument,
  Document.EarmarkedFundsDocumentItem AS EarmarkedFundsDocumentItem,
  Document.CostCtrActivityType AS CostCtrActivityType,
  Document.BusinessProcess AS BusinessProcess,
  Document.GrantID AS GrantID,
  Document.ValidityDate AS ValidityDate,
  Document.Plant AS Plant,
  Document.BudgetPeriod AS BudgetPeriod,
  cast (' ' as ps_s4_vornr) AS NetworkActivity,
  CompanyCode,
  _CompanyCode.FinancialManagementArea AS FinancialManagementArea,
  Document.PubSecSplitBatchNumberID AS PubSecSplitBatchNumberID,
  Document.PubSecSplitAuthznGroup AS PubSecSplitAuthznGroup,
  _AccAssignmentExtension.PPSAccountAssignmentIsUnfunded AS PPSAccountAssignmentIsUnfunded,
  _AccAssignmentExtension.PPSPurReqnNetAmount AS PPSPurReqnNetAmount,
  _AccAssignmentExtension.PPSPurReqnNetAmountCurrency AS PPSPurReqnNetAmountCurrency,
  _AccAssignmentExtension.PPSAcctAsgtRefNmbr AS PPSAcctAsgtRefNmbr,
  _AccAssignmentExtension.PPSAcctAsgtSublineItmNmbr AS PPSAcctAsgtSublineItmNmbr
FROM R_PPS_PurchaseReqnAcctAssgmt AS Document
LEFT OUTER JOIN R_PPS_PurchaseReqnTP AS _PurchaseReqn ON _PurchaseReqn.PurchaseRequisition = PurchaseRequisition  -- association [1..1]
LEFT OUTER JOIN I_BudgetPeriodText AS _BudgetPeriodText ON _BudgetPeriodText.BudgetPeriod = BudgetPeriod  -- association [0..*]
LEFT OUTER JOIN I_FundText AS _FundText ON FinancialManagementArea = _FundText.FinancialManagementArea AND Fund = _FundText.Fund  -- association [0..*]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset  -- association [0..1]
LEFT OUTER JOIN R_PPS_PurReqnAcctAssgmtExtn AS _AccAssignmentExtension ON _AccAssignmentExtension.PurchaseRequisition = PurchaseRequisition AND _AccAssignmentExtension.PurchaseRequisitionItem = PurchaseRequisitionItem AND _AccAssignmentExtension.PPSPurgDocAcctAssgmtNumber = PurReqnAcctAssgmtNmbr  -- association [1..1]
LEFT OUTER JOIN I_FundsCenterText AS _FundsCenterText ON _FundsCenterText.Language = $session.system_language AND _FundsCenterText.FundsCenter = FundsCenter AND _FundsCenterText.FinancialManagementArea = FinancialManagementArea AND _FundsCenterText.ValidityStartDate <= $session.system_date AND _FundsCenterText.ValidityEndDate >= $session.system_date  -- association [0..*]
LEFT OUTER JOIN I_CostCenterText AS _CostCenterText ON _CostCenterText.CostCenter = CostCenter AND _CostCenterText.ControllingArea = ControllingArea AND _CostCenterText.ValidityStartDate <= $session.system_date AND _CostCenterText.ValidityEndDate >= $session.system_date  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON FixedAsset = _FixedAsset.FixedAsset AND MasterFixedAsset = _FixedAsset.MasterFixedAsset AND CompanyCode = _FixedAsset.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FunctionalAreaText AS _FuncnlAreaText ON FunctionalArea = _FuncnlAreaText.FunctionalArea  -- association [0..*]
LEFT OUTER JOIN I_EarmarkedFundsDocumentMMVH AS _EarmarkedFundsDocumentMMVH ON EarmarkedFundsDocument = _EarmarkedFundsDocumentMMVH.EarmarkedFundsDocument  -- association [0..1]
LEFT OUTER JOIN I_GrantText AS _GrantText ON GrantID = _GrantText.GrantID  -- association [0..*]
LEFT OUTER JOIN E_Purreqnacctassgmt AS _PurReqnAcctAssgmtExtension ON PurchaseRequisition = _PurReqnAcctAssgmtExtension.PurchaseRequisition AND PurchaseRequisitionItem = _PurReqnAcctAssgmtExtension.PurchaseRequisitionItem AND PurReqnAcctAssgmtNmbr = _PurReqnAcctAssgmtExtension.PurchaseReqnAcctAssgmtNumber  -- association [0..1]
LEFT OUTER JOIN I_CommitmentItemText AS _CommitmentItemText ON CommitmentItemShortID = _CommitmentItemText.CommitmentItem AND FinancialManagementArea = _CommitmentItemText.FinancialManagementArea AND _CommitmentItemText.FinMgmtAreaFiscalYear = '0000' AND _CommitmentItemText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterText ON ControllingArea = _ProfitCenterText.ControllingArea AND ProfitCenter = _ProfitCenterText.ProfitCenter AND _ProfitCenterText.ValidityEndDate >= $session.system_date  -- association [0..*]
LEFT OUTER JOIN I_GlAccountTextInCompanycode AS _GLAccountText ON GLAccount = _GLAccountText.GLAccount AND CompanyCode = _GLAccountText.CompanyCode  -- association [0..*]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
;