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

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
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

Paramètre Reférence Type Long. Description
WRF_ARTICLE_BUFFER WRF_NODE_ARTICLE_ASS_TTY h 64 Article Assignments Table

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
WRF_ARTICLE_BUFFER2 WRF_NODE_ARTICLE_ASSIGN_TTY h 81 X Article Assignments Table

Exception Description
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.