How  to update image in adobe form

Good Day
I am trying to update image in adobeform. i used object library->image->and double clicked it and i got a popup and given the path. i got my image there
but when i am running my adobeform in url  I am unable to see the image on it.  is it  because the path is from my desktop.  there is no binding done with any field on the context of adobeform.. do i need to upload the image in se78 and then do binding....
pls help
Regards

hi battula,
1.upload the image in se78
2.Get the xstring of image by function module
data img_ x_string type  xstring.
data img_string type string.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
   EXPORTING
     p_object       = 'GRAPHICS'    " SAPscript Graphics Management: Application object
     p_name         =  'LOGO'   " Name of image
     p_id           =  'BMAP'   " SAPscript Graphics Management: ID
     p_btype        =  'BCOL'   " SAPscript: Type of graphic
   RECEIVING
    p_bmp          =    img_x_string.
and convert this xstring to string by function module
CALL FUNCTION 'SSFC_BASE64_ENCODE'
                 EXPORTING
                   bindata                        = V_FIELD
*                BINLENG                        = BINLENG
                IMPORTING
                  B64DATA                        =  img_string.
*               EXCEPTIONS
*                 SSF_KRN_ERROR                  = 1
*                 SSF_KRN_NOOP                   = 2
*                 SSF_KRN_NOMEMORY               = 3
*                 SSF_KRN_OPINV                  = 4
*                 SSF_KRN_INPUT_DATA_ERROR       = 5
*                 SSF_KRN_INVALID_PAR            = 6
*                 SSF_KRN_INVALID_PARLEN         = 7
*                 OTHERS                         = 8
3.bind the img_string to imageField in  adobe form ..
if you want to update image then update image in se78 keeping name same.
4.and write also javascript code
on initialization event of ImageField
this.access = "readOnly";
hope it will help.
regards
Jitendra..

