Alternative code for 'FOR ALL ENTRIES' in PROVIDE statement

Question: Hi,

I'm using provide-endprovide statement, however, I'm wondering is there a similar code like 'FOR ALL ENTRIES' used in select statement which can be used in provide statement.

so my BETWEEN PN-BEGDA AND
PN-ENDDA
WHERE PXXXX-FIELD1 IN ITAB-FIELD1 AND
PXXXX-FIELD2 IN ITAB-FIELD2.

Appreciate any help..thanks in advance!

Answer:
Copy the internal table into another one .. you could use :
provide ...
append itab.
endprovide ..

select whatever ..
  for all entries in itab ...bla.. bla
.
Copyright ?2007 - 2008 www.jt77.com