Populating AUFPL in QALS
When creating an inspection lot I need to populate the AUFPL field - Routing number of operations in the order. How to obtain this value?
I am using FM
CALL FUNCTION 'QPL1_INSPECTION_LOT_CREATE' EXPORTING qals_imp = l_qals rmqed_imp = l_rmqed IMPORTING e_qals = l_qals subrc = l_subrc EXCEPTIONS OTHERS = 1.
You can try like
Get the AUFNR from QALS and then do compare with AFKO Table,get AUFPL Field.