Waht is "READ TABLE" command?? Whats the use of it??
Whats the syntax of the same?
Answer Posted / sayak roy
for better performance please use the below syntax.
SORT it_tab2 BY fname1 fname2.
LOOP AT it_itab1 into wa_itab1.
READ TABLE it_tab2 into wa_itab2
WHERE fname1 = wa_itab1-fname1
fname2 = wa_itab1-fname2
BINARY SEARCH.
IF SY_SUBRC = 0.
Do the processing.
ENDIF.
ENDLOOP.
Even if you read the table with INDEX you can sort the table
depending on what result you are expecting from that read,
means, the order and the priority of the value of the
particular fields expected from that READ statement.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Name the abap/4 modularization techniques? : abap modularization
What has to be done to the packed fields before submitting to a BDC session.
Describe data classes? : abap hr
Why do we use Abstract classes give an example from your project?
Print options in smartforms?
Can we create a gui status in a program from the object browser?
After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?
while implementing badi what are the tables u find??
What are the attributes of the data in data dictionary? : abap data dictionary
What are the system fields you have worked with? Explain?
Why do we declare a method of a class final? What can be the purpose? Give a scenario.
What are th control break events in abap?
Can i Have Some Examples on Enhancements.
The loop-endloop on extract datasets can be used without any kind of errors. State true or false. : abap modularization
Explain pai and pbo.