Dynamic Text to be displayed as Image in Adobe Forms

Hi ,
I have a requirment to display dynamic text in the image format in the Adobe Form.
I have tried using the Image field instead of text field.But could not solve the problem.
kindly help me.
Thanks.

Hello,
if you send a text into a text field to the print form, it looks like a paper print, you cannot tell where there is a picture and where is the text. So you don´t care about the image/ text problem. If you need to make difference between two for the user, you can put the text (your image) into a rectangle, use a background or anything like this.
Why would the image make any difference?
Otto

Similar Messages

  • Dynamic text won't display

    I don't know if this is a bug. I have a movie that contains a
    dynamic text. When I run it, the text displays fine. But when the
    said movie is run through another movie clip (using loadMovie), the
    dynamic text won't display. Any ideas why? Thank you.

    dongzky wrote:
    > Actually, there was no code involved. The dynamic text,
    with borders around it,
    > I tried to put a value for testing. It works fine when
    run. But when called
    > by another movie clip, although the movie with the
    dynamic text still loads,
    > the text won't display anymore. Even the borders were
    gone.
    Than again, it's a bug on your end :)
    Dynamic text is a text container, it's to be use with
    dynamically given data, from
    source file or variable string on timeline. It's not meant to
    be for regular text
    display. You need to use Static text. The fact that you can
    see it it's just flash
    being tolerant but it only lasts for as long as the movie is
    getting more complex.
    You can get away with somethings even tho you should not be
    using them, does not
    mean they will work all the way. Dynamic text, as said above
    is for text that comes
    to flash from outside source and this is when it works best.
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How to Display an Image on my FORM

    Good Day!
    I would like to ask some help from you guys with my problem on how to display an image on my form. I would like to display my uploaded image on my form but instead of an image, the get_blob_file is showing. By the way, I'm using Apex 4.1
    I downloaded the Order Entry Sample Application and followed the Page 6, the Product Details. I even made snapshots of each details from Page Rendering to Page Processing in order not to miss a thing.
    At the moment, I was able to upload or store the image on my created Oracle table and also able to retrieve it on the Download Link Text with Content Disposition value of Inline, provided by APEX Settings. If I invoke the Download link beside the file browser, a page with the image will be shown, below is the address:
    http://127.0.0.1:8080/apex/apex_util.get_blob_file?a=200&s=339877802936975&p=230&d=7107921433296839&i=7107601420296838&p_pk1=54&p_pk2=&p_ck=7D6512D967336C4B94258EEA3CDF1BE6&p_content_disposition=inline
    However, instead of showing the image on a region, below is the one showing on my Form:
    <img src="apex_util.get_blob_file?a=200&s=339877802936975&p=230&d=7107921433296839&i=7107601420296838&p_pk1=54&p_pk2=&p_ck=7D6512D967336C4B94258EEA3CDF1BE6" />
    As you can see the parameter values are the same but I know I missed something that's why I'm here :)
    I would highly appreciate all the help you can provide and many thanks in advance.
    I tried to change gear by making an html region of type PL/SQL (anonymous block) and a procedure but still no image :(
    Below are the scripts.
    declare
    cursor cur is
    select *
    from wsemployee
    where empid = :P230_EMPID;
    begin
    for rec in cur
    loop
    IF rec.mime_type is not null or rec.mime_type != '' THEN
    htp.p( '<img src="my_image_display?p_image_id='||NVL(rec.empid,0)||'" height="'||100||'"/>' );
    else
    htp.p( 'No Image ');
    END IF;
    htp.p( ' ');
    end loop;
    end;
    PROCEDURE
    create or replace PROCEDURE my_image_display( p_image_id IN NUMBER)
    AS
    l_mime VARCHAR2 (255);
    l_length NUMBER;
    l_file_name VARCHAR2 (2000);
    lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, PHOTO_BLOB_CONTENT, PHOTO_FILENAME,DBMS_LOB.GETLENGTH(photo_blob_content)
    INTO l_mime,lob_loc,l_file_name,l_length
    FROM wsemployee
    WHERE empid = p_image_id;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( nvl(l_mime,'application/octet'), FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || l_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(l_file_name,instr(l_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    END my_image_display;
    Edited by: user13831927 on Dec 22, 2012 3:24 PM

    Hi Ying,
    you can add a UDF to the table spp2 with a programm
    but the table is not yet listed in the 'Manage User Fields' form.
    there's no way to "enable" it - sorry

  • Displaying an image in a form

    hi,
    i am trying to display an image in a form. The code worked fine in j2me emulator, but when i converted the program to a jar and ran the same program in my mobile phone.
    i get an exception in Image.createImage(.. method
    and exception value is just null.
    i know the image is not found in the specified location. but the image is there in the jar file.
    how do i solve this issue?
    thanks in advance.

    Its definitly the heap size image, it can be case that image size is very large, u just try by optimizing the image and decreasing the size of image,
    or
    the image size(widht*height) is larger than actual phone screen
    try with small image(small width*height) you will come to know the problem
    @rjun

  • Images in Adobe Form

    Hello All,
    I want to display images in Adobe form. I've done the following. The images are not static but dynamic - for each time the form loads the images are different.
    1. Created the image field (Va_Image)
    2. The URL for the image comes from a Context node which is mapped to the PDF DataSource.
    3. i mapped the context node to a invisible TextField (Image_URL)
    4. I wrote the following script (to set the href of image dynamically) in the initialize event of the Page1 on which the text field and image are present
    xfa.form.Vn_MasterRecord.Page1.Va_Image.value.image.href   = xfa.form.Vn_MasterRecord.Page1.Image_URL.rawValue
    5. On preview of the PDF in Adobe Live Cycle Designer, i get the image correctly.
    However, when i execute the Webdynpro application (java), the image doesn't appear on my final screen.
    Any pointers? am i missing something?
    Points assured for good answers.
    Thanks in advance,
    Regards,
    ak

    Hi Arun -
    For dynamic image,
    You cannot directly display a logo which is uploaded in se78 on an adobe form. The image format needs a conversion.
    - You can write this code in your interface section.
    - Create a global variable g_logo of type xstring."converted logo and v_name of type STXBITMAPS-TDNAME. "logo name in se78.
    - Pass these parameters of the image in se78 to this method.
    CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
    EXPORTING
    p_object = v_object " 'GRAPHICS'
    p_name = v_name " Name of the logo as in se78
    p_id = v_id " 'BMAP'
    p_btype = v_btype " 'BCOL' (whether the image is in color or black and white)
    RECEIVING
    p_bmp = v_field
    EXCEPTIONS
    not_found = 1
    internal_error = 2
    OTHERS = 3.
    g_logo = v_field.
    - The variable g_logo will have the converted image.
    - Drag g_logo into the context from the interface.
    - Finally, in the context of the adobe form, make a graphics node and choose Graphic Type as Graphic Content.
    - The Field should have the global variable g_logo and the mime type is 'BMP' (with quotes).
    - Create an image field (not just image. That would be static) and in binding, bind it to g_logo and check the check box u2018Embed image datau2019.
    I think, this should work.

  • Show inside dynamic text the title for multiple images on mouseover

    I have 25 animated movieclips dragged on the stage and they have similar instance names for easier manipulation purposes inside programming using loops. The instance names look like this: image0, image1, image2 and so on.
    Each time I go mouseover on one of these unique images I want to show the unique title of that image using for all titles just one dynamic text container named imageTitle.
    I have succeeded to make this work image by image but this would require me to copy paste and modify for each image the following code.
    image0.onRollOver = function() {
        imageTitle.text = "First image title";
        imageTitle.textColor = 0x000000; // setting the text color here
    image0.onRollOut = function() { 
        imageTitle.text = "Choose an image";
        imageTitle.textColor = 0x000000;
    Question: The above code would work but seems redundant to me. Since I have similar instance names (image0, image1, ....,image24), how can I put this code inside a loop or something in order to work for all images without repeating this code 25 times.
    Update: I have added an array to the project that contains all the titles:
    var imagesTitles = new Array("First image title", "Second image title", .... ); 

    imageTitle.textColor=0x000000;
    for(var i:Number=0;i<imagesTitles.length;i++){
    this["image"+i].ivar = i;  // key step
    this["image"+i].onRollOver=function(){
    imageTitle.text = imagesTitles[this.ivar];  // key step used here
    this["image"+i].onRollOut=function(){
    imageTitle.text="Choose an image";

  • Dynamic image in Adobe Form

    Hello experts,
    I have created a form with the transaction sfp and want to bind in an image. This image has to be dynamic, so that it can be changed, if necessary.
    Is it possible to have an image in a structure and this structure in the interface of the adobe form in sfp?
    The structure will be part of a web dynpro for abap context. So I will create the dynamic in the web dynpro component.
    Can someone help?
    Thanks a lot!
    Best Regards
    Ingmar
    Message was edited by:
            Ingmar Kroll

    Hi,
    The moment i make my context element of type BINARY ,
    the form does not display.
    It says "Failed to process request"
    Any suggestions?

  • Problems in displaying an Image in PDF Form

    hi,
    I have to display a photo in the PDF form dynamically, hence i have a used an element of type <b>Image Field</b>, where the URL has to be passed to fetch the photo from the location. though all the bindings has been done, the photo is not displayed. please help me find the solution.
    Thanks and Regards
    Poojith M V

    Hi Poojith ,
    follow these steps;
    -Choose imagefield element on to adobe form
    -Right click select choose image ,Browse for the image from the local drive.
    -Select Ember image Data
    -Select Add to library ,save it
    Now drag the added image from library on to adobe form and use.
    Cheers
    Swathi
    Do offer pts;-)

  • Displaying TIFF images in Oracle Forms 6i

    Hello, friends!
    I am working in Oracle Forms 6.0.8 (that ancient tool) and encounter a problem with displaying TIFF images.
    I have a number of scanned images and some of them are displayed and some are not. I've tried both extracting them from the database or from the file system (using READ_IMAGE_FILE). Sometimes I am getting just blank field in my image item and sometimes (after using READ_IMAGE_FILE) I get the error FRM-47100 (cannot read image file). Of course I've checked that all the files are displayed using standard tools for displaying TIFFs.
    Basically the question is what kind of TIFF is considered valid and readable by Oracle Forms.
    Analyzing TIFF tags actually gave me nothing: I have a pair of files with tags different only in image width/length and a number of rows/strip (but even those values are close), and one of the file is displayed correctly while the other is not. The thing I noticed is that invalid files are using compression type of CCITT Group 4.
    Possibly Oracle Forms follows TIFF specification only to certain extent and does not support all the extensions, while sometimes the problems are not visible to user.
    As a result of my work I need some automatic tool that converts undisplayable TIFF files to displayable ones but firstly I am to determine where the problem is. And it would be very good to have a prooflink that approves my decision.
    Looking forward to any help! Thanks in advance.

    Thanks to everybody, but I'm afraid my files don't contain any EXIF tags (although TIFF seems to support them). The file doesn't contain any tags with IDs greater than 0x7FFF but only core TIFF tags (with IDs of lower numbers). Moreover I have a file with exactly the same set of tags (but the values are a bit different) which is displayed properly.
    I've shared the issued file (nondisplayable) on the following link: [https://rapidshare.com/files/3137807470/2.tif]
    If anyone could tell me why isn't it displayed in Forms I would be very grateful.

  • Problems displaying an image on Adobe Reader 8.1.2

    Hi guys,
    We are trying to display a JPG image in an InteractiveForm. So, we set an Image (StaticImage) to be loaded using the following Formcalc script on Page Initialize event:
    StaticImage1.value.image.href = $record.ImageURL
    On our last project, we could display a JPG image with Adobe Reader 6 (with some alert messages), 7 and 8 (7 and 8 fully functional). But in this one, the same solution doesn't work. The unique difference between both solutions is the URL format. Last project displays an image based on a normal URL ("http://app.client.com/photo/1234.jpg"), and in the current project we create a PNG or JPG image based on a JFreeChart, generating an URL to access it ("http://server1:54321/webdynpro/resources/vendor.com/..(long)../graph43211234.jpg").
    When we load it using a computer with Adobe Reader 7.0.x installed, the bellow message is displayed requesting an action:
    "Acrobat is attempting to connect to the site:
    http://server1:54321/webdynpro/resources/vendor.com/..(long)../graph43211234.jpg
    If you trust the site click "Allow", otherwise click "Block".
    Possible actions: Block, Allow and a check "Remember my action for the site: server1"
    Allowing the connection, the images are displayed. But, in a machine with Adobe Reader 8.1.2 installed, sometimes it asks for permission to access the URL, sometimes not. And, in both cases, in this version it doesn't display the images...
    Can anyone shed any light on this? Also, is there a way to block this annoying message?
    Regards,
    Douglas Frankenberger
    P.S.:
    1 - The Image is not marked as Embedded. This option don't seems to make any difference, as on our last project the StaticImage was not flaged as Embed, but the JPG file was embeded in the PDF anyway...
    2 - Interactive Form display type: native. Mode: updateDataInPDF
    3 - In current project, when we set the same image the we had set on the old project, it loads successfully. Also, the generated JFreeChart image is fully accessible when displayed directly in IE using its URL.
    4 - Versions:
      - Client: Windows XP Professional
      - NWDS 7.0.10
      - Adobe Livecycle 7.0.50519.0
      - Adobe Reader: 7.0.8, 7.0.9 and 8.1.2

    Hi Amita.
    We already tried it (checked / unchecked), but it seems to make no difference. There is a strange behavion on this:
    - When I set it checked, on a computer disconnected from the web and running Adobe Reader 7.0.9, it asks for permission to access a resource (as I said before). In this case, even disconnected, it shows up my image independent of allowing/blocking the access to the external resource. In other words, it is embedded (I think...), but continues asking for access anyway.
    - The same scenery above, but using Adobe Reader 8.1.2 instead of 7.0.9.... sometimes it asks for permission, sometimes not. But in both cases, it doesn't display the images...
    Regards,
    Douglas Frankenberger

  • Oracle BLOB  Display an image in Web Form

    I have an Oracle database that stores image data. The data type of this image column is BLOB. I created a Window application using Visual C#, Oracle Provider for OLE DB to display the images on the Window forms. The mechanism to retrieve the data from Oracle database from client is to call an Oracle stored procedure that returns BLOB type. Now I want to convert it into Web application. I have difficulty to find
    (1) Appropriate web control
    (2) A way to bind OracleLOB object to this web control so the image can be displayed.
    I am aware of the fact that in ASP .NET you can use ImageUrl property of an Image object to link a file stored in a particular URL.
    Your help is very much appreciated.

    Hi ,
    Please can you give me some examples or where can i find the solution.
    Can you guys send some FMB examples on [email protected]
    Please reply as sson as possible because we got stuck up here.
    Regards,

  • Display Blob image in oracle forms

    i have an application in which i have to store all the employee's photos.
    i created the Photo column in database with datatype Blob.
    I created the form to store image that successfully stores image in database.
    bUt now what should i Do to display that image on Image Item when i execute_query.
    I m using Oracle forms 6i version & oracle 10 g database

    my image item contains all default properties set that are done when i create a database block PHOTO.
    i didnt set any property.
    Edited by: rupearlkaushal on Jun 8, 2012 6:33 AM

  • Displaying an image on a form in PalmOS

    We have created an application in java and have implemented using WTK and PalmOS..
    How do we importan image on a form?
    We have stored the image as "/img.PNG" in the "res" folder..
    the image is being displayed in WTK but not in PalmOS.. its giving an IO exception..
    are there any settings in PalmOS that need to be changed for displaying the image?
    please help..
    thanx..

    Try this (for MIDP 2.0)
    Form f = new Form("Image");     
            try {
                 img = Image.createImage("/hello.png");            
            catch (java.io.IOException x) { }
         imgItem = new ImageItem("", img, ImageItem.LAYOUT_NEWLINE_AFTER | ImageItem.LAYOUT_CENTER, null);        
            f.append(imgItem);        Also check for the file extension means upper and lower case .PNG and .png are different

  • Unable to display employee image in pdf forms from webdynpro?

    hi friends,
    i am using webdynpro application and ADOBE forms. i designed adobe form with 3 fields. IM_VORNA, IM_NACHN, IM_PHOTO.
    I created one interface of adobe form also with the 3 fields of which specified above.
    And i am using webdynpro application to get the details of emplyee by passing pernr.
    i created a view. in this, and i attached every thing interface context. And in methos tab, wddoinit method i wrote code like this...
    DATA pernrid TYPE PERNR-PERNR.  "tdobname.
      DATA temp TYPE c.
      DATA: p_connect_info TYPE TOAV0,
            wa_p_connect_info TYPE TOAV0,
            p_document_type TYPE TOAV0-RESERVE,
            exists TYPE c.
      DATA: url TYPE char255,
            turl TYPE string,
            turl1 TYPE xstring.
      DATA lo_nd_z_if_test_cv TYPE REF TO if_wd_context_node.
      DATA lo_el_z_if_test_cv TYPE REF TO if_wd_context_element.
      DATA ls_z_if_test_cv TYPE wd_this->element_z_if_test_cv.
    * navigate from <CONTEXT> to <Z_IF_TEST_CV> via lead selection
      lo_nd_z_if_test_cv = wd_context->get_child_node( name = wd_this->wdctx_z_if_test_cv ).
    * get element via lead selection
      lo_el_z_if_test_cv = lo_nd_z_if_test_cv->get_element(  ).
    * get all declared attributes
      lo_el_z_if_test_cv->get_static_attributes(
        IMPORTING
          static_attributes = ls_z_if_test_cv ).
    * *** Vorna and Nachn.
    ls_z_if_test_cv-im_vorna = 'shankar'.
    ls_z_if_test_cv-im_nachn = 'chamala'.
    ***pernr
      pernrid = '00000003'.
    CALL FUNCTION 'HR_IMAGE_EXISTS'
      EXPORTING
        P_PERNR                     = PERNRID
    *   P_TCLAS                     = 'A'
    *   P_BEGDA                     = '18000101'
    *   P_ENDDA                     = '99991231'
    IMPORTING
       P_EXISTS                    = exists
       P_CONNECT_INFO              = P_CONNECT_INFO
    EXCEPTIONS
       ERROR_CONNECTIONTABLE       = 1
       OTHERS                      = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    P_DOCUMENT_TYPE = P_CONNECT_INFO-RESERVE.
    CALL FUNCTION 'SCMS_DOC_URL_READ'
      EXPORTING
    *   MANDT                      = SY-MANDT
        STOR_CAT                   = SPACE
        CREP_ID                    = P_CONNECT_INFO-ARCHIV_ID
        DOC_ID                     = P_CONNECT_INFO-ARC_DOC_ID
    *   PHIO_ID                    =
       COMP_ID                    = 'DATA'
    *   SIGNATURE                  = 'X'
    *   SECURITY                   = ' '
    *   USE_LOCATION               = 'A'
    *   LOCATION                   = ' '
    *   HTTP_URL_ONLY              = ' '
       DP_URL_ONLY                = 'X'
    *   LIFETIME                   = ' '
    *   NO_CACHE                   = ' '
    *   EXPIRATION                 =
    *   PDF_MODE                   = ' '
    *   URL_EXTENTION              = ' '
    *   FORCE_GET                  = ' '
    IMPORTING
       URL                        = URL
    EXCEPTIONS
       ERROR_CONFIG               = 1
       ERROR_PARAMETER            = 2
       ERROR_SIGNATURE            = 3
       HTTP_NOT_SUPPORTED         = 4
       DOCGET_NOT_SUPPORTED       = 5
       NOT_ACCESSABLE             = 6
       DATA_PROVIDER_ERROR        = 7
       TREE_NOT_SUPPORTED         = 8
       NOT_SUPPORTED              = 9
       OTHERS                     = 10
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    turl = url.
    CALL FUNCTION 'HR_KR_STRING_TO_XSTRING'
      EXPORTING
    *   CODEPAGE_TO            = '8500'
        UNICODE_STRING         = turl
    *   OUT_LEN                =
    IMPORTING
       XSTRING_STREAM         = turl1
    EXCEPTIONS
       INVALID_CODEPAGE       = 1
       INVALID_STRING         = 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.
    ls_z_if_test_cv-im_photo = turl1.
    *** Get the Photographs 
    *CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
    *  EXPORTING
    *    p_object       = 'GRAPHICS'
    *    p_name         = pernrid
    *    p_id           = 'BMAP'
    *    p_btype        = 'BCOL'
    *  receiving
    *    p_bmp          = ls_z_if_test_cv-im_photo
    *  EXCEPTIONS
    *    not_found      = 1
    *    internal_error = 2
    *    others         = 3
    *IF sy-subrc EQ 0.
    **  MOVE 'y' TO temp.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    *** Send the values back to the node
      lo_el_z_if_test_cv->set_static_attributes(
        EXPORTING
          static_attributes = ls_z_if_test_cv ).
    But here the problem is when i executed this application i am able to see the VORNA and NACHN fields in ADOBE Form. But the employee photo is not appearing in adobe form.
    Here employee photo i amretreving from archive link.
    Even i set the Imagefield property URL in Adobe forms.  i.e $record.IM_PHOTO.
    Any solutions regarding this...
    Regards,
    Shankar.

    Hi Shankar,
    according to the sap documentation (inserting a graphic), I could imagine the following problems
    1.) image file type is not supported (-> "see the online help in Adobe LiveCycle Designer under Defining Object Properties ® Image Fields ® About Image Fields" )
    when you use "Graphic Reference"
    2.) url could not be accessed.(-> "This means that you may have to configure appropriate access rights for Adobe Document Services (ADS)" ).
    Maybe this will help you finding the problem.
    Regards,
    Andreas

  • Hi i am trying to disply image in adobe forms using ABAP, But i can't abl ?

    hi friends,
    I am using adobe forms to display the VORNA , NACHN and EMPPHOTO.
    for this i created an interface with the 3 import parameters like IM_VORNA, IM_NACHN and IM_PHOTO.
    Then i desingned the form with this interface.
    I dragged the IM_VORNA, IM_NACHN to ADOBE form layout.
    And for employee photo i created the IMAGEFILED in layout.
    And i setted the imagefield binding property to $record.IM_PHOTO.
    To call this ADOBE form i using the ABAP code.
    My code is like this......
    *& Report  ZHR_EMP_PHOTO1
    REPORT  ZHR_EMP_PHOTO1.
    TABLES: PA0001, PERSON.
    DATA: ITAB_EMPDATA LIKE TABLE OF PERSON,
          ITAB_DATA LIKE TABLE OF PERSON WITH HEADER LINE.
    DATA: P_CONNECT_INFO LIKE TABLE OF TOAV0 WITH HEADER LINE,
          P_DOCUMENT_TYPE LIKE TOAV0-RESERVE,
          URL TYPE char255.
    DATA: VORNA TYPE VORNA,   "VALUE 'SHANKAR',
          NACHN TYPE NACHN,   "VALUE 'REDDY',
          PATH  TYPE XSTRING,
          TPATH TYPE STRING.
    DATA: FM_NAME TYPE FUNCNAME.
    DATA: FP_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS,
          FP_DOCPARAMS TYPE SFPDOCPARAMS,
          FP_FORMOUTPUT TYPE FPFORMOUTPUT.
    PARAMETERS: PERNR LIKE PERSON-PERNR.
    START-OF-SELECTION.
    CALL FUNCTION 'HR_GET_EMPLOYEE_DATA'
      EXPORTING
        PERSON_ID = PERNR
        SELECTION_BEGIN = SY-DATUM
        SELECTION_END = SY-DATUM
      IMPORTING
        PERSONAL_DATA = ITAB_DATA
      EXCEPTIONS
        PERSON_NOT_FOUND = 1
        NO_ACTIVE_INTEGRATION = 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.
    MOVE ITAB_DATA-VORNA TO VORNA.
    MOVE ITAB_DATA-NACHN TO NACHN.
    *Function Module To check Existance of Image
    CALL FUNCTION 'HR_IMAGE_EXISTS'
      EXPORTING
        P_PERNR = PERNR
      IMPORTING
        P_CONNECT_INFO = P_CONNECT_INFO
      EXCEPTIONS
        OTHERS = 2.
    P_DOCUMENT_TYPE = P_CONNECT_INFO-RESERVE.
    *Function Module To Get the URL of Image
    CALL FUNCTION 'SCMS_DOC_URL_READ'
      EXPORTING
        STOR_CAT = SPACE
        CREP_ID = P_CONNECT_INFO-ARCHIV_ID
        DOC_ID = P_CONNECT_INFO-ARC_DOC_ID
        COMP_ID = 'DATA'
        DP_URL_ONLY = 'X'
      IMPORTING
        URL = URL
      EXCEPTIONS
        OTHERS = 10.
      IF SY-SUBRC <> 0.
      ENDIF.
    MOVE url TO tpath.
    CALL FUNCTION 'HR_KR_STRING_TO_XSTRING'
      EXPORTING
    *   CODEPAGE_TO            = '8500'
        unicode_string         = tpath
    *   OUT_LEN                =
    IMPORTING
       XSTRING_STREAM         = path
    EXCEPTIONS
       INVALID_CODEPAGE       = 1
       INVALID_STRING         = 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.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        I_NAME                    = 'ZHRIN_EMP_PHOTO'
    IMPORTING
       E_FUNCNAME                 = FM_NAME
    *   E_INTERFACE_TYPE           =
    *WRITE: fm_name.
    */1BCDWB/SM00000204
    *SAPR3://SAPR3CMS/get/520/Z2/4907DEB34A170115E10080000A8C6728/DATA
    *MOVE 'SAPR3://SAPR3CMS/get/520/Z2/4907DEB34A170115E10080000A8C6728/DATA' TO PATH.
    FP_OUTPUTPARAMS-NODIALOG = 'X'.
    FP_OUTPUTPARAMS-GETPDF = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        IE_OUTPUTPARAMS       = FP_OUTPUTPARAMS
    EXCEPTIONS
       CANCEL                = 1
       USAGE_ERROR           = 2
       SYSTEM_ERROR          = 3
       INTERNAL_ERROR        = 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.
    fp_docparams-langu = 'E'.
    fp_docparams-country = 'IN'.
    fp_docparams-FILLABLE = ' '.
    CALL FUNCTION fm_name
    EXPORTING
       /1BCDWB/DOCPARAMS        = fp_docparams
       I_VORNA                  = vorna
       I_NACHN                  = nachn
       I_URL                    = path
    IMPORTING
       /1BCDWB/FORMOUTPUT       = fp_formoutput
    EXCEPTIONS
       USAGE_ERROR              = 1
       SYSTEM_ERROR             = 2
       INTERNAL_ERROR           = 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.
    CALL FUNCTION 'FP_JOB_CLOSE'
    * IMPORTING
    *   E_RESULT             =
    EXCEPTIONS
       USAGE_ERROR          = 1
       SYSTEM_ERROR         = 2
       INTERNAL_ERROR       = 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.
    DATA: lt_att_content_hex TYPE STANDARD TABLE OF solix. "TABLE OF TEXT80.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        BUFFER                = fp_formoutput-PDF
    *   APPEND_TO_TABLE       = ' '
    * IMPORTING
    *   OUTPUT_LENGTH         =
      TABLES
        BINARY_TAB            = lt_att_content_hex
    tables rlgrap.
    DATA: ld_filename TYPE string,
          ld_path TYPE string,
          ld_fullpath TYPE string,
          ld_result TYPE i,
          gd_file TYPE c.
    DATA: flength TYPE i.
    *selection-screen begin of block m with frame.
    data: p_file TYPE  rlgrap-filename.
    *selection-screen end of block m.
    flength = xstrlen( fp_formoutput-PDF ).
    * At selection screen
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    * Display save dialog window
          CALL METHOD cl_gui_frontend_services=>file_save_dialog
            EXPORTING
              window_title      = 'Enter File Name to Save'
              default_extension = 'PDF'
              default_file_name = 'accountsdata'
              initial_directory = 'c:\temp\'
            CHANGING
              filename          = ld_filename
              path              = ld_path
              fullpath          = ld_fullpath
              user_action       = ld_result.
              p_file            = ld_fullpath.
    call function 'DOWNLOAD'
         exporting
              bin_filesize            = flength
              filename                = p_file
              filetype                = 'BIN'
         importing
              act_filename            = p_file
         tables
              data_tab                = lt_att_content_hex.
    with this code I am able to see the  VORNA, NACHN field data in ADOBE Forms. But i am unable to see the employee photo.
    Any helps will be appreciated.....
    Regards,
    Shankar.

    Or post a URL.
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "Alan" <[email protected]> wrote in
    message
    news:C0E592D7.29A315%[email protected]..
    > go back to the dialog box, and re-browse to pick the
    image.
    > Find the pulldown in the "browse to file" dialog box
    that gives a choice
    > of
    > Relative to site root, or Relative to document.
    >
    > set to relative to document.
    >

Maybe you are looking for

  • Reg:Deemed exports

    Dear Gurus, I have configured the necessary settings for ARE 3 bond.I have read many threads regarding creating ARE 3 bonds. When i am trying to create Excise invoice for deemed exports the check box use local number range is not being shown by the s

  • Need swappable CD rom drive for the Satellite 230CX

    After hours trawling the net, I still haven't found the part number for the swappable cdrom drive for the Satellite 230CX. Sadly a couple of sites say it's the PA2659U / XM-1402B, so I bought one from eBay, and it doesn't fit! Any help would be appre

  • "Node &1 with predecessor 0 in hierarchy "&3" not found"

    Hi, sometimes I am facing error "Node &1 with predecessor 0 in hierarchy "&3" not found" when I filter my result set to single values of one characteristic's hierarchy. I read SAP note 713630 but it doesn't fit because we are on BW3.5 / Support Packa

  • HT4681 How do I save a edited video to my hard drive from FCPX.

    on my task bar there is no share bottom to save to hard drive but under the edit bottom there is a share bottom but only to the social web sites

  • Text variable for total number of pages in book?

    Hello, Is it possible to create a text variable that contains the total number of pages in a book? The only option I see is for the total number of pages in a document, which doesn't come out right for any but the last doc in the book. Thanks, -dp-