The exit after loop runs after the form level is processed and therefore, implicitly, after all the levels/texts lower in the hierarchy are processed. It is used for closing activities per form level.
The exit after loop runs after the form level has been processed, therefore, after all the form levels lower in the hierarchy have been processed. In this user exit you can process closing instructions, for example, you can prepare a total for output or insert a manual page break. You use the exit after loop to:
· Analyze the summation
· Process control commands for SAPscript (for example, NEW-PAGE, ENDPROTECT)
· Initialize totals fields