cancel
Showing results for 
Search instead for 
Did you mean: 

Create Report of some Infotypes

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Answers (1)

Answers (1)

sikindar_a
Active Contributor
0 Kudos

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