Dynamic image in table  in adobe PDF form

Hi experts
                I have been using a table in interactive form . In table
I have a image field in which I want to insert employee pic which is comming in table as a URL . I have craeted a image field and attached tha table field to it but its not displaying it .
Do any one have any other solution to get dynamic image ( which is comming from R-3 ) in table
Regards
Abhay

Hi,abhay
Use something like this:
String url = WDURLGenerator.getAbsoluteWebResourceURL
(wdComponentAPI.getDeployableObjectPart(),"sap_travel_request.jpg");
wdContext.currentDataSourceElement().setSapTravelRequestUrl(url);
where SapTravelRequestUrl is context attribute of type String,that is binded to your
ImageField element.
Regards,
Michael

Similar Messages

  • How to populate dynamic table in Adobe Livecycle form with cfpdfform?

    Hello all,
    after two days search on the above topic without results I hope someone here can help me.
    The problem:
    I have an Adobe PDF form created with Adobe Livecycle Designer that has a dynamic table inside it. The table Table1 consists of a Header Row with 4 cells of text and a data row Row1 with four cells each one having a Textfield Cell1, Cell2,Cell3 and Cell4.
    Table1 sits inside a subform mytable. The subform is made to flow and the Row1 has the Binding Repeat Row for Each Data Item checked.
    Everything is enclosed within the standard subform form1.
    Whe I use the following code, I supposed that the table should have two rows..because it is said it will be dynamic:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <cfpdfform action="populate" source="test.pdf" destination="testout.pdf" overwrite="yes" >
    <cfpdfsubform name="form1">
      <cfpdfsubform name="mytable">
        <cfpdfsubform name="Table1">
          <cfpdfsubform name="Row1">
            <cfpdfformparam name="Cell1" value="1">
            <cfpdfformparam name="Cell2" value="2">
            <cfpdfformparam name="Cell3" value="3">
            <cfpdfformparam name="Cell4" value="4">
          </cfpdfsubform>
          <cfpdfsubform name="Row2">
            <cfpdfformparam name="Cell1" value="5">
            <cfpdfformparam name="Cell2" value="6">
            <cfpdfformparam name="Cell3" value="7">
            <cfpdfformparam name="Cell4" value="8">
          </cfpdfsubform>
        </cfpdfsubform>
      </cfpdfsubform>
    </cfpdfsubform>
    </cfpdfform>
    <cfpdfform action="read" source="testout.pdf" result="testout" />
    <cfdump var="#testout#">
    </body>
    </html>
    What happes is:
    The testout.pdf displays just one row,with the values 1,2,3,4 the second row is only visible when I export the data as xml but not within the PDF.
    Please can someone enlighten me?
    Thanks and regards
    Gilbert

    When populating your pdf fields, you can loop through all the records in a query like so...
       <cfloop from="1" to="#query1.recordCount#" index="i">
                <cfpdfformparam name="txtField1_#i#" value="#query1.Field1[i]#">
                <cfpdfformparam name="txtField2_#i#" value="#query1.Field2[i]#">
      </cfloop>
    This will handle two rows or thirty rows just the same.  In this case my fields in the pdf have the row # as a suffix.

  • How to dynamically assign Display Pattern using FormCalc in Adobe PDF Form

    I am using Adobe PDF Form Designer. I am trying to dynamically assign a display pattern like MM/DD/YYYY to the Field tab - Display Pattern property. May I know how to do that?
    I am using FormCalc scripting.

    hi,
    After placing the date field in layout from data view, u will get tabs like field,layout,border etc..
    In field tab under the edit pattern specify the pattern in which you want to display the date field.
    hope this works.
    Reward points if helpful.

  • Need to fax a Adobe PDF form

    Hi all,
    We have a requirement where we need to fax a Adobe PDF form. Can you please help me what i need to do to fax a PDF form.
    Can anyone explain me the step by step procedure or codes to achieve this.
    Thanks in advance.

    Hi Otto,
    The post was really very helpful... here is my code please say me whether is it correct or not.....
    DATA: formoutput TYPE  fpformoutput ,       " PDF FORM settings.
             docparams  TYPE sfpdocparams ,         " Print and Spool Dialog settings
            ie_outputparams   TYPE sfpoutputparams ." Print and Spool Dialog settings
    DATA: it_recipe TYPE ztrecipe_form1.    " Internal Table Declaration
    DATA: i_name TYPE fpname,
          fm_name TYPE funcname.         " Captures the Generated Function Module name
    i_name = 'ZRECIPE_PRINT_FORM1_1'.    " Adobe Form name
    PARAMETERS: p_matnr TYPE zrecipe_form1-matnr OBLIGATORY.
    SELECT * FROM zrecipe_form1 INTO TABLE it_recipe.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'               " Will contain the name of generated Function Module Name...
      EXPORTING
        i_name = i_name
    IMPORTING
        e_funcname = fm_name.
    ie_outputparams-device = 'TELEFAX'.
    ie_outputparams-getpdf = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'                           " To Open the Form for Printing...
      CHANGING
        ie_outputparams       = ie_outputparams.
    *docparams-langu = 'E'.
    *docparams-country = 'US'.
    *docparams-fillable = 'X'.
    CALL FUNCTION fm_name                                " Generated Function Module(/1BCDWB/SM00000167)...
      EXPORTING
        /1bcdwb/docparams        = docparams
        it_recipe                = it_recipe
        p_matnr                  = p_matnr
    IMPORTING
       /1bcdwb/formoutput       = formoutput   .
    CALL FUNCTION 'FP_JOB_CLOSE'.                   " To Close The Form For Printing
    here whats my doubt was i havent written any code for FAX except the line *ieoutputparams-device = 'TELEFAX'.*_ or should i write any code for the FAX option or this is enough....
    how do i know whether the FAX option has worked or not
    Please help me in this........

  • How to add Table element in PDF form in Webdynpro

    Hello Everybody,
    I am developing one application in Webdynpro using PDF form in it. I wantable control in PDF form. I read somewhere that we can add table control in PDF form. But i didnt find how to add the same. So if anybody knows then please help me.
    Thanx in advance...
    Bhavik

    Hi All,
    Please follow these steps to create tables in adobe interactive forms.
    Lets us take this example. We want to display employee information. The following fields are the one that we are going to display:
    1. employeenumber
    2. First name
    3. last name.
    First insert a "interactive form UI element" in the view. Create a value node and bind it to the data source of the UI element.
    Create a subnode called "Employee".
    Create 3 value attributes to display the 3 values.
    Open the form designer. Insert a subform. change its type to "flow content"(default is position content) and in the next drop down, choose the value as type "table".
    insert one more subform into this subform. change its type to "flow content" and from the dropdown, choose the value as "table row" and in the tab "binding", click the checkbox "min" and have its value as 1.
    now drag the elements from the data hierarchy into the second subform.
    save the form in the designer.
    go to the view implementation and populate the nodes with the value. if this is within a loop, the content of the second subform is repeated giving the user a "table".
    I hope the steps are clear.
    Regards,
    Chander

  • ADOBE pdf Forms upload on EP

    Hi,
    Can somebody pls tell me the steps to upload ADOBE pdf Forms on Eportal...
    We have a requirement in which the user can download the pdf forms from EP & upload it again on EP doing some changes in pdf.
    Thanks in Advance,
    Nikesh Shah

    Hi Nikesh,
    As per your description you would like to use the PDF forms to update data in the CRM system. In that case you will be required to create a Webdynpro application which will work with some RFF/BAPI which will update data in the CRM tables.
    To use Adobe forms you need to have  Adobe LiveCycle Designer installed and configured with SAP EP Server.
    The option you currently use is not linked to any backend system and that file is being stored in the KM repository of the EP server.
    Please visit the following link for more details:
    http://help.sap.com/saphelp_erp2005/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
    There is an example also which you can visit at:
    http://help.sap.com/saphelp_erp2005/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
    ALSO on SDN:
    Sample Tutorials for Interactive Forms:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Hope this helps and clears your doubt.
    Regards
    Atul Shrivastava
    PS: Award points for helpful answer.
    Message was edited by:
            Atul Shrivastava

  • How do I create an app from my Adobe pdf forms to use on any mobile device as well as windows and ios?

    How do I create an app from my Adobe pdf forms to use on any mobile device as well as windows and ios? I have all the apps in Creative Cloud by the way.

    If you already purchased it with the same Apple ID, then you will not be re-charged.

  • Adobe PDF form / submit sutton does nothing in Safari 5.1.2

    Hi,
    We display embedded Acrobat PDF forms containing a submit button in Safari.
    If I press "submit" nothing happens, this worked some Safari versions before.
    My Adobe Reader is: Adobe Reader X, Version 10.1.1
    My Safari version is 5.1.2, I removed and reinstalled it, still does not work.
    Reading this: http://stackoverflow.com/questions/8302233/pdf-submit-a-form-button-safari
    "I contacted Adobe again, and their technical support was more helpful. 
    It is a known issue, and Adobe suggests using a different browser, or downgrade to Safari 5.0.1.
    Adobe will soon issue a patch for this to work with Safari 5.1.1.
    Well, I have 5.1.2 and this does not seam to be fixed yet.
    Downgrading my Safari version to 5.0.1 made the Adobe PDF forms work again with Safari, the submit button does  something.
    Does anybody have some information about this? Is there another way to solve this issue then to downgrade to version 5.0.1 ?
    Thanks for helping
    huba

    Hello,
    I'm experiencing the same issue and wondered if you have any news re this problem or have found some workaround ?
    I've performed tests on all verions of Safari  5.1.x including the latest 5.1.4 and unfortunately the bug still exists.
    Thanks in advance for your consideration and any help!
    David

  • Problems with Adobe PDF forms in Web Dynpro Java

    As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
    1.Text getting wrapped and repeated from the first line :
    Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
    For eg:
    If I have 4 lines in a text field that is at the end of the page
    1111111111111111111111
    2222222222222222222222
    3333333333333333333333
    4444444444444444444444
    and the page holds space for only two lines it prints the lines
    1111111111111111111111
    2222222222222222222222
    in the first page and then proceeds to the next page and prints
    1111111111111111111111
    2222222222222222222222
    rather than printing
    3333333333333333333333
    4444444444444444444444
    2.No way to hide a page at runtime:
    It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
    Any pointers on this????????
    Helpful answers will be suitably rewarded with points!!!!

    Yes,I am using the versions that you mentioned.
    I have a node called <b>MasterData</b> which is the root node for my PDF Form.I have a node called <b>GenData</b> inside this node whose <b>ctx_Appraisal_Type_Num</b> attribute is bound to a hidden TextField in my form.In the <b>docReady</b> event of this TextField, I am writing the following FormCalc script to hide my SubForm whose Id is <b>MngrCmptnc</b>
    if(MasterData.GenData.ctx_Appraisal_Type_Num == "2")
    then
    MasterData.MngrCmptnc.presence = "visible"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "visible"
    MasterData.StrImp.presence = "visible"
    else
    MasterData.MngrCmptnc.presence = "hidden"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "hidden"
    MasterData.StrImp.presence = "hidden"
    endif

  • Faxing adobe pdf forms using actions in CRM service process

    Hi experts,
    Does anybody has experience in sending adobe PDF forms as a fax using actions in CRM service processes? Currently I use this by implementing a PPF BAdI, but what else configuration, software and hardware requirements I need to make faxing work in CRM?
    Is it possible to use 3rd party software to send the fax for example winfax and transfer the fax number to this?
    Regards:
    Gabor

    Dear Dezso,
    As far as I remember, we already know each other
    Our company have been using winfax in the past for sending fax messages. Now that they will use SAP-CRM shall they buy a new fax server? I have looked after Topcall, it might be useful with RFC?
    In CRM service order, I use the EXEC_METHODCALL_PPF BAdI implementation to collect the data from the service order, and then use the standard function modules to "print" or "fax" the PDF document (call function FM_NAME).
    At this function module, which structure do I neet to enter the recipient's fax number (I read somewhere that I have to use DEVICE='TELEFAX' in the output_options - is it true?) ?
    Or should I communicate from the BAdI with Business Communication Services (create recipient and similar methods)?
    Is there any way to send the fax from the local machine where the user uses the SAP GUI?
    Thank you very much in advance for your help and support!
    Gabor

  • Adobe PDF forms

    Hi all,
    Please help me out...
    In Adobe PDF forms, how should we assign master pages to body pages.
    Kindly give me the steps... in the Adobe LifeCycle Designer.
    Thanks in advance.
    Jaffer Ali.S

    Hi all,
    Please help me out...
    In Adobe PDF forms, how should we assign master pages to body pages.
    Kindly give me the steps... in the Adobe LifeCycle Designer.
    Thanks in advance.
    Jaffer Ali.S

  • Adobe PDF Form print preview problem

    Hi All,
    I am new to Adobe PDF form.  I have created one small form using the t-code SFP.
    I am testing this form directly from the T-code SFP.
    When i use the print preview to see the fom output it is givine me below exception.
    "Device type unsuitable for ADS documents"
    I am using the printer LOCL.
    Can you please help me to rectify this problem.
    I am not able to undestand why i am getting this error as i am new to ADOBE form.
    Thanks in advance
    Sachin

    Hi
       check this [LINK|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/other-topics/how%20to%20check%20if%20the%20adobe%20document%20service%20is%20running%20correctly.pdf] to check if ADS is working or not.
    Thanks
    Viquar Iqbal

  • Re: Interactive Adobe PDF forms

    Hi,
    In interactive Adobe PDF forms only two events are give such as OnCheck and OnSubmit. Is it possible to use other events appart from check and submit.If so how to use it and where to code it.
    Is Interactive pdf forms are ment for these two purposes only.
        Thanks and regards .
            Karthik

    Hi
    The other events you may need would be mostly for field level validations. The adobe framework allows one to write javascripts. Every UI element on the Adobe will have its own set of events. For eg say u want to fill a dropdown frm a RFC when an other UI in the form is clicked and you choose not to use the oncheck or submit action, here is the way:
    Make the RFC a webservice, call the webservice using javascript in the onclick action of UI element 1. Similarly you can use other events to fill, validate and manipulate data. Finally once all that is done submit the data to SAP. Hope it helps. Thank you.
    regards
    LNV

  • Adobe PDF Form: Include text in table

    Hi,
    Im kinda new to Adobe Forms, and this may seem like a very basic question.
    I have copied a standard SAP VAT invoice adobe form and Im making changes to it.
    I have added an "include text" (which has multiple lines) to an already existing table with multiple columns.
    The problem is that while the include text prints correctly when it expands, the entire table does not expand along with it.
    So when the include text goes into many lines, it exceeds the table boundary and overwrites other areas of the form.
    The table layout is like this .
    Column1                Column2 Column3 Column4 Column5 Column6 
    Inc text                    50$        1.00       PAID       DELIV
    Many Lines       -
    Line3
    Line4
    Line5
    Is there any grouping or somehting that i have to do?
    Thanks,
    John

    Basically, you need to create a pdf form.
    Add a text field to your form.
    There you can choose which font your want the text to appear in.
    The trick is, when you export from InDesign, in the "Advanced Tab" — set "Subset fonts when percentage…" to 0%, so the whole font embeds.'
    I believe there's an option in Acrobat to embed the font as well, but I'm not recalling what it it.
    But that will ensure the font appears correctly.
    d

  • Urgent Adobe PDF form as Attachment

    Hi experts,
    My need is when the user clicks on the Confirm button in Adobe form in Webdynpro ABAP, the Adobe form have to be saved as a PDF document within SAP and assigned to Material master Additional data. IS it possible to save the Interactive Adobe form as PDF within SAP?
    With Kind Regards,
    -RK

    Hi,
    First step is to create the DIR while using FM BAPI_DOCUMENT_CREATE2 ( don't forget to set a commit after calling it ).
    Second step, call your PDF forms while setting GET_PDF to true in the output_params structure.
    Here is a sample code for this second step
    * retrieve Function module link to the parameter form_name
      outputparams-nodialog = 'X'.
      outputparams-getpdf = 'X'.
      TRY.
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
      i_name = form_name
      IMPORTING
      e_funcname = fm_name.
      * Open a spool before generate the forms
      CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
      ie_outputparams = outputparams
      EXCEPTIONS
      cancel = 1
      usage_error = 2
      system_error = 3
      internal_error = 4.
      CHECK sy-subrc EQ 0.
      docparams-langu = language.
      docparams-country = country.
      docparams-fillable = fillable.
      docparams-dynamic = dynamic.
    * Call the form
    CALL FUNCTION fm_name
      EXPORTING
      /1bcdwb/docparams = docparams
      IMPORTING
      /1bcdwb/formoutput = formoutput
      EXCEPTIONS
      usage_error = 1
      system_error = 2
      internal_error = 3.  
      * Close the spool
      CALL FUNCTION 'FP_JOB_CLOSE'
      EXCEPTIONS
      usage_error = 1
      system_error = 2
      internal_error = 3
      OTHERS = 4.
      CHECK NOT formoutput-pdf IS INITIAL.
      * Convert PDF into Binary Table
      binary_file =
      cl_document_bcs=>xstring_to_solix( ip_xstring = formoutput-pdf ).
      * Download the file
    * if you are online use this code
    cl_gui_frontend_services=>gui_download(
      EXPORTING
        filename                  = 'C:Tempsample.pdf'
      changing
        data_tab                  = binary_file
      EXCEPTIONS
        file_write_error          = 1
        no_batch                  = 2
        gui_refuse_filetransfer   = 3
        invalid_type              = 4
        no_authority              = 5
        unknown_error             = 6
        header_not_allowed        = 7
        separator_not_allowed     = 8
        filesize_not_allowed      = 9
        header_too_long           = 10
        dp_error_create           = 11
        dp_error_send             = 12
        dp_error_write            = 13
        unknown_dp_error          = 14
        access_denied             = 15
        dp_out_of_memory          = 16
        disk_full                 = 17
        dp_timeout                = 18
        file_not_found            = 19
        dataprovider_exception    = 20
        control_flush_error       = 21
        not_supported_by_gui      = 22
        error_no_gui              = 23
        others                    = 24 ).
    * If you are in background use this
       OPEN DATASET p_file FOR OUTPUT IN BINARY MODE.
        IF sy-subrc EQ 0.
          LOOP AT binary_file INTO w_binary.
            TRANSFER w_binary TO p_file.
          ENDLOOP.
          CLOSE DATASET binary_file.
        ELSE.
          RAISE file_open_error.
        ENDIF.
      CATCH cx_fp_api_repository
      cx_fp_api_usage
      cx_fp_api_internal
      cx_static_check
      INTO w_exception.
      RAISE EXCEPTION w_exception.
      ENDTRY.
      ENDMETHOD.
    Third step , add the file into the DIR
       lst_api_ctrl-no_update_task = 'X'.
        lst_api_ctrl-save_flag = 'X'.
        lst_api_ctrl-api_mode = 'X'.
        lst_api_ctrl-check_level = '0'.
        lst_api_ctrl-not_dequeue_all = 'X'.
        lt_files-langu = language.
        lt_files-active_version = 'X'.
        lt_files-checked_in = 'X'.
        lt_files-dappl = p_appl.
        lt_files-storage_cat = p_storcat.
        lt_files-filename = p_file.
        IF p_doc CO '0123456789 '.
          PACK p_doc TO lt_files-description.
          CONDENSE lt_files-description.
        ELSE.
          lt_files-description = p_doc.
        ENDIF.
        CONCATENATE text-d01 lt_files-description INTO lt_files-description SEPARATED BY space.
        APPEND lt_files.
        CALL FUNCTION 'CVAPI_DOC_CHECKIN' IN BACKGROUND TASK
          EXPORTING
            pf_dokar       = p_doctyp
            pf_doknr       = p_doc
            pf_dokvr       = p_docver
            pf_doktl       = p_docpar
            pf_ftp_dest    = 'SAPFTPA'
            pf_replace     = 'X'
            ps_api_control = lst_api_ctrl
            pf_file        = p_filewithpath
    *      IMPORTING
    *        psx_message    = lst_message
          TABLES
            pt_files_x     = lt_files.
    *   Contrôle des anomalies
    *    IF lst_message-msg_type CA 'EAX'.
    *      RAISE doc_checkin_failure.
    *    ENDIF.
    Hope this help you .

Maybe you are looking for

  • How to display image in selection-screen of a report

    Dear all , i want to show my image from url or from desktop to the report selection-screen . i have searched sdn and found some code . after applying it i am not able to display image in the selection-screen although it is displaying the box in which

  • Duplicate podcast subscriptions

    After moving my iTunes library from computer to computer over the past several years, I've ended with with some podcast subscriptions that show up twice in my podcasts library. Each subscription contains different episodes, so the actual podcasts are

  • NOkia 101 rm 769 brought to canada not working wit...

    Hi, When I was in Asia, i got a Nokia 101 RM 769. I took it with me to Canada to replace my stolen Nokia, but it is not working with my provider's SIM card (CHATR). How come?? What should I do? There is not information on the website, no way to talk

  • How to Put iPad in Landscape Mode

    I am an expert computer user, having written many software titles for OSx as well as PC and Linux and Unix. But I am finding the iPad exceedingly difficult to learn. I can muddle through the basic things, but there is one thing I have not figured out

  • Networking preferences pop-down box

    When opening networking preferences I get a pop-down box saying that your networking preferences have been changed by another application. I click the OK box ( there is no other choice, although I have no idea whether this is ok or not) The pop down