Automating PDF which is embedded within SAP Application

Hi all,
    I am facing the below mentioned problem.
Automating PDF which is embedded within SAP Application
In this case, we need to do some navigations within the PDF like selecting values in the drop-down, checking checkbox etc.
We tried installing Aptt plug-in in our system and recorded using the AcroQTP add-in but still the object gets recognized as one window object.
I tried with different combinations of selecting addins like SAP-Web-VB-AcroQTP, AcroQTP-Web and Acro-QTP.
In all the three cases, the PDF was recognized as one window object.
The details of the application and QTP is,
QTP - 9.5 version
IE - 6.0 version
Application Technology - SAP
Pls let me know if there are any work arounds for this problem.
Thanks,
Jayakrishna.S

Hi JaiKrishna,
I have encountered same problem while working SAP application. We have installed the following on our systems:
1. Acrobat 9.4
2. QTP 10
3. AcroQTP plugin
The addin manager displays the plugin but while recording/spying the objects are identified as WinObject on the PDF which is invoked through SAP application.
Could you or anyone from forum can help us out to solve this problem?
Many Thanks,
Deepthi

Similar Messages

  • Download PDF File from Archiv to SAP Application Server

    Hi,
    I need to download the PDF file from an NAST-Dataset (how is stored from the message via SAP ArchivLink) to the SAP Application Server.
    1) At first i read the Archiv-Link data via function module WFMC_GET_ARCHIVE_OBJECT_TYPE
    2) Then i get the Connection-Infos via function module ARCHIV_GET_CONNECTIONS_INT
    3) Now i read the file from archiv as table via function module ARCHIVOBJECT_GET_BYTES
    4) Save to the SAP Appl.Server via:
       - OPEN DATASET ld_dpfad FOR OUTPUT IN BINARY MODE
       - LOOP and TRANSFER lf_archivobject TO ld_dpfad.
       - CLOSE DATASET ld_dpfad.
    In the dialog of NAST-Dataset (Messages) i can open the PDF-File without any errors (display originals). But after the filetransfer to the SAP Appl.Server i get the following errors during the file opening dialog from Adobe Acrobat Reader:
    - the embedded font u201CArialu201D cant to be extract
    - not enough data for the picture
    The reader can display the PDF-File but only without the picture (Logo) and with alternative font.
    The same transfer from archiv and sending as an attachement to the BOR-Object via function module SO_DOCUMENT_INSERT_API1 works very fine and without any errors.
    Can any one please help me to solve this Issue?
    Thanks in Advance,
    Thomas

    Hello Keith,
    Many thanks for your answer.
    In the past i didnu2019t need the BINARCHIVOBJECT-Parameter and so i overlook this option.
    Now, the File looks a little bit different, but only in the STREAM-section.
    During the Fileopen-Dialog i get only one message now - "not enough data for image" and the image will not displayed. The rest seems to be correct.
    The relevant coding is now:
      ld_doc_typ = pf_connections-reserve.
      CALL FUNCTION 'ARCHIVOBJECT_GET_BYTES'
        EXPORTING
          archiv_id                = pf_connections-archiv_id
          archiv_doc_id            = pf_connections-arc_doc_id
          document_type            = ld_doc_typ
          length                   = ld_length1
          offset                   = ld_offset
        IMPORTING
          binlength                = ld_length                        
          offset                   = ld_offset
        TABLES
          binarchivobject          = lt_binarchivobj                  
        EXCEPTIONS
          error_archiv             = 1
          error_communicationtable = 2
          error_kernel             = 3
          OTHERS                   = 4.
    Zieldatei zum Schreiben öffnen
        OPEN DATASET ld_dpfad FOR OUTPUT IN BINARY MODE.
    Inhalte in Zieldatei schreiben
      LOOP AT lt_binarchivobj INTO lf_binarchivobj.
        TRANSFER lf_binarchivobj TO ld_dpfad NO END OF LINE.          
      ENDLOOP.
    Zieldatei schließen
      CLOSE DATASET ld_dpfad.
    Where is the error for the image data?
    Ciao Thomas
    Push up by: Thomas Engler on May 3, 2010 4:54 PM

  • How to create downloadable pdf report as hyperlink within BSP application

    Hi,
    I'm developing a BSP application using MVC and htmlb extensions on a WAS 6.40. One of the requirements of my webapplication is:
    - the ability to generate a report in pdf format at runtime, using data retrieved from a backend SAP CRM 3.0 system
    and
    - make this report available/downloadable via a hyperlink in the application.
    I am aware of tools like Smartforms and Adobe interactive forms but need some help to get started and choose the right tool.
    regards, Roelof Jan

    Hi,
    we've done that by firstly building a RFC which prints the report to sap-spool:
    call function 'GET_PRINT_PARAMETERS'
          exporting
            expiration     = 1
            immediately    = ' '
            new_list_id    = 'X'
            line_count     = 65
            line_size      = 132
            report         = sy-repid
            no_dialog      = 'X'
          importing
            out_parameters = wf_params
            valid          = valid_flag.
        if sy-subrc ne 0 or valid_flag eq false.
        endif.
        new-page no-heading no-title print on parameters wf_params
                          no dialog .
    ... list processing ...
    new-page print off.
      concatenate programname sy-uname+0(3) into lc_rq2name separated by '_'.
      select * from tsp01 into tsp01_wa
                          where rq2name = lc_rq2name
                          and rqowner   = sy-uname
                          order by rqcretime descending.
        wf_spono = tsp01_wa-rqident.
        exit.
      endselect.
      if sy-subrc ne 0.
        clear wf_spono.
      endif.
    Then convert the spooljob:
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        exporting
          src_spoolid              = wf_spono
          no_dialog                = 'X'
        tables
          pdf                      = witab
        exceptions
          err_no_abap_spooljob     = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_destdevice       = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 8
          err_btcjob_submit_failed = 9
          err_btcjob_close_failed  = 10
          others                   = 11.
      if sy-subrc ne 0.
        return.
      endif.
    Delete Spooljob and generate cached response:
      data del_spono type  tsp01_sp0r-rqid_char.
      del_spono = wf_spono.
      call function 'RSPO_R_RDELETE_SPOOLREQ'
        exporting
          spoolid = del_spono.
      if witab is not initial.
        loop at witab into itab .
          translate itab using ' ~'.
          concatenate output itab into output in character mode.
        endloop.
        translate output using '~ ' .
        create object cached_response
               type cl_http_response
               exporting add_c_msg = 1.
        l_pdf_len = strlen( output ).
        cached_response->set_cdata( data   = output
                                    length = l_pdf_len ).
        cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                           value = 'application/pdf' ).
        cached_response->set_status( code = 200 reason = 'OK' ).
        cached_response->server_cache_expire_rel( expires_rel = 180 ).
        data: guid type guid_32,
              display_url type string.
        call function 'GUID_CREATE'
          importing
            ev_guid_32 = guid.
        concatenate runtime->application_url '/' guid '.pdf'
                    into display_url.
        cl_http_server=>server_cache_upload( url      = display_url
                                             response = cached_response ).
        app ?= application.
        app->print_url = display_url.
      endif .
    The display_url has to be used in the normal response-view:
    <script type="text/javascript">
    var param = 'width=700'
          + ',height=550'
          + ',left=0'
          + ',top=0'
          + ',menubar=no'
          + ',location=no'
          + ',resizable=yes'
          + ',status=no';
      window.open('<%= application->print_url%>', 'DRUCK', param ).focus();
    </script>

  • Calling functions of a SWF embedded within an HTML Text Field...

    I have a slideshow SWF of size 150px by 150px which changes
    image every 5 seconds with the use of a timer, the SWF has a kill()
    function which stops the timer.
    In a larger content holding SWF I have a dynamically
    generated textfield which populates its htmlText property via an
    XML feed.
    Within the htmlText I am inserting the slideshow SWF using
    the <img> tags... It all works great until I proceed to
    another page as there is no way to unload the slideshow SWF or call
    its kill() function which eventually lags the system as I have
    several heavy animations in the pages on ENTER_FRAMES.
    Does anyone know how to unload a SWF or gain access to its
    functions which is embedded within htmlText...

    Thanks for replying :)
    I tried that and using txt.getImageReference("idHere") I
    casted it to a loader object however it wont let me then get access
    to the SWFs functions...
    I tried creating a sprite and using addChild() tried adding
    the loader to the sprite but it gave me cohesion errors...
    Any other help MUCH appreciated

  • Possibility to execute Acrobat Pro's "Combine files into PDF" function from within SAP?

    Good day.
    Presently, a company uses Acrobat Pro to manually combine files such as *.pdf, *.jpg, *.doc, which have been downloaded from SAP's Document Management System, into one pdf file. I would like to know if it is possible to automatically execute Acrobat Pro's "Combine files into PDF" function from within SAP (ECC 6.0) application system. I'm wondering if this could be achieved from a program via OLE (Object Linking and Embedding) or RFC (remote function call).
    Thanks in advance for your thoughts and inputs.

    Yes, you can combine PDF files via IAC/COM methods.

  • How do I fix PDFs not opening when embedded within a PPT?

    I've several PDFs embedded within various Powerpoint PPT files which I simply cannot open - depending upon the laptop I'm using.  When I use by business laptop to open the embedded PDF, I get the message: "The server application, source file, or item can't be found, or returned an unknown error.  You may need to reinstall the server application." On my business laptop I'm running Windows 7, Adobe Reader X, Adobe Acrobat 9, and MS Powerpoint 2007.  When I use my home/personal laptop, the PDF opens up without any errors.  My home laptop runs Window 7, Adobe Reader X, and MS Powerpoint 2007.  It's weird.  I can open embedded MS Excel and MS Word files within the same PPT files on any laptop, but not embedded PDFs.  Any idea what's going on here?

    Sadly,  I have never had luck with the OLE Embedded Object that you put into Office application documents (Word, Excel, PowerPoint).  The OLE objects embedded get corrupted and cannot be extracted.  While it's true that there are two other instances where you could get this error:
    1) The OLE server application (Acrobat or Reader in this case) is not properly registered with the system
    2) Possibly Protected Mode/Protected View in Acrobat is blocking the execution of the OLE Server Application
    I wouldn't bet on it.
    In the future you may want to use a PDF Portfolio where you can attach both Office and PDF files within the Portfolio envelope.

  • How to save PDF billing in Livelink Archive which is connect with SAP R3

    After i display the billing which is used LiveLink Archive to present it. i want to use VBA to save the current open file in Livelink Archive but have no any idea about what the codes it is. i only know how to open a file in LiveLink as below:
    Sub OpenDocInViewer()
    Dim Viewer
    sFileName = "C:\Documents and Settings\jjy018\Desktop\data-[archived__P1].pdf"
        Do
            Set Viewer = CreateObject("AlViewer.App")
            Set Doc = Viewer.CreateDocument()
                Viewer.OpenDocumentFromFiles sFileName, sFileName, sDocType, sFileName, ""
            Set Viewer = Nothing
        Loop
    End Sub
    But what is the code for save the opened file in Livelink?
    need your help!

    Hi Srinath,
    Refer the following links:
    pdf file in application server
    PDF file download to application server.
    Download PDF File to SAP Application Server
    This web log covers all possibilities:
    /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
    <b>Reward points if this helps.
    Manish</b>

  • Application using JVM with IE embedded within it using its own JVM

    I am developing on an application that uses JVM to run. Within this application an IE browser is being called. Subsequently IE browser is trying to run an applet which is trying to open another jvm.
    It appears the version of Java I am using does not allow this. I believe this is fixed in a later release of java but don't know which one.
    I must have tried about 5 or 6 different versions of java and each time either getting an ASDAS error or a registry HKEY_LOCAL_MACHINE error.
    Any help would be appreciated.
    Thanks

    I am developing on an application that uses JVM to
    run. Within this application an IE browser is being
    called. Subsequently IE browser is trying to run an
    applet which is trying to open another jvm.
    It appears the version of Java I am using does not
    allow this. I believe this is fixed in a later
    release of java but don't know which one.
    I must have tried about 5 or 6 different versions of
    java and each time either getting an ASDAS error or a
    registry HKEY_LOCAL_MACHINE error.
    Huh?
    How exactly are you embedding IE into your app?
    Normally IE is a seperate process and in that case nothing that your original JVM is doing will have any impact on that.
    Of course the environment space that the spawned IE is being run with could very well impact it.
    Of course if you are actually embedding it in your app versus spinning up another process then that would not apply. But off hand I can't ever recall seeing an article that suggested IE could be embedded in another application.
    And what do you mean the applet is trying to run a jvm?
    An applet runs in a JVM. The only way an applet (or just a java app) can run a jvm is by using Runtime.exec() or via JNI. Is that what you are doing?

  • Bar Code Font Embedding within PDF report

    With a special postal code bar code installed on the 10gR2 application server to the %WINDIR%\fonts folder how should the UIFONT.ALI be configured to ensure the font is embedded within a PDF generated (WIN32 application servers)
    If specified within the [PDF:Subset]
    "Quick Address 4State BarCode" = "QUICASB_.TTF"
    It would appear that the font is required at the client opening the PDF in order to view the barcode; the font is not being embeded within the PDF.
    How to use [PDF:Embed] to produce a PDF that will display the font without requiring the font locally at the client?

    Hello,
    First, generate an output with DESFORMAT=HTML and check the font name used in the output.
    Then, check that the file QUICASB_.TTF exists in a directory of REPORTS_PATH (take care to the case sensitivity on UNIX)
    Check that the file uifont.ali is ok (use the utilty mfontchk)
    Check the "precedence" in the file uifont.ali
    See the comment in the file uifont.ali itself :
    # NOTES ON PRECEDENCE OF PDF SECTIONS:
    Regards

  • SSO for  non sap applications in EP on which siteminder sso is integrated

    Hi ,
    we have implemented Siteminder SSO on   SAP PORTAL 6 SP16  for authentication.I would like integrate non sap application in Portal.I could not find any documentaion for setting up non sap application's in portal on which siteminder sso external authentication is implemented.
    can anybody help for getting  step by step document.
    Thanks
    Tag

    Hi ,
    we have implemented Siteminder SSO on SAP PORTAL 6 SP16 for authentication.I would like to integrate non sap application in Portal.I could not find any documentaion for setting up non sap application's in portal on which siteminder sso external authentication is implemented.
    can anybody help for getting step by step document.
    diff rewards to be given...
    Thanks
    Tag

  • IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend's

    IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend’s PC. How do i get both my IPAD devices to display the PDF icons/attachments? Bearing in mind if i open the same email over the internet the PDF Icons/attachments display OK!
    Has anyone come across this? Your advice/help would be most appreciated

    This happens to me all the time.
    If is a one page PDF it seems as though it comes over already open and inline in the body of the email. Multiple page PDF files show as the PDF icon.
    I can't find any official documentation of this - other than based on my own experience with PDF attachments in my various email accounts.
    Message was edited by: Demo

  • Convert from jpeg to pdf within SAP

    HI SAP Friends,
    We would like to know if it is possible to convert jpeg files to pdf within SAP. We know SAP has function modules to convert OTF to PDF, but we were wondering if there is similar funciton module to convert jpeg to pdf within SAP.
    Niranjan

    Looking for solution. Has any one tried successfully converting jpeg files to pdf within SAP.
    Niranjan.

  • Download PDF File to SAP Application Server

    Hi,
    I need to download the PDF file to SAP Application Server. Can any one please help me to Solve this Issue?
    Thanks in Advance,
    Kannan

    You can read and upload the file to the PC:
    report ztest.
    data: begin of itab occurs 0,
            field(256),
          end   of itab.
    data: dsn(100) value '/usr/sap/xfr/FIS/testpdf',
          length  like sy-tabix,
          lengthn like sy-tabix.
    call function 'GUI_UPLOAD'
         exporting
              filename   = 'c:temptest.pdf'
              filetype   = 'BIN'
         importing
              filelength = length
         tables
              data_tab   = itab.
    open dataset dsn for output in binary mode.
    loop at itab.
      transfer itab-field to dsn.
    endloop.
    close dataset dsn.
    clear   itab.
    refresh itab.
    open dataset dsn for input in binary mode.
    do.
      read dataset dsn into itab-field.
      if sy-subrc = 0.
        append itab.
      else.
        exit.
      endif.
    enddo.
    call function 'GUI_DOWNLOAD'
         exporting
              filename     = 'c:temptestn.pdf'
              filetype     = 'BIN'
              bin_filesize = length
         importing
              filelength   = lengthn
         tables
              data_tab     = itab.
    Rob

  • Why a pdf document with embedded fonts can be copied but is not searchable in pdf reader

    I am writing a pdf files with embedded subset fonts. As required, I am including the ToUnicode and CIDSet objects. To test, I created a simple PDF with two Hebrew characters. I can select the two characters and copy to the clipboard, and paste it properly into another application such as Word. But I am not able to search for a word containing these two characters. Adobe Reader (or Acrobat) displays the message that the word was not found. So in essence, I have created a PDF document which can be copied properly, but is not searchable. Any idea what I might be missing when creating the document?
    Additional information: 1. The file in question is a minimal file with just two characters. I have tested with many such files in many different languages including English. None of the files are searchable. 2. Curiously, if I search for the letter 'e', Adobe reader highlights an incorrect word, even if the letter 'e' does not exists in the file. 3. Adobe acrobat is also not able to search within this file, however when I save the file to another disk file, the saved file now is searchable. I confirmed that the major objects such as the font-file, ToUnicode object, CID object, and the font description objects are the same in the saved file. However, one of the font object is brought up closer to the top of the file. 4. FoxIt is able to search these files properly.
    5 0 obj
      <</Filter /FlateDecode /Length 115>>
      stream
            q 0.750000 0 0 0.750000 0.000000 792.000000 cm
            q q q 0.160000 0.000000 0.000000 0.160000 0.000000 0.000000 cm
            BT /F0 100.000000 Tf 0 g 750.000000 -690 Td[<02B0>] TJ 35.000000 0 Td[<02B9>] TJ ET Q
            Q
            Q
            Q
    endstream
    endobj
    10 0 obj
    <</FontName/AAAAAA+ArialUnicode/CIDSet 9 0 R /Ascent 905/CapHeight 905/Descent -212/FontFamily(Arial)/Flags 32/FontBBox [0 -212 1000 905]/ItalicAngle 0/StemV 0/FontFile2 7 0 R/Type/FontDescriptor>>
    endobj
    11 0 obj
    <</BaseFont/AAAAAA+ArialUnicode/CIDToGIDMap/Identity/CIDSystemInfo <</Ordering(Identity)/Registry(Adobe) /Supplement 0>> /FontDescriptor 10 0 R/Subtype/CIDFontType2/Type/Font>>
    endobj
    12 0 obj
    <</Subtype/Type0/BaseFont/AAAAAA+ArialUnicode/Encoding/Identity-H/DescendantFonts [11 0 R]/ToUnicode 8 0 R/Type/Font>>
    endobj
    8 0 obj
      <</Filter /FlateDecode /Length 252>>
      stream
            /CIDInit /ProcSet findresource begin
            12 dict begin
            begincmap
            /CIDSystemInfo
            << /Registry (Adobe)
            /Ordering (UCS) /Supplement 0 >> def
            /CMapName /Adobe-Identity-UCS def
            /CMapType 2 def
            1 begincodespacerange
            <0000> <FFFF>
            endcodespacerange
            3 beginbfchar
            <0000> <0000>
            <02B0> <05E0>
            <02B9> <05E9>
            endbfchar
            endcmap
            CMapName currentdict /CMap defineresource pop
            end
            end
    endstream
    endobj

    I figured the app might have that ability - considering you can add text, highlight, add a signature, annotate and draw - so my thought was why not delete a page, or rearrange for that matter?.. That should be an option, this way we don't have to export to one of the other apps to delete or rearrange..
    Thanks for the help, Bernd.
    BTW if anyone is looking - PDF Max can do all of the above and delete and rearrange. With PDF Splicer you can delete and rearrange as well, but it has no other features.
    And as for Steve Werner whose comment was deleted after it got to my inbox, it is much more than a Reader, as you can plainly see from the amount of tasks the Reader app can do above.

  • Adobe Flex within SAP NetWeaver Developer

    Hello,
    I can't find Adobe Flex within SAP NetWeaver Developer Studio.
    I am using  Version: 7.0.09
    Build id: 200608262203
    Is it necessary to download additional software for it?
    Regards
    sas

    Hi
    NetWeaver provides the ability to develop portal content without programming through Visual Composer (Outside-in approach).
    SAP NETWEAVER VC
    • Visual Composer is a visual modeling tool that enables sophisticated
    content development for the SAP NW Portal merely by dragging and
    dropping appropriate objects and establishing relationships between them.
    No programming required.
    • Visual Composer is completely Web based. Business experts can sit next to
    the business users and access Visual Composer from any machine to build or
    customize to reflect the business needs on demand
    • The purpose of Visual Composer is to provide a visual tool that enable
    customers quick and easy content development thereby
    – Minimize the time and effort to create content
    – Lead to quicker go live decision
    – Reduce Total Cost of Ownership (TCO)
    – Increase ROI
    Please check out the following links:
    http://help.sap.com/content/documentation/netweaver/docu_nw_vc.htm
    http://help.sap.com/download/netweaver/nw04/visualcomposer/VC_60_UserGuide_v1_1.pdf
    http://help.sap.com/download/netweaver/nw04/visualcomposer/html/en/fd/4a7e40417c6d1de10000000a1550b0/frameset.htm
    Here the installation guide:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45bfd990-0201-0010-e1b3-a38f22a5b5b2
    For download info check this thread:
    Where to download VC?
    Visual Composer as Modelling Tool
    Models designed in Visual Composer can be deployed to run in one or more technology engines, including SAP HTML/B and Flex. The same model can be deployed to more than one environment, although not all components and controls are fully supported in each. Visual Composer implements a proprietary XML-based Visual Composer Language as its source code for creating the models. Only at deployment is the model actually compiled into the executable code required by the selected UI technology. The result is a model once run
    anywhere capability.The models that you build in Visual Composer are generated in Generic Modeling Language (GML) code. To deploy your application to a portal, the GML code
    must be compiled into a language supported by the portal. During compilation, warnings and possible errors may be discovered, enabling you to check the model validity. The compiled content is deployed directly to the portal, in the runtimeenvironment that you select.In runtime, transactional content can run through HTML/B and Flex, while
    analytic content which may require a more animated environment may run through Flex. The models deployed by Visual Composer to the portal include runtime metadata, which is stored with the model in the PCD and exported in the business package, for delivery to customers.
    Thanks,
    Tulasi Palnati

Maybe you are looking for