I_BPRatingProcedure

DDL: I_BPRATINGPROCEDURE Type: view BASIC

Rating Procedure of Business Partner

I_BPRatingProcedure (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

BPRatingProcedureCode · Cross Applications

I_BPRatingProcedure is a Basic CDS View (Dimension) that provides data about "Rating Procedure of Business Partner" in SAP S/4HANA. It reads from 1 data source (tpz21) and exposes 7 fields with key field BusinessPartnerRatingProcedure. It has 2 associations to related views.

SAP Help Documentation

CategoryConfiguration Data
Data CategoryDimension
Data Extraction TypeFull (physical deletions are possible in source tables)
Corresponding DataSourceIBPRATGPROCED
Purpose
The rating procedure describes the method used to rate business partners. This CDS view provides the prerequisites for answering the following business questions: Is the rating procedure required for a business partner? Is the rating procedure the standard rating procedure? Is the rating procedure accepted within the supervisory framework? How long is the period in days after the end of the validity period during which anyone can still access a rating for this rating procedure?

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: B_BUPA_GRP ( Business Partner: Authorization Groups ) B_BUPA_RLT ( Business Partner: BP Roles ) B_BUP_PCPT ( Business Partner: Purpose Completed ) B_BUPA_PGM ( Grouping Characteristic for SAP BP-FS ) Configuration Rating procedures have to be customized.

Structure
Measures and attributes Some important measures and attributes are: Business partner rating procedure Business partner rating procedure is required Business partner rating procedure is standard procedure Permitted Period for Rating Procedure

SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. In case you are interested in the details of the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Application Help SAP Library BI Content .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentFS-BP
CapabilitiesData Source for Defining CDS Entities, Analytical Dimension, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>The rating procedure describes the method used to rate business partners.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Is the rating procedure required for a business partner?</p></li> <li><p>Is the rating procedure the standard rating procedure?</p></li> <li><p>Is the rating procedure accepted within the supervisory framework?</p></li> <li><p>How long is the period in days after the end of the validity period during which anyone can still access a rating for this rating procedure?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
tpz21 tpz21 from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_BPRatingProcedureText _Text $projection.BusinessPartnerRatingProcedure = _Text.BusinessPartnerRatingProcedure
[0..*] I_BusinessPartnerRating _BPRating $projection.BusinessPartnerRatingProcedure = _BPRating.BusinessPartnerRatingProcedure

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IBPRATGPROCED view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #NOT_ALLOWED view
ObjectModel.representativeKey BusinessPartnerRatingProcedure view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.sapObjectNodeType.name BPRatingProcedureCode view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Rating Procedure of Business Partner view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartnerRatingProcedure tpz21 grade_method Valuation Procedure
BPRatingIsRequired tpz21 flg_required Rating Entry Required
BusinessPartnerRatingIsDefault tpz21 flg_default Standard Rating Procedure
BPRatingStandardAccessDays tpz21 grade_meth_permitted_period Permitted Period for Rating Procedure
BPRatgPermittedPerdIsRelevant
_Text _Text
_BPRating _BPRating

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_BPRatingProcedure.
-- 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_BPRatingProcedure AS
SELECT
  tpz21.grade_method AS BusinessPartnerRatingProcedure,
  tpz21.flg_required AS BPRatingIsRequired,
  tpz21.flg_default AS BusinessPartnerRatingIsDefault,
  tpz21.grade_meth_permitted_period AS BPRatingStandardAccessDays,
  '' AS BPRatgPermittedPerdIsRelevant
FROM tpz21
LEFT OUTER JOIN I_BPRatingProcedureText AS _Text ON BusinessPartnerRatingProcedure = _Text.BusinessPartnerRatingProcedure  -- association [0..*]
LEFT OUTER JOIN I_BusinessPartnerRating AS _BPRating ON BusinessPartnerRatingProcedure = _BPRating.BusinessPartnerRatingProcedure  -- association [0..*]
;