In order to obtain the values of characteristics 300 class material from the production order, you can use the functional module
CUCB_GET_VALUES_FROM_INSTANCE
FM startup options:
IV_INSTANCE = AFKO-CUOBJ
where AFKO-AUFNR = number of production order
An example of FM (clickable):

Related