on 10-17-2008 5:31 AM
Hi Friends
I want some fields from IT000 to IT0185 some random of info types Into One Internal Table.
How do i get that?
Please Help me
Thanks in advance
1) Take all the fields from which infotypes You need into one internal Table .
2) Use GET PERNR and rp-provide-from-last to get the latest records.
3) Select statements for all infotypes.
Or
Try like this
DATA: Begin of itab,
pa0000 like pa0000,
pa0001 like pa0001,
pa0002 like pa0002,
pa0006 like pa0006,
pa0007 like pa0007,
pa0001 like pa0008,
pa0002 like pa0009,
pa0006 like pa0077,
pa0007 like pa0041,
end of itab.
select into corresponding fields of itab from PA0000, PA0001, PA0002, PA0006 ....
To read : itab-pa0001-orgeh, etc..
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use LDB with Macros or SELECT statements.
But dont use both in the program.
Bcoz it makes your program's performance poor.
And also avoid using select with into corresponding or move corresponding to.
bcoz these are the basic things which needs to be taken care when u r writing a quey.
Regards,
Charan.
https://forums.sdn.sap.com/click.jspa?searchID=17578435&messageID=6372036
this may give an idea
Edited by: Sikindar on Oct 17, 2008 10:02 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.