Application Development and Automation 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: 
Read only

Problem in Reports

0 Likes
666

Moderator message: please use informative subject in future

Hello,

i have a two tables in (QM) QALS and QINF in these two tables fields qals-prueflos and qinf-plos ,qinf-plos2 .

"qinf-plos ,qinf-plos2" these 2 fields should check with "qals-prueflos" if the data is there it should display in QALS-ART in this field other wise it should be black and display all the data.

Please help me.

Edited by: Matt on Nov 21, 2008 12:01 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
623

Use this code

Loop at <itab> into wa.

read table <itab1> into wa1 with key xxx = wa-xxx.

if qals-prueflos = 'XXX'.

append to another table.

else.

append to another table.

endif.

endloop.

3 REPLIES 3
Read only

Former Member
0 Likes
624

Use this code

Loop at <itab> into wa.

read table <itab1> into wa1 with key xxx = wa-xxx.

if qals-prueflos = 'XXX'.

append to another table.

else.

append to another table.

endif.

endloop.

Read only

0 Likes
623

I have written that condition into end-of-selection.

but it is not working.

Please guide me if u want i can send my code.

regards

Read only

Former Member
0 Likes
623

hey

Dont hard core the inspection lot number get it thru consant and then populate that sothat the code will be perfect for future modifications if any....