Skip to Content

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

How to modify itab using where condition ?

hello experts ,

whenever i modifies itab within a loop it always starts from first row,

i want to modify itab from next row ,

please tell me any syntax as shown in new gui,

MODIFY ITAB WHERE .....

what should i write after where??

thanks

gaurav

Tags:
Former Member
Former Member replied

Hi,

You can use following syntax:

loop at itab.

if condition

modify itab index sy-tabix.

endif.

endloop.

Try this syntax, hope it will help you.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question