Fonction SAP BAPI_WRF_MATGRP_GET_DETAIL - BAPI_WRF_MATGRP_GET_DETAIL

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
HIERACHY_DATA BAPI_WRF_HIER_DETAIL_HEAD u 26 BAPI DETAIL Structure: Article Hierarchy Description IN
ITEMS_FLAG BAPI_WRF_HIER_DETAIL_I_FLG-ITEMS_FLAG C 1 X BAPI-DETAIL-FLAG: Output of Article Assignment

Paramètre Reférence Type Long. Description
DESCRIPTION_HIERARCHY BAPI_WRF_DESC_DTL_HIER_TTY h 45 BAPI UPDATE Structure: Hierarchy Node Description OUT
DESCRIPTION_STRUCTURE BAPI_WRF_DESC_DTL_STRUC_TTY h 123 BAPI UPDATE Structure: Hierarchy Node Description OUT
EXTENSION_OUT BAPI_WRF_EXTENSION_TTY h 990 Extension
HIERARCHY_ITEMS BAPI_WRF_HIER_DTL_ITEMS_TTY h 55 BAPI DETAIL Structure: Article Assignment OUT
HIERARCHY_STRUCTURE BAPI_WRF_HIER_DTL_STRUC_TTY h 57 BAPI DETAIL Structure: Article Hierarchy Structure OUT
RETURN BAPI_WRF_RETURN_TTY h 548 Return

Functionality
Reading of Structure and Article Data of an Article Hierarchy.
Using BAPI BAPI_WRF_MATGRP_GET_DETAIL, it is possible to read thestructure and article data of the article hierarchy for a hierarchy ID.In table HIERARCHY_STRUCTURE the call-up receives the node assignmentsof an article hierarchy. The language-dependent names of the articlehierarchy are transmitted to table DESCRIPTION_HIERARCHY. Thelanguage-dependent names of the hierarchy node are provided in tableDESCRIPTION_STRUCTURE. If the indicator ITEMS_FLAG is active, then tableHIERARCHY_ITEMS is filled with information on the article assignment ofa hierarchy. Messages are returned in the parameter "Return".