Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

"read" command

Former Member
0 Likes
423

how can i execute the "read" command with more then 1 key ???

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
404
sort it_data by  vbeln posnr.
"when you use binary search you need to sort
"use binary search to improve performance
read table it_data with key vbeln = somevbeln 
                                       posnr = someposnr
                             binary search.

or you can do this ,

read table it_data with key vbeln = somevbeln 
                                       posnr = someposnr.

sort it_data by  vbeln posnr.
"when you use binary search you need to sort
"use binary search to improve performance
read table it_data with key vbeln = somevbeln 
                                       posnr = someposnr
                             binary search.

or you can do this ,

read table it_data with key vbeln = somevbeln 
                                       posnr = someposnr.

1 REPLY 1
Read only

Former Member
0 Likes
405
sort it_data by  vbeln posnr.
"when you use binary search you need to sort
"use binary search to improve performance
read table it_data with key vbeln = somevbeln 
                                       posnr = someposnr
                             binary search.

or you can do this ,

read table it_data with key vbeln = somevbeln 
                                       posnr = someposnr.