Print Preview of Sample Program LP01 not displaying form

Hey,
I have successfully configured ADS in NW2004s ABAP stack.
I ran the FP_PDF_TEST_OO program which checks the ABAP Adobe configuration and displays the version number of Adobe document.
The problem however is when I implement the sample " Part I: Adobe Print Forms" given on the site https://www.sdn.sap.com/irj/sdn/interactiveforms.
When I run the program and do a Print Preview of the form, with the default printer LP01, I do not see a PDF as mentioned in the sample. The control returns to the start page. Also, the download button on the screen results in a PDF that has 0 bites.
During the debugging, data from the database gets retrieved properly, and the correct function name gets retrieved. Would you guys know what I might be missing.
Thank you for the help.
Sumit.
I did the interface, form, and building the context several times and that seems fine.
Attached is the code:
REPORT  ZTSA_EMPLOYEE_ADS_REPORT.
parameter: i_empid type ZTSA_employee-employeeid obligatory.
type-pools: abap.
start-of-selection.
data: ie_outputparams type sfpoutputparams.
call function 'FP_JOB_OPEN'
changing
ie_outputparams = ie_outputparams.
try.
   data: i_name type fpname,
   i_funcname type funcname.
   i_name = 'ZTSA_EMPLOYEE_FORM'.
   call function 'FP_FUNCTION_MODULE_NAME'
   exporting
     i_name = i_name
   importing
     e_funcname = i_funcname.
     catch cx_fp_api_repository.
     catch cx_fp_api_usage.
     catch cx_fp_api_internal.
endtry.
data: isemployee type ZTSA_EMPLOYEE_STRUCT.
select *
into corresponding fields of isemployee
from ZTSA_EMPLOYEE
where employeeid = i_empid.
endselect.
data: fp_docparams type sfpdocparams.
data: fp_formoutput type fpformoutput.
call function i_funcname
exporting
/1bcdwb/docparams = fp_docparams
employee = isemployee
importing
/1bcdwb/formoutput = fp_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3.
call function 'FP_JOB_CLOSE'
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.

Hi,
May be this link this be helpful...
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/how%20to%20troubleshoot%20the%20render%20exception.pdf
Regards,
<i><b>Raja Sekhar</b></i>

