Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

performance tuning

Former Member
0 Likes
316

HI,

   PLEASE ANYONE SUGGEST TO AVOID THIS PERFORMANCE RELATED ISSUES

"LOOP AT record.

    CHECK record-sys_equnr IS INITIAL.

    SELECT SINGLE hequi

    INTO record-hequi

    FROM equz WHERE equnr EQ record-equnr

    AND datbi = '99991231'.

    MODIFY record.

    CLEAR record.

  ENDLOOP.   "

Moderator message: please do more research before posting.



Message was edited by: Thomas Zloch

1 REPLY 1
Read only

former_member195270
Active Participant
0 Likes
280

data lv_index type i.

  LOOP AT record where sys_equnr is initial.

   lv_index = sy-tabix.

    SELECT SINGLE hequi

    INTO record-hequi

    FROM equz WHERE equnr EQ record-equnr

    AND datbi = '99991231'.

    MODIFY record from record index lv_index.

  ENDLOOP.