Skip to Content
0
Former Member
Apr 25, 2011 at 09:57 PM

Order list difference for RIAUFK20

253 Views

Hi,

I am getting different results when calling the RIAUFK20 program inside my 'Z'function module than running RIAUFK20 alone.

ℹ️ when i called RIAUFK20 program, i got only 17 records

SUBMIT riaufk20

WITH aufnr IN lr_aufnr

WITH equnr IN lr_equnr " --> passed an equipment

WITH sermat IN lr_matnr

WITH serialnr IN lr_sernr

WITH gewrk IN lr_arbpl

WITH strno IN lr_funlc

WITH swerk IN lr_werks "yes passed the plant

WITH dy_mab EQ lf_completed "X'

WITH dy_ofn EQ lf_outstanding "X

WITH dy_iar EQ lf_inprocess "X

WITH dy_parnr EQ lf_parnr

WITH dy_parvw EQ lf_parvw

WITH dy_selm EQ 'D'

AND RETURN.

IMPORT sel_tab INTO lt_tab MEMORY 'RIAUFK20'.

-


looks like select on VIAUFKST is not working properly at line 967 in this program

(ii) when i run RIAUFK20 alone i got 205 records by selecting Outstanding, in process and Closed radio buttons on selection screen.

Anyone has any clues, greatly appreciated.

thnx,Anil