The Class /AEB/CL_TA_PB_SMAT_READ_V1_BC can be used to read data of a material for the material number and its plant. It is very important to use a plant that is relevant for the material, which can be checked by displaying the material for that plant. Also the plant has to be assigned to a organizational unit, which can be checked in the AEB cockpit under customizing -> Assignments for organizational unit and product group. There you can define a rule which determines the organizational unit. This organizational unit has to exist, which can be checked in the AEB cockpit under customizing -> Organizational unit.
Important to know is that you first have to synchronize the data by the report /AEB/01_JE_SYNC and the report /AEB/01_JE_WORKER. Only then you can acces the classification data of material.
Updated 7 months ago