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
Explain pai and pbo.
Hi All , Would be providing online trainings for SAP ABAP , guidance with real time experience examples , guidance in profile prepartion . Any one intrested please contact on 8978890047.
What is macro? : abap hr
How do you use tab sets in layout sets?
Explain about the tables exists in a data dictionary and what are they? : abap data dictionary
Differentiate screen painter from menu painter.
What are the 3 types of function modules in sap?
Which objects are independent transport objects? : abap data dictionary
What is difference between check table and value table ?
What are the types of bdc s?
Do you know any other patterns if yes.. explain
How table control cn be generated using bdc? : abap bdc
What are the functional modules used in sequence in bdc? : abap hr
What are the functional areas?
how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.