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
What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
What is a data class? : abap data dictionary
can any one answer these questions 1)How do you convert non-character field to character field? 2)How do you work with semi colon separated files? 3)why cant we use normal function module for data transfer? 4)what is the structure of CTU-PARAMS? 5)can we use transfer dataset to transfer data in internal table?
What is the disadvantage of a call by reference? : abap modularization
Differentiate between report and dialog program
i have cleared my technical round and manager round in cts but they told me u will get a call with in couple of days now i dont know about my status
What is payroll area
What is a table cluster? : abap data dictionary
How to find the return code of an stmt in abap programs?
What is the use of info groups? : sap abap hr
What is meant by search help? : sap abap data dictionary
Have you set up a back ground job? How to create a background job without a variant ? : abap bdc
What is transparent table?
Explain get pernr concept when we use logical data base? : abap hr
What is the name of the system variable that holds the contents of the selected line in interactive reporting?