SAP Function WRF_MATGRP_PPGRP_ARTICLE_READ - Price point group determination

Parameter Reference Type Length Default Optional Text
PIT_ARTICLE_PP WRF_ARTICLE_PPT_TTY h 49 Table of Articles for Price Point Group Determination

Parameter Reference Type Length Text
PET_PRICEPOINTGRP WRF_ARTICLE_EPRGR_TTY h 37 Table of Price Point Groups

Exception Text
NO_ARTICLE_SELECTED No Current Article Entered
NO_DATABASE_ENTRIES No Database Entries Found
NO_HIERID_SELECTED No Hierarchy ID Entered
NO_NODE_SELECTED Hierarchy Node Does Not Exist
NO_PPGR_TYPE No Price Point Categories Entered
NO_UNIQUE_ASSIGMENT Articles are not assigned uniquely

Functionality
This function module determines for one or more articles the price pointgroup(s) in the structure of the article hierarchy. The search algorithmfor determination of a price point group assignment searches in thearticle hierarchy tree of the article upwards and stops as soon as aprice point group assignment is found (access sequence). Since theassignment of the price point group ito the article hierarchy isdifferent depending on the application (sales price calculation,markdown control, promotion), a consideration in the access sequence isfrom which application the functionality is called. For identificationof the price point group assignment, the price point category and theranking type must be provided to the function module interface.
If at various levels of the article hierarchy, validity periods havebeen defined, this is handled as follows: These validity periods applyautomatically also to the assignments of the price point groups to thesenodes and are taken into account in determination of the price point.Since the sales price "from-date" of the price to be calculated iscritical in determination of a price point, only the validity period inwhich the sales start-date for the price to be calculated occurs isrelevant. Therefore, only that validity period is selected whichcontains the sales start time for the price to be calculated. Transferof the date is only necessary in the case of scheduled articleassignments.
In the case of an article with multiple assignments, the assignment ofthe article within the structure of the article hierarchy must beuniquely determinable because otherwise no unique price point groupassignment can be found. For unique identification of the articleassignment, the direct article assignment must be provided to thefunction module interface.
The article is only provided to the import structure PIT_ARTICLE_PP ifthe transferring article is uniquely assigned to the structure.Otherwise, the node that identifies the article assignment uniquely,that is, the direct node of the article, is to be provided. The functionmodule is called in price point group determination.