Using PDF with parameter /p /h

Hi,
i'm using CL_GUI_FRONTEND_SERVICES=>EXECUTE with
acrobat reader and the parameters /p /h.
When executing is finished, the reader is still open. Is there a possibility to
close the reader via an abap statement or fm or with
CL_GUI_FRONTEND_SERVICES=>EXECUTE?
Does anybody know more parameters than /p /h for acrobat reader?
I whant to print the PDF-Document 3 times.
regards, Dieter

Hi Rod,
I tried creating a new report and saved into database. But, i dont see an option the no.of columns that has to be displayed in Discoverer Plus/Viewer. I just want to display, for example 10 columns at a stretch by not changing the no.of columns after I run the report in the Viewer. When I run the report, I should be able to see 10 columns at once. When I click next in the viewer it should show the next 10 columns. The Discoverer Viewer shows only 6 columns at a time by default when I ran a report.
Is the something a setting that has to be done in pref.txt file?
Thanks,
Gran

Similar Messages

  • Using prepareStatement with parameter in existsNode() function

    Hello,
    I have an xml file like the following:
    <MyDocRoot id="myId" xmlns="..." xmlns:xsi="..." xsi:schemaLocation="...">
    </MyDocRoot>
    I am retrieving my documents from an XMLType table with aquery like:
    SELECT OBJECT_VALUE FROM MY_TABLE
    WHERE existsNode(OBJECT_VALUE, '/MyDocRoot[@id="myId"]') = 1;
    When I run it using oracle client everything works fine and great.
    Now I would like to execute that query from a Java application, using prepared statement, so with a query now like:
    SELECT OBJECT_VALUE FROM MY_TABLE
    WHERE existsNode(OBJECT_VALUE, '/MyDocRoot[@id="?"]') = 1;
    And passing the id value as the parameter at execution time.
    The problem I am facing is that it seems that the prepare statement does not recognize the parameter at that place. I get an error specifying that one parameter was provided but none was expected.
    I get the same problem when I try to update a document in the database. In this case I have the query is:
    UPDATE MY_TABLE SET OBJECT_VALUE = XMLType(?)
    WHERE existsNode(OBJECT_VALUE, '/MyDocRoot[@id="?"]') = 1
    The error I receive specify that 2 parameters were provided but only one was expected (the parameter in the XMLType() is recognized but not the one in the XPATH expression)
    Does anybody have an example on how to use prepare statement with parameters in XPATH expression like above?

    Try this
    package com.oracle.st.xmldb.pm.examples;
    import com.oracle.st.xmldb.pm.common.baseApp.BaseApplication;
    import oracle.jdbc.OraclePreparedStatement;
    import oracle.jdbc.OracleResultSet;
    import oracle.xdb.XMLType;
    import oracle.xml.parser.v2.XMLDocument;
    public class GetXMLType extends BaseApplication
       public void doSomething(String[] Args) throws Exception
         OraclePreparedStatement  statement = null;
         String statementText;
         statementText = "select object_value from PURCHASEORDER where existsNode(object_value,'/PurchaseOrder[Reference=\"' || :1 || '\"]') = 1";
         OracleResultSet resultSet = null;
         XMLDocument  doc = null;
         XMLType xml;
         statement = (OraclePreparedStatement) getConnection().prepareStatement(statementText);
         statement.setString(1,"AHUNOLD-20040817185414366GMT");
         resultSet = (OracleResultSet) statement.executeQuery();
         while (resultSet.next())
            xml = (XMLType) resultSet.getObject(1);
            doc = (XMLDocument) xml.getDocument();
            doc.print(System.out);
           resultSet.close();
           statement.close();
           getConnection().close();
      public static void main (String[] args)
        try
          GetXMLType example = new GetXMLType();
          example.initializeConnection();
          example.doSomething(args);
        catch (Exception e)
          e.printStackTrace();
    }Gives
    C:\TEMP>
    C:\oracle\product\11.1.0\db_1\jdk\bin\javaw.exe -client -classpath C:\xdb\JDeveloper\Classes;C:\oracle\product\11.1.0\db_1\jdbc\lib\ojdbc5.jar;C:\oracle\product\11.1.0\db_1\LIB\xmlparserv2.jar;C:\oracle\product\11.1.0\db_1\RDBMS\jlib\xdb.jar;C:\oracle\JDeveloper\j2ee\home\oc4j.jar;C:\oracle\JDeveloper\j2ee\home\lib\servlet.jar -Dcom.oracle.st.xmldb.pm.ConnectionParameters=C:\\xdb\\jdeveloper\\SimpleExamples\\LocalConnection.xml -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost|us.oracle.com|*.oracle.com -Dhttps.proxyHost=www-proxy.us.oracle.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts=localhost|us.oracle.com|*.oracle.com com.oracle.st.xmldb.pm.examples.GetXMLType -mx2048M
    Using connection Parameters from : C:\\xdb\\jdeveloper\\SimpleExamples\\LocalConnection.xml
    ConnectionProvider.establishConnection(): Connecting as SQLLDR/SQLLDR@jdbc:oracle:oci8:@(description=(address=(host=localhost)(protocol=tcp)(port=1521))(connect_data=(service_name=ORA11GR1.xp.mark.drake.oracle.com)(server=DEDICATED)))
    ConnectionProvider.establishConnection(): Database Connection Established
    <PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://localhost:8080/home/SCOTT/poSource/xsd/purchaseOrder.xsd">
       <Reference>AHUNOLD-20040817185414366GMT</Reference>
       <Actions>
          <Action>
             <User>AHUNOLD</User>
          </Action>
       </Actions>
       <Reject/>
       <Requestor>Alexander Hunold</Requestor>
       <User>AHUNOLD</User>
       <CostCenter>A60</CostCenter>
       <ShippingInstructions>
          <name>Elizabeth Bates</name>
          <address>Magdalen Centre, The Oxford Science Park,
    Oxford,
    Oxford OX9 9ZB
    United Kingdom</address>
          <telephone>980-985-4081</telephone>
       </ShippingInstructions>
       <SpecialInstructions>Next Day Air</SpecialInstructions>
       <LineItems>
          <LineItem ItemNumber="1">
             <Description>Farewell, My Concubine</Description>
             <Part Id="717951002723" UnitPrice="19.99" Quantity="3"/>
          </LineItem>
          <LineItem ItemNumber="2">
             <Description>Willy Wonka and the Chocolate Factory</Description>
             <Part Id="85392229123" UnitPrice="19.99" Quantity="4"/>
          </LineItem>
          <LineItem ItemNumber="3">
             <Description>Best In Show</Description>
             <Part Id="85391895121" UnitPrice="19.99" Quantity="3"/>
          </LineItem>
          <LineItem ItemNumber="4">
             <Description>The Reggae Movie</Description>
             <Part Id="13023004597" UnitPrice="19.99" Quantity="1"/>
          </LineItem>
       </LineItems>
    </PurchaseOrder>
    Process exited with exit code 0.

  • Cannot use PDF with a certain site

    PDF will not display when using a certain site-all other sites are ok with PDF settings, have been to adobe website & downloaded their updated version but it still wont display on this particular site.

    No solution

  • LinkToAction how to use it with parameter?

    Hello,
    searching for tutorials about the use of the LinkToAction I have seen that here is a possiblity in WD4J to use a context-node.
    How can you pass a parameter in WD4A? (I am using a rowrepeater for a list of books and would like to pass the bookID to the event)
    How can I do this?
    Thanks a lot,
      Vanessa

    Thanks for your answer Lekha,
    unfortunaltely I don't get the point.
    >
    Lekha wrote:
    > From this action if you want to export the bookid then it should be a exporting parameter..
    >
    > you can specify this way...
    Somehow I don't get the point. How can I pass the bookid to the method?
    I have a rowrepeater. One of the elements is the link to the action. I will add the bookid as parameter. That is clear.
    My problem is how to connect the bookid of the row that is displayed to the method? Is it just because of the name? I don't see any context I can associate?
    Could you please go a little bit more in detail,
      Vanessa

  • Problem in creating client side PDF with image using flex and AlivePD

    I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
    Thanks in advance
    Atishay

    I am having a similar and more serious problem. It takes a
    long time to execute, but even attaching a small image balloons the
    pdf to 6MB plus. After a few images it gets up to 20MB. These are
    100k jpeg files being attached. The resulting PDF is too large to
    email or process effectively. Does anyone know how to reduce
    size/processing?

  • I used to be able to open .pdf documents on my MacBook Pro using FireFox with NO problems, all of a sudden NOW they won't open and i get "unsupported" error messages. What the ****? I need to fix this ASAP! Can anyone help in simple non geek language?

    THANKS.

    Depending on which version of Firefox you're using, it no longer currently supports the plug-in provided with Adobe Reader. You have to use PDF Plugin 2.4.4. Just disable the Adobe plugin and use the Schubert plugin.
    Clinton

  • Is it possible to sync PDFs with multiple computers using the same apple ID?

    I have successfully synced these PDFs with one computer (iMac) and one iOS device (iPhone).
    However, I can't figure out how to sync the PDFs with the second computer (Macbook Pro).
    I added the PDFs to iTunes by dragging them into the books tab. I then set the iOS device to sync books via iBooks.
    Does iTunes only sync books purchased from the iTunes store?
    I am using iTunes v11.1 on both computers.

    If you have tow computers that wish to talk to each other then no matter what Buddy List you use you will need two accounts.
    If this is a List that logs into the AIM servers it can be an old @mac.com name, the newer MobileMe name or an AIM name.
    With a Jabber List it can be a Jabber ID or GoogleTalk ID
    In a straight forward set up Jabber Lists (Jabber ID) can not talk to AIM Buddies or An AIM Buddy List (Screen Name) talk to Jabber Buddies
    9:14 PM Sunday; July 20, 2008

  • Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    You cannot use pendriver.
    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Making a PDF with "Outline" and Bookmarks Using Pages

    Hi, I'm using Pages 1 and I have tried making a PDF with outline breaks but I failed. I thought using paragraph styles for my document would work but when I exported my document to PDF, all I got was a PDF that only has the thumbnails view but not the outline view. Also, when I exported my document that has bookmarks to PDF, all the bookmarks don't work anymore. How can I make a PDF document using Pages with all the bookmarks and the organization just like other PDFs that I encounter? Thanks

    Hello LadyinStilettos,
    welcome to the Pages Discussions. If I remember correct, in Pages 1.x there is no way to export text links to PDF. An outline view creation doesn't exist.
    If you want to have links in PDF (of the TOC, too), then you should upgrade to iWork'06. But outline view doesn't exist here like it doesn't in version 1.x.

  • Is it possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?

    Hi,
    the subject says it all. I have downloaded the trail version to see if its possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?
    Basically, I will have to create a pdf form where users fill it and send it back to me. there will be required fields (the textbox and check box) that user need to fill before saving the editable pdf?
    Is it possible. if so, can someone kind enough to point to me right directions?
    Thanks in advance.

    Thanks for reply. What I am trying to achieve is to give an option for the user to download the pdf form and once the user tries to save the pdf, it validates with the required field. I managed to create the editable pdf with required fields option. I just need that validation to be done when user click on save file. How can I achieve this? thanks so much for your help.

  • How can I add a hyperlink to a PDF with OSX 10.9? The "Help" article says to use the "add link" feature under "edit." It's not there.

    How can I add a hyperlink to a PDF with OSX 10.9? The "Help" article says to use the "add link" feature under "edit." It's not there. I could add links w/ the previous OS. Time sensitive project.

    Which application are you using?
    Clinton

  • PDF with comments crashing, using InDesign CS3

    I'm using OS10.6 and switching back and forth between Acrobat Pro 9.3.4 and InDesign CS3 5.0.4.  I have Firefox running too, as well as Bridge and Word.
    The PDF was originally made by me.  I email it to my client and she adds comments using her Windows PC - I don't know any more details.  She then Saves As and emails back to me.
    I then open the PDF with comments and start to work through them, making amendments in InDesign, and then marking the comment with a checkmark.  The PDF seems to randomly crash - sometimes it will work fine for a while, sometimes it just won't and crashes each time I open it.  As a result of this random crashing, I'm saving after every comment I process to keep track of what comments I've done.  (EDIT) Sometimes after the crash none of the comments are checked, despite me checking them and saving the file.  V frustrating and time consuming.
    Any ideas??  Thanks.
    Message was edited by: agreen01

    There is a feature in interactive PDF called Show/Hide fields which may or may not give you what you want. You can create a button of an image or other object which will make another object (button) appear. Do a Google search on "Show Hide Field InDesign Tutorial"

  • Can I create a PDF with form controls using JAVA?

    I have a web site running on linux (Ubuntu). I'm programming in Java. Presently I use open office to create PDFs with form controls (checkboxes, lists and text fields). I'd like to be able to create in my program (Java) with form controls. JasperReports is not good because I don't see a way to create form controls. Help!!!

    I am not sure what this has to do with the Acrobat SDK, as we don't have a version of SDK for Linux (or Java).

  • I would like to use Formcentral form data to populate a pdf with the same fields.  Is that possible?

    I would like to use Formcentral form data to populate a pdf with the same fields.  Is that possible?

    Randy,
    We have an application that I would like to have in Formscentral.  That application is also in a larger PDF file that once filled in populates all the other forms below it (lease, credit check form, ect).  If the Application on Formscentral keep the same field names as the pdf can I pull the data from formscentral and sill populate the old application pdf so that all the forms below it will be also populated. 
    Greg

  • I have created a PDF with mp3 audio clips, the file works on PC's with audio playback (WIndows 7, 8 ) however the audio does not play when hosted on a website or an ipad/tablet computer or smart phone when used with PDF reader

    I have created a PDF with mp3 audio clips, the file works on PC's with audio playback (WIndows 7, 8 ) however the audio does not play when hosted on a website or an ipad/tablet computer or smart phone when used with PDF reader

    adobe42135678 wrote:
    the audio does not play when hosted on a website...
    When viewing in what browser?

