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


Please Help Members By Posting Answers For Below Questions

What will you code in start-of-selection & end-of-selection ?

686


Difference between open sql and native sql? : abap data dictionary

696


What is the significance of delivery class? : abap data dictionary

664


What is the role of ‘refresh’ in internal table?

674


Which FM do you use to find out who is reporting to whom

5285






Can you define a field without a data element?

641


What is the difference between synchronous and asynchronous update? : abap bdc

727


Explain the session method? : abap bdc

720


performance tuning concepts

1045


in bdc session method. if u run the record in fore ground manually i have a 7 records but at the time of record processing first record produces the error how can u process records manually in fore ground please tell me any one knows?

1834


What is the difference between tables and structures?

710


​​What is constructor expression in​​ nw​​ abap​​ 7.4?

715


Give examples of transparent table?

802


how to modify the standard method as per your requirement

982


What is an Unpack command?

727