2007 Nov 20 2:33 PM
Hi. When I use GET PERNR, all pernr are taken so it takes a long minute to complete. How can I limit number of PERNR who are taken by GET statement? For example I'd like to process only pernr from particular shop or particular organization. I'll be thankful for tips. Greetings. P.
Hi. When I use GET PERNR, all pernr are taken so it takes a long minute to complete. How can I limit number of PERNR who are taken by GET statement? For example I'd like to process only pernr from particular shop or particular organization. I'll be thankful for tips. Greetings. P.
2007 Nov 20 2:39 PM
Hello,
If you are using an LOGICAL DATA BASE, you can filter the information or the PERNR using the fields of selection´s screen, for example, you can use the logical database PNP, and, when you introduce some filters in the fields of the selection´s screen, this will affect to the provide in order to filtar the workers.
Regards PpCHiCo
2007 Nov 20 2:52 PM
Thanks very much for replying. I'm new to this topic. You described me what should I do to limit pernr from the level of selection-screen. But how would it look like from the level of code? Is there some function module or macro or other tool to limit processed PERNR?
2007 Nov 20 3:05 PM
I believe that the only thing that your you can do is to check manually with a CHECK after GET PERNR, of way that if it does not fulfill the conditions necessary, the PROVIDE continues with the following PERNR. Something like this:
GET PERNR.
check pernr-pernr in so_pernr.
....
2007 Nov 21 1:23 PM
Isn't it possible to do sth like
GET PERNR WHERE [conditions].
?
2007 Nov 21 1:36 PM
After GET PERNR ..
U can write where conditions ..
Say ..
GET PERNR.
if pernr-pernr <condition>
reject.
endif.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |