ФМ:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
DATA matkl TYPE mara-matkl. SELECT SINGLE matkl INTO matkl FROM mara WHERE matnr = i_matnr. DATA t_wgh01 TYPE TABLE OF wgh01. CALL FUNCTION 'MERCHANDISE_GROUP_HIER_ART_SEL' EXPORTING matkl = matkl TABLES o_wgh01 = t_wgh01[]. |
Функция
1 |
MERCHANDISE_GROUP_HIER_ART_SEL |
вернет иерархию по номеру материала matnr