Skip to Content
author's profile photo Former Member
Former Member

How to capture <ENTER> in a webdynpro java based screen

Hi Experts,

I want to call a method (Adaptive RFC FM) from my WebDynpro Java application when the user presses <ENTER> in the screen.

How can I do that.

Appreciate help.

Regards,

Shobhit

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jul 02, 2007 at 09:58 AM

    The is no mechanism to track enter on the screen.

    However you register for enter event on UI elements. e.g in Input Field you can provide action for OnEnter property. The action will be fired when the enter key is pressed on the input field.

    Regards,

    Ashwani Kr Sharma

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      I am not completly aware of adobe UI form element usage.

      I think you can create some javascript on the UI element in the adobe form to fire the submission of the form.

      Once the submission is called for the form the action specified in the OnSubmit property of adobe form UI element will be called.

      You can try this and check if it works.

      Regards,

      Ashwani Kr Sharma

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 10:07 AM

    Hi,

    On Enter event can be used only if you use a InputField UI element.

    When the focus is on Inputfiled and the user presses "Enter",

    an action associated with the OnEnter event of the InputField is called.

    In this action you can call your RFC.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 02, 2007 at 01:14 PM

    hi,

    when you open form editor... (interactive form->edit)

    you see tabs (BodyPages | Master Pages | XML Source | PDF Preview)

    immediately above that there is a sort of a strip that can Expand(the blue thing)

    there u select Language = JavaScript

    Select RunAt = Client or Client and Server

    the text box there is used for writing JavaScript.

    there is a Show option.

    if Enter key capturing is allowed in JavaScript you should be able to do it here...

    hope it helps...

    (i am yet to use JavaScript in interactive forms, this is all i know so far)

    regards,

    -amol gupta

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.