P_CntrlPRAccntAssignmentType

DDL: P_CNTRLPRACCNTASSIGNMENTTYPE SQL: PCTRPRACCASSNSRT Type: view CONSUMPTION

Account Asssignment Sorting

P_CntrlPRAccntAssignmentType is a Consumption CDS View that provides data about "Account Asssignment Sorting" in SAP S/4HANA. It reads from 1 data source (I_PrmtHbRpldPurReqnAcctAssgmt) and exposes 4 fields with key fields ProcmtHubPurchaseRequisition, ProcmtHubPurRequisitionItem, ProcurementHubSourceSystem.

Data Sources (1)

SourceAliasJoin Type
I_PrmtHbRpldPurReqnAcctAssgmt I_PrmtHbRpldPurReqnAcctAssgmt from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCTRPRACCASSNSRT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Account Asssignment Sorting view
VDM.private true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ProcmtHubPurchaseRequisition ProcmtHubPurchaseRequisition Purchase Req.
KEY ProcmtHubPurRequisitionItem ProcmtHubPurRequisitionItem Requisn. item
KEY ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System ID
MultipleAcctAssgmtDistrPercent

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 P_CntrlPRAccntAssignmentType.
-- 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: PCTRPRACCASSNSRT

CREATE VIEW P_CntrlPRAccntAssignmentType AS
SELECT
  ProcmtHubPurchaseRequisition,
  ProcmtHubPurRequisitionItem,
  ProcurementHubSourceSystem,
  max(MultipleAcctAssgmtDistrPercent) AS MultipleAcctAssgmtDistrPercent
FROM I_PrmtHbRpldPurReqnAcctAssgmt
;