User interaction button

Hi Experts,
       I have developed a function module and after running it , in the output screen i want to have user interaction by giving proceed button and if press the buttoon o/p of the FM should be downloaded.
To add the button in o/p screen i used the Screen statement AT USER COMMAND, AT LINE-SELECTION. But FM not access these screen statements.Then i created a screen 100 with PF Status, in that screen i have maintained the proceed button. Then i call this screen inside the FM. The screen is coming along with the proceed button. But the FM o/p not coming along this proceed button screen.
Please help out to have a button for user interaction in o/p of the FM.
Thanks.
Kelvin

Hi Kelvin,
     You have created a screen and then you have added the Proceed button in the screen. Later you have called the screen in the FM . When executing the FM you are able to see the proceed button but you are not able to download the data after that.
The solution is.
     Move your data to a Global variable declared in the TOP INCLUDE of the function group of the FM. Now In the FM before calling screen move all the processed data in FM to that Global variable then in you PAI of the screen, under USER_COMMAND module, Check if the Proceed button is pressed. And if pressed Enter your LOGIC. Code sample given below.
Lets day the data you have to download is in internal table it_data.
Do as mentioned below.
1). In your top include.
DATA: it_data TYPE STANDARD TABLE OF ty_data.
2). In your FM.
it_final is the table in FM which has your processed data and this is also of same structure ty_data.
it_data[] = it_final[].  " moving all the data to global variable.
CALL SCREEN 100.
3). in the PAI of screen 100.
MODULE USER_COMMAND INPUT.
CASE sy-ucomm.
WHEN 'PROCEED'.
<logic to download the it_data table>
ENDCASE.
ENDMODULE.
Thus your requirement can be achieved by moving the data to a global variable then downloading it using user interaction button.
Please do let me know for more details.
Regards,
Praveenkumar T.

