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

To call a Window from a controller

Hi,

I need to call a window on 'onValuehelp' for a field. The field is in a view called by a controller. Now is it possible to call a wondow using another controller or the same controller ?

Thanks&Regards,

Vara

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2004 at 03:12 PM

    You can call another controller(view) or page with flow logic using java script.

    You can attach the window.open(.....) to the onValueHelp event of the Input field for which you need the window to open with HelpValues.

    *--


    This opens window when used in the view--

    <Script>

    window.open('http:// : /sap/bc/bsp/sap/ /< main.do>'_new' ,'width=380,height=155,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no');

    </Script>

    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.