Maybe you are looking for

  • Help me with my survy

    I am doing this survy for my professor- I am at Bethedsa community college. (Currently, our JVM runs about 400% faster than commercial JVM, so this is definitely in research stage. ) I will appreciate your response- I need to get 20-30 responses- bef

  • Report showing IQ03 Details

    I am looking for a report that shows IQ03 details in a report view. The details I need from this transaction are: Material # Serial # Asset # System Status Status with Status No. Status w/o Status No. Last Event Last Event Date Does anybody know of a

  • Problem saving a pdf file (adobe X) on a DFS (Distributed File System)

    Following the installation of the X version of adobe reader, saving a pdf file over the network handled by DFS (distributed system files) is not possible. the following message appears: The file may be read-only or opened by another user. Save the do

  • Can't directly move files from Macintosh HD to Desktop, forced to copy all.

    Hi there, I'm attempting to copy 100+ files in multiple folders from a folder on the root of my hard drive to my desktop where the previously were. Unfortunately, Mac OS X is automatically copying the files as if i did a copy paste. The files in tota

  • How to lock MM in Inventory

    Hi, I want to lock any materialmovements in MM because inventory. I know lock Tcodes, users and lock periods in FI and CO. I there another sinple way to do this? Thanks for answer. Regards, Dieter I post this Question also in ABAP-Forum  because i'm