CALL FUNCTION 'MATERIAL_READ'
EXPORTING
schluessel = mtcom " Materialstammschl黶selfelder
IMPORTING
matdaten = mt61d " Matstammview
return = mtcor " Matstammreturncodes
TABLES
seqmat01 = dummy " Sequentieller Matstammview
EXCEPTIONS
material_not_found = 04
plant_not_found = 04.
EXPORTING
schluessel = mtcom " Materialstammschl黶selfelder
IMPORTING
matdaten = mt61d " Matstammview
return = mtcor " Matstammreturncodes
TABLES
seqmat01 = dummy " Sequentieller Matstammview
EXCEPTIONS
material_not_found = 04
plant_not_found = 04.
本文介绍了一段ABAP代码,该代码通过调用MATERIAL_READ函数模块来读取物料主数据。它导出了物料主键字段,并导入了物料主视图数据。此外,还涉及了异常处理,如物料未找到或工厂未找到的情况。
785

被折叠的 条评论
为什么被折叠?



