Skip to Content
0
Former Member
Jul 14, 2008 at 09:38 AM

Read Table

20 Views

HI

I have selected the objid, sobid from hrp1001 into one internal table itab where relat = '008'.

Now im looping another internal table .This table contains objid. Inside this table i want to read the table itab with key objid = itab1-objid. And

if sy-subrc = 0.

wa_users-sobid = wa_hrp1001-sobid.

APPEND wa_users to it_users.

Endif.

Here im facing one problem like inside itab i have the values like 5000314 Anirban

5000314 Fahad

In this case im getting only one user. I need both the users.

How can i write the read statement. Can i write read table statement with both index & with key.

Please help me.