Fonction SAP WRF_MATGRP_ARTICLE_VAL_CHECK - Check of Scheduled Article 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_ARTICLE WRF_ARTICLE_VALIDITY_STY u 62 Validity Check: Article/Node Structure
VALIDITY_OVERLAP_CHECK WRF_CHECKFLG C 1 X Check Flag
VALIDITY_UP_CHECK WRF_CHECKFLG C 1 X Check Flag

Exception Description
NO_ARTICLE_SELECTED No Current Article Entered
NO_DATABASE_ENTRIES No Database Entries Found
NO_HIERID_SELECTED No Hierarchy ID Entered
NO_NODE_SELECTED No Hierarchy Node Entered
VALIDITY_OVERLAP_CHECK_FAILED Validity of Article Assignment not Allowed
VALIDITY_UP_CHECK_FAILED Validity of Article Assignment not Allowed

Functionality
This function module checks the validity of scheduled node assignmentsof an article hierarchy 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. Zeiträumen sind möglich.