Open a pdf with a model.

Hi.
I've a portal application. In a class, I call to one Bapi, and this Bapi return a table and I keep the table into a model. I want open a pdf with my model.
How can I do it? What are the java import?

Hi Jens,
I'm developing a portar archive (.par).
This is the code by which I call the BAPI and it gives back to me the model:
              if(miCliente == null) throw new Exception("CONEXION NO DISPONIBLE");
                    if (!this.getbegda().equals(""))
                   {funcion.getImportParameterList().setValue(this.getbegda(),"JBEGDA");}
                    if (!this.getendda().equals(""))
                    {funcion.getImportParameterList().setValue(this.getendda(),"JENDDA");}
                    miCliente.execute(funcion);
                com.sap.mw.jco.JCO.Table out = funcion.getTableParameterList().getTable("OUT");
                    com.sap.mw.jco.JCO.Field retorno = funcion.getExportParameterList().getField("RETURN_CODE");
                for(int i = 0; i < out.getNumRows(); i++)
                    { out.setRow(i);
                      fila.addElement(out.getString("CODIGO"));
                      fila.addElement(out.getString("NOMBRE"));
                      tabla.addElement(fila);
                  fila = new Vector();
                     Vector nombreColumnas = new Vector();
                      nombreColumnas.addElement("Código Empresa");
                  nombreColumnas.addElement("Nombre o razón social");
                   modelo = new DefaultTableViewModel(tabla, nombreColumnas);

Similar Messages

  • The way to open 3D pdf with specific model selection from url link

    I guess this feature is not supported, but let me ask one thing.
    I am looking for the way to open 3D pdf with specific model selection from url link.
    For example, if the following link is opened, is it possoble to open 3d.pdf with automatic selection of "abc" model in the model tree? 
    http://example.org/3d.pdf#model=abc
    If it can be done by javascript, it's really helpful.

    Impossible. There are only very limited command-line options for the Acrobat Family and you cannot change them.

  • Why can't i open a pdf with adobe reader X

    When am i not able to open the PDF with the Adobe Reader X, and also not able to choose it as programm for opening of the PDF. (Right click and "open program with", it's not possible to choose Reader, when i try nothing happens and it's not added to the program list)
    Thanks for help.

    And yes i can open by the programm itself directly, but i have no idea how to correct the file association then....

  • Error when opening =any= PDF with Reader

    Hi!  Since installing the new Reader software, I keep getting the same error message whenever I try to open =any= PDF, from those on my system for some time to those just downloaded.
    The error message says:
    Attempt to access invalid address
    I can open any PDF with Sumatra or Foxit, so it's not in the file...
    Bruce

    Hi  Bruce,
    Are you using EMET Antivirus? I have seen the issue caused due to this. Try disabling it and  check.
    I have seen this issue fixed for some users by modifying the following registry key:
    The key is "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" MoveImages
    Set the key to 1 instead of 0 then reboot the machine.
    In case you still face the issue try the following registry key change:
    The only thing you have to do is rename the following key at the REGEDIT, and everything will be fine !!
    BEFORE:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplore.exe
    AFTER:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplore.old
    Note: Please take a backup of the registry before attempting this change.
    Regards,
    Rave

  • When I open a PDF with Firefox 4 I get blank new tabs continuously opening without stop. How do I fix this?

    When I open a PDF with Firefox 4 I get blank new tabs continuously opening.

    See:
    * [[Firefox keeps opening many tabs or windows]]

  • Having trouble opening a pdf with Adobe...keep seeing an error sign "acroExch"  does anyone have a way to fix this?

    Having trouble opening a pdf with Adobe...keep seeing an error sign "acroExch"  does anyone have a way to fix this?

    Hmm, "Use Adobe Reader" should launch the PDF outside of Firefox in the stand-alone Adobe Reader application, so seeing it in a tab is something of a puzzle.
    Could you check your version of Adobe Reader? For Windows 7, you normally would have the Reader XI series (Reader 11), which has had several updates. From inside Adobe Reader, you can use Help > Check for Updates to make sure it's current.
    In Firefox, could you check your Adobe Acrobat plugin version or possibly versions? You can view that on the Add-ons page. Either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Plugins. If you find multiple versions, this can cause problems and may need to be cleaned up manually (post back on that for suggestions).
    Sometimes, the settings file which stores those download handler preferences becomes corrupted and there's not much else to do than to rename or remove that file and let Firefox rebuild it.
    To do that, open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table on the page, click the "Show Folder" button. This will launch a new window (Windows Explorer window) listing various settings files.
    Leaving that window open, switch back to Firefox and Exit, either:
    * "3-bar" menu button > "power" button
    * (menu bar) File > Exit
    Pause while Firefox finishes its cleanup, then rename '''mimeTypes.rdf''' to something like mimeTypes.old
    Start Firefox back up again and "PDF Files" should be back to their default setting of "Preview in Firefox". Try changing that to "Use Adobe Acrobat (in Firefox)" and test to see whether there's any improvement.

  • How to open a pdf with a ".exe" extension?

    Hi everyone,
    I am new. Someone just sent me a document they created in Acrobat 9 pro. They say it is a password protected pdf. When I click open or download, it changes from 1 KB to 28 bytes and displays a message that the content has been deleted. I would really appreciate any insights!
    In case it helps, I am using Windows 7 and have Acrobat XI Pro. Thanks.

    If it was a PDF with a .exe extension I suspect you have just been injected with Virsus, Worm, Trogan Horse or some other malware.  A PDF if it’s a true PDF will only have pdf extension.  When some one says it’s a Pdf but say it will be sent as exe file don't download it. Or if itd ownloaded don't open it trash it immediately.

  • Openeing a pdf with native pdf reader: openwithdefaultapplication

    Hello,
    Wondering if anyone can help on this one. From what I have read AIR for android does not support openwithdefaultapplication. The device I am developing for , the Motorola Xoom does not support pdf viewing in StageWebView or the browser. I have tried stagewebview and navigatetourl witn no success. So is it possible to open my pdf's with the native pdf viewer, calling it from my flex mobile app, developed in FB4.5 Any tips/ links sample code on how to do this, if it is possible would be great.
    Thanks

    Just to let everyone know. The answer
    Rangora gave was the correct solution for my purposes. I actually found this link (below) a while ago which takes you through it and gave me some inspiration. Its a java hack and not the prettiest solution. Lets hope Adobe and Android provide something a little more useful in the future
    http://www.jamesward.com/2011/05/11/extending-air-for-android/
    This (above) is if you want to open local files with the native/default application. I actually managed to extend this and get it to open a file with its default application (not just pdfs, any type as long as the tablet has a software that can open/support the type)
    For the unitiated who have found this post: WebView is only good for loading webpages and pdfs wont load on HoneyComb devices this way. You can get PDFs to display in a browser with PDF plugin on Honeycomb devices, but only from a hosted file location (webserver) which wasnt any good for my purposes
    The link above is currently the only way to open local files with their default application
    Thanks to all for your participation

  • How to open a PDF with Acrobat 5?

    I'm trying to open a pdf. I get an error message saying file is damaged and can't be opened but I have no problem opening  it with Adobe ReaderX. What is wrong?
    Thanks!

    There's something in it that isn't comaptible with Acrobat 5 or it would open it. I know Acrobat 5 is what you have, but frankly, it's obsolete. You can download a 30 day trial of Acrobat XI and open it, then save it as Optimized for 4 and up, but if you plan to continue using Acrobat... you're going to need a version that's newer than 2003.
    That shows the Reader versions that went along with Acrobat (because the Acrobat downloads themselves aren't available anymore).
    5.0 and 5.05 were designed for oprating systems that haven't even been supported by Microsoft since 2006.

  • I can't open any pdf with Adobe Reader XI, neither online or offline - OS X

    Since I've upgraded to Acrobat Reader XI I'm not able to open any pdf file.
    I can't open any .PDF already existing in my Mac and also can't open anything online throughout browser (I use Safari and Chrome)
    I've already uninstalled and reinstalled Adobe Reader over and over again and it has no improving.
    I've tried to install an older version and still doesn't work.
    All my problems started with the upgrade to Adobe Reader XI.
    As you can imagine I really need to be able to open pdf through browser, that's my biggest concern.
    I'll attach the error message that appears on the screen.

    Hi a.vouga,
    Are you still facing this issue.
    If yes, i would suggest you may create a new user profile and install Reader again and check.
    Regards,
    Ajlan Huda.

  • Is it possible to open synchronized pdf with other reader than iBooks?

    Hi all,
    I just bought and ipod and it seems to be nice little thingy I have troubles with understanding whole logic behind how apps and files work.
    In iTunes I added few pdfs and synchronized them to my ipod. I got a warning that I have not installed iBooks and won't be able to read those files so I downloaded iBooks app and synchronized it as well. all good and dandy but to be honest iBooks is not very good with pdfs at least not for me so I downloaded a few more readers like adobe for example thinking they will allow me to have better reading experience.
    and here we have a surprise: my pdfs are not accessible from other reader than iBooks, I can't browse filesystem to get to them, iBooks have no "Open in..." option (which would work in case of adobe reader). I have no previous experience with apple products so maybe I am missing something basic and just showing up my ignorance but if somebody could hint me how can I make my synchronized pdfs accessible with some other app not only with iBooks I would be really grateful.

    Latest Adobe Reader version has a feature wherein it can open the PDF from the page where you last used it.
    You can download it from : http://get.adobe.com/reader/

  • Open protected pdf with javascript

    Hi
    I created a program that opens a local pdf file and shows it with Adobe Reader. I want people to open the pdf file only when using my program.
    It's an Adobe Air program so I am able to pass javascript commands to the pdf. Lets say I pass a string (the password) from my Adobe Air applikation
    to some javascript function inside the pdf file, at the time my application opens the pdf file, when i it opens. Then the javascript function inside the pdf file should be able to pass the password to some security handler and open the pdf file, without prompting the user for a password.
    How do I do this in Adobe Acrobat Javascript ?

    Just search for password in the to files i mentioned. I'd already said that I didn't understand the documentation very well, but here's a copy paste:
    SecurityHandler Methods login
    Provides a mechanism by which digital IDs can be accessed and selected for a particular Security Handler. Through the user interface, a default digital ID can be selected that persists either eternally or for as long as the application is running. If such a selection has
    signInvisible
    Specifies whether the security handler is capable of generating invisible signatures.
    Type: Boolean Access: R
    signValidate
    Indicates whether the security handler is capable of validating signatures.
    Type: Boolean Access: R
    uiName
    Specifies whether the security handler is capable of generating visible signatures.
    Type: Boolean Access: R
    The language-dependent string for the security handler. This string is suitable for user interfaces. All security handlers must support this property.
    Type: String Access: R
    SecurityHandler Methods
    been made through the UI, it might not be necessary to log into a Security Handler prior to using the digital ID.
    Parameters tend to be specific to a particular handler. The behavior for Adobe.PPKLite and Adobe.PPKMS handlers is specified below.
    The parameters cPassword and cDIPath are provided for backward compatibility, or they can be included as properties of the oParams object. This latter method is the preferred calling convention beginning in Acrobat 6.0.
    See also logout, newUser, and loginName.

  • Open a pdf with out print or save button

    Hello,
    Is there any way to open pdf with out using save or print and also make other users to not to open the file.
    thanks

    Hi,
    My understanding is that you have a PDF document in a document library and you want to open the PDF in one click.
    If my understanding is right, then you can set the default open behavior to ”open in the client application”.
    Also, please install the corresponding software to  the default program of opening the PDF.
    About making others not to open the file, you can set the Library permission for specific user to achieve it.
    Here is a detailed article for your reference:
    http://blogs.technet.com/b/officeasia/archive/2013/01/09/configure-sharepoint-server-to-open-office-documents-in-client-application-by-default.aspx
    https://support.office.microsoft.com/en-us/article/Manage-permissions-for-a-list-library-folder-document-or-list-item-9d13e7df-a770-4646-91ab-e3c117fcef45?CorrelationId=46b5ab40-7045-4790-96d1-159b8afbf672&ui=en-US&rs=en-001&ad=US
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Opening a pdf with ai then having text problems.

    Hello people
    When i open a PDF document in ai i get a problem with the text. All paragraphs of text are no longer grouped, it is if i have used a type box for every single letter. The spacing is different also. is there a way to ensure that all text is grouped as it is in the PDF document when i open it in ai or is there a setting i am missing.
    Thanks i advance
    Phil
    PS
    Thanks to the 2 guys who helped me out before xmas with a gradient problem. you information was ace

    The "equality" between AI and PDF formats is a myth. What you are seeing is normal for PDF content.
    Generally speaking, you can think of a PDF file as your Illustrator (or whatever) file dumbed-down to simpler objects and "captured" midstream on its way to the printer.
    > is there a way to ensure that all text is grouped as it is in the PDF document when i open it in ai
    Yes. By turning on the Maintain Illustrator Editibility option when saving/exporting the PDF. What that really does is embed a full copy of the native Illustrator file inside the PDF. So the PDF file actually contains two complete versions of the content (and is therefore larger).
    If you use AI to open a PDF that does not contain that AI-native version (one saved from AI without that option turned on, or one saved by some other program), then it's normal to get the results you are experiencing.
    Adobe has done a masterful job of confusing its user base with its smoke-and-mirrors marketing of all this.
    JET

  • ADE can´t open ebook PDF with DRM Lifecycle Rights Management

    Hello,
    the ADE can´t open the pdf files with Adobe Lifecycle Rights Management.
    I have download a Ebook in pdf file format with DRM at adobe lifecycle rights management.
    The Reader XI can this open and work with them.
    The ADE Suite can´t read this file and say some errors found on the dokument.
    The adobe reader on the device (ebookreader Pocketbook 840 with newest softwareversion) do not open this file and without messages give up.
    The Pocketbook Support tell to me contact adobe support.
    My problem i don´t have information of the adobe softwar on the pocketbook. Only by cummunity some
    The ADE 4.x and 3.x tested without solution.
    Support files or dumps from device not available.
    Why the ADE not support "adobe" lifecycle rights management.
    And can i close this gap?
    I`m only the consumer on pocketbook and onliehe.de
    The Adobe licensee/customer Pocketbook and Onleihe.de do not support or don like support own customer at this issue.
    Kind regards
    Eddi
    Sorry for my bad english

    Hello,
    at this situation a call with Hotline at Adobe, the ADE no listed and closed talk by system. "Many Thanks".
    This can`t not be a serios Solution.
    At producer from the device not fully unterstand the problem-
    ADE can´t read the File and tell back its corrupt.
    The device (Pocketbook 840) with Adobe Viewer stoped open file without message.
    Pocketbook Support say download only products with support. PDF with DRM it´s ok, but not Adobe Lifecycle.
    Thats can´t be the right way to sell products without support of own fail.and say buy other E-Books.
    At wait on 11 days to see at this support instrument are only help for lightweight problems. I see to much questions without message from moderator, the consumer can´t do adobe work.
    Kind regards
    Eduard Kick

Maybe you are looking for

  • Problem with generating of numbers NUMBER_GET_NEXT

    Hi, I need to generate numbers for Project-Id. I've created a number range object (SNRO) NR_PROID (Settings: number length domain: numc10, No. of numbers in buffer: 10) with interval 01: 0000000001 - 9999999999, current number 100. I use it in the FM

  • Symbol animation restrictions

    In connection with another question I asked earlier which I've been trying to solve whilst waiting for help, I've found another 2 possibly related problems: I have a symbol, which I animate from 0% scale up to about 110% and then back to 100%. this m

  • Dynamic data in error message-Urgent

    Hi All, Can amyone help me out with the API or syntax to be used if the error message has some dynamic input. e.g. if the error message has to be : u201CMA of type " + ma_type + "cannot be created from Rfx you are trying to create. No such master dat

  • ICC Profiles for Lightroom 5

      Have Lightroom 5 and a B210e printer and a B8600 printer.  I am unable to locate any profiles for these devices or instructions for Lightroom 5.  Any assistance would be appreciated.  Thanks. 

  • Automator returns out of order PDF files

    I'm using Automator to make a (lengthy) PDF from jpeg images.  The 113 images I have are carefully numbered in the desired order such as "0001, 0002, 0003,......0113."  When I move the images into the Automator "Get specified finder items" box they s