Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Populating AUFPL in QALS

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You can try like

Get the AUFNR from QALS and then do compare with AFKO Table,get AUFPL Field.

Thanks

Seshu

2 REPLIES 2

Former Member
0 Kudos

Hi

Check the tables

AFKO and AFPO

Take the AUFNR from the Inspection lot related Q* tables and with that AUFNR take the AUFPL from the above order tables and use

Regards

ANJI

Former Member
0 Kudos

You can try like

Get the AUFNR from QALS and then do compare with AFKO Table,get AUFPL Field.

Thanks

Seshu