Ignore user input until dialog (no command period allowed)

OK. Hopefully this will finish up my AS app bundle. I need the script to continue its process until the dialog is displayed. When the guest user does ({"."} using command down), the script just ends. Because it doesn't show up as error 128, the cancel script can't run to finish the process.
I have found that during a dialog, the user can't do ({"."} using command down) to prematurely quit the script. But then the script has to wait and can't continue processes with the dialog displayed... can it?
Basically, I need a way to keep the user from canceling the script before the dialog. It would also be nice to allow the user to be able to let the script run in the background while they did tasks like check eMail, etc.
Is there a way to ignore user input until the dialog?

here is what my script will be like when complete:
the app is installed into the login items via an script placed in iCal. When the user logs in, a process happens and the desktop image of the day is loaded. The dialog says "Please confirm that your desktop image is Thursday's image." If they confirm, then the script ends. If they select "is not" then the script repeats, it goes through the process again, installing the necessary files or replacing the old ones and doing other processes.
I have the master app that I can open up once a week and insert the necessary files into the contents folder. Then I make a quick little adjustment to the script, and set it in the server folder.
I have two real problems with the app: 1. I don't want user interference during the process to mess with the installation, 2. I don't want command period to stop the app from taking its course.
Another side issue is that I can access the enclosed files to set the desktop but can't find a way to copy the files to the correct folder. I couldn't find a way to use automator as a folder and an app. I would rather do it in AppleScript where I'm a little more familiar.

