Skip to Content
avatar image
-1
Former Member

Does ABAP have "sleep" and "awake"?

Just like Java.

I think WAIT UNTIL is similar, but looks like it cannot "awake" the process proactively.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 02 at 09:03 PM

    Regarding "does ABAP have multi-threading" Google answers with this blog and this blog, among others.

    There are no similar commands in ABAP though, so the short answer is "no". I'm also curious though what would business case triggered this question.

    Add comment
    10|10000 characters needed characters exceeded

    • The initial question stated "just like Java". ABAP command WAIT has nothing to do with multi-threading, like sleep-wake in Java, I believe. So it's not "just like" that, strictly speaking.

      Sorry, I'm at loss here... This question is either very complex or RTFM. If it's the latter then refer to ABAP Keyword documentation, which can be found online. If it's the former then please explain what this is about exactly.

  • Jan 02 at 09:19 PM

    Hi,

    Take a look here . That's a good ABAP example. Now when you say "awake" what do you mean? Because in java Thread class the sleep method is getting a time for sleeping that after which it is "awakens".

    Add comment
    10|10000 characters needed characters exceeded