SAP Function WRF_MATGRP_ARTICLE_ASS_CHECK - Check if Article has Multiple Assignments

Parameter Reference Type Length Default Optional Text
HIER_ID WRF_HIER_CNT C 2 Hierarchy ID

Parameter Reference Type Length Default Optional Text
XT_ARTICLE_ASSIGNM WRF_ARTICLE_ASSIGM_FLAG_TTY h 22 Table of Unique/Ambiguous Article Assignments

Exception Text
NO_DATABASE_ENTRIES No Database Entries Found
NO_HIERID_SELECTED No Hierarchy ID Entered

Functionality
This function module checks if one or more articles are assigned to onearticle hierarchy uniquely or if multiple assignments exist. Thefunction module first checks if the multiple assignment is activated forthe specified article hierarchy. If this is the case, the functionmodule checks for the hierarchy ID and the material number, if multiple(scheduled) records exist. In scheduling, a multiple assignment existsif the validity periods of an article with multiple assignments are notdisjunct.