Friday, June 5, 2015

SAP ABAP : Control break events

These events are used inside the loops in ABAP program. There are 5 such events available in ABAP:

  1. AT FIRST - ENDAT
    • Will trigger at the first run of the loop.
  2. AT NEW - ENDAT
    • Will Trigger when new value for the applied field.
  3. AT END OF - ENDAT
    • will trigger for the last occurrence of the same value in the applied field.
  4. AT LAST - ENDAT
    • Will Trigger withe the last run of the loop,
  5. ON CHANGE OF
    • Trigger every time change in the value of applied filed. can also be used outside loop.
We must use a temporary workarea to display values in the 3 (2,3,5) control events. otherwise we get values like ***.


No comments:

Post a Comment