Similar Messages

  • Unity Connection 8.0.3 - Opening Greeting ignores user input

    Hello,
    When I dial CUC pilot number, I hear "Cisco Unity Connection messaging system. From a touchtone telephone you can dial extension at any time. For directory of extensions, please press 4..."
    Problem is when I try to dial number 1001 or try to press 4 for directory of extensions, CUC always plays "Sorry there is no operator... Record your message after tone, when you are finished please hang up or press # for more options...". Also, when I record some message after tone, I am unable to cancel message after pressing 6. I think that CUC ignores my touchtone presses.
    Setup is simple. CIPC registered to CUCM, CUCM and CUC integration is accomplished via SIP trunk. From CIPC, I dial CUC pilot number, and get mentioned prompts. On CUC, I have configured one user with 1001 extension and associated mailbox. Also, Opening greeting handler has CSS wich contain partition in wich the user with 1001 resides.

    I just noticed that if integration is accomplished via SCCP, it works as desired!
    Why DTMFs are not send via sip trunk... The question is now...

  • How to use Pl/sql block to edit check user input

    Hi,
    Please advise on PL/SQL Block code that could be used to Check User input from within a Loop and proceed conditionally based upon User Supplied compliant Input. Thanks in advance.

    Hi,
    yakub21 wrote:
    You could use the ACCEPT to get user input and then assign the input to a variable that could then be verified.
    I believe that anything is possible because we don't yet have proof that it is not!
    I do have code that can accept user input. Is it PL/SQL code? Sybrand was clearly talking about PL/SQL:
    sybrand_b wrote:
    Pl/sql is for server side code, it is not a front end tool, and it is incapable of the functionality you describe.If you do have PL/SQL code that accepts user input, please post an example. A lot of people, including me, would be very interested.
    Pass the user-input value to a variable and then assign that value to another variable from within a Declare of a PL/SQL Block.
    The opportunity here is to figure a way to loop with user input until desired input is entered by the user before proceeding with the code. I'm using PL/SQL Block because I don't want the code to persist. I just want to run it as part of database configuration procedure. ThanksIt sounds like you're talking about SQL*Plus, which is a very poor tool for looping or branching.
    It's possible, but it's not pretty. The following thread shows one way of looping in SQL*Plus:
    Re: How to give the different values to runtime parameters in a loop?

  • How to generate the User-Input XML Body for executing workflows via REST APIs: The Solution

    I see that executing a workflow via REST APIs requires lot of work to be done just to prepare the right User-input XML body. Any mistake and you have some major debugging to do. Larger the number of User-Inputs, the bigger is the problem.Life is so much easier at the WFA GUI with Display names and tooltip help for User Inputs which are very easy for reading and providing the right values. I don't have any such privileges when manually preparing the User-Input XML body.It’s been asked numerous times how to provide User-Input values for type table, or Query (Multi-Select) etc. These are complex User-Input types and has lots of scope for user mistakes.I can have User-input dependency at WFA GUI which allows me to make the right selection, but while preparing my XML body I need to take care of it myself.An operator is allowed to execute workflows, but the same Display names which help him make the right user-inputs, makes it impossible for him to prepare the user-input body xml. Display names can't be used in in XML body and he can't know the exact parameter names by looking at the Display names. So he need to always contact the Admins/Architects for this. And Architects/Admins can't be expected to keep providing User-Input XML body to operators every operator. How about if I could enter all the User-Input values in my workflow execution at WFA GUI, I can do a preview which passed to my satisfaction and then I can magically get the XML body for it which I can use to execute my workflow from REST APIs from any client. It could be so very much easy for me than building my User-Input XML body manually. This is exactly what I'm going to give you right now. You open the WFA in browser, Go to your workflow, Start execution, you input values from GUI reading carefully the display names, preview it to your satisfaction and then get the XML body. Assume your workflow is called “Workflow to Print a given Message”. It’s a simple workflow with only 1 user-input Displayed as "Message to Print" Prerequisites:  The following are the one-time prerequisites. You need PowerShell 3.0 on your WFA server.Import the attached Generate_Workflow_User_Input_Body_in_XML.dar in your WFA. It’s our magical command called "Generate Workflow User Input Body in XML"Add credentials of a WFA Admin/Architect in you WFA itself with Name/IP: localhostMatch: ExactType: OtherName/IP: localhostUsername: <WFA Admin/Architect Username>Password: <User Password>   Steps: Suppose you have a workflow called "Workflow to Print a given Message". You want to execute it from REST apis and need to prepare the user input XML body.  Select this workflow and clone it. The workflow clone is the exact copy of your original workflow word by word, input-by-input. It will open in Edit mode with name "Workflow to Print a given Message - copy".Add the command "Generate Workflow User Input Body in XML" at the beginning of your workflow. This is a must. This command need to be the first command in your cloned workflow.This command requires no input. So for its Parameters just press okay and save the workflow.You are done.Now Execute the clone workflow. You'll see all the user-inputs available to you. Make your choices as you wish. Preview it to confirm that planning is passed and u have no errors.Execute it now.You'll see that the our magical command "Generate Workflow User Input Body in XML" has failed in our clone workflow execution. Don't worry, its fate was decided to be so. But it didn't fail before giving me what I really wanted. i.e. my XML body for my real workflow. It displayed it in the GUI as well as saved it in your WFA server @ C:\temp\<workflow_name_dd_MM_yyyy_hh_mm_ss_.xmlIt also deleted all the reservations of this particular failed job. So NO major residue left to be cleaned.To summarize: Clone Your workflow and Add the command "Generate Workflow User Input Body in XML" as your first command.    Start Execution, provide your User-inputs and preview it. Be satisfied and Press Okay.   Now Execute it.  After a few scconds this cloned workflow will fail with Error "All done. The Workflow will fail now."     See the command execution logs for this command. You'll see the User-Input XML body. It has also saved the XML file at C:\temp in your WFA server.   Have fun. sinhaa  

    Providing a new version 1.1.0 of the command "WFA Schedular" Changes made: Added conditional String Representation based on the Scheduling parameter provided. Provided check for the right number of parameters passed into the command.Added a new parameter "Expiry Date" to automatically stop the recurring execution upon expiry.Check for Posh3.0 version in code.Have Fun!! sinhaa Below example for:Schedule a workflow for recurring execution every alternate day i.e. once in 2 days at 10:30 PM starting 06-Jul-2015 (Today's date is 02-Jul-2015) . The recurring workflow execution  should expire on 31-Dec-2015 and stop.  

  • Display dialog, await user input how to get no timeout?

    I have a script i run on login, it brings up a dialog that requests user input, how can I stop it timing out if nothing happens?

    Sorry long delay to get back to my question that I asked,
    Still having issues, original I used the timeout action, and that keeps the script working.... However it still times out and then when I use the
    giving up after 150
    I've not tested it to see if it prevents an early timeout, but clicking a the dialog and my script, just stops working there and does nothing else.
    --These files need to change on boot.
    --:Applications:Adobe Photoshop CS6:Presets:Scripts:SAVEAS.jsx
    --:Applications:Adobe Photoshop CS6:Presets:Scripts:SaveOnly.jsx
    --:Volumes:StudioC:Users:StudioC:Workflow:Folder Actions:0_HeliconHotFolder.scpt
    set CS6Applications to ((path to applications folder as text) & "Adobe Photoshop CS6:Presets:Scripts")
    set HeliconLabeler to ((path to home folder as text) & "Workflow:Folder Actions")
    set HeliconAbdul to ((path to me as text) & "Contents:Resources:Scripts:abdul:0_HeliconHotFolder.scpt")
    set HeliconMatt to ((path to me as text) & "Contents:Resources:Scripts:matt:0_HeliconHotFolder.scpt")
    set HeliconShah to ((path to me as text) & "Contents:Resources:Scripts:shah:0_HeliconHotFolder.scpt")
    set PS6SaveAsAbdul to ((path to me as text) & "Contents:Resources:Scripts:abdul:SAVEAS.jsx")
    set PS6SaveOnlyAbdul to ((path to me as text) & "Contents:Resources:Scripts:abdul:SaveOnly.jsx")
    set PS6SaveAsMatt to ((path to me as text) & "Contents:Resources:Scripts:matt:SAVEAS.jsx")
    set PS6SaveOnlyMatt to ((path to me as text) & "Contents:Resources:Scripts:matt:SaveOnly.jsx")
    set PS6SaveAsShah to ((path to me as text) & "Contents:Resources:Scripts:shah:SAVEAS.jsx")
    set PS6SaveOnlyShah to ((path to me as text) & "Contents:Resources:Scripts:shah:SaveOnly.jsx")
    tell application "System Events"
              if name of current user is equal to "StudioA" then ¬
                        set MacName to "true"
              if name of current user is not equal to "StudioA" then ¬
                        set MacName to "false"
    end tell
    with timeout of (60 * 61) seconds
              display dialog "Who is using the Computer?" buttons {"Abdul", "Matt", "Shah"} with icon caution
              if result = {button returned:"Abdul"} then
                        if MacName = "true" then
                                  tell application "Finder"
      duplicate file PS6SaveAsAbdul to folder CS6Applications with replacing
      duplicate file PS6SaveOnlyAbdul to folder CS6Applications with replacing
                                  end tell
                        else if MacName = "false" then
                                  tell application "Finder"
      duplicate file HeliconAbdul to folder HeliconLabeler with replacing
      duplicate file PS6SaveAsAbdul to folder CS6Applications with replacing
      duplicate file PS6SaveOnlyAbdul to folder CS6Applications with replacing
                                  end tell
                                  display alert "Turn Camera on"
                                  delay 1
                                  tell application id "breezesys.com.dslrremotepro" to activate
                                  menu_click({"DSLRRemotePro", "Camera", "Set date/time and owner string..."})
                                  delay 1
                                  tell application "System Events"
      keystroke "a" using command down
                                            delay 1.5
                                            keystroke "Shot_By_Abdul"
                                            delay 1.5
      keystroke return
                                  end tell
                        end if
              else if result = {button returned:"Matt"} then
                        if MacName = "true" then
                                  tell application "Finder"
      duplicate file PS6SaveAsMatt to folder CS6Applications with replacing
      duplicate file PS6SaveOnlyMatt to folder CS6Applications with replacing
                                  end tell
                        else if MacName = "false" then
                                  tell application "Finder"
      duplicate file HeliconMatt to folder HeliconLabeler with replacing
      duplicate file PS6SaveAsMatt to folder CS6Applications with replacing
      duplicate file PS6SaveOnlyMatt to folder CS6Applications with replacing
                                  end tell
                                  display alert "Turn Camera on"
                                  delay 1
                                  tell application id "breezesys.com.dslrremotepro" to activate
                                  menu_click({"DSLRRemotePro", "Camera", "Set date/time and owner string..."})
                                  delay 1
                                  tell application "System Events"
      keystroke "a" using command down
                                            delay 1.5
                                            keystroke "Shot_By_Matt
                                            delay 1.5
      keystroke return
                                  end tell
                        end if
              else if result = {button returned:"Shah"} then
                        if MacName = "true" then
                                  tell application "Finder"
      duplicate file PS6SaveAsShah to folder CS6Applications with replacing
      duplicate file PS6SaveOnlyShah to folder CS6Applications with replacing
                                  end tell
                        else if MacName = "false" then
                                  tell application "Finder"
      duplicate file HeliconShah to folder HeliconLabeler with replacing
      duplicate file PS6SaveAsShah to folder CS6Applications with replacing
      duplicate file PS6SaveOnlyShah to folder CS6Applications with replacing
                                  end tell
                                  display alert "Turn Camera on"
                                  delay 1
                                  tell application id "breezesys.com.dslrremotepro" to activate
                                  menu_click({"DSLRRemotePro", "Camera", "Set date/time and owner string..."})
                                  delay 1
                                  tell application "System Events"
      keystroke "a" using command down
                                            delay 1.5
                                            keystroke "Shot_By_Shah"
                                            delay 1.5
      keystroke return
                                  end tell
                        end if
              end if
    end timeout
    --handlers
    on menu_click(mList)
              local appName, topMenu, r
      -- Validate our input
              if mList's length < 3 then error "Menu list is not long enough"
      -- Set these variables for clarity and brevity later on
              set {appName, topMenu} to (items 1 through 2 of mList)
              set r to (items 3 through (mList's length) of mList)
      -- This overly-long line calls the menu_recurse function with
      -- two arguments: r, and a reference to the top-level menu
              tell application "System Events" to my menu_click_recurse(r, ((process appName)'s ¬
                        (menu bar 1)'s (menu bar item topMenu)'s (menu topMenu)))
    end menu_click
    on menu_click_recurse(mList, parentObject)
              local f, r
      -- `f` = first item, `r` = rest of items
              set f to item 1 of mList
              if mList's length > 1 then set r to (items 2 through (mList's length) of mList)
      -- either actually click the menu item, or recurse again
              tell application "System Events"
                        if mList's length is 1 then
      click parentObject's menu item f
                        else
                                  my menu_click_recurse(r, (parentObject's (menu item f)'s (menu f)))
                        end if
              end tell
    end menu_click_recurse

  • Dialog box  user input in AWT

    Hey,
    I need help implementing a dialog box for user input. I looked at the entry for dialog box on SUN website but i dont have a frame or any of the other components required to use the constructor. I am using an Applet.
    Thank you in advance.

    The first thing I saw on your code, I've not even looked through it yet, was you are using == to compare Strings... this will almost never work, and will definitely not work for how you are using it. Objects, like Strings, have methods for comparing, in the case you want it's myString.equals(otherString);
    You have several options on getting the data from your second window, the easiest is probably just to make a public getter. Since your Window #1 has visibility to your second window, you can use the getter freely.
    on the Window #1 side:
    myPieceOfData = mySecondObjectRef.getMyDataValue();and on the Window #2 side:
    public myDataType getMyDataValue(){
      return theReauestedData;
    }Congratulations on getting going on Java. One thing about college, they usually do not care what language you are using, they are teaching concepts not tools--they usually leave the tool learning up to you.
    Best of luck in your classes.

  • Simulate User input in command field

    Dear all,
    it it possible to simulate an user input in the command field during run time of a transaction? Somewhere in the transaction coding I would simulate the input
    of /nex in the command field (just as a example).
    Regards
    Martin

    Hallo Vasanth,
    this is not simulation a user input. The system should behave like if a user would type in a command in the command field. Is there any functionality fom the batch input world?
    Regards
    Martin

  • Acrobat Batch Plug-in and accessing user input parameters

    I have written a plug-in for acrobat 9 and need to retreive the value stored in the "select output location" field from the default "edit batch sequence" dialog.
    How can I get a handle to the "edit batch sequence" dialog and the dialog's user input fields and their respective values?

    I don't know if this will help you out, but remember that a batch sequence (.sequ) is finally just a plain-text file.
    If you know the name of the batch and the location of the sequences folder, you can probably write a small tool to read it in, parse it and figure out the output folder yourself.
    For example, here's a very basic batch sequence I've created. It just calls a JS method on each file:
    <</Commands [/c <<    /0 [/c <<        /Config [/c <<            /UIPolicy [/i 3]
    >>]
            /HandlerName [/a /JavaScript]
            /Params [/c <<            /ScriptCode [/t (collectFilePaths\(this\);)]
                /ScriptName [/t ()]
    >>]
            /Title [/t (Execute JavaScript)]
    >>]
    >>]
    /Input [/c <<    /FileVariation [/i 1]
        /PreselectedFolderPath [/c <<        /DI [/s (/C/Batch In)]
            /DIText [/t (/C/Batch In)]
            /FS [/a /DOS]
    >>]
        /SourceFileOptions [/c <<        /Formats [/c <<>>]
    >>]
    >>]
    /Output [/c <<    /AddToBaseName [/b false]
        /DontOverwrite [/b false]
        /FileVariation [/i 2]
        /InsertAfterBaseName [/t ()]
        /InsertBeforeBaseName [/t ()]
        /OptimizePDF [/b true]
        /PreselectedFolderPath [/c <<        /DI [/s (/C/Batch Out)]
            /DIText [/t (/C/Batch Out)]
            /FS [/a /DOS]
    >>]
        /PresetName [/t (Standard)]
        /RunPDFOptimizer [/b false]
    >>]
    >>
    The input and output folders ("C:\Batch In" and "C:\Batch Out\") are plainly visible in the code.

  • How to control user input with a button?

    How do I control a user input from a dialog box by activating it with a button. I am saying "press zero", then when the user does press zero, it should zero the scale.

    The user has only one button they can press.  You should enable the cancel so that the dialog can output an F.  
    What you have works, but the zero will not occur until the case is activated.  If the insides of the case do not work, that is another story.  Put a pop up in the active case to convince yourself that the case is being entered.
    This, what you have, always returns T.
    Mark Ramsdale

  • Hide user input in text box

    Is there a way to hide user input in an applescript text box?  I'm using the 'display dialog' command to get the user to type in a password and i would like to display it on screen as "*******" or something.
    Thanks.
    Pedro

    Try display dialog "Password:" default answer "" with hidden answer

  • How to ignore any input on the component

    i want to make a JFrame Container ignore all input event (ie. key, mouse) until "start" button is pressed .
    for example , there are button on the Container. but these buttons are prevented from be pressed until "Start" button is pressed.
    i want to implement those function not using setEnabled(false) method. because it makes button's shape changed.
    Actually what i try to make is a game that blocks all the input from user until game is started .
    any comment will be helpful.
    thank you

    Try using a [url http://java.sun.com/docs/books/tutorial/uiswing/components/rootpane.html]Glass Pane.

  • IPhoto is no longer responding to user input

    whenever i start iPhoto, it says that it will update the thumbnails, shows a progress bar with no progress and a button with the option to "finish later".
    neither the "finish later" nor the menus are responding to any input.
    it will stay in that state for ever as far as i can tell. I left it overnight and there was still zero progress on the progress bar and it was still not taking any inputs from me.
    as far as i can tell, this all started after the update to 9.3
    starting iPhoto with the option+command yields the same results: i get the "iPhoto First Aid" dialog with the 4 options, but nothing is selectable and the button is not responding.
    looking in the Library/Preferences, there is no com.apple.iPhoto.plist ( i did not remove it myself)
    any suggestions?

    6/18/12 1:50:50.890 PM [0x0-0x2e52e5].com.apple.iPhoto: ImageIO: <ERROR>  JPEG JPEG datastream contains no image
    i had tried this before and there was no message then. I think this one started when i renamed my library to take the library out of the equation.
    instrument shows:
    Running Time
    Self
    Symbol Name
    69.0ms    0.7%
    0.0
    -[NSUIHeartBeat _heartBeatThread:]
    47.0ms    0.5%
    0.0
    _dispatch_mgr_thread
    42.0ms    0.4%
    0.0
    Main Thread
    20.0ms    0.2%
    0.0
    _dispatch_worker_thread2
    3.0ms    0.0%
    0.0
    -[XTThread run:]
    it's responding according to activity monitor.
    just not to any user input when i try to do anything.

  • How do you keep a VI running while waiting for user input?

    I have a VI that:
    1.  The user enters set points.
    2.  The user starts the VI and the VI sends the set points to an external process via a serial interface.
    3.  The VI  stops running.
    4   The user waits for the external process to complete.
    5.  Repeat sequence. Go to Step 1.
    This works well except for one small problem.  Starting the VI in step 2 causes an external micro controller to reset.  During the reset it will ignore set point commands.  To get around this problem a delay has been added between when the VI opens the serial port and when the VI sends the set points to the external process   Is it possible to keep a VI running continuously in this type of application, thereby eliminating the start up and shut down of the serial interface?
    If yes, how do you keep a VI running while waiting for user input?
    Howard

    The ones for the event structure specifically. I'm posting from my phone. Look at the basic ones for user input. even a simple while loop with a boolean and a case statement would work.

  • How to make Flash to wait for user input

    Hi,
    I found this PHP script, then I made some changes to make it
    FEED the Flash user interface with online user input.
    The main concept of this script is WAITING for user input, so
    it shows the messages and then go to next line and so on.
    The user input go to directly to TEXT file which writes in
    lines, each line has a unique id = (mag_id).
    There "get_msge.php" which works as the middleware between
    FLASH and messages text file.
    The problem, its doesn’t show any data while there are
    data in the text file.
    Help here please, best regards.
    This is the link of
    problem illustartion
    AS is:
    // create an object to store the variables
    varReceiver = new LoadVars();
    // load the variables from the text file
    varReceiver.load("get_msg.php?file_id=1&msg_id=1",
    "POST");
    // trigger something - when the variables finish loading
    varReceiver.onLoad = function(){
    //the variables have finished loading
    if (this.msg_id == 1) {
    _root.xmsg1_swf.text = this.msg;
    _root.xmsg1_ch.text = this.msg;
    gotoAndPlay("line2");
    } else {WAIT }
    PHP is:
    <?php
    //get these values from the FLASH
    $file_id_swf = $_POST ['file_id'];
    $file_name = "messages/messages".$file_id_swf.".txt";
    $msg_id_swf = $_POST ['msg_id'];
    // [0] ."||".[1] ."||".[2] ."||". [3] ."||".[4]."||". [5].
    //$msg_id."||".date."||".time."||".$from."||".$to."||".$msg.
    $fp = fopen ($file_name, 'rb');
    while (!feof ($fp))
    $msg_txt = fgets ($fp, 1024);
    $line = explode ("||", $msg_txt);
    $msg_id = $line[0];
    $from = $line[3];
    $to = $line[4];
    $msg = utf8_encode ($line[5]);
    if ($msg_id == $msg_id_swf)
    echo
    "msg_id=".$msg_id."&from=".$from."&to=".$to."&msg=".$msg;
    }//while
    fclose ($fp);
    ?>

    Well, given the things that you've written, I don't think it
    could. There technically isn't any code in flash that lets it
    "wait." In order to "wait," you must run the script over again
    until some condition is met.
    However, your code does look accurate. Why do you need to
    wait? The onLoad function will be invoked WHEN something is loaded.
    So, I don't see the reason for the "waiting."
    In addition to that, I would like to say that using text
    files isn't that great with flash. I have done this before and
    noticed several problems with using text files. The biggest problem
    is that the text files are cached after being loaded. Every time
    you re-load it again, you will get what you got the first time
    until you reset your cache (ie. close your browser). I suggest
    using MySQL. (Just my thought.)

  • Derive values based upon user input

    Hello,
    I recieved a request for a report.
    When a user runs the report they are to be prompted for a fiscal year/period.
    Based on the fiscal year/period that the user provides I have the following columns  (in bold below are 2 examples that may make the description more clear).
    1. Revenue for the Fiscal year Prior to the fiscal year of the user input value
    2. Revenue for the Fiscal year/Period prior to the input Fiscal year/period
    3. Revenue for the Year to date accumulation up to the prior fiscal year/period that the user input
    4. Revenue for the Year to date accumulation up to the prior fiscal year (fiscal year rolls back first) and prior period (for period 01, it then rolls back the fiscal year 1 more year) that the user input
    Example 1: If the user ran the query and they provided the value 05/2007, then the values that need to be obtained would be:
    1. Revenue for 2006
    2. Revenue for 04/2007
    3. Revenue for 01/2007 to 04/2007
    4. Revenue for 01/2006 to 04/2006
    Example 2: If the user ran the query and they provided the value 01/2008, then the values that need to be obtained would be:
    1. Revenue for 2007
    2. Revenue for 12/2007
    3. Revenue for 01/2007 to 12/2007
    4. Revenue for 01/2006 to 12/2006
    Please help me with determining how to obtain the user input value, and then how to derive the time periods for the columns based upon that value.
    Thanks,
    Nick
    (points available)
    Edited by: Nick Bertz on Mar 13, 2008 9:43 AM

    Hello,
    See my example.. I am reading the value from Keydate Variable
    WHEN ZVND01
            READ TABLE i_t_var_range INTO w_var_range WITH KEY vnam = 'Keydate'.
             IF SY-SUBRC = 0.
              CLEAR l_s_range.
              l_date = w_var_range-low.
              concatenate l_date(6) '01' into l_first_date.
              CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
              EXPORTING
                        day_in = l_date
              IMPORTING
                         last_day_of_month = l_last_date
              EXCEPTIONS
                        day_in_not_valid = 1
                        OTHERS = 2.
              IF sy-subrc EQ 0.
                l_s_range-low  = l_first_date.
                l_s_range-high = l_last_date.
                l_s_range-sign = k_sign_inclusive.
                l_s_range-opt  = k_option_between.
                APPEND l_s_range TO e_t_range.
              ENDIF.
    Hope this example helps..

Maybe you are looking for

  • Error while opening infopackage

    Hi, I get a short dump when i open infopackage for 2LIS_02_SCLdelta/ MESSAGE_TYPE_X. Information on where terminated     Termination occurred in the ABAP program "SAPLRSS1" - in      "RSM1_CHECK_FOR_DELTAUPD".     The main program was "RSAWBN_START "

  • Wifi card for n73

    Is it possible 2 use mini sd wificard??? thnks razr127

  • Actual Activity allocation and Planned and actual activity comparison issue in Product Costing

    Friends, I have tried to explain the issue i am facing currently under Product Costing...... 1.Cost Component Structure 10 – Material 20 – Labour 30 – Diesel 40 – Electricity 2.KP26 – Planned under Fixed Price Labour – 2.0 HR Diesel – 1.0 HR Electric

  • Apple TV purchased movies tab missing

    Hi guys, I've purchased quite a few movies on apple tv, sometime between August 1st and 2nd, all movies disappeared and the purchased movies tab is now gone from the main menu. My purchased tv shows are still showing, but movies gone! Anyone else hav

  • DVD Stutter, Write speed, etc.

    Would some kind soul explain to me what is the problem with burning an 8x dvd at 8x? I have seen all the suggestions (slower media, changing bit rate, yada yada yada) and they have been helpful. Thanks to all. Slower media seems to be the ticket for