1.读取生产订单状态函数
call function 'STATUS_READ'
exporting
client = sy-mandt
objnr = itab_aufk-objnr
only_active = 'X'
tables
status = itab_status
exceptions
object_not_found = 1
others = 2.