Hi Ming,
Ming Yu wrote:
My problem is if lt_ab1 is large, can I use a RFC tech to reduce the time consumption?
You are expecting for performance in the program, in order to do that, use runtime analysis tool(SM30) that helps to find at where it is taking more time.
Parallel Cursor method increases the performance during nested loop. It is based on index search. Please find the below link for Parallel cursor .
ABAP Code for Parallel Cursor - Loop Processing - Code Gallery - SCN Wiki
Use subroutines instead of RFC FM inside loop, that helps to increase the performance.
Before using Internal table, sort the internal table based on key. Use Binary search in READ Statement, that helps to increase the performance.
Regards
Rajkumar Narasimman