Fonction SAP WRF_MATGRP_NODE_VAL_CHECK - Check of Scheduled Node Assignments

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
HIER_DATE WRF_DATE D 8 X Validity of Assignment in Article Hierarchy
HIER_ID WRF_MATGRP_HIER-HIER_ID C 2 Hierarchy ID
PI_NODE WRF_NODE_VALIDITY_STY u 62 Validity Check: Node Structure
VALIDITY_DOWN_CHECK WRF_CHECKFLG C 1 X Check Flag
VALIDITY_LVM_CHECK WRF_CHECKFLG C 1 X Check Flag
VALIDITY_OVERLAP_CHECK WRF_CHECKFLG C 1 X Check Flag
VALIDITY_UP_CHECK WRF_CHECKFLG C 1 X Check Flag

Exception Description
NO_DATABASE_ENTRIES No Database Entries Found
NO_HIERID_SELECTED No Hierarchy ID Entered
NO_NODE_FOUND Hierarchy Node Does Not Exist
NO_NODE_SELECTED No Hierarchy Node Entered
NO_PARENT_SELECTED No Hierarchy Node Entered
VALIDITY_DOWN_CHECK_FAILED Validity of Node Assignment not Allowed
VALIDITY_LVM_CHECK_FAILED Node Node/Article Assignment Allowed
VALIDITY_OVERLAP_CHECK_FAILED Validity of Node Assignment not Allowed
VALIDITY_UP_CHECK_FAILED Validity of Node Assignment not Allowed

Functionality
This function module checks the scheduled node assignments of an articlehierarchy according to different criteria.
On creation, changing, copying, reassigning of one or more nodes, thereis a check if the validity of the relevant node assignment lies withinthe validity of the (new) parent node assignment (-> VALIDITY_UP_CHECK)or not.
In the case of multiple schedule records of a node assignment, thefunction module checks that the individual time periods do not overlap(->VALIDITY_OVERLAP_CHECK). Gaps between the individual time periods arepossible.
If, on a higher level, the time period of a node assignment isshortened, the function module checks if the shortened time period stillincludes the time periods of the subordinate node assignments(->VALIDITY_DOWN_CHECK).
If the validity of an article hierarchy assignment has expired, that is,the assignment is flagged logically for deletion, then no newnodes/articles may be assigned to this assignment(->VALIDITY_LVM_CHECK).