Skip to Content

[SAP B1] Is there any way to stop the logic flow at some point after clicking the button 'Add'?

Hello,

I'm looking for some ways to stop the logic flow after clicking the button Add under UDO conditions in SAP Business one.

what I want to do is that. at some point, want to show a message and then stop the logic flow after clicking the add button. Although I used "Exit Sub" or "Exit Function", the logic still flows into other subs or functions. want to stop the logic right after showing a message. If experts on coding help me with this, I would really appreciate it. Thanks in advance. Wonuk Jeon

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 02, 2017 at 08:35 AM

    Hi Wonuk.

    Catch the Before Press event of the button and, depending on your framework, return false, or set the BubbleEvent = false.

    Regards

    Edy

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 02, 2017 at 08:35 AM

    Hi Wonuk.

    Catch the Before Press event of the button and, depending on your framework, return false, or set the BubbleEvent = false.

    Regards

    Edy

    Add comment
    10|10000 characters needed characters exceeded