Fetching a image in the adobe form from sap server/appliaction layer

hi all,
i want to fetch a logo/image from the application layer/ sap server, so that everyone can use it in adobe form. i have already upload the image using SE78.
I try to add the image into library, it works. But the problem is that, only from my login i can access that image, other can't. I want that image to be shared by everybudy like we use in smartform.
But i want to fetch that image from SAP server/application layer.
plzz help me out...
and tell me the steps for fetching the image from sap server/application layer into the adobe form layout.

Hi rahul,
I too have the same requirement. Can you please tell me the steps.

Similar Messages

  • Fetching a logo in the Adobe form

    hi all,
       i want to fetch a logo into the adobe form from sap server/application layer. for that i have used the image field and i have tried to browse the image from it but i was not able to ftech the logo/image from the server.
    could u all please help me out.
    Edited by: Rahul Gautam on Feb 8, 2008 6:47 AM

    put your image in the dest-->images folder and use the following coding:
    public static String getImageUrl(IPortalComponentRequest request, String imageName) {
    StringBuffer buffer = new StringBuffer(1024);
    HttpServletRequest httpRequest = request.getServletRequest();
    String protocoll = (httpRequest.isSecure())? "https" : "http";
    buffer.append(protocoll)
    .append("://")
    .append(httpRequest.getServerName())
    .append(httpRequest.getServerPort())
    .append(request.getWebResourcePath())
    .append("/images/")
    .append(imageName);
    return buffer.toString();

  • Picking of Adobe forms from application server

    Hi Gurus
    We have SAP ECC 6.0. So far in our system we have text files and CSV excel files which comes from external system and lies in application sever and these are being picked up automatically by system and gets processed in SAP.
    1)The requirement is to "pick the adobe forms from application server and read some fields in the form and update the fields (required) in customer master data in SAP". How can we achieve this?
    Any kind of help is appreciated.
    Thanks
    Aleem

    Hi Aleem,
    I tried to work on a similar scenario couple of months back. But it was not successful. Will you please let me know if you get any solution???
    Thanks in advance
    Poornima

  • Uplaod Adobe form from application server

    I've a requirement where the Adobe interactive from files will be located in the application server directory and need to be uploaded from there.
    I'm using "open data set... in binary mode"  comment to open the file and then read it and store in the lt_rawtab table. But I'm not sure how to get the length of the file (which you can get when you're uploading the file from front end/local disk using the method cl_gui_frontend_services=>gui_upload).
    If you have address this kind scenario please share how did you upload the Adobe from application server?

    Hi Anto,
    In fact my problem was due to l_len parameter when calling the function 'SCMS_BINARY_TO_XSTRING' to convert bin pdf document to Xstring type.
    I was not sure what value should I pass to input_length parameter.
    Then, I saw in some post that the length should be no of lines in lt_rawtab * 255 and that resolved my issue.
    I'm having another issue though. When I open the Adobe form, it says "message limit exceeded"... any idea how to fix this?

  • Sending the adobe form to SAP inbox with data (on submit action)

    Hi,
    I am fectching the data from the database table in WDDOINIT method and displaying it on the form. Now my requirement is that, on the action SUBMIT, I have to send this Form to SAP user inbox.
    I wrote a code to send the form as pdf attachment by giving the form name.. but the data are not passed. only the form goes to the sap inbox.
    My question is,  how to send the form as pdf attachment with the data that are fetched...?

    Hi,
    create the parameter FP_FORMOUTPUT as IMPORT parameter structure FPFORMOUTPUT and t_att_content_hex parameter is as XSTRING.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = FP_FORMOUTPUT-pdf
    *   APPEND_TO_TABLE       = ' '
    * IMPORTING
    *   OUTPUT_LENGTH         =
        TABLES
          BINARY_TAB            = t_att_content_hex
    For sending code as PDF attachment to SAP Inbox
    CLASS cl_bcs DEFINITION LOAD.
      DATA:
      lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
      lo_send_request = cl_bcs=>create_persistent( ).
    * Message body and subject
      DATA:
      lt_message_body TYPE bcsy_text VALUE IS INITIAL,
      lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
      APPEND 'Dear,' TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Please fill the attached form and send it back to us.'
      TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Thank You,' TO lt_message_body.
      lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'Personnel Information Form' ).
      DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
      TRY.
          lo_document->add_attachment(
          EXPORTING
          i_attachment_type = 'PDF'
          i_attachment_subject = 'Personnel Information Form'
    * I_ATTACHMENT_SIZE =
    * I_ATTACHMENT_LANGUAGE = SPACE
    * I_ATT_CONTENT_TEXT =
    * I_ATTACHMENT_HEADER =
          i_att_content_hex = t_att_content_hex ).
        CATCH cx_document_bcs INTO lx_document_bcs.
      ENDTRY.
    * Add attachment
    * Pass the document to send request
      lo_send_request->set_document( lo_document ).
    * Create sender
      DATA:
      lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
      l_send type ADR6-SMTP_ADDR value 'provide Email id here'.
      lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
    * Set sender
      lo_send_request->set_sender(
      EXPORTING
      i_sender = lo_sender ).
    * Create recipient
      DATA:
      lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
      lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    * Set recipient
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
    *  lo_send_request->add_recipient(
    *  EXPORTING
    *  i_recipient = lo_recipient
    *  i_express = 'X' ).
    * Send email
      DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
      lo_send_request->send(
      EXPORTING
      i_with_error_screen = 'X'
      RECEIVING
      result = lv_sent_to_all ).
    Thanks.

  • Download the pdf document from sap server

    Hi,
    I uploaded the pdf document as MIME type in mime browser.  I have a requirement to open this document when I click on the button.  How could we achieve this ?  I appreciate your help.

    1.You could use offline intractive form to display PDF.
    2. use
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename  = file_name
        i_content   = lv_content
        i_mime_type = mime_type
        i_in_new_window = abap_true
        i_inplace       = abap_false ).

  • Using the Adobe Forms for printing through portal

    Hi All,
    I've got a problem with the fact that I do not know exactly how to use the Adobe Forms from the portal.
    I've got the Form Objects done (Interface & Form using SE80) and they work OK when testing the form. The Interface gathers all the datas etc. and the form displays this correctly.
    My problem now is that I need to have this form available from the portal, and this I presume needs some WebDynPro stuff or something else? I'm totally lost on this part ...
    The customer wants to have a button or link in the portal that opens a new window with the produced PDF opened in the new window, much like opening a static PDF file. The user then has the option to print the PDF him/herself using Adobe Readers own print mechanism.
    My interface has only one Import parameter (PERNR number) and one EXPORT parameter (default). The PERNR number must be supplied to the interface so that it can gather all the needed data based on this number.
    Any help on this will be greatly appreciated and rewarded accordingly.
    Thankyou in advance,
    Kim

    Hi Arnab,
    from a forms point of view:
    (I assume you have the ADS up and running on the Java stack. Without it, the form generation doesn't work.)
    If you create your form in transaction SFP and execute the corresponding program that calls the form for testing in SE38, you get to the print dialogue. Here you may choose either locl or lp01 (or any other printer accessible through your network) and then select Print Preview. This should then display the PDF in SAP GUI.
    If you are asking about general printer setup within SAP, check the corresponding documentation: http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
    Hope this helps,
    Markus

  • Error whicle executing the adobe forms

    Hi,
    Iam executing the adobe form from the genereated functionmodule , after giving the print parameters LP01, error is coming like
    SOAP RUNTIME EXCEPTION : Csoap exception transport : ( 1001001), Please let me know what does it mean.. i have installed Adobe forms newly in my system, is there any installaiton missed.. Please help in this.
    Thanks,
    Tirumal.

    This error is due to missing some basis configuration of adobe forms. Besides you need to install Adobe Live Cycle in ur presentation server. So for ur error u need to contact ur basis consultant.
    you can see below links which might be helpful to u.
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/content.htm
    http://www.scribd.com/doc/14246206/ADS-Configuration-Guide
    http://help.sap.com/saphelp_nw04s/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm

  • Page restriction in adobe design from sap

    Hi,
    Iam designing my adobe form from SAP-ABAP transaction SFP.
    In my form i have two pages
    Page1 and page2.
    I want to restrict the printing of these pages conditionally means.
    based on my requirement, i want to print either page1 or page2 or some times both.
    Can any one help me in scripting this.
    Regards,
    sasidhar

    Hi Lisa,
    Please see the following topic where I provided links to information about creating URL redirects:
    Problem: 2 different URL's for the same homepage
    http://forums.adobe.com/message/4623619#4623619
    What you're trying to accomplish (301 Redirect) requires making changes on your web server and cannot be done within Muse.
    Best regards,
    Corey

  • How to download adobe form in sap inbox and process it

    Hello experts,
    I have a query like how we can download the adobe forms in sap inbox and process process the forms using some program which will convert form data in to XML.
    thanks in advance.

    Hello Samad arif,
    May be you can reuse the code that placed in this document to covert the PDF form to XML format.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d
    Thanks,
    Bharath.K

  • Adobe form from webdynpro : Getting a single row in the table

    Hello,
    I have a scenario in which I have to create a adobeform from webdynpro application.
    I have created the form and have the context designed in place.
    I am facing a problem in the table I have in my adobeform.
    I am adding rows to this table dynamically using a button using "addInstance"
    Now on the webdynpro side , when I try to read this table I get a single row from this table.
    This row is always the first row of that table.
    I checked the following things from blog   /people/juergen.hauser2/blog/2006/09/12/avoiding-common-mistakes-when-using-tables-on-sap-interactive-forms  , i.e. :
    Cardinality of the node.
    Tick on the option "Repeat Row for Each Data Item".
    But still no success.
    With deadlines to catch I had to post this question after trying a lot.Please help.

    Hello Otto,
    I had found this link before and used the same solution , but unfortunately is taking a long time.
    Now what I am doing is :
    1. I append 10 rows into the table then bind it to the node
    2. Then on the adobe form I have removed the check on "Add row for each line item" because of which it shows only 1 row 
         on the form.
         Now I add rows dynamically, but this puts a limit on the number of rows can be added to the table i.e. 10.
    But this again has added problems like while displaying the form or modifying I hav to handle it seperately and cannot use the same form as it is.( as I have removed the tick for "Add row for each line item" ).
    Thanks,
    Omkar Mirvankar

  • Handling Submit Button on the ADOBE form called from Web Dynpro

    Hi,
    I have placed a Button on the ADOBE Form. How to Handle the event on this button. When i click this button, i want to save the details of the form into a Custom table.

    Hi Majunath.
    Create an event say, SUB_EVTin the view in WD where you have the Interactive Form UI element.
    Bind this event to the onSubmit of the Form.
    Now check the display type of the form. It will be either ActiveX or Native.
    Now go to the form designer and open Library palette. Navigate to Webdynpro ActiveX or Native Library(Depending on the form display Type in WD).
    Drag and Drop Submit button.
    On click of the button, the event handler in WD view namely, onActionsub_evt will be invoked. You can write your code in this handler.
    Now in order to read data from the form. Go to the form and go to Properties tab. Check the form layout type. If it is not ZCI, run transaction SFP_ZCI_UPDATE and convert the form to ZCI type.
    Now back to the event handler.
    as an example... I will use the following context node definitions
    PDF_DATA  1..1
      ACTUAL_DATA 0..n
        ATTRIB01
        ATTRIB02
    Assume the the node PDF_DATA is bound to the data source of your form.
    Now in the event handler write the foll code
    data: lo_node type ref to if_wd_context_node,
            lt_data   type wd_this->elements_actual_data.
    lo_node = wd_context->get_child_node( name = wd_this-.wdctx_pdf_data ).
    lo_node = lo_node->get_child_node( name = wd_this-.wdctx_actual_data ).
    lo_node->get_static_attributes_table(
      importing
        table = lt_data ).
    This will get all the form data in the internal table lt_data.
    Now you can process the data the way you want and save it in your custom tables.
    Regards,
    Reema .
    Edited by: Reema Shahbazkar on Sep 16, 2008 11:39 PM
    Hope this helps!!

  • Default email subject for Adobe Form from Netweaver Guided Procedure

    Hi everyone.
    When we generate an Adobe form from a Netweaver Guided Procedure, a default subject of "Interactive Form {xxxxxxxx}" is used where xxxxxxxx is the Process ID of the Guided Procedure.  Is this default subject configurable?  Where can I change it?
    If we define a custom email template for the form,  the subject of the email becomes our custom subject concatenated with the Process ID.  Where is it defined that the Process ID must be included in the email subject?
    Thanks,
    .. Craig

    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

  • Capture an image using the web camera from a web application

    Hi All,
    Could anyone please share the steps what have to be followed for capture an image using the web camera from a web application.
    I have a similar requirement like this,
    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.
    3) Upload the Image to the server from the temporary location.
    Please share the details like, what can be used and how it can be used etc...
    Thanks,
    Suman

    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)There's not really any good way to do this with JMF. You'd have to somehow create a JMF web-start application that will install the native JMF binaries, and then kick off the capture device scanning code from the application, and then scan through the list of devices found to get the MediaLocator of the web cam.
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.You'd probably be displaying a "preview" window and then you'd just want to capture the image. There are a handful of ways you could capture the image, but it really depends on your situation.
    3) Upload the Image to the server from the temporary location.You can find out how to do this on google.
    All things told, this application is probably more suited to be a FMJ (Freedom for Media in Java) application than a JMF application. JMF relies on native code to capture from the web cams, whereas FMJ does not.
    Alternately, you might want to look into Adobe Flex for this particular application.

  • Adobe forms from scratch - Standard programs?

    Hi,
    I have just begun trying to implement Adobe forms from scratch at my company. Previosly we have used an external printing solution so I can't convert anything. My plan is to create a new output medium and let the users select the new type by themself. But I have a couple of questions:
    1. How do I create a new medium (Examples: Print output/Fax/Telex, as found in t-code NACT - Processing routines)
    2. I guess there are SAP standard printing programs, interfaces and forms, but I can't find them. I need to be able to print all the usual docs from orders, deliveries and invoices. All I have in NACT are old home-made (Z*) programs so if you know what SAP think we should use now, please let me know!
    We have ERP6 ehp4 on netweaver 7 ehp1 and I have created one "Adobe form" myself so I can confirm that it works. but I don't want to invent the wheel twice...
    Thanx in advance!
    Br Linus Hellsing

    Hi Linus,
    I was wondering if you had a moment to comment on an opportunity that I am having regarding Adobe forms development efforts?
    If so, please read on:
    Our offshore team has worked on a development effort to replace Smart Forms PO's and Contracts with Adobe forms. They created new output types for these Adobe forms. In testing I noticed that the only way I can get them to print - is if I go into Print Preview and print -or- use SP01 and click on the .pdf icon and print. In both cases it uses Adobe Acrobat to perform the actually printing.
    We cannot seem to get them to print using the normal SAP message utility. Our users would expect to continue to:
    1. Use the Messages button while in the PO document - and select the new output type along with Meduim= Printed Output...
    2. Then they select Further data button - to specify Send Immediately.
    3. Then they use the Communication Method tab and specify the Logical Destination (as LOCL) and click on the Check box for Print immediately.
    They get what appears to be an rambling of Adobe error lines followed by many blank pages....
    At this point I am not sure if the print program is working correctly - or if the problem is with Adobe Document Services?
    Have you ever encountered a situation like this during your Adobe development efforts?
    Any suggestions would be appreciated.
    Regards,
    Steve

Maybe you are looking for

  • When I try to retrieve my Purchased items from iTunes, it crashes!

    Last night, I decided to Restore my iPod to Factory Settings. Now, it told me that it would wipe EVERYTHING. I was trying to research how to save the music I had purchased on my iPod but found nothing. I exported the playlists from my iPod but they d

  • HP 550 display driver for windows 8

    I already have a HP 520 laptop (Intel Celeron Processor). In that I have installed windows 8. It runs best and also shows windows experience index. Now I have a HP550 Laptop in that also I installed windows 8. It runs alright but if I tried to Index

  • So confused with Mac's web server MYSQL setup

    I'm a recent Mac convert, and while I use to install apache~php~mysql on my PC I've been enjoying my pre-installed apache~php~mysql on my Mac... except one thing, I have no idea how to access MYSQL. I did a phpinfo(); check and it says that MYSQL has

  • Why was my podcast rejected?

    So I recently submitted a podcast for myself. It was a DJ podcast and was accepted just fine. The other day I submitted one for my partner in my DJ business. I got an e-mail today saying his was rejected and I am not sure why. Mine is EDM and his is

  • IPhone and BlueAnt V1 Issue

    I have been using a BlueAnt V1 with my iPhone for three weeks now without a problem. Today, everything changed when I attempted a phone call with mu headset; I heard a buzzing sound and the call was terminated. This was true for incoming calls as wel