Adobe form - Printing images dynamically

I have created a simple read-only (not interactive) Adobe form. At the end of the document, I need to print a signature depending upon the approver (which I can access from the data structure imported into the form.).
If I create an image field, how do I assign the image dynamically depending on the approver?
I have thought of an alternative solution of creating 3 separate forms each with a static image of the signature and calling a separate form in the program depending on the approver. But I was wondering if I can assign images dynamically so that I can have only one form.
Any help will be greatly appreciated.
Jitendra Mehta

Hello . The solution is easy, I have posted the solution into IFbA forum under NeWeaver many times. And I can recommend you to read this article where there is a complete solution for your problem:
http://www.docstoc.com/docs/2540673/How-To-Integrate-ADOBE-form-on-WebdynPro-for-ABAP-and-Deploy-it-
It was originally SAP SDN blog, but I am not able to locate it on sap site any more. Hope this solves your problem, regards Otto

Similar Messages

  • Adobe forms: Printing Images (logos)

    Experts,
    Logo from Adobe form (PDF) preview prints sharp and colorful, when printed from the PDF (print-preview) reader. But when issuing output from SAP directly, the image is all messeed up and pixellated. Despite using all possible image formats - TIFF, GIF, BMP and PNG of 300 dpi resolution the print output when issued from SAP message processing has the logo image unclear.
    Any ideas why?
    Does it have anything to do with the device type associated to printers in SPAD?
    NW
    Edited by: NW on Feb 4, 2009 10:22 AM
    Edited by: NW on Feb 4, 2009 1:15 PM

    Hello,
    i have had a similar problem with Smartforms.
    The solution then was that i saved  the image as 256-bitmap image (BMP).
    Maybe this works too for a adobe forms.
    Gr. Frank

  • Adobe Form print/email - Attach IXOS .tif images via string table param?

    I am attempting to create an Adobe Form print/e-mail output for Invoices, with zero, one or many attached pages from the IXOS archive.  (TIFF files.)  So far I have managed to attach exactly one IXOS image.  Now I need to make the number of attached images dynamic.
    This is in Netweaver 7.0 / ECC 6.0 ehp 3 / LiveCycle Designer 8.1.
    My ABAP driver program is a copy of SD_INVOICE_PRINT01.  In pseudocode, I've added:
    Logic to identify correct IXOS image.
    Logic to extract IXOS image to application server's file system.
    OPEN DATASET image.tif FOR INPUT IN BINARY MODE.
    READ DATASET image.tif INTO xstring.
    CALL FUNCTION 'SSFC_BASE64_ENCODE' EXPORTING xstring IMPORTING string.
    APPEND string TO string_table.
    CALL FUNCTION form_name EXPORTING attachments = string_table.
    The form interface is a copy of INVOICE_INTERFACE (ABAP dictionary-based.)  I've added import param. ATTACHMENTS type STRING_TABLE.
    In the form's context tab, interface import param. ATTACHMENTS was dragged & dropped onto the context pane, yielding:
    - Table ATTACHMENTS
    -- Structure DATA
    --- Field ITEM.
    In Adobe LiveCycle Designer 8.1, I *can* create an image field with binding ATTACHMENTS.DATA[1].ITEM - that prints the TIFF from IXOS just fine.
    What *does not* work is placing ATTACHMENTS on the form as a table of image fields.  I've tried several combinations - most look like this:
    - Table or Subform ATTACHMENTS, binding ATTACHMENTS, repeat for each data item max = 1.
    -- Row or Subform DATA, binding DATA[*], repeat for each data item min = 1.
    --- Image field ITEM, binding ITEM.
    The result is consistently one blank page.  No more, no less.
    Can anyone help?
    Edited by: Eric Hopp on May 12, 2010 12:09 AM

    Hello,
    I have no experience regarding the table of pictures, but you could try a workaround if you don´t insist of displaying the images. You could attach the pictures as attachments (you know, the little attachments icon on the left in your Reader). The ABAP coding for this can be found in SE38 FP_* and when you check the descriptions you should be able to find the one working with the attachments.
    Would be better than nothing I guess,
    Otto

  • Formatting Long Text gets disturbed during Adobe form Printing

    Hi Guru's,
    I have developed Adobe Form for PM work Orders (IW32) printing using Code u2018SFPu2019. The Order Contains order Long Text or Operation Long Text.
    In my case the user maintains some table like structure in the Long text .e.g. ( Here the tab means the actual space and the text length can vary. So basically he will draw a table cells one below another by adjusting tab's)
    Text 2 Tab Tab   |___|___|
    Te TabTab Tab |___|___|
    I am reading this using READ_TEXT and it gets perfectly read.( I mean the tab positions will be intact. Also it will remain intact by the time ADS will get called)
    When i submit this for generating Adobe Form the formatting of the tab positions gets disturbed and it prints something like
    Text 2 |___|___|
    Te |___|___|
    How to keep the Tab positions intact while printing the Adobe Form? For SAP script printing it comes perfectly but for Adobe form printing it gets disturbed. Any idea how to handle this situation?
    Thanks
    Pradeep

    Tough request!
    You have to calculate the widths of texts so that to determine to which tab position refers each tab character.
    You might print the sapscript to OTF format, and read the OTF to get the exact positions (based on top left border of the page).
    But now comes the second big issue: how to position a text in Adobe form at a dynamic position. That, I don't know. You might ask a question about this 2nd issue in forum

  • Seperate Adobe Form printing for each order

    Hi,
    I have a scenario where i need to print Adobe Form for each order.
    Right now i am handling this from print program(Executable) by looping at the Adobe form FM for each order.
    So it will print seperate Adobe form for each order with corresponding Header & Item Data.
    To get next order i need to hit on right & last arrows etc...
    So right now i am handling it through Print Program.
    Is there any way it can be handled directly at Adobe Form level.
    By passing all orders to Adobe FM at a time (Intsead of looping) and handling Adobe Form printing for each order at Adobe Form level itself!
    Thanks in advance.
    Thanks,
    Kumar.

    simple,
    create one new program  not driver program . Then u have to call that FORM
    1.Get all the data created during the dates.
    split the data into , based on the date ranges.
    2.
    loop at itab1.
    perform open_form
                write_form
                close_form
    endloop.
    loop at itab2.
    endloop.
    1) I need to print the form automatically when an Order is created.<b>---->COnfig</b>
    2) Every June 15th and Dec 15th I need to print the form for that Order
    automatically with some other data.
    <b>---> what ? what u split ?</b>
    *--Similarly I need to trigger the form in this way automatically for all Orders.
    <b>---> Config+ABAP</b>
    How can I trigger the Form automaticall for the above requirement
    Regards
    Prabhu

  • Adobe form bulider - Image field

    Hi,
    I have a requirement where i have to pass URL for image field through interface
    and it should dispaly image.
    Now the problem is if i assign the URL directly it works but if i do a binding there it doesen't work may be i am not doing it in right way.
    Any clue.
    Thanks,
    Atul

    Dear Engineer Naguib,
    Please refer to the following post:
    [Adobe Forms and Dynamic Images]
    this.value.image.href = xfa.record.Images.URL;
    Replace "xfa.record.Images.URL" by "xfa.record." + path to URL attribute in data hierarchy.
    Regards,
    Motaz

  • Adobe Forms: Printing Header Text - Background as Dark

    Hi,
    We are upgrading our ECC system to Enahncement Pack 5.
    We have Adobe forms for Sales Order, Delivery Notes,... In Border Palatte, we have set 'Solid' as a background fill for our header texts
    After applying patches, Adobe forms started printing header texts background very Dark.We are not able to read the texts. If I view the document in the spool then they are displayed correctly. If I save spool document on the desktop and print it then also output is printed as we want. Only when we print it directly through VA01, VA02 ( directly from SAP ) then it gives this error.
    I removed the background fill then it prints text correctly but then I loose the separation between header and content.
    I will appreciate any help in this regard
    Jitendra Pongurlekar
    Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on Mar 4, 2011 10:55 AM

    Hi mrudul,
    as usual in programming, you got different ways to solve the problem. So if you work through the content here on SCN you will find a lot of examples how to decide between different letter heads. The easiest solution (and might be the best) is to pass the necessary data via the interface and do not add any condition in the form itself.
    How to create a dynamic field and all the stuff is very basic knowledge, so I think you do not need any explaination how to do that. If so I refer you to the official documentation provided by SAP.
    If you have some minutes please work through this blog Before You Ask - Just another guide and phrases like "urgent" or "do reply" are just not necessary to get an answer
    ~Florian

  • Adobe Form - Print page at the end for every record of a Z table with Text

    Hello friends, I am facing a challenging here and I need to develop the following below. Mind you, I don't have much exposure/experience with Adobe Forms
    Scenario: Standard REAL ESTATE Contract Form
    I have a Z table containing RENTAL OBJECTS, in my case 3 records and I want, at the end of the form print one page like below to each record that i have in my Z table.
    "Dear Z-field1 one, regarding your contract for Z-field2, Address Z-field3, blah blah blah"
    In essence, print a page for each one of them at the end, with the text above using the fields from the z table.
    I searched the forum and couldn't find any thing like it.
    If someone can help it would be much appreciated.
    Thanks, Marco

    Hi Marco,
    You must be having the ztable fields in the context or in the data heirarchy of the adobe form.
    Assume that your main form is on the page1.
    Create a table bound to ztable with 3 rows in it and make it invisible on the form.
    Below the form create 3 pages page2, page3 and page4.
    Create a ISR text display and on the initialise event write the code such as:
    this.rawValue = data.page1.Table2.Row1.Cell1.rawValue;
    Create as many ISR texts as you want and initialize it using the above method.
    Page1
    form
    Page2
    Row1 values
    Page3
    Row2 Values
    Page4
    Row3 Values
    Hope this helps.

  • Adobe form print - ADS - without Java engine

    Hi Experts,
    Is it possible to use the ADS (Adobe Document Service) to print Adobe form WITHOUT active Java (J2EE) engine? If yes, how can I manage to work?
    What about using the Virtual Machine Container (VMC) for this purphose?
    Currently when I select the document template at runtime the following error message comes up:
    "Error in creating PDF from template: Invalid HTTP connection: ADS"
    At help.sap I have read that the ADS runs in Web AS Java. Is it really impossible to print Adobe form without active Java engine on our CRM 7.0 EhP1?
    Thanks in advance for any help!
    BR,
    Gabor

    Hi,
    Referring to the [help.sap|http://help.sap.com/saphelp_nw70/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm] link under section 'Running Adobe Document Services' the question is answered.
    So the  SAP NetWeaver AS Java is a must for ADS.
    G.

  • Adobe Form Print Problem - Header is cut off without print preview

    We are currently experiencing a problem when trying to print Adobe forms.  We have created several forms and are experiencing the same issue with all forms.  The issue occurs when we are trying to print a form.  If we choose a print preview prior to printing, the form looks normal and prints fine.  However, if we do a direct print (i.e. no print preview), then the top part of the form is cut off.  It's almost like all of that data on the form gets shifted upward, cutting off about 1/2" to an 1" from the top of the form.  We have tried printing to different printers and are ending up with the same results each time.  We do not experience this issue with SAPScript.
    I have searched several threads and haven't been able to find an issue quite like the one we are experiencing.
    Has anyone ever exeperienced a problem like this before? 
    Currently using Adobe LiveCycle Designer 8.1.2 and are on Netweaver 7.00 EhP1.
    Thank you for any help.

    I am going to go ahead and close this thread as I believe we have found a solution.  Sai is correct that there is an issue with the design.
    If anyone else runs into this problem, take a look at note 968394 that talks about differences between print preview and printing from spool.  When you are in the print preview dialog box, under "Page Scaling," the default is "Shrink to printable area."  So if your form went outside the margins, it would shrink to fit giving you the impression that the problem is not with the print preview rather than the form itself. 
    After moving the header stuff down a bit everything is printing normal both through the spool and via print preview.
    Thank you!

  • Adobe form print problem

    Hi all,
    I'm new to Adobe forms. I have created a new abode form and trying to execute the function module from SFP transaction itself.
    after executing its asking for printer. there are three printers configured in my system. No matter which printer i selected, its throwing following error
    Exception SYSTEM_ERROR
    Message ID: FPRUNX  Message number: 001
    Message: ADS: SOAP Runtime Exception: CSoapExceptionTransport :(100101)
    i dont know whether its adobe form problem or printer problem.
    if its printer problem please let me know how can we configure new printer in sap?
    Thanks

    Hi All,
    I changed the printers device settings...That error is not coming now. But when i execute the adobe form it is not showing any output., and goes into endless processing..Can anybody suggest me what can be done?
    Regards.
    Edited by: s m on Feb 9, 2009 1:27 PM

  • Adobe Form : Printing with Zero pages

    After Upgrade ECC6.0 to EPH5 Adobe form is not printing,bu print preview is working, while printing it is creating spool request with zero pages.
    Please help, Thank you in advance.

    Hello Rajitha,
    Check the print parameters once... 
    Try printing any standard form using standard program, and check whether it is behaving the same way.
    Thanks,
    Rakesh

  • Adobe Form - Print choice of bold or not bold font

    We have an Adobe form that prints sales order line items that are followed by their scheduling data (if any). So, each order line item could be followed with one or more scheduling line items or none. Example:
    (Order line)        10      9055450            7,000       EA          <other data>
    (Schedule lines                Expected Ship Date:         5,000     EA   05/30/2011     
        for the order line)         Expected Ship Date:         2,000     EA   07/16/2011     
    This is working fine using a subform but now we want to print the scheduling line items either as bold or not bold depending on some logic. So, we want this:
    (Order line)        10      9055450            7,000       EA          <other data>
    (Schedule lines                Expected Ship Date:         5,000     EA   05/30/2011     
        for the order line)         Expected Ship Date:       2,000     EA   07/16/2011     
    We have an indicator set for each scheduling line item that indicates if the schedule line is to be printed as bold or not bold (schedules-bold_line = u2018Xu2019).
    Is there any way to override the font settings in the Layout using Script Editor?
    Weu2019ve tried using Script Editor (at a upper level subform) to set the presence (hidden/visible) of two different subforms (one to print as bold and one not bold) but that printed both subforms.
    Weu2019ve tried using Alternative nodes (true/false) that check the bold line indicator. This works but it prints the wrong data because there are direct binding references to multiple levels of repeating data. That is, instead of printing the schedule lines for order line item 10, it prints the schedule line items for order line item 20.
    (Order line)        10      9055450            7,000       EA          <other data>
    (Schedule line                Expected Ship Date:         1,000     EA   06/01/2011     
        for the next order line)        
    How would I use relative binding in Alternative nodes?
    Is there a better method to accomplish this task?
    Any help is greatly appreciated.

    Radhika - Thank you so much for your answer! You helped me find the solution. I ended up using FormCalc and this is the code that worked in the Ready Layout event of the EXPECTEDSHIPDATE subform :
    data.BODY_PAGE.TABLE.ITEM_VALUES.ZLINE.TEXTSUBFORM.EXPECTEDSHIPDATE::ready:layout - (FormCalc, both)
    if ( $.BOLD_LINE_IND[*] == "X" ) then
    $.ShipQty[*].font.weight = "bold" 
    $.ShipQty[*].caption.font.weight = "bold" 
    $.DelvDate[*].font.weight = "bold"
    $.UOM[*].font.weight = "bold"
    $.PlantName[*].font.weight = "bold"
    $.PlantName[*].caption.font.weight = "bold"
    else
    $.ShipQty[*].font.weight = "normal" 
    $.ShipQty[*].caption.font.weight = "normal"
    $.DelvDate[*].font.weight = "normal"
    $.UOM[*].font.weight = "normal"
    $.PlantName[*].font.weight = "normal"
    $.PlantName[*].caption.font.weight = "normal"
    endif
    The EXPECTEDSHIPDATE subform is bound to the Schedules table that contains ShipQty, etc. The BOLD_LINE_IND field contains the value that  toggles the print between bold and normal.
    The key to making this work was to correctly format the condition and code and to find the right event to place the code in.
    Thanks again for your help!

  • Spool Adobe Form: Print partial document

    Hello,
    I want print only a part of a ADS spool. In non-ads spool you can print from one page to another page, but with adobe forms, this selection field doesn't apper. Our spool has many pages (~1000) and many documents (~500) in only one spool
    How can we print only a part of an ADS spool? (For example if you have a problem and only print form the document in the middle of de ADS to the last document).
    Regards,
    Jaime

    With the partslist active, you can select whichever pages you want to print in SP01.
    To display the part list first, you need to execute report RSPO0021 in transaction SE38 with the following settings:
    Name of the spool option: SHOW_PART_LIST
    Select the Activate Entry option.
    Printing Interactive Forms -
    SAP Printing Guide (BC-CCM-PRN) - SAP Library at: http://help.sap.com/saphelp_nw74/helpdata/en/4e/8e7f4d6f41336de10000000a42189b/frameset.htm

  • Reg: Adobe form printing

    Hi Experts,
    I have requirement in Adobe forms. In that i am using Text modules to display the data in multiple languages. But text module which i am using should be repeated based on input given.
    for example: if input is one then the text module should be displayed once.
                         if input is 2 then the same text module should be displayed twice
                         if input is 3 then the same text module should be displayed thrice.
    Can anybody please suggest me.
    Regards:
    TMR.
    Moderator message: wrong forum, please post again in Adobe Interactive Forms.
    locked by: Thomas Zloch on Sep 24, 2010 11:55 AM

    Hi,
    Declare a variable of character type and concatenate DTAP and Bar code value into that variable.
    Later print that in required bar code format.
    Try this.

Maybe you are looking for

  • Error during installation ECC6

    Hi, I have this error during the installation on Ecc6.0 on Windows server 2003 with Oracle 10.2: In phase "IMPORT ABAP". HELP ME PLEASE..... This is my log file: ERROR 2008-09-17 16:07:41 CJS-30022  Program 'Migration Monitor' exits with error code 1

  • When I tried to update my ipod touch, there was a problem and i don't get to restaure the softwere

    I was updating my ipod touch 64gb with the new operation softwere, there was a problem, and the itunes message showed that I had to restaure. When I try to restaure the follow message appear '' The apple site is not available" I tried to use the exis

  • My printer now prints out in the wrong colours or not at all, why?

    Hi I am using a photosmart 5515 driver version 3.5.2 on a mac IOS version 10.6.8. My problem is that up until recently I have been able to print without any problems and then all of a sudden the printer is printing documents in a very pale blue colou

  • How do I switch from syncing with iTunes to syncing using iCloud without getting duplicate Ono

      Hi I have been syncing my IPad  to my mac using iTunes. I would like to start using the cloud to sync my Contacts, calendar and a small amount of documents. I'm not so concerned with my pictures, video's or music. they not as time sensitive and can

  • As expected of MS Word

    Leave it to Microsoft to make something easy hard. I wish Apple took on making their own well suported bug free Word Processor. Anyway...... I got Word for new Macbook I'm polish so I tried to switch between Polish and English. In the process I wante