Dynamic images in PDF (Adobe interactive form)

Hi All,
        I have stored image in database using BLOB.
I retrieve the image using
     WDWebResourceType.getWebResourceTypeForFileExtension(extn);//get Type
     IWDResource res = WDResourceFactory.createCachedResource(CSVFile, Filename, type1,true);
        res.getUrl(0);
Where CSVFile is of type InputStream.
But when I give this link to the image field in interactive form, the image is not getting displayed. (But it is getting displayed in the image UI element of web dynpro.)
What should I do to show images in PDF from BLOB?
Please let me know.

Hi,
Solve the problem .
I have created the New node for dropdown. also i have one node already for table.
The new node i bind to dropdown, the table same for table.
Its working fine
Boopathi M

Similar Messages

  • Drop down in dynamic table in the Adobe Interactive Form (Web dynpro ABAP)

    Hi All,
    I have scenario use drop down in dynamic table in the adobe interactive form (Using the button the dynamic table row will be increasing and decreasing).
    Assume I Add five rows dynamically in the dynamic table. The Last column contains Drop down.
    I have button in the adobe form.
    Button Name = u201CSAVEu201D
    Button type    = SAP Submit button (Native type u2013 I am Using ZCI).
    While clicking save button, I need to store the dynamic table datau2019s to back end system. I can able to store the data to back end system. After form data getting saved those particular values need to display in the adobe form. 
    Here I am facing a problem.
    I cannot able to view as a default value in the drop down, which I have selected some values after save operation I am not getting any values in the drop down as a default.
    Example:
    The dynamic table contains 5 rows (Each and every row Drop down contains one to ten values).
    1)     I have selected second value in the Drop down (ROW1)
    2)     I have selected fourth value in the Drop down (ROW2)
    3)     I have selected fifth value in the Drop down (ROW3)
    4)     I have selected seventh value in the Drop down (ROW4)
    5)     I have selected third value in the Drop down (ROW5)
    I press the save button that particular Drop down value gets saved in back end system and that particular values want display in the Drop down as a default value.
    How to resolve this problem.
    Regards,
    Boopathi M

    Hi,
    Solve the problem .
    I have created the New node for dropdown. also i have one node already for table.
    The new node i bind to dropdown, the table same for table.
    Its working fine
    Boopathi M

  • Filling dynamic drop down in adobe interactive form( webdynpro ABAP)

    HI all,
    Im new in Webdynpro ABAP, my requirement is to fill drop down list in adobe interactive form. i created adobe form and its working fine.
    I Created context like ROOT(cardinality 1:1)->DATANODE cardinality 0:n. This context is for drop down and in wddoinit i did  like this.
      IN WDDOINIT ,
    DATA lo_nd_root TYPE REF TO if_wd_context_node.
      DATA lo_nd_datanode TYPE REF TO if_wd_context_node.
      DATA lo_el_datanode TYPE REF TO if_wd_context_element.
      DATA ls_datanode TYPE wd_this->elements_datanode.
    navigate from <CONTEXT> to <ROOT> via lead selection
      lo_nd_root = wd_context->get_child_node( name = wd_this->wdctx_root ).
    navigate from <ROOT> to <DATANODE> via lead selection
      lo_nd_datanode = lo_nd_root->get_child_node( name = wd_this->wdctx_datanode ).
    get element via lead selection
      lo_el_datanode = lo_nd_datanode->get_element(  ).
    ls_datanode[] = lt_dna_value[].
    CALL METHOD lo_nd_datanode->bind_table
      EXPORTING
        new_items            =  ls_datanode
        set_initial_elements = ABAP_TRUE.
       index                =
    while executing  i'm getting this error ": WebDynpro Exception: ADS: com.adobe.ProcessingException: No output was generated while rendering: Stream for: PDFOut.(200,101). " . can u please tell me how to bind value for drop down.
    I created sample table in same form and i binded same value to table, that time its executing fine.
    can u please tell me solution for this Scenario.
    Thanks
    Hemachandran.
    Edited by: hemachandran R on Sep 12, 2008 2:27 PM

    hi,
    My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.
    i populated the value in drop down.
    Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row
    im getting different values, like first row
    CAR
    , that CAR want to fill as a default value in drop down  and second row  as
    BIKE
    that BIKE  want to fill as default value in drop down  ( example drop down contain   car , bike , cycle).
    In adobe form i binded like this
      $record.DATANODE.DATA[*].DNA_RATING
    i dont know whether this one is correct or wrong  .
    im getting default value as empty.
    please give me some solution how to do this.its very urgent
    thanks
    hemachandran.

  • PDF: Adobe Interactive forms pops up SAVE AS dialouge box after modification

    Hi,
    We have developed Adobe Interactive form uisng Adobe LiveCycle Designer. After creating pdf, whenever I change data in the interacvie form, it is poping up "Save As" dialouge box everytime user saves data. So User is replacing the same file again and again. Is there any setting to get rid of this error?
    OS: Windows 7
    Adobe Reader: 10.0.1
    Regards,
    Selva

    Hi,
    you cannot suppress the save function but you can avoid that the PDF viewer recognizes changes.
    Put this script in the layout:Ready event of your form.
    event.target.dirty = "false";

  • How to create a dynamic fields in the Adobe Interactive form ?....urgent...

    Hi Experts,
    I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)
    Action:
    1. Create two view -
    first_view and second_view in the WDP ABAP..
    2. In the first_view, there are a input field( named "elements_number") and  a button(named "create_button") .
    3. In the second_view, there is Adobe Interactive form ( named "adobe_form" ).
    4. Run the WDP ABAP: first_view is opened. Type a number ex."3" in the "elements_number", click the "create_button".
    5. The second_view is opened.
    6. The "adobe_form" is occured.
    7. There are 3 text_fields in the "adobe_form".
    Steps (1) ~ (6), I have completed, but I don't know how to implement the step (7).
    Please give me some hint on this. I try to use the CL_WD_ADOBE_SERVICE, but I didn't found any examples.  Do you give me some ways to implement the function? Thanks a lot.
    Thank you very much.
    Thanks,
    Tao

    Hi Philippe,
    Thank you very much in advance.
    Do you tell me how to hide elements in the "adobe_form" in the WDP ABAP? How can I get the elements attributes in the "adobe_form" from the method WDDOMODIFY of the second_view  in the WDP ABAP.
    Please give me some hints on this. Do you give me some ways to implement functions( hide elements and  get elements's attributes)? Thanks a lot.
    Thank you very much.
    Thanks,
    Tao

  • Adobe Interactive Forms via Mail and PI.

    Hi All,
    We are currently implementing an adobe interactive forms scenario (offline) at our customer.
    The initial scenario was the folllowing
    1. PDF is generated on the CRM system and downloaded towards the clients PC
    2. PDF is adjusted by enduser
    3. When all info is added, enduser presses the submit button in the pdf, this triggers the sending of an email, with an attachment containing the filled in data in xml format.
    4. PI reads the mail, takes the XML and processes the data.
    The scenario was quiet easy to enable.
    Now the customer wants the PDF to be mailed instead of or toghetger with the xml representing the data. Reason for this is that they want to pdf to be stored inside the initial transaction (service order) in SAP (archiving reasons).
    The PI system is just acting as a mail client. When the mail is read, the pdf needs to be converted into an xml, representing the data. I would like to use the adobe document service to convert the pdf.
    So the system that generates the pdf (=CRM) and the system that needs to convert it (PI) is different.
    Can the adobe document service by addressed from within a standard java or abap class.
    Any idea whether this can be done and how?
    Easier solution would be, attaching the pdf and the xml in the mail message. Is this possible?
    Kind regards
    Joris

    Hi,
    Adobe Interactive form can be generated and sent it via email by using a normal Java class. But that Java class should run in a server which should contain Adobe DocumentService.This java class can be archived as a par file and deployed on Portal server or can be written as a Webservice and can be triggered by clicking on a URL.
    Hope this blog helps.
    /people/ramesh.kotagiri/blog/2009/01/19/dynamic-generation-of-offline-adobe-interactive-forms-for-sap-46c-and-ep-70-without-user-intervention-part-150-iii

  • Adobe Interactive Forms - Senden per mail

    Hallo,
    ich benutze auf meinem Formular die Senden-Schaltfläche da ich das Dokument als PDF senden möchte. Unter "Absenden an URL" habe ich eine feste Mailadresse mit "mailto:" angegeben. Hier möchte ich eine zweite frei wählbare Mailadresse noch mit angeben können.
    Ich habe es schon mit einer zweiten festen Mailadresse (mailto: adr1;adr2) ausprobiert. Das funktioniert.
    Gibt es eine Möglichkeit dieses Attribut (Absenden an URL) der Sendenschalftläche per Script zu setzen? Bisher habe ich auch noch keine brauchbare Lösung gefunden. Eine zweite Schaltfläche möchte ich nicht implementieren. Kann sein, daß in Zukunft auch noch weitere Mailempfänger hinzukommen.
    Vielen Dank im Voraus für eure Unterstützung!
    yukoono

    Hi,
    Adobe Interactive form can be generated and sent it via email by using a normal Java class. But that Java class should run in a server which should contain Adobe DocumentService.This java class can be archived as a par file and deployed on Portal server or can be written as a Webservice and can be triggered by clicking on a URL.
    Hope this blog helps.
    /people/ramesh.kotagiri/blog/2009/01/19/dynamic-generation-of-offline-adobe-interactive-forms-for-sap-46c-and-ep-70-without-user-intervention-part-150-iii

  • Release of locked offline adobe interactive form

    Hi all,
    I am working on an application called Performance Management (HR) where I download the form as PDF Adobe Interactive Form. Trying to upload the document fails.  However there is a transaction called
    Locked Offline Appraisal Docment that should unlock a form which has been downloaded.
    My question: how do I run this transaction (program)?
    Thank you very much for any assistance
    Sincerely
    Yuval Peery

    To release an offline ocument you have to use the program
    phap_admin -> menu -> go to -> Locked Offline Documents
    Hope this helps others!!!
    Cheers
    Yuval

  • Extract and Load Adobe Interactive Forms

    I need help in validating the following scenario
    1 - Customer creates a .pdf (Adobe Interactive Form) in SAP ERP2005 with an editable field
    2 - Customer mails the .pdf file from ERP2005 to a vendor or extracts the .pdf file to a central repository external to SAP
    3 - Vendor receives the file, populates editable field (off-line), and saves the file
    4 - Vendor sends the .pdf file back to the customer
    5 - Customer receives the .pdf file and imports the file into SAP ERP2005 processing the respective data on the .pdf
    My question is can you performs steps 2 and/or 5.  If so, how?  Does it require other tools like XI and Itemfield ConversionAgent to process the extract from SAP or load to SAP?

    Hello Kirk,
    SAP Interactive Forms by Adobe is a basic technology that supports some of your requirements out of the box. In general you are describing a workflow in your first post, thus I would propose checking workflow-related documentation (e.g. Guided Procedures, Business Task Management). You can find links as part of the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms">Interactive Forms Knowledge Center</a>.
    Regards,
    Philipp

  • ADOBE Interactive forms / Automatic handling by SAP via mail

    Hi All,
    Short question. Is it possible that for example, an email
    with a predifined body is send to a SAP SMTP port and that the content is read bij an service(for so far this is possible)and that this service creates an ADOBE interactive form autmatically  and returns it by mail.
    I have to know this, because it is a possible customer scenario.
    Any input is welcome!
    Thanks,
    Harrie Prinsen

    Hi,
    Adobe Interactive form can be generated and sent it via email by using a normal Java class. But that Java class should run in a server which should contain Adobe DocumentService.This java class can be archived as a par file and deployed on Portal server or can be written as a Webservice and can be triggered by clicking on a URL.
    Hope this blog helps.
    /people/ramesh.kotagiri/blog/2009/01/19/dynamic-generation-of-offline-adobe-interactive-forms-for-sap-46c-and-ep-70-without-user-intervention-part-150-iii

  • Getting Dynamic image in PDF ( form R/3 as URL )

    Hi gurus ,
    I am using a wd java application . In that i want to show employee pic in adobe form . I have RFC in place , that gives me URL (ex : http://retep.... ) containing employee pic Context is of type string
    Now i have craeted a image field in PDF .when i directly binding context data to image dield , Image is not being displayed. i am not sure about scripting and how to bind that context to image field , so that based on the url it dynamically displayes employee pic.
    Any suggestions are most welcome .
    Regards
    Abhay

    In RFC instead of giving the URL ,tell them to give the image as a bytestream.And convert that byte stream into gif or jpg image using the following code,,,,,
    byte[] pdfContent=wdContext.nodeOutput().currentOutputElement().getTestform();
         IWDCachedWebResource pdfResource = WDWebResource.getWebResource(pdfContent,WDWebResourceType.JPG_IMAGE/* or u can use GIF_IMAGE*/);
         try{
              wdContext.currentContextElement().set<this is a user created attribute of typw string>Pdfurl(pdfResource.getURL());
         }catch (Exception e) {
              wdComponentAPI.getMessageManager().reportException(e.getMessage(),true);
    And bind this pdf url to an iFrame or adobe interactive form it wil work..
    xxxxxxxxxxxxxxxxxxxxxx
    Warm regards
    Shanto Aloor
    Edited by: Armin Reichert on Apr 26, 2008 7:06 PM

  • Using Adobe Interactive Form - Attach The Static PDF.

    Dear Experts,
    Is it possible to attach the static pdf  along with dynamic pdf, which is been created at run time in using NW 7.0 adobe interactive form(Interactive Form UI Element)., If yes then kindly let me know how can be done ..
    Any help will greatly appreciated.
    Thanks
    AB

    Solved my self, converted PDF into image and used that pdf as a static image in Adobe Interactive Form.

  • Error message while clicking PDF Preview of a ADOBE interactive form

    Hi -
    I am creating an ADOBE interactive form having Tables, few text fields and E-mail submit button. The scripting language used is FormCalc.
    Whenever I am clicking on PDF Preview to see the form layout and to check other functionality, I am getting an error message:
    Error message -
    Error: syntax error near token '|' on line 1, column 14.
    Script failed (language is formcalc; context is xfa[0].form[0].data[0].Mainpage[0].Subform3[0].Table2[0].Row1[0].RATING[0])
    script=this.isnull || (this.rawvalue >= -32768 && this.rawvalue <= 32767
    I checked my scripts and there is no syntax error in that. My form is also working absolutely fine except getting this error message pop up whenever I try previewing my form.
    Can you please tell me, what can be the possible reason.

    I tried everything, but couldn't figure out the reason for error. I wrote the script again, but the error is still coming.
    Here is a part of my script. I have written this script on Email submit button in preSubmit event, to check if the RATING field value is less than or equal to 3. depending upon this condition, I am making the COMMENT field as mandatory. The same script is repeated for all the RATING & COMMENT fields.
    if (data.GyanMainBodyPage.Subform2.Table1.Row1.RATING1 <= 3)
    then
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatory = "error"
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatoryMessage = "Please fill corresponding comment"
    else
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatory = "disabled" 
    endif

  • How to store adobe Interactive form PDF in archive link?

    Hi everybody,
    I had create a WebDybpro Abap that contain an Adobe Interactive Form, now I must store this Interactive Form into Archive Link like a PDF document.
    I succeeded to save the PDF document on the archive link but after this operation, when I open this document saved, it doesn't show me the data but only the Interactive Form structure. The only data that file PDF saves are those I passed to Interactive Form during at the event initialization, but it lose all others datas that I inserted on the Interactive Form before to save.
    There is one mode to save also these datas or I can store only data that I load at the initialization event?
    I hope in your fast help.
    Regards.
    Davide.
    To follow the code that I use for Archive my Interactive form like PDF document.
    Salvataggio nell'ArchLink ********************************************
    Ricavo il PDF Source
      DATA: elem_context    TYPE REF TO if_wd_context_element,
            stru_context    TYPE        wd_this->element_context ,
            item_pdf_source LIKE        stru_context-pdf_source.
    get element via lead selection
      elem_context = wd_context->get_element(  ).
    get single attribute
      elem_context->get_attribute(
        EXPORTING
          name =  `PDF_SOURCE`
        IMPORTING
          value = item_pdf_source ).
      DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_zcentral_person( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      DATA: l_ref_interfacecontroller TYPE REF TO
                                      ziwci__wdr_ess_central_person.
      l_ref_interfacecontroller = wd_this->wd_cpifc_zcentral_person( ).
      l_ref_interfacecontroller->store_adobe_document(
        ar_object    =  'ZHRDETRAZ'        " Toaom-ar_Object
        doc_type    =  'PDF'                    " Toadv-doc_Type
        object_id    =   objid                    " Sapb-sapobjid
        pdf_source =   item_pdf_source    " Xstring
        sap_object =   'PREL'                  " Toaom-sap_Object  ).
    METHOD store_adobe_document.   ***********************************************
    Converto la XSTRING del PDF in tabella binaria
      DATA: l_tab  TYPE TABLE OF tbl1024,
            lenght TYPE i.
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer        = pdf_source
        IMPORTING
          output_length = lenght
        TABLES
          binary_tab    = l_tab.
    Calcolo la dimensione del documento
      DATA: doc_id TYPE saeardoid,
            size   TYPE i,
            lineno TYPE i,
            length TYPE i.
      DESCRIBE TABLE l_tab LINES lineno.
      size = lineno * 1024.
      DATA toaom_fkt  TYPE TABLE OF toaom.
      CALL FUNCTION 'ARCHIV_METAINFO_GET'
        EXPORTING
          ar_object  = ar_object
          sap_object = sap_object
        TABLES
          toaom_fkt  = toaom_fkt.
      CALL FUNCTION 'SCMS_AO_TABLE_CREATE'
        EXPORTING
          arc_id   = 'ZP'
          doc_type = doc_type
          length   = size
        IMPORTING
          doc_id   = doc_id
        TABLES
          data     = l_tab.
    Create link to business object
      CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
        EXPORTING
          archiv_id             = 'ZP'
          arc_doc_id            = doc_id
          ar_object             = ar_object
          mandant               = sy-mandt
          object_id             = object_id
          sap_object            = sap_object
          doc_type              = doc_type
        EXCEPTIONS
          error_connectiontable = 1
          OTHERS                = 2.
    ENDMETHOD.  ********************************************************************

    Hi Davide,
    I have a requirement where I just need to SAP HCM Archive Adobe form in External repository.
    Since you are using the archiveLink functionality.
    Can you please help me how you did?? What configurations need to be maintained for this?
    I am new to this. I did some Rnd on it and found that it can be achieved using HRFORM_HRF02 Business Add-In in the SET_ARCHIVE_INDEX method.
    But I have no clue how to do it?
    Can you please help me?

  • Smartforms to PDF and PDF to adobe interactive forms

    Dear all,
    Is there any way to convert Smartforms to PDF document and import it programatically to Adobe interactive forms(SFP) and make it interactive.
    Regards
    Aravind

    Hi:
    Smartform to PDF
    ATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    i_tline TYPE TABLE OF tline WITH HEADER LINE,
    Work Area declarations
    w_ctrlop TYPE ssfctrlop,
    w_compop TYPE ssfcompop,
    w_return TYPE ssfcrescl,
    Variables declarations
    v_form_name TYPE rs38l_fnam,
    v_len_in LIKE sood-objlen,
    v_len_out LIKE sood-objlen,
    v_len_outn TYPE i.
    Step 1:
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZZZ_TEST2'
    importing
    fm_name = v_form_name
    exceptions
    no_form = 1
    no_function_module = 2
    others = 3.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    Step 2:
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    IMPORTING
    job_output_info = w_return
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Step 3:
    i_otf] = w_return-otfdata[.
    Step 4:
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    IMPORTING
    bin_filesize = v_len_in
    TABLES
    otf = i_otf
    lines = i_tline
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    OTHERS = 4.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    For Smartform to Adobe is possible
    as [Adobe|http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm]
    Regards
    Shashi

Maybe you are looking for

  • OS 10.2.4 on G4 Mac Mini

    Hello, is it possible to install OS 10.2.4 on a 1.25Ghz, G4 Mac mini? Thanks

  • UPLOAD and DOWNLOAD

    Hi All, I am in Upgrade project. I have to replace the following Obsolete FM with Cl_GUI_FRONTEND_SERVICES. How to do that? Any code would be highly appriciated.    CALL FUNCTION 'UPLOAD'         EXPORTING              codepage                = 'IBM'

  • No hostcontainer with german umlaut in filename

    Acrobat javascript does not recognize its hostcontainer in pdf files wih a german umlaut (ö) in the filename. Are there any solutions for this issue?

  • CSS not rendering at all

    Hi everyone, When explicitly calling my page I can access and see my jsf page with full CSS rendered, Where as in portlet in webcenter spaces the CSS is not at all rendering. Please tell me how to render CSS in spaces ? With Regards, KSD

  • Include Graphics2D in JComponent

    Hi, I have created a class extends JComponent. how can i set the component graphics? Help needed. Thanks