Skip to Content
0
Former Member
Jan 07, 2008 at 06:45 PM

READ Table With Key

39 Views

I am trying to get the sy-tabix of a record in an internal table.

The key I am using is a field in the internal table that will be unique.

I get sy-sub = 4, so I assume I am not defining the key in full.

The code is:

CONCATENATE g_dimen i_bunit INTO l_nodename.

READ TABLE lt_e_t_rsnodes_lnk WITH KEY nodename =

l_nodename

BINARY SEARCH TRANSPORTING NO FIELDS.

Any suggestions? Thank-You.