Function call on a pushbutton click

Hi,
Can anybody guide me to find a solution of the following problem
I have a push button and i want to call a function to transfer a file from one folder to another .
The problem is how to call that function on the click of the button.
Thanks in advance.

Hi,
Check the below code.
type-pools icon.
data: v_flag type c.
tables: sscrfields.
selection-screen begin of block file with frame.
selection-screen skip.
selection-screen pushbutton 1(30) xdatatxt user-command selx.
selection-screen skip.
selection-screen end of block file  .
initialization.
xdatatxt+5 = 'Physical file'.
xdatatxt+0(5) = icon_address.
at selection-screen.
if sscrfields-ucomm = 'SELX'.
  v_flag = 'X'.
endif.
start-of-selection.
if v_flag = 'X'.
write:/ 'selected'.
do what ever you want here
else.
write:/ 'No'.
endif.

Similar Messages

  • The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.

    I am experiencing this error with one of our cluster environment. Can anyone help me in this issue.
    The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.
    Thanks,
    Venu S.
    Venugopal S ----------------------------------------------------------- Please click the Mark as Answer button if a post solves your problem!

    Hi Venu S,
    Based on my research, you might encounter a known issue, please try the hotfix in this KB:
    http://support.microsoft.com/kb/928385
    Meanwhile since there is less information about this issue, before further investigation, please provide us the following information:
    The version of Windows Server you are using
    The result of SELECT @@VERSION
    The scenario when you get this error
    If anything is unclear, please let me know.
    Regards,
    Tom Li

  • h:CommandLink : Action event not called on the first click

    Hi,
    I am facing a problem here.
    I have a JSF page:
    When I first load the page, I have few text boxes and dropdowns. With out doing anything If I click the <h:commandLink I call an action in my pagecode.
    But the problem is on the very first load of the page, without doing anything if I click on the command link action event in my pagecode is not called, but If I click on the link the second timethe pagecode actionevent is called.
    So I think tried submitting the form in the JSF page onclik of the commandlink it works in my Local IBM RAD. But doesnot work in the WebSphere Portal.
    So can you tell me if I can submit the form atleast once when the page loads for the first time
    This is my command link:
    <tr>
    <td colspan="2" align="center">
    <h:commandLink styleClass="commandLink" id="lnkBtnCreateUser" action="#{pc_Createuser.doLnkBtnCreateUserAction}">
    <hx:graphicImageEx styleClass="graphicImageEx" id="imgBtnCreateUser" value="/theme/images/btnCreateUser.gif" style="border:0;cursor:pointer" onclick="return onFormSubmit();"></hx:graphicImageEx>
    </h:commandLink>
    </td>
    </tr>
    function onFormSubmit(){
    //enabling all the disable components
    So can anybody please help me on this. Why exactly the pageCode action event is not called for the very first click ???

    seems that a prependID="false" attribute in the respective form was causing the trouble. At least it's working now that I've deleted it.
    I introduced it, because last time the component ID's messed up the output of the error/success messages ("j_id:xxx isn't that of a usefull information to the enduser).
    Edited by: stger on Apr 9, 2008 5:41 PM

  • Profiler tracking function call

    Hi there,
    is it possible to track a function call in a stored procedure?
    thanks,
    Ed

    <TypesInSSMS>
    CREATE FUNCTION myfunky() RETURNS int AS
    BEGIN
       DECLARE @ret int
       SELECT @ret = @@spid
       RETURN (SELECT @@spid)
    END
    go
    CREATE PROCEDURE sproc AS
      SELECT dbo.myfunky() FROM sys.objects
    </TypesInSSMS>
    Starts Profiler. Select the entire event category Stored Procedures. In the query window selects "sproc". Clicks Execute. Looks in Profiler.
    Seems like the answer is yes.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Preloading and initialization of function calls brings response to a halt

    I am creating a form with many CFC calls to the server.
    However, on initial load, I am calling all these functions so that
    my detailregion which relies on the result set from these
    function calls would not error out. These initial functions do not
    return any results - there exist to satify the regiondetail
    bindings.
    Eg. my initialization calls
    var getEmployees = new Spry.Data.XMLDataSet(someCFCFile,
    "employees/employee_id", { useCache: false });
    var getDocs = new Spry.Data.XMLDataSet(someCFCFile,
    "employees/employee_id", { useCache: false });
    My issue is that the number of calls I am making are causing
    the page to take 15+ seconds to load. I can't do without them
    because my regiondetail rely on them initially. And also, later on,
    my code uses these variables to make other calls Eg.
    getEmployees .setURL(someCFCFile);
    I have tried to perform these initial call with a null value,
    but IE is still taking just as long to process these calls.
    Eg.
    var getEmployees = new Spry.Data.XMLDataSet(NULL,
    "employees/employee_id", { useCache: false });
    Please help. Thanks.

    Either Restrict Access or a Send Email Instance. Once I have tried to add either one of these to a page or successfully added, then I can't use ADDT at all.
    For instance I click on any of the Wizards to run them, I get a ADDT window with the word loading across it. It sits and spins.
    I have spent all afternoon trying to just get back to where I can work with ADDT again normally. The only way I have found that ADDT will work again after trying to utilize the email function or the Login function is to delete all of the ADDT include files and re-install.
    Not very time affective.

  • Function call from Input schedule

    Hi Expert
    Let say I have a sub function can I call them by button click from input schedule
    Please note I do not want them to be executed from Default logic.
    SUBFUNCTION.LGF
    *SUB MYSUB(Param1,Param2,Param3,Param4)
    [AccountDim].[#Param1]= [AccountDim].[Param2]+ [AccountDim].[Param3]
    [AccountDim].[#Param4]= [AccountDim].[#Param1]* [AccountDim].[Factor_Param4]
    *ENDSUB
    Thanks
    GAN

    Hi,
    As Sorin said that you can call the logic from DM package. In that case you need to create a SSIS package with run logic task and you need to pass the logic name to that task alongwith the other required parameters. You can refer to the FX restatement package to check the parameters to be passed to a run logic task. In the same way you can call your script logic.
    Hope this helps.

  • Runtime error R6025 - pure virtual function call

    I'm running the latest version 10.6.3.25 of iTunes on Windows Vista. When I tried to search in app store using the search pane on the righthand top, it crushes and a box appears saying "Runtime error! R6025 - pure virtual function call".
    I cannot search in the app store at all.
    Any help?

    This bug still exists in Firefox.  I tested version 28 and version 32.0.1, which is the latest mainstream release at the time of writing.
    Steps to reproduce:
    1.  It's much easier to reproduce this bug if you are using a computer that has 2 monitors.
    2.  Load up any Youtube video.
    3.  Skip advert if required.
    4.  Click "Full Screen" button in lower right hand corner.  The video fills up the whole of the 1st monitor.
    5.  Click on the desktop on the 2nd monitor - this reveals the taskbar and start menu overlayed above the video.
    6.  Close Firefox;  For example, by right-clicking the "Firefox" taskbar button on the taskbar, and choosing "Close" from the context menu.
    7.  Firefox closes, but adobe flash player does not close gracefully, and instead throws up "R6025 - pure virtual function call" error message.

  • R6025 Function Call "Please restart Audition" - solved

    Just thought I'd share my solution to this error:
    "To continue working where you left off, please restart Audition"
    R6025 Pure Function Call
    This started happening not long ago, as soon as I launched Audition. The error would pop up straight away and then once I clicked OK, Audition would exit.
    I'm using Windows 7 64-bit, and I tried re-installing Audition, I tried deleting all Regedit references, I tried replacing the sound drivers, and I tried deleting all the config files in Roaming\Adobe\Audition\3.0.  None of this worked.
    I finally found that my Tahoma font was not correctly installed, so I downloaded tahoma.ttf and copied it to Windows\Fonts. I restarted the PC, loaded up Audition and it worked PERFECT.
    How absurd!  That a missing font causes Audition to crash. I even tried SoundBooth, but boy is that program sluggish, especially when zooming in on a wav. And the plugins are horrendous.
    Anyway, I'm writing this to help others who have had the same problem.  For some, their problem may be solved using different means, but in my case it was a font issue.

    I got the idea from here:
    http://osdir.com/ml/wine-bugs/2009-10/msg04696.html
    The person was using Audition on Linux (using the WINE Windows 'emulator')

  • Automatic remote login at remote function call

    Hello,
    we have three systems, development, testing and productiv. I want to do a remote function call on the repective other system. But I always get a login window where you have to insert your password for that system. Is there a possibility to do this automatically? Thanks.
    Cheers, Lars.

    or else in SM59 double click on your destination server and in logon/security tab and give ur username and password and try

  • SSDT vs 2013 and Clr function, call a Clr method name dynamically using SQLCMD variables

    Hello,
    My question is this, hopefully this makes sense:
    How could I got about doing this, inside a SQL function, I would like to re-name the Clr method call based on a SQLCMD variable? 
    I have a Clr project to encrypt/decrypt data, there are different method names depending on the deployment types.
    For the definition of a function called dbo.EncryptThis, I would like to use a SQLCMD variable to change the name depending on SQLCMD variables. This works fine in SQL Server Mgmt studio, but VS 2013 fails to recognize the SQLCMD variable and the build fails
    with: "Error
    1
    SQL71521: A method with a matching signature was not found in the loaded assembly.".
    THis code works fine in SQL Server Mgmt Studio, but fails to build in the SSDT project.
    In the SSDT project I have the SQLCMD variable defined and think I have SQLCMD mode enabled, by doing this:
    Right click file > Execution Settings > SQLCMD mode
    CREATE FUNCTION [dbo].[EncryptData]
    (@str NVARCHAR (MAX))
    RETURNS NVARCHAR (MAX)
    AS
    EXTERNAL NAME [CryptoClrAssembly].[LibName].[EncryptData$(MethodName)]
    Is this even possible in SSDT? or would I have to do this in a post-deploy script?

    Hi Kevin,
    Thanks for the info.
    Bummer, so the only other solution I have is to create a post-deploy script to change the function based on a SQLCMD variable or other logic?
    What would be really cool, would be if during the build process the SQLCMD variables would get replaced with the default value to the SQLCMD variable, thus would allow to build the project. Also, during deployment, if someone entered an incorrect method
    from the assembly it would just fail.

  • How to get parameter information on DLL function call (CVI) in TestStand?

    Hi,
     I wrote a simple Instrument Driver in CVI, and it has 3 parameters Voltage, Current, Channel.
    I made a DLL in order to call this function in TestStand as an action.
    That works fine, the only problem I have is that it shows my function as DC_Conf (arg1, arg2, arg 3) and I only get the type information like double double int.
    I do not get the parameter names Voltage, Current, Channel...
    How can I get this information to be displayed in TestStand so I know which parameter arg 1-3 is Voltage,Current,Channel in case I forgot?
    or 
    Is there a way to display the help text of the driver in TestStand?
    I tried clicking on the (?) button next to the function call but it did not do anything...
    My TestStand is version 4.1
    Thanks...Ness

    Ness,
    When TestStand populates the parameter information, it does so by looking at the dll's type library.  CVI automatically creates a type library for a dll based on the function's signature, which can include the parameter names.  However, if the function prototype does not contain variable names, then CVI cannot include names in the type library.
    You can define your own type library to directly control the information available to TestStand from your dll.  If you want to define your own type library, you can do so using a .fp file.  This will allow you to use complex data types (such as structs), and to rename your parameters.
    Here's a KnowlegeBase describing the process: Embedding Type Libraries in a LabWindows/CVI DLL for use in TestStand
    Either solution proposed here will work, and they each have tradeoffs:
    You can definte the variable names in the function prototype.  This keeps the functions self-documenting, and is the easiest solution.
    You can create a .fp file and define your own type library.  This allows you the most control over exactly what you will see in TestStand, but requires you to create a new file, and to keep that new file up to date if you make any changes to your source code.
    Message Edited by Josh W. on 12-11-2009 01:08 PM
    Josh W.
    Certified TestStand Architect
    Formerly blue

  • Function calls overlapping

    Hello,
    I'm building a script where a Flex GUI (hosted in a modal ScriptUI window) updates some Smart Object's Smart Filters. The communication is ok and everything works fine.
    I've linked the update routine to the GUI elements change (a SliderEvent.CHANGE and a NumericStepperEvent.CHANGE in Flex) to give the feeling of a live update - that is: the Sliders and NumericSteppers value in the GUI control the Smart Filters parameters on the fly. Until the user is pleased with the effect and flattens everything.
    Yet the Smart Object filters' update take some time to complete (not so much, but it's not instantaneous): if the user clicks too quickly on the numeric stepper to change a value or plays wildly with the slider (drag&drop the cursor), two or more function calls to the update routine may overlap when the first one is not yet done: it's a big mess.
    (I guess this is may due to the dual nature of the script: the ScriptUI window manage the Smart Objects routine, while hosted Flex GUI keeps blindly sending new inputs)
    I wonder if you guys could gently share a workaround: I'm not sure I'll be able to pause or queue the routine calls - somehow I would need PS to be deaf to new calls until the running routine is complete.
    I wonder whether a progress bar may help, I've never used them yet. Another option that doesn't excite me yet it could work is to set a global variable trafficLights = true; each routine could check:
    if (trafficLights) {
      trafficLights = false;
       // do stuff
       trafficLights = true
    } else { return; }
    Thanks in advance for your help!
    Davide

    As a follow-up for those curious. I've implemented the Traffic Lights logic in two different ways:
    1. Easy: in the JS layer (calls coming when the flag was false were just discarded).
    2. Ping pong way: the flag is in the Flex layer. When a call goes Flex -> JS, JS answers back and switches off the flag in Flex, so that EventListeners (which in turns check the flag) are deaf. When the JS routine in PS is done, a second JS->Flex command switches on the flag again.
    Theoretically, I've solved my problem - yet a new one's arisen: the Flex <mx:NumericStepper> component shows a buggy behavior. If a user clicks on its arrow once, the value keeps incrementing (or decrementing) indefinitely - why, I can't figure it out.
    So I'll probably stick to straight text component :-/

  • [svn] 3045: Fix FB-13900: Expression Evaluator: 'is' and 'as' expressions return 'Target player does not support function calls'

    Revision: 3045
    Author: [email protected]
    Date: 2008-08-29 10:59:25 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Fix FB-13900: Expression Evaluator: 'is' and 'as' expressions return 'Target player does not support function calls'
    Ticket Links:
    http://bugs.adobe.com/jira/browse/FB-13900
    Modified Paths:
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/BinaryOp.java
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java

    Revision: 3045
    Author: [email protected]
    Date: 2008-08-29 10:59:25 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Fix FB-13900: Expression Evaluator: 'is' and 'as' expressions return 'Target player does not support function calls'
    Ticket Links:
    http://bugs.adobe.com/jira/browse/FB-13900
    Modified Paths:
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/BinaryOp.java
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java

  • How to call a C function calling a Java Method from another C function ?

    Hi everyone,
    I'm just starting to learn JNI and my problem is that I don't know if it is possible to call a C function calling a Java Method (or doing anything else with JNI) from another C function.
    In fact, after receiving datas in a socket made by a C function, I would like to create a class instance (and I don't know how to do it too ; ) ) and init this instance with the strings I received in the socket.
    Is all that possible ?
    Thank you very much for your help !

    Hard to understand the question, but by most interpretations the answer is going to be yes.
    You do of course understand that JNI is the "API" that sits between Java and C and that every call between the two must go through that. You can't call it directly.

  • Is it possible to get the caller object in a function call hierarchy ?

    Hi,
    I have a problem in hand for adding a new functionality to an existing code with MINIMAL code change. For this I need to get some extra information in a function call from its caller. And for this I do not want to change the signature of the method, as it requires a lot of code change. So I need to have a programming facility by which I can get the object from which the function was invoked. Some thing like "{code}this.CALLEROBJECT{code}".
    Please let me know whether we can achieve this in JAVA. I wonder if such a facility exists in any programming language...
    Thanks in advance.
    Regards
    Joby

    No.
    Youd have to buy it Germany or see if an Apple Authrorized reseller in Singapore could order you the keyboard.

Maybe you are looking for

  • Multi-row sub query returns  ORA-00904 :invalid identifier error

    I am creating a report from two tables that I am not joining. I want a single line for every row in table1 that meets a date range. Table2 can contain none or many rows for each recored in table1. I want to get up to two fields from table2. I was usi

  • How do I install Canon MX922 Fax function, printer works but fax not recognized??

    I can print wirelessly using my new Canon MX922 Multifunction printer/scanner/fax. My iMac doesn't seem to recognize the fax function. I would like to be able to send documents straight to the fax without printing them first. Can anyone help?

  • Inserting HTML into JTextPane

    Hi, I am trying to insert HTML into JTextPane. I am using the following code for the same. JTextPane jedit = new JTextPane();        jedit.setContentType("text/html");         HTMLDocument doc = (HTMLDocument)jedit.getDocument();         String text

  • Signature.Verify()

    Can someone explain this please? thnaks verify public abstract boolean verify(byte[] inBuff,-->Is this a Message Digest? short inOffset, short inLength, byte[] sigBuff, short sigOffset, short sigLength) throws CryptoExceptionVerifies the signature of

  • Installing Essbase 11.1.2.2

    i am this is the error when trying to install 11.1.2.2 on a VMware 9.0 with Server 2008R2 I have extracted V-31875 Part 1 v-31876 Part 2 V-31922 Part 3 V-31877 Part 4 V-32795 Part 5 V-31879 Part 6 V-31880 Part 7 V-31881 HTTP Server V-32789 Client Ins