Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

loop 2 times.

hi Abapers,

anyone can plx help me with performance in loop 2 times?

I need something like this:

LOOP AT ti_sbook FROM sbook_index.

READ TABLE ti_spfli BINARY SEARCH.

WHILE sy-subrc = 0.

cont1 = cont1 + 1.

spfli_index = spfli_index + 1.

READ TABLE ti_spfli INDEX spfli_index.

ENDWHILE.

spfli_index = 1.

sbook_index = sbook_index + 1.

ENDLOOP.

obs: I need to read all records.

Regards

Allan Cristian

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question