Similar Messages

  • InDesign 6 Interactive Buttons Not Displaying Correctly in Acrobat X

    Forgive me if this has been asked. When I create interactive buttons in InDesign 6, their display is erratic in Acrobat X. Sometimes they display correctly. Sometimes, their display is erratic and sometimes they do not display at all. I have noticed that in Acrobat X, the cursor changes to the hand over the correct area, but nothing happens when I click. Oddly enough, the buttons always display correctly in Reader. This is fine for my users but makes my job in doing the final prep very difficult.

    I’ve seen this reported in this past. It’s not an InDesign issue or the files wouldn’t work in Reader.
    If you get any answers in the Acrobat forum, please come back and share them.
    Bob

  • Hi i want to execute 3 reports  at one click without user interaction

    hi Friends,
    Hi i want to execute 3 reports with one click ie  by putting radio button when we click on this this wants to execute all 3 reports with out user interaction pls try to understand and provide the solution pls
    Thanks & Regards
    Mohan  Reddy

    Hello,
    To achieve this you can use the SUBMIT command after an user action.
    Example
    The program report1 has a stand-alone selection screen with the screen number 1100. In the program report2, an internal table with row type RSPARAMS and a ranges table are filled for this selection screen. These are transferred at SUBMIT together with a single condition.
    Program accessed
    REPORT report1.
    DATA text TYPE c LENGTH 10.
    SELECTION-SCREEN BEGIN OF SCREEN 1100.
      SELECT-OPTIONS: selcrit1 FOR text,
                      selcrit2 FOR text.
    SELECTION-SCREEN END OF SCREEN 1100.
    Calling program
    REPORT report2.
    DATA: text       TYPE c LENGTH 10,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
          range_tab  LIKE RANGE OF text,
          range_line LIKE LINE OF range_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'K'.
    APPEND range_line TO range_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   WITH selcrit2 IN range_tab
                   AND RETURN.
    Regards.

  • Web view / Allow User Interaction always brings up Menu Bar

    Hi,
    I have recognized that a web view on the page which allows user interaction (for example animations with buttons) always causes the menu/navigation bar to pop up which is quite a pain. All other interactive elements don't do it so why would the web view need to cause this.
    mulitstates on top of it or fake buttons obviously don't work since the are needs to be touch sensitive.
    Any suggestions?
    Cheers,
    Alex

    It depends on how the event listeners in the web view are written. for example simple <a href="link.html"></a> elements don't activate the DPS menu. The same is true for touchstart and click elements.
    Try to implement your click/touch events differently. I haven't found the pattern which caused the menu to open, yet. But if you test around a little with different ways of aproch, I'm sure you can find a solutio (e.g. in one case I could solve it by not using event.preventDefault() in another case the touch event was bound within a javascript variable, which also caused the menu to show. etc. pp.)
    Good Luck!

  • User interaction on VI and subVI running simultaneously

    By using labview6.1 how can i create an application which hav some buttons on the vi (say parent VI) & on clicking on any of these buttons will pop another VI(say child VI) to execute.
    NOTE :: Any child VI's(subVI) "Diagram" is in a while loop i.e. it will not return and has to wait for the user interaction.
    PROBLEM :: Initially if i clicks on any button present on parent VI then
    the corresponding childVI pops up and start executing,thats fine...., but
    now if i clicks another button present on parent VI then the click event doesnt works i.e. one more child VI doen't comes up.
    The conclusion is that the Graphical user Interaction can be only on called
    SubVI(while in execution) but not on the main VI si
    multaneously.
    I hav searched examples for the similar kind of problem but didnt found any. Kindly help me for rectifying the above problem.

    You have partially answered the question yourself;
    "NOTE :: Any child VI's(subVI) "Diagram" is in a while loop i.e. it will not return and has to wait for the user interaction."
    The fact that the parent is halted until the sub-vi returns is in other words as it is supposed to be; it's data flow controlled execution...However you can put the sub-vi in another loop (that way only that loop will halt), or you can call it dynamically using an invoke node with the wait until finished set to false.
    MTO

  • Keychain Certificate Assistant User interaction is not allowed

    Hi Guys,
    I have a problem with my keychain certificate assistant and require your help with it.
    hope to have someone who have the same plight as me.
    I am trying to use the certificate assistant to request an certificate from CA.
    However i encount this error.
    USer interaction is not allowed
    I tried to sent to email and failed too witht the same error.
    I have also try to repair via firstaid and all are fine.
    Also tried to unlock my keychain but nope still can't
    Any help?

    Try running a permissions fix routine on your hard drive using Disk Utility, and then try resetting your home folder permissions by booting to the Lion recovery HD partition (reboot with Command-R held down) and then opening the Terminal (in the Utilities menu) and running the command "resetpassword," which will launch a small password and permissions reset tool. In this tool, select your account and then click the button to reset home folder permissions and ACLs.
    After this is done, reboot normally and try creating the certificate again.

  • Is it possible for a module to remember last viewed slide and user interactions without an LMS?

    I am developing a captivate module (using Captivate 6) that can be run either off a local hard drive or web server (not an LMS).
    I am hoping that the user will be able to close down the module and then return to it at a later time. Considering the module will not be run via an LMS Is it possible for the module to remember not only the last slide that the user viewed but also any interactions that the user has conducted. For example: saved information in variables, image states (whether or not they have been clicked etc), widgets (I am hoping to use the drag and drop widget so I want the course to be able to remember what items they have dragged where).
    Is this possible? I know there is a bookmark widget that uses cookies to remember the last slide the user viewed. I am also aware of another widget that allows you to save variables for use between projects, but in this case I will only have one project file. Is there something out there that does everything I need?
    Does the 'self paced learning' checkbox in the TOC save user interactions?
    Thanks! 

    Thanks Lilybiri. So it sounds like there is no easy way to save  interactions when run locally. Would using javascript (thats run when a user clicks a save button for example) be possible? Get the script to save a cookie with all the variables and 'states'? I know that saving the variables is possible because there is already a widget that does that, so wondering if there is a way to save the slide states as well (for example whether or not images have been clicked etc).
    Alternatively, if I create the project in captivate, is it possible to import into flash with all the functionality and actionscript intact and editable? From there I could then modify it to remember the saved states? (i am not proficient with actionscript  so just thinking of potential solutions).

  • Dialog with no user interaction

    Hi all,
    I would like to use the one button dialog that would just showing a message without requiring any user interaction.  With the dialog, I only want to display a message for the user. I want the program to continue running without needing user interaction.  I just want to let the user know that something happened.  I don't need to user to do anything.  How do I do that? 
    Yik
    Kudos and Accepted as Solution are welcome!
    Solved!
    Go to Solution.

    A more common approach is to use a "Status log" (just a string on the UI that gives the user some idea what is going on.)
    Here is a construct I often use (place the control "Status" on the UI, Add a control to the referance to "Status" wire the Connector pane.)  This type of action engine (see Ben's excellant nugget) lets you send update messages to the user from anywhere in the application instance space without leaving pop-ups all over the screen.
    And should you wish, you can add cases to Show, blink, unblink, highlight, move or Hide the indicator so it peeks out and dances
    Jeff

  • How to automate testing of features that require user interaction?

    I am currently evaluating a test automation tool (RIATest) for my Flex app. In my app, the user uploads/downloads several files from the server. When I try to create an automation script for the process, I get error #2176 (also copied in the end of the post).
    Now, my question is that is there anyway to prevent this from happening? Is there some config file that could be modified to set up an isolated test environment without these security restrictions?
    My app uses some features that are only available with Flash 10, so using Flash 9 is not an option (I have understood that these security settings came with Flash 10).
    Thanks.
    Error: Error #2176: Certain actions,
           such as those that display a pop-up window,
           may only be invoked upon user interaction,
           for example by a mouse click or button press.

    jake_flex wrote:
    M*A*S*H 4077 wrote:
    Well, if player version is the problem, you can restrict the minimum version required and if the user's version is lower, he will get asked to update.
    Thanks for the reply.
    I need some features that are only present in FP10, so I need to compile against that version.
    Actually, I installed FP9 to my browser and compiled the app against version 9. Everything went well so far, maybe I'm getting confused with my own software already
    Anyway, that got me one step forward. When uploading a file, the user is presented the file browse dialog, which in my knowledge is the operating system specified component. At least RIATest doesn't seem to be able to control this. If someone knows how to handle such case with any test automation tool, please let me know.
    Edit: Just found this discussion on the same matter on RIATest forum http://www.riatest.com/forums.html?func=view&id=246&catid=9#246

  • How dose the user interaction flow break ?

    Main objective is to upload the screen capture to the Amazon S3 fully on client side. Here is the workflow I need
    User click a button to process all the workflow described below .
    1. Do the AMF request to backend and retrieve the S3 policy file information.
    2. Once the result comeback need to upload the screen capture of the image+ parent movieclip.
    3. After the image successfully loaded need to popup the html page .
    Second step not initiate and throws a security Error. The security restriction describe here:
    http://kb2.adobe.com/cps/405/kb405546.html
    What I want understand is, how dose the above workflow break user interaction event flow?
    Can I do the following way.?  dose this break the user interaction for upload data
    myButton.addEventListener(MouseEvent.CLICK,onClick)
    function onClick(event:MouseEvent):void
             var myTimer:Timer = new Timer(1000, 1);
        myTimer.addEventListener("timer", timerHandler);
        myTimer.start();
    public function timerHandler(event:TimerEvent):void
       //stuff to upload the image data with URLLoader 
    Thanks in advance

    You are trying to wait for an async event.  You are no longer doing the work
    in the event handler.

  • How I can see my interactive button on a tablet or smartphone?

    Hey folks - sry for my english...
    How I can see my interactive button, created in InDesign CC on a tablet or smartphone. It runs well on the computer but on tablet or smartphone i can't see the button. I save the InDesign file as Interactive PDF but it seems, there must be other things to know. Would be great you guys could help me :-)
    Greets!

    Moving this discussion to Reader IOS
    Regards,
    Ajlan Huda.

  • Control User Specific button in ALV report

    Hi,
    Can anybody please suggest me how to control "USER SPECIFIC" button in ALV report layout using authorization object. I mean if you can tell me which authorization object is responsible to control the "USER SPECIFIC" button.

    additional info to what Lakshmi already said:-
    normally the restrictions for saving layouts/display variants are done at 2 levels:
    1) The developer of an ALV list first predetermines the authorization in the 'i_save' parameter within the code.
    I_SAVE = ' '     -
    layouts cannot be saved
    I_SAVE = 'A'   -
    user-specific and cross-user layouts can be saved
    I_SAVE = 'X'   --- cross-user layouts can be saved
    I_SAVE = 'U'  ---  user-specific layouts can be saved
    2) The second level comes to us restriciting the S_ALV_LAYO which gives access to users to save global layouts if I_SAVE for that particular transaction is A or X.
    for example, a report has I_SAVE= 'A', which means
    it will allow to save  User-specific  layouts without any restrictions.
    and if user has S_ALV_LAYO then he can save both User-Specific and Global Layouts(variants).
    it would be better to keep this object separate.

  • How to create user defined button in alv report

    how to create user defined button in alv report
    thnks in advance.

    Hi,
    U can define it the the PF-STATUS ( Menu for ALV ).
    For that u have to define it in the EVENTCAT.
    form z_eventcat  using    p_i_eventcat type slis_t_event.
      data: i_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type     = 0
        importing
          et_events       = p_i_eventcat
        exceptions
          list_type_wrong = 1
          others          = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      clear i_event.
      read table p_i_eventcat with key name = slis_ev_top_of_page into
      i_event.
      if sy-subrc = 0.
        move 'TOP_OF_PAGE' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
      read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
      if sy-subrc = 0.
        move 'SET_PF_STATUS' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
      clear i_event.
      read table p_i_eventcat into i_event with key name = slis_ev_user_command .
      if sy-subrc = 0.
        move 'USER_COMMAND' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
    And in the DISPLAY
    call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
         i_callback_program                = v_progname
         i_callback_pf_status_set          = 'SET_PF_STATUS'
         i_callback_user_command           = 'USER_COMMAND'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
         i_grid_title                      = v_gridtitle
         i_save                            = 'A'
         is_layout                         = i_layout
         it_fieldcat                       = i_fieldcat[]
         it_sort                           = i_sortinfo
         it_events                         = i_eventcat
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        tables
          t_outtab                          = it_final
       exceptions
         program_error                     = 1
         others                            = 2
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *MENU SETTINGS.
    form set_pf_status using rt_extab type slis_t_extab.
      set pf-status 'ALV_MENU'.
    endform.                    "SET_PF_STATUS
    endform.                    " Z_EVENTCAT
    Now double click on ALV MENU nad u can create a button in the application bar.
    Regards,
    Pritha.

  • Error in Installation of Aqualogic User Interaction 6.5

    Hi,
    I have installed Aqualogic User Interaction 6.5, with Weblogic 9.2, Apache 2.0.63, Oracle 10g.
    Portal Diagnostic is running successfully.
    But while i am trying to start the weblogic server it is throwing me the following error-
    Task 'InitPortalObjects' failed on startup
    Task #1 <InitPortalObjects) Step#3
    OpenKernal Initialization Failure(Java)
    Recommendation:Review the detailed exception listed below for specific analysis. Check that pthome.xml is in the correct place,check that the PT_HOME environment variables points to it, and check that your database settings by runing ptconfig. Check that your database settings by running ptconfig. check that the portalconfig.xml file is accessible by the web application server.
    My pthome is in the correct place, also the PT_HOME is pointing at the correct place.
    Also the weblogic is pointing to the other machine. Is this the reason for the above error?
    Thanks in Advance!

    Hi Patel,
                         Thanks for your update.
    Regards,
    Hari.

  • Interactive button in PDF file doesn't work with Adobe Reader for Mac nor Acrobat Pro

    Hello!
    I've to use a interactive form which has an interactive button that is supposed to send that form by email. If I open that PDF with my iPhone or iPad with the PDF Expert App, it works perfectly, but for any strange reason, when I try to open that same PDF in my Mac with Adobe Reader or Acrobat pro, that button doesn't do anything.
    Can this be a configuration error?
    Thanks!

    The problem is deeper than that. It's not reader. Now the same form I was creating in LifeCycle Designer ES2 yesterday, with the actions working perfectly, no longer work. None of the actions are working.
    Could it be realted to me trying to set the default version compatibility to Adobe 7. It gave me warnings, so I set it back to 9.
    Any help would be appreciated.

Maybe you are looking for

  • Error message - No disk

    I unistalled a couple of times. Every time I reload and start the program I get error message....DigitalEditions.exe - No Disk     It asks me to insert a disk into drive F:

  • Add xmlns tag to Xml file using DBMS_XMLGEN

    I am using Oracle Release 10.1.0.4.2 version . I want to create a xml file according to some data available in the relational database tables. For the same i created object types and then view with the object types since data is scattered in many tab

  • Error in CBS:Unsupported character: 3f

    hi all,    We've got a serious problem:when I activate an active(create a model,and add some model data types),an error is shown,the whole error is like this,basically it talks about"Unsupported character: 3f" in xlf file. LoadException: com.sap.engi

  • Can I place a 19" LCD monitor over my Time Capsule (G4)?

    Can I place a 19" LCD monitor over my Time Capsule (G4)?

  • C Forms indicator at Invoice level.

    Hi Gurus,, C forms are issue to the customers, through which they have to give less sales tax. This is decided at the time of the Sales Order where either the form is added or it is specified that the same will be done after wards i.e after delivery