Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

PDF output keeps on opening/poping

Hi I have created a MVC that when user clicks on a button, it would open a smartform in PDF format in a new window. But when I try to click again anything on my main window, it opens again the PDF file in a new window and the user cannot do anything more because of this. I am using this code:

<%
    IF display_url IS NOT INITIAL.
%>
      <script language="Javascript">
        window.open("<%= display_url%>").focus();
      </script>
<%
    ENDIF.
%>

Please help me solve this. Thanks.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question