How can I wait 200 milliseconds in an ABAP Code?

The Problem is: I don´t want to wait a complete second, but 200 milliseconds.
"wait up to X seconds" does not work with "0.200"!
Can anybody help me?
Thank you!

>
Thomas Zloch wrote:
> This is so unusual (at least for me), may I ask why you're doing this?
> Thomas
This is so unusual (at least for me), may I ask why you're doing this?
Thomas:
The programm must wait until a shared object is build, but it should not wait 1 or 2 full seconds!
while lo_war_wird_gebiets_handle is initial.
        TRY.
          lo_war_wird_gebiets_handle = ZCL_WAR_WIRD_SHMA=>attach_for_read( 'WAR1' ).
          CATCH cx_shm_attach_error.
            wait up to 1 seconds.
        ENDTRY.
      endwhile.

Similar Messages

  • How can i print all the contect of the code in sapscript window ? ?

    how can i print all the contect of the code in sapscript window ? ?

    Hi,
    Do you mean that you want to print the ABAP code to SAPscrip form ?
    Svetlin

  • How can I print the "number lines" with the code in Visual Studio?

    How can I print the "number lines" with the code in Visual Studio?

    Hi BillionaireMan,
    What about your issue now?
    If you have resolved it, you can share the solution here, which will be beneficial for other members with the same issue.
    If you did not, please tell us more information,we will try my best to help you.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I define "java.util.ResourceBundle" in my Code ?

    Dear Mr. MLRon,
    Thanks to you for your replying to me.
    How can I define "java.util.ResourceBundle" in my Code ? To more understanding about my problem I can say that the Persian Font is Like as Arabic, but the Java can not Recognize it. please tell me how can I add "java.util.ResourceBundle" to my code and what should I do then?
    Thank you in advance,
    Tantan.

    Please stop starting new threads for this. Please reply in the original thread!
    http://forum.java.sun.com/thread.jspa?threadID=627917

  • How can I link .svg files in the .html code?

    How can I link .svg files in the .html code?

    I use the FileBrowser app by Stratospherix to do this.  I can watch / stream my movies on my iPhone / iPad from my hard drive connected to my Airport Extreme.  I can access all the files on that hard drive as well. 

  • How can I add keywords for SEO into the code?

    How can I add keywords (for SEO) into the code of a Muse designed site?

    You might also be interested in the upcoming MuseJam on Thursday Muse Jam: Search Engine Optimization | Facebook
    Muse Jam: Search Engine Optimization
    Online May 22, 2013
    Join Principal Product Manager Dani Beaumont of the Adobe Muse team as she explores ways within the Muse application to build search engine optimized sites by way of metadata, keywords, H1 definitions, and sitemap generation. After the presentation we'll open the floor to any questions you might with the application.

  • How can i change the phonenumber for my security code in keychain on ios 7.03

    how can i change the phonenumber for my security code in keychain on ios 7.03?

    i have changed the phonenumber under icloud preferences keychain. after the update on ios 7.03 there is no sms arriving for the security code because there is a double international code in the telephone number like +49 +49. How can i fix this?

  • How can i add newly create infotype in t.code po13

    Can any one pl tel me how can i view newly created infotype in t.code PO13
    Edited by: Utkarsh M parikh on Mar 10, 2010 5:29 PM

    See:
    Mac OS X Automation,
    Automated Workflow Tips,
    Introduction to Automator tutorial, and
    a four-parter on Automation in Snow Leopard by Sal Saghoian:
    Snow Leopard Services,
    Services for iPhoto,
    Safari and WebKit integration, and
    Installing and using services.
    Finally, 
    Developing AppleScript Applications and
    Apple's Automator Developer Documentation

  • How can I avoid automatic build of an User Code Block at SystemBuild

    Hi,
    I've created a simulation with a User Code Block at SystemBuild. I want the building process to be performed manually, so I changed the buildProcess tag in xml file which is generated by SystemBuild to "Manual". Unfortunately it doesn't work. When I try to execute the simulation, the xml file is overwriten, the buildProcess tag is set to "Automatic" and the software tries to build the library again. How can I avoid automatic build of an User Code Block at SystemBuild?
    Thanks.
    Attachments:
    fileInterface.zip ‏1 KB

    The xml file generated when a UserCodeBlock is linked usually contains the following at the top of the file:
    <DynamicLib xmlVersion="1"
                architecture="WIN32_DLL"
                rtLibLinkage="Dynamic"
                buildProcess="Automatic"
                debug="no">
    To prevent sim from automatically rebuilding your UCB dll change the tag buildProcess to "Manual"
    Bob Wilson
    MATRIXx R&D

  • How can I wait until a Swing.Timer has finished?

    I have a Swing.Timer runing which displays some animated text (more precisely it fades out a text with a delay of 50 until all characters are erased.
    Afterwards a time consuming operation shall begin. How can I achieve that this operation waits to start until the text has been faded out? The time to fade out the text depends on the length of the text, of course.
    So, how can I make the operation waiting until the Timer has finished its work?
    Thanks,
    Dirk

    dirku wrote:
    I have a Swing.Timer runing which displays some animated text (more precisely it fades out a text with a delay of 50 until all characters are erased.
    Afterwards a time consuming operation shall begin. How can I achieve that this operation waits to start until the text has been faded out? The time to fade out the text depends on the length of the text, of course.
    So, how can I make the operation waiting until the Timer has finished its work?I gave you an answer to this with sample code yesterday:
    [http://forum.java.sun.com/thread.jspa?threadID=5294087&messageID=10244564#10244564|http://forum.java.sun.com/thread.jspa?threadID=5294087&messageID=10244564#10244564]
            public void actionPerformed(ActionEvent e)
                if (sb.length() > 0)
                    sb.deleteCharAt(0);
                    label.setText(sb.toString());
                else
                    label.setForeground(color);
                    label.setText(text);
                    Timer timer = (Timer)e.getSource();
                    timer.stop();
                    // ***** start process here ***
            }The timer here continues until a condition is satisfied (here it's where the Stringbuffer that holds the text that is sent to the JLabel is empty). So all you have to do is place any code that needs to happen when the Timer ends in the else block. It's so simple as to be trivial.

  • How can I undo 200 cuts easily?

    Hey
    Ive made approx 200 cuts in a piece of multicam video footage (I was just messing around to see how well it worked).
    Without pressing Undo 200 times how can I get it back to it being one long piece of footage again please?

    hey shippo... cant you just trash thecutup footageand pull the original event back onto the timeline?
    or is the problem that you have lots of effects you want to retain?...in which case maybe copy the effects and paste agin onto the newly placed event ...havent tried it myself.
    or is there some other issue i havent thoughtof?

  • How can I wait till data is loaded and get the latest entities in HTML CLient

    This is my first try using a JavaScript component. I found a nice timeline-Scheduler on github:
    Timeline Javascript Scheduler
    I made an nearly empt new Screen and I am using LS only to get the data and to switch to the next date.
    This works fine for the first date I set in the created.
    But if I change to the next day, there are still the just loaded records. When I switch again to the following date I get the records from the day before...
    myapp.dispo.divcontainer_render = function (element, contentItem) {
    // We need this div for the timeline
    $(element).append('<div class="calendar"></div><div class="realtime-info"></div>');
    //Bind to the date
    contentItem.dataBind("screen.suchDispodat", function (value) {
    var querydat = value;
    var items = [];
    var sections = [];
    //The querydat is set to the right date but the records I get are from the last executed query.
    contentItem.screen.getQuerydispobydatfahrerorderfahrer(querydat).then(function (result) {
    var dispos = result.data;
    dispos.forEach(function (dispo) {
    How can I bind the refresh to something like data loaded?
    Helmut

    From:
    http://blogs.msdn.com/b/lightswitch/archive/2012/12/19/enhancing-lightswitch-controls-with-jquery-mobile-michael-zlatkovsky.aspx
    "You could use setTimeout (which is sometimes necessary – see Joe’s Custom Controls post
    for an example)"
    Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
    http://LightSwitchHelpWebsite.com

  • How can i print data in smartforms from ABAP program.

    Dear gurus:
    in my abap program i process require data, and saved in a internal table.
    how can l print the data in smartforms.?
    who can give me a code sample is better:)
    reward all helpful advise.

    Try this....
    1) Tcode --> SmartForms
    2) Form name --> Z_SF_TEST Create
    3) Under Global settings
    a) Form Interface  
        Table Tab
       ITAB LIKE EKPO
    b) GLOBAL Definitions
    WA_NETPR LIKE EKPO-NETPR
    In smart forms if we want to display quantity and currency fields. We can't directly display currency field and quantity fields
    For that we have to create an extra variable in global definitions
    Ex: netpr FIELD of EKPO
    CREATE program lines and specify WA_NETWR = itab-netpr.
    4) RT CLick on main Window
       CREATE --> TABLE
      Click Table painter
    DEFAULT %LTYPE will be Created
    a) If you want more like Header footer etc add by rt click on %LTYPE1
    Table (Tab)
    %LTYPE  Radio(SELECT) 5 CM 5 CM 6 CM
    CLICK on DATA (Tab)
    INTERNAL TABLE ITAB LIKE ITAB
    5)RT click on table control and create --> program lines
    General attribute (Tab)
    INPUT PARAMETER               OUTPUT PARAMETER
    itab                               WA_NETPR
    Code Area
    WA_NETWR = ITAB-NETPR.
    6) RT CLcick on table ctl and create 3 text to display the fields
    a) % text1 +button(insert field)
       FIELD name &itab-ebeln&
    Output options (tab)
    Check New line   LINETYPE   %Ltype1
    check new cell
    b) % text2
       & itab-ebelp&
    output options
    check new cell
    c) % text2
       & wa_netpr&
    output options
    check new cell
    <b>Report ac
    Tables ekpo.
    Data: itab1 like ekpo occurs 0 with header line.
    select * into table itab1 from ekpo.
    Call function module --> smart form function module and pass your internal table</b>
    Regards,
    SaiRam

  • I have a product code for my photoshop c6 under a different account that i cant remember. how can i use my software with the product code that i have with the new user i made?

    I have a product code for my photoshop c6 and i used a different account to register this software. how can i use this product that i have with my new account that i just made?
    please advise
    I dont have the serial number so yeah
    i have a product code

    Contact Adobe Customer Service directly by phone or web chat (they don't do email).  They don't do email.  If you can provide proof of purchase to their satisfaction, they may be able to help you.
    These are user forums, so you're not addressing Adobe here.  We can't help you with this type of issue.

  • How can I disable display/Change Button on transaction code VL03N

    Dear Guru,
      I found problem about transaction code vl03n because I define authorize for a user that can only display delivery document by transaction code VL03N. But this transaction have display/change button that when user click this button they can change delivery document. Please help me how can I solve this problem?
    Best regard,
    wipaporn

    Wipaporn,
    This should be done authorizations only. Although the button is displayed, is the user able to change and save the Delivery document?
    Regards,
    Ravi

Maybe you are looking for

  • Can you have 2 itunes accounts?

    i had an old itunes id, but i needed to change my account name and email. is it possible to still use the old one to authorize the old purchases on a new computer and still use the new one for current purchases? Also, I have forgotten my old password

  • Media Offline After Restarting

    I rebooted my computer and when I came back to my PremierePro project the Media was offline. The video appears in the viewer as "Media Pending", but it never loads in. In the project assets window, there is a question mark icon next to each media cli

  • [ID CC] Is there a specific scripting guide for CC?

    Hi, I was looking for the scripting guide (both applescript and Javascript) for ID CC, but all I see is the CS6 version. Is that normal? I know there isn't that much new between the two version, but it would be nice to have the updated guides. Also,

  • Reinstallation of Nokia Maps for Nokia 5800

    I have installed a wrong version of Nokia Maps (it is not for touch screen phone), so it doesn't work corectly. Can anyone tell me how can I reinstall the application with the correct version, so I can use the application. On the Nokia Maps website I

  • My Apple TV Does not display vertical photos correctly

    I have an older Apple TV (the non streaming type).  I have 3 cameras I use on a regular basis.  I have taken vertical shots with all 3 cameras.  I have corrected the orientation on my PC and then synced the photos and not all of them stay rotated cor