Similar Messages

  • I have Photoshop Elements 9 on an iMac with OS 10.6.8. I bought a new printer/scanner and the program will not import the new scanner to replace the old one. How do I do this?

    I have Photoshop Elements 9 on an iMac with OS 10.6.8. I bought a new printer/scanner and the program will not import the new scanner to replace the old one. How do I do this?

    Thank you for your suggestions. I downloaded a more recent version of Twain, but this didn't help. I also tried closing and opening Photo Shop and restarting my computer without success. Reinstalling Photo Shop sounds like a very promising solution, but I'm  not sure I will do it. In the meantime I can scan items using a printer program. These scans open in Photo Shop. It is an extra step.

  • While printing google map from FF4 its not displaying the map in the print out paper?

    FF4 displaying the google map in my website. But while printing google map from FF4 its not displaying the map in the print out paper.
    I chekced this FF 3.6 and there is no problem with this and other versions. FF4 having this problem.
    What should I do for this? Please let me know.

    What printer models is this intended for?  I assume it is aimed at the lower end inkjets, with the suggestion of loading 10-25 sheets of paper.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • While Installing this error is coming This Program can not display the pag

    When I Try to Install SAP B1 8.8 on Win server 2008.
    I am receiving this message.
    This Program can not display the page
    The website is encountering Problem
    There might be a typing error in the address
    At the time of Installation which site we need to access.
    My Internet is working.
    Still i am facing this Problem please suggest me what should I do.

    HI Ram ,
    Internet is not required while Installation .
    Go through :
    Re: SAP Business Installation
    Thanks
    Ashish

  • Layout - This Program can not display the webpage

    Hi Experts,
    I am trying to create adobe forms in Webdynpro ABAP, for that I created a Webdynpro component and then view in it and created the required attributes and nodes and the pdfsource as xstring type.
    When I go to Layout tab it showing "This Program can not display the webpage" and in route element container I created an element and gave as of Interactive forms but the system is not creating any interface nor going into adobe live cycle designer.
    Is it the problem with the Live Cycle Designer or what exactly I have to do now.
    Please help me out.
    Thanks,
    Praveen

    Hi.,
    This seems that u didnt maintained host entries.,
    Click Run -> enter drivers -> goto etc folder -> double click on hosts file -> open with note pad.
    there u need to enter the host entries., like .. 192.....<server_address> <tab> <domain> <tab> <host>
    ask ur basis team., they will configure that..,
    hope this helps u.,
    reply if u need some more clarifications.,
    Thanks & Regards
    Kiran

  • 2 weeks ago, Firefox changed. It will not print graphics in a web page or show them in print preview. It also does not provide the ability to select options in "print forms". they are now grayed out.

    I am using www.investools.com
    It prints the graphics in the normal page fine
    but when I switch to prophetcharts, which loads javascript, the graphs do not display or print.
    The text on the left side of the display show but graphs do not, even when I reduce printing size to 30%.
    I am using an HP 8500 Pro Officejet.
    Everything works in IE fine (but I don't want to use IE).

    Hi ArielAce , thanks for getting back to me!
    I would recommend downloading and running the HP Print and Scan Doctor.
    Please keep me posted!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • PO Print Preview  Error 06019 "Document  does not exist"

    Hi people , i`ve the following issue. I`ve noticed that when creating a PO if the user clicks con the "Print Preview" BEFORE Holding or Saving the document , the system will give the following error msg :
    Document  does not exist
    Message no. 06019
    And then the system will hang , you won`t be able to go back and the whole PO is lost . Does anyone knows how to solve this ? thanks a lot for any help .

    Issue already discussed in this link Re: Unable to Save RFQ and PO.

  • When I press print preview, a screen that is not related to what I want to print opens up. Any sugestions? ny

    If I want to print something, I open up the File name on the tool bar and press print preview. Instead of showing me the print subject, it goes to a Pogo site page. I can never get to the print preview. When I use Internet Explorer it works fine. It used to work o.k. before. It seems (but I'm not sure) that when I downloaded the latest version of Firefox is when I started having this problem. Any suggestions would be appreciated. Thanks

    Thanks, the-edmeister. I disabled the CANON IMAGE GATEWAY plugin like you suggested but unfortunately, I still have the same problem. Thanks for trying.

  • Print Preview of Browser(IE) does not show the image, Printer doesn't print

    Hi,
    I am using a servlet to stream image (GIF) to the browser.
    Image is accessed by browser using the img tag. src attribute points to the servlet which send the image stream.
    Servlet has the image as the array of bytes. It simply write these bytes on the response object's output stream. It does not use any encoder.
    I get the image on the browser. But when I try to see the properties of the image I don't see the type of image. I also don't see the created time, modified time and size of the image. When I do Save As on this image it tries to save it as BMP instead of GIF. Also when I do the print preview I don't see the image in the preview window. When I try to print the web page, it prints everything except this image. I get small cross(image missing) on the printed page.
    I would like to know why the image attributes on browser go missing and why can't I print the image?
    I would like to add that I am getting the image as the array of bytes from a different application on which I do not have control?
    Thanks.

    I don't know much about Java Image API , but I could offer a few hints:
    - set the type of the image explicitly as GIF
    - similarly there might be a feature to set the data / time.
    Someone in the File I/O forum or Java Image forum might know better than me.

  • Print Preview of Dropdown Applets is not working in MII

    Hello Experts,
    I have upgraded my machine to java v7 
    After that I am facing issue in printing  Work Request forms which have 2 iBROWSER DROPDOWNS .
    When I take print out or print preview of the Form , those 2 iBrowser fields do not appear .
    Its difficult to handle now , can you please suggest how to fix it ?

    Hi Ayush,
    If all other applets on the page are loading without any issues, it's not a problem with jre version.
    If it's only a problem with printing, then rest assured, that's how applets behave.
    If the applet is getting cut between page breaks it would not print anything on that applet, that's why for printing purposes it is advised to use servlets not applets.
    If you have to mandatorily use applets then put proper page breaks.
    Hope it helps.
    Thanks,
    Swaroop

  • Print Button of SSRS report is not display report in IE11

    Hello All,
    We are running on SSRS 11.0.0.0, .net framework 4.5, SQL server 2012. 
    Everything is working fine in IE9, IE10, now our client has updated their browser to IE11. In IE11 the print button in SSRS report is not showing. We have tried browser file,
    it will show print button in IE11 but it is not functional. we  have also tried to change browser mode to IE 10 or IE 9 (using <meta http-equiv="X-UA-Compatible" content="IE=8" />) but it didn't work in IE 11.
    Some forum suggested to change framework to 4.5.1 but i
    cant change framework now. so please suggest some alternatives to achieves the functionality.  

    Hello Pinakin,
    I recommend that you post your question in SSRS or IE related forums.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Program doesn't display forms

    I have written quite a few Windows Forms Apps for a many years and delivered them to clients but something new has come up I've never run into. I made some innocuous changes to a program but the new version, while it runs fine on my PC, does not start
    on my PC at the client site. All I see is the Windows "rotating circle" appear for a second or two. The program does not show in the Apps tab of the Task manager at all during this. I added a dialog box display as the first thing the program does
    but it does not appear on the client PC but does on mine.
    static void Main() 
    MessageBox.Show("BANG");
    Application.Run(new file_upload());
    I have verified that the .NET Framework versions are consistent between the two PCs. BANG does not appear on the client PC and neither does any error message so I don't know what else to try or experiment with.
    Thoughts?
    David K. Ream

    As I said the code works on my development PC. It used to work fine on the client PC. The changes I made were to make some field visible on the form. But the code does not work on the client PC.
    David K. Ream
    @David,
    I suspect that  some settings are not compatible in your client PC.
    My suggestion is renew a same project in your client PC. Do the same setting as your original project.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The following sample program got empty display , why?

    import pool.ConnectionPool;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import javax.sql.*;
    public class Update extends HttpServlet {   
        Statement stmt = null;
        ResultSet rs = null;
        Connection conn = null;
    ConnectionPool connectionPool = null;
    * Creates a connection pool.
    public void init() throws ServletException
    String jdbcDriver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    String dbURL ="jdbc:microsoft:sqlserver://localhost:1433; DatabaseName=pubs";
    try
    //instantiate the connection pool object by passing the
    //jdbc driver, database URL, username, and password
    connectionPool = new ConnectionPool(jdbcDriver, dbURL,
    "test","1234");
    //specify the initial number of connections to establish
    connectionPool.setInitialConnections(5);
    //specify number of incremental connections to create if
    //pool is exhausted of available connections
    connectionPool.setIncrementalConnections(5);
    //specify absolute maximum number of connections to create
    connectionPool.setMaxConnections(20);
    connectionPool.createPool(); //create the connection pool
    catch(Exception e)
    System.out.println("Error: " + e);
    /** Destroys the servlet.
        public void destroy() {
        public void doGet(
        HttpServletRequest request,
        HttpServletResponse response)
        throws IOException, ServletException {  
           }// end of DoGet
      public void doPost(HttpServletRequest req, HttpServletResponse res)
        throws ServletException, IOException {
         res.setContentType("text/html");
        PrintWriter out = res.getWriter();
        PreparedStatement ps = null;
          try{
                String myName= req.getParameter("uname");             
                 String password =req.getParameter("oldpassword");
                 String Npassword =req.getParameter("pas1");          
                String ErrMsg = "";
                  //get free connection from pool
             conn =connectionPool.getConnection();
                 stmt = conn.createStatement(
                           ResultSet.TYPE_SCROLL_SENSITIVE,
                           ResultSet.CONCUR_READ_ONLY);
             rs = stmt.executeQuery("select * FROM users where Name='"+myName+"' and password='"+password+"'" );
                  int count =0;//how many rows we can find.
                  while (rs.next()){
                      count++;
               if(count<1){
                         ErrMsg ="UserName and Password are not there, can't update !";
                        HttpSession userSession = req.getSession(true);           
                        userSession.setAttribute("ErrMsg", ErrMsg);
                          RequestDispatcher disp;
                        disp = getServletContext().getRequestDispatcher("/secure/UpdateError.jsp");
                        req.setAttribute("ErrMsg",ErrMsg);
                       disp.forward(req, res);
             else{
                conn.setAutoCommit(false);
                       Statement stmt = conn.createStatement();
                 String sql ="UPDATE users SET password='"+Npassword+"' where Name='"+myName+"'and password='"+password+"'";
                         ps = conn.prepareStatement(sql);            
                          ps.executeUpdate();                    
               conn.commit();
               conn.setAutoCommit(true);
             //get current session, create if it doesn't exits
               HttpSession userSession = req.getSession(true);
               userSession.setAttribute("Name", myName);
               userSession.setAttribute("Password", Npassword);
           RequestDispatcher disp;
           disp = getServletContext().getRequestDispatcher("/secure/update.jsp");
           req.setAttribute("Name", myName);
           req.setAttribute("password", Npassword);
           disp.forward(req, res);
          }// end else
        }//end try
       catch(SQLException e) {
         finally {
          try {
            if(rs != null)
              rs.close();
              rs = null;
            if(stmt != null)
              stmt.close();
              stmt = null;
            if(conn != null)
              conn.close();
              conn = null;
          } //end try
        catch (SQLException e) {}   
      }//end finally
    } // end doPost
    public String getServletInfo()
        return "A Simple Servlet";
    }// end of ContrUpdate
           jsp
    <%@ page buffer="16kb"%>
    <html>
    <head>
    <title>NewMember</title>
    <body >
    <center>
    <h3> Welcome Back,<%= request.getAttribute("Name")%></h3>
    <h3> you are new information on our Login table are... you can use these userName and Password to login</h3>
    <table width="63%" border="1" align="center" >
    <tr>
    <th  bgcolor="#ffffcc" width="26%">UserName: </th>
    <td><%= request.getAttribute("Name") %></td>
    </tr>    
    <tr>
      <th bgcolor=#ffffcc width="26%">Password: </th>
       <td><%= request.getAttribute("password") %> </td>
    </tr>
    </table>
    </center>
    </body>
    </html>

    There are a lot of try and forget blocks.
    catch (SQLException e) {}   
      }within your code.
    You should at least log the Exception, better would be to rethrow the Exception and display an ErrorPage.
    You may not close the connection within the finally block
    if(rs != null)
              // when a Exception occurs here neither the statement nor the
             // connection will be closed.
              rs.close();
              rs = null;
            if(stmt != null)
              stmt.close();
              stmt = null;
            if(conn != null)
              conn.close();
              conn = null;
            }If the creation of the Connection Pool fails your doPost Method will throw a NullPointerException becauseconnectionPool is null.
    Your init Method should throw an Exception in this case.
    You use a PreparedStatement but you don't use Parameters
       String sql ="UPDATE users SET password='"+Npassword+"' where     Name='"+myName+"'and password='"+password+"'";
                         ps = conn.prepareStatement(sql);            
                          ps.executeUpdate();                 
    // should be
       final String sql ="UPDATE users SET password=? where Name=? and password=?";            
                         ps = conn.prepareStatement(sql);            
                         ps.setSring(1, Npassword);
                         ps.setString(2,myName);
                         ps.setString(3, password);
                          ps.executeUpdate();                 

  • Mail Program does not display the content of some AOL emails

    I have an AOL email address but access my email account through the Mail program (ver 2.1). I am using both a Powerbook G4 and an iMac G5 (OSX 10.4.8) and have the same problem with both machines. When I try to read many (approx. a fifth) of my emails in Mail, I get the following (or something similar):
    Content-Type: multipart/alternative; boundary="------------040506000506030104030008"
    If I log on to the AOL server directly, I can read the email or download the attachment. Any way to fix this problem short of ditching AOL?

    I have exactly the same problem, except the frequency of occurrence is much lower -- maybe one in 50 to 100 emails delivered from my AOL account does this. I don't know the root cause or if the app or the server is at fault, but the immediate cause is Mail either doesn't receive or doesn't properly process the message's headers, including the MIME 'boundary' declaration necessary to convert the raw message stream into its multiple parts, so it treats the whole thing as one long plain text message.
    Standard fixes like rebuilding the mailbox or reindexing have no effect since the flaw is carried into the emlx file that stores the message. In some cases, I have been able to edit the file with a text editor to preserve some message part(s), but this is not something you should try without knowledge of MIME standards or emlx file structure.

  • LyX program icon not displayed

    I just installed the updated LyX package (lyx-1.6.1-1), but there's no icon in my gnome menu. The previous version (lyx-1.6.0-1) also had this issue. Could the maintainer fix this? In the file lyx.desktop the line "Icon=/usr/share/lyx/images/lyx.xpm" should be changed to "Icon=/usr/share/lyx/images/lyx.png", notice the extension of the file, .PNG instead of .XPM. I've tested this by building LyX from ABS and the icon is displayed properly.

    Please submit a bug report if it's not already done.

Maybe you are looking for

  • Report server run problem (urgent plz)

    i am using developer9i, xp opereting system but i am not able to run report server . infact i dont know where report server reside and how configure report server. otn discussion forum gave me below instructions but i need step by step detail to run

  • File Dialog not appearing in web form after Note:74140.1

    Hello, I have implemented the source given in Note:74140.1 to replace the get_file_name function that displays the file dialog box. However I still am not able to see the dialog that the JavaBean should display. I am relativly new at linking JavaBean

  • Problems Building on Solaris

    Hi, I've been trying to evaluate BDB XML 2.3.8 for use on a new project for the last couple of days. I was able to build on Windows with no trouble but have been having trouble getting a working build on Solaris. By any chance is there a binary build

  • A bug in video capture?

    I have an old Sony DCR-TRV70 DV camcorder that I want to use to download Mini DV tape content into Premiere Pro CS5.5. Using a firewire cable connection I get "Capture Device Offline" in Premiere's Capture screen, even though the device is recognized

  • Purchase Requistion Release **IMP**

    Hello Experts, I have posted a thread before with same issue it was answered by lakhsmi but i really need your advise can we control release strategies through user ids (i mean SAP User ID) Is this a good practice for an instance User A – can release