Similar Messages

  • How do you type in Adobe forms

    How do you type in Adobe forms without converting them.
    Several times I was on an Adobe page where one could click on a tab to do just that and now I cannot remember how I got there.
    Please help if you can.
    [contact information removed by moderator for privacy]

    David,
    Thank you so very much for your timely reply.
    I have Adobe Acrobat installed on all six of my offices computers and found it very simple to do as you instructed.
    Thank you once again.
    Bruce Goldsmith 
    [contact information removed by moderator for privacy]

  • How to password protect the adobe form ?

    Hello,
    I am very new to this livecycle designer.
    Can anyone please tell me how to password protect the adobe form(it can be print or interactive form) ?
    can it be done through scripting ?
    Regards,
    Menaka.H.B

    How to create Password to lock of Acrobat Pro and Adobe Livecycle Designer
    Hi everyone!!!
    I am using Adobe Livecycle Designer ES software, and i created the password on this Form of this software, but it can not lock Acrobat Pro. How to create Password to lock both of Acrobat Pro and Adobe Livecycle Designer? I would like another people just open Acrobat Reader, not other 2 softwares.

  • 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.

  • Good morning everyone! I would like to ask how can i subscribe for adobe forms central 11.99$ per month. I am currently here in United Arab Emirates. I really need to use this application cause it will benefit me a lot in my work. Thanks!

    Good morning everyone! I would like to ask how can i subscribe for adobe forms central 11.99$ per month. I am currently here in United Arab Emirates. I really need to use this application cause it will benefit me a lot in my work. Thanks!

    Hi,
    OK. Following instructions, I've uninstalled the old Flash Player and installed the right one, and videos are now playing. Thanks for pointing me to the other posts on this site. YouTube and other videos are now playing
    Some of the videos still play jerkily (they don't stream evenly). A few stream evenly once they've been allowed to buffer fully. (I think I'm using these terrms correctly.) Is this solely caused by low bandwidth, or is there something—an adjustment of some kind—that I can do with Flash Player to have online videos stream evenly, even from the moment I start them?
    As I mentioned, to bypass this uneven streaming while watching online, I download the videos and watch them usually using Quicktime Player 7.6.4. Still, they don't always play evenly, but for the most part do.
    I've just tested bandwidth and I'm told:
    5.63 Bbps Download speed
    0.63 Mbps Upload speep
    Rafael

  • How to convert smartforms into Adobe forms.

    Hi......
    How to convert smartforms into Adobe forms.
    Regards
    Anbu B

    Hi,
    You need to use the Function Module CONVERT_OTF.
    Please check the below code
    REPORT zsuresh_test.
    Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
    w_fmodule TYPE rs38l_fnam,
    w_cparam TYPE ssfctrlop,
    w_outoptions TYPE ssfcompop,
    W_bin_filesize TYPE i, " Binary File Size
    w_FILE_NAME type string,
    w_File_path type string,
    w_FULL_PATH type string.
    Internal tables declaration
    Internal table to hold the OTF data
    DATA:
    t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    Internal table to hold OTF data recd from the SMARTFORM
    t_otf_from_fm TYPE ssfcrescl,
    Internal table to hold the data from the FM CONVERT_OTF
    T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    This function module call is used to retrieve the name of the Function
    module generated when the SMARTFORM is activated
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = w_fmodule
    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.
    Calling the SMARTFORM using the function module retrieved above
    GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
    format of the output
    w_cparam-no_dialog = 'X'.
    w_cparam-preview = space. " Suppressing the dialog box
                                                        " for print preview
    w_cparam-getotf = 'X'.
    Printer name to be used is provided in the export parameter
    OUTPUT_OPTIONS
    w_outoptions-tddest = 'LP01'.
    CALL FUNCTION w_fmodule
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = w_cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = w_outoptions
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    job_output_info = t_otf_from_fm
    JOB_OUTPUT_OPTIONS =
    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.
    t_otf[] = t_otf_from_fm-otfdata[].
    Function Module CONVERT_OTF is used to convert the OTF format to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = W_bin_filesize
    BIN_FILE =
    TABLES
    otf = T_OTF
    lines = T_pdf_tab
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF = 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.
    To display File SAVE dialog window
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = w_FILE_NAME
    path = w_FILE_PATH
    fullpath = w_FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 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.
    Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
    presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = W_bin_filesize
    filename = w_FULL_PATH
    FILETYPE = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = T_pdf_tab
    FIELDNAMES =
    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
    OTHERS = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks,
    Ruthra

  • How can i find the adobe form translations

    Hi Friends,
    how can i find the adobe form translations?
    i mean i want to know in how many languages my adobe form has been translated?
    is their any report or is their any technique to find the translations........................
    Thanks,
    Harish.K

    Hello Harish,
    To find the translation of Adobe form is nothing but to find the labels or texts used in this adobe form in various languages. This will give you an idea on how many languages your adobe form has been translated.
    So to find the translations in different languages, you have to go to Context node of the Adobe form. Then go through the text nodes which are used as labels. These will be normally stored as Standard texts in SO10.
    For example. Take the text name of any one text node.
    1) Go to SE38.
    2) Type program RSTXTRAN.
    3) Let the Text key - object be TEXT.
    4) Then enter this text name in the field Text key - name. I have put the sample standard text ZTEST_ADOBE as shown below.
    5) Let the Text key - ID be ST.
    6) In Text key - language, Enter *  (i.e enter the Asterisk) because you want to find out all the languages.
    The screen parameters will be as shown below.
    7) Now Execute this report.
    8) It will show all the various languages in which this particular standard text is used which is nothing but the Adobe form is being used in these many languages. For example, the standard text ZTEST_ADOBE is used in 3 languages, English, German and Spanish as shown below. It will look as shown below.
    Note: This will give you the more or less the overall idea of the form that has been used in these many languages. But also make sure the standard text with particular language is also linked with the Transport Request. Because there are chances that the text was created in a particular language but was never used.

  • How can I save filled Adobe Form?

    Hallo experts,
    I use Adobe Forms in my Webdypro application.
    In Form setPDFSourse set dynamically (read from SAP as byte[]) , I do not know the Context.
    How can I save filled Adobe Form, because I must show the Form by next Step in anothe window? 
    Thank you very much!

    This sounds to me like a client-side problem whith adobe reader plugin in your browser. What is your reader version?
    You can try the following to check if there is any content in the byte[]:
    String s = wdContext.currentContextElement().getPdfData().length + "";
    byte[] test = s.getBytes();
    final IWDCachedWebResource resource =
                   WDWebResource.getWebResource(
                        test,
                        WDWebResourceType.TXT);
    try {
         final IWDWindow window =
         wdComponentAPI.getWindowManager().createExternalWindow(
              resource.getAbsoluteURL(),
              "Window title",
              false);
         window.open();
    } catch (Exception e) {
         wdComponentAPI.getMessageManager().reportException(
         new WDNonFatalException(e),
         false);

  • How to align footer in Adobe form

    Hi experts,
        I required your urgent help for my development. I made a adobe form for customer ledger. Form is divided in 3 parts as shown in below image:
    Header sub form will print on each page if form is more than one page. Then Body will grow to multiple page according data. Next is footer, it will print on last page (either last page is 1st or 4th page) positioned bottom. The problem is that in some situation. Like it prints Header, then prints body sub-form for open item. It grow according data. suppose that open item end on second page then footer should be placed on second page at bottom aligned. Footer sub-form is 2 inches( or 10-12 rows) in height. It should be checked that after end of body subform how much space is available. if there enough space for footer to be print then footer will print on same page other wise it will create one more page, at top of that page will print header sub-form and then at bottom aligned footer sub-form (there would be blank space between header and footer).
      How to do that. Your help would be appreciate.
    Please reply asap.
    Thanks and Regards
    Piyush Kumar

    Hello Experts,
    I am describing it little more.
    Table will auto increas row depending on data. We can not fix it's row. Second thing if table have only 2 records then footer will place just below table end. It will not align footer at bottom Margin.So there would be space between Footer and bottom margin.
          I have to do that it first get how much space is available after table (body subform), if there is 10-12 lines space available then it will print the footer. If there is no much space then it will create one more page and at that page header (sub-form) would be align at top margin and footer (subform) would be align at bottom margin. There would not be any blank table.
    condition:1
    Header Subform                                                                   |
                                                                                              |
    Table subform                                                                      |
                                                                                              |
    Footer at same page align bottom margin (if enough space)     |
    ===================================================
    Condition : 2
    Header Subform                                                                   |
                                                                                              |
    Table subform                                                                     |
                                                                                              |
    if no enough space for footer then  go to additional next page  |
    and create page like below:                                                 |
    ___________________________________________________|
    Header Subform                                          |
                                                                     |
    space                                                        |
    space                                                        |
                                                                     |
    Footer Subform (align at bottom margin)       |
    _____________________________________|
    Thanks
    Piyush

  • Inserting Images in Adobe Forms

    hi all,
    My requirment is that i need to print three diferent logos in a single form by validating them with the company code.
    i have to print the respective company code logo in the adobe form how can i do that and tell me the steps for the formcalc coding.
    Thanks in advance.
    M.Phanindra

    Hi Phanindra,
    Place the All Images in Form and Go to the Form Ready Event ,
    Initially Hide all the images,
    Assume,
                       image1.presence = "hide"
                       image2.presence = "hide"
                       image3.presence = "hide"
    Place the one textfield for validating images,
    Goto the Exit event of the textfied, there u will write a code for visibility,
    if (textfield1.rawValue = "1") then
             image1.presence = "visible"
    else if (textfield1.rawValue = "2") then
           image2.presence = "Visible"
    elseif (textfield1.rawValue = "3")then
          image3.presence = "visible"
    endif.
    This code,  may help for u,
    By
    Parthi

  • How to upload Graphic in ADobe forms

    Hi Guru,
    I have a requirment to upload the Graphic to Adobe forms .
    How to I use the logo(Graphics)  which is stored in the application server 
    I have 2 sales organizations which has different "LOGOs" used. Same Adobe form is used to print Invoices for both sales organizations. When I print Invoice for a particular sales organization, I need to print its "LOGO" and when same adobe form prints the invoice for another sales organization it should print its logo. 
    How can i control the above situation dynamically ?
    Please help.
    thanks ,
    Raju s

    Hi Raju,
    Images in a Adobe form can be embeded in 2 different ways.
    Approach1: This is static approach form would have only one image at all times which is refered by the file name (alter natively if you can manage to place different images with the same file name at runtime then this can be dynamic)
    1) have the image located in the application server path.
    2) Have the Emage lement in Adobe form pass the file location path to the element source.
    3) At run time it will fetch the file from the location.
    Approach2: (I am not a core abaper so not sure how its done but we have done it for a mobile application)
    1) using your abap code read the image from the location (find out how to pick the org specific's image).
    2) convert the image into byte stream.
    3) pass on this byte stream to the form via a string field.
    4) in the form have the image field.
    5) this time here instead of selecting the path, bind it to this particular field from the data source.
    i think there are coup[le of blogs here @ this, please search it ..
    Cheers,
    Sai

  • 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.
    >

  • How to Call Image Viewer from Form application

    Hi,
    how to call Image viewer using host command on oracle form 6i.
    i trying using host command on local/client application .. and it is working ...
    but when i try on server application (EBS - UNIX) it does not working ...
    thanks ..
    regards,
    safar

    Are you using Forms 6i in client/server mode or web deployed? I'm not sure what you mean by 'try on server application"
    Remember that when using a web deployed architecture, a host command will execute the command on the Forms application server, NOT on the client.
    To execute host commands on the client you would have to use WebUtil, but that's not available for Forms 6i. Perhaps there are PJC's out there that can do it for you, but I don't want to get in all those details without me knowing if it is relevant for you.

  • How to print barcodes in Adobe forms

    Hi All,
    I am new to Adobe forms, Please help me how to print barcodes in ABAP using Adobe forms.
    Thanks in advance.
    Regards,
    Satya.
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Aug 26, 2011 4:17 PM

    Hi Vanessa,
    maybe this blog helps for the tables:
    [Adobe Forms Using: Nested Table, Text Module & providing the functionality of Page Total & Grand Total|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414900%29ID0583594050DB11063248235171113529End?blog=/pub/wlg/11236]
    and for the barcodes I found this:
    [Introduction to barcodes in SAP Interactive Forms by Adobe|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414900%29ID0583594050DB11063248235171113529End?blog=/pub/wlg/13061]
    I hope this provides some help for you.
    If you are not able to fulfill your task, it is a good idea to check the blogs, wikis and download areas here in SAP Community Network - usually the quality is some quantum leaps better than current  ABAP, General.
    Regards,
    Clemens

  • How to include text in Adobe Form

    Hi all,
    I am using adobe designer of ABAP workbench to design PDF form. Anyone has idea of how to include text in the form as what we often do on SAPSCRIPT and smarforms?
    Thanks in advance.

    hi,
        Got exact solution from this link - http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/400f06f3-cc2c-2c10-77ab-a98d2cfc194c&overridelayout=true
    Regards,
    Vinod

Maybe you are looking for