Skip to Content


Jan 23, 2017 at 01:58 PM


avatar image
Former Member


In the code below, there is a check command (Line 65) in a loop made in a table that has only one row. When you get to the check command instead of exiting the loop, the program is repeating the loop. This execution takes about thirty minutes to exit the loop. The problem is that this causes the BADI NOTIF_EVENT_SAVE to be called every second during this loop (line 57). This issue happens randomly, and I could not identify any specific characteristics of the scenarios that the error occurs. Can you help me? Thank you!

The code below is in the include LIQS1F16.

loop-badi.jpg (76.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Nic Teunckens Jan 23, 2017 at 03:04 PM

Please check the SAP Launchpad on your version / SP-level. I think you might needs some 'upgrading'.

As a point of reference in our version of include "LIQS1F16" the ...

*--- Check whether notification contains changes
      PERFORM  check_change_f16 USING xchange.

... is at line 160, and the BAdI-Call ...

*--- BAdI as customer exit
      PERFORM badi_at_save.

... is at line 126.

We're somewhat at a good version / SP-level, so that would atleast indicate your system is quite old / older and missing KBA's ...

You could run your Business Functions via the "Automated Note Suggestion Tool" (trx. "ANST") to get an insight in missing Code ... (See FAQ for ANST : link)

Hope this helps

Nic T.

10 |10000 characters needed characters left characters exceeded