Hi,
This scripts writes always in row 1. It means that the Loop keeps overwriting line one all the time , or at least tries.
I cannot find a way to perform line down, or page down in the ME21N screen using standard recording mode. If that would be possible, you could write in position 2 and then click page down and row2 would be free all the time.
Alternative, if you use the GUI mode the page down action would be possible and you could be writing in row2 after performing page down at the end of every entry line.
Regards,
------------------------------
Victor Garcia | Winshuttle Developer
Elanco US Inc. | +34 653 611752
------------------------------