SAP Function WRF_MATGRP_ARTICLE_READ - Read All Articles That are Assigned to One or More Nodes to Buffer

Parameter Reference Type Length Default Optional Text
HIER_DATE WRF_DATE D 8 SY-DATUM X Hierarchy Node
HIER_ID WRF_HIER_CNT C 2 +/- Sign
NODE_RANGE WRF_NODE_RTTY h 39 X Option for Ranges Tables
SKU_NODE_BUFFER WRF_SKU_NODE_TTY h 129 X Table Type for Table of Article-Hierarchy Assignments
WITH_MATNR XFELD C 1 X Checkbox

Parameter Reference Type Length Text
WRF_ARTICLE_BUFFER WRF_NODE_ARTICLE_ASS_TTY h 64 Article Assignments Table

Parameter Reference Type Length Default Optional Text
WRF_ARTICLE_BUFFER2 WRF_NODE_ARTICLE_ASSIGN_TTY h 81 X Article Assignments Table

Exception Text
NO_DATABASE_ENTRIES No Database Entries Found
NO_NODE_SELECTED No Current Node Given

Functionality
With this function module, all articles that are assigned to one or morenodes are imported to the buffer WRF_ARTICLE_BUFFER of the articleassignments (#article buffer#). For the hierarchy ID and for one or morenodes of an article hierarchy, all the articles assigned to these nodesare determined. Articles with multiple assignments are buffered morethan once. The function module is called from applications thatdetermine the article assignments via the direct node search help. Thearticle assignments read from the database are retained in an internaltable which is returned to the calling application.