How to upload offline adobe form(PDF) to the SAP?

Hi,
I am working on adobe forms for the first time.
So I dont have much knowledge on it.
I have created the layout for the SO form in transaction SFP.
Kindly help me how to proceed further to upload the form data to the sap.
Thanks in advance,
Neha

Hi Neha,
The program will have the following steps:
1.Data retrieval and processing : A select statement for the pre-populated information
2.Obtain the name of the Generated Function Module of the form u2022 Start the form processing
3.Call the Generated Function Module
4.End form processing
5. Send the form to the vendor using Business communication services (BCS)
Follw this step
select single field1 field2... from table into wa where field = P_field.
call function 'FP_FUNCTION_MODULE_NAME'
call function 'FP_JOB_OPEN'
Then call the generated function module
call function fm_name
call function 'FP_JOB_CLOSE'
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
Extract the Data:
DATA: xml_data TYPE xstring,
      lt_xml_data TYPE STANDARD TABLE OF xstring.
      APPEND xml_data TO lt_xml_data.
lo_pdfobj->get_data( IMPORTING formdata = xml_data ).
Convert XML data from XSTRING format to STRING format DATA: lv_xml_data_string TYPE string.
CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
EXPORTING im_xstring = xml_data
IMPORTING ex_string = lv_xml_data_string.
Thanks

Similar Messages

  • How to SAVE the images in the offline adobe form pdf

    Hi All,
    Actually I am working offline adobe forms.In my one of the requirement user want to upload the images in the final output pdf form. For this requirement I added Image Field in the layout. So, now I am able to upload the images from desktop but I am unable to save the uploaded images in the pdf form.
    Please let me know is there any parameters need to pass for this requirement.
    Please help me ASAP and your help will be appreciated.
    Thanks,
    Ravi.

    Hi Sandy,
    Sorry for Delay.Could you please provide script code for the Button and in which event we want to add the code
    I want to Save the lot of images in the PDF. For that I kept Image field in the form.Here I am able to upload the images but those are not saved.
    If possible please share the details document.
    Please help me.
    Thanks,
    Ravi.

  • How to insert Adobe Form Data in the SAP backend?

    Hi there,
    I am very new to Adobe Forms. I am supposed to come up with a working scenario of inserting few form fields into the SAP backend. Is this done through a BAPI call? Or is there any other way for this to achieve?
    I have downloaded trial version of Adobe LifeCycle Designer. But I don't know how to integrate this with the SAP system. Is there anything else that I need to install in my system?
    Is there a document on how to configure all the installations for both local machine and the server (if any)?
    Please help.....
    [I went through the forum for this, but I did not get anything]
    Warm regards,
    Deepak

    hi,
    in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.
    for eg if u have
    a value node details
    and under that two value attr fname,lname
    import the model (Insertdata---it has two import param fname and lname)u need for updating the data to r3 system.
    in the ctrller have a method submit.Here write the code to insert fname and lname into the db.
    IPrivateMyForm.IDetailsElement elem = wdContext.nodeDetails().currentDetailsElement();
    Insertdata_Input input = new Insertdata_Input();
    wdContext.nodeInsertdata_Input().bind(input);
    input.setFname(elem.getFname());
    input.setLname(elem.getLname());
    try
    wdContext.currentInsertdata_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    catch (Exception ex)
    { ex.printStackTrace();}
    ul bind details to the datasource.
    when u edit ur interactive ui element these attr(fname and lname) vl be visible under dataview tab u can drag and drop them to the form
    now add submit to sap button in ur form.
    this button correspond to the onactionSubmit dat u have written in the ctrller.
    so wen u click this the data vl be inserted
    Regards
    Jay

  • How to upload files (.doc./.pdf) to the database?

    Hello,
    I know this question was raised several times before but the answers don't really make me happy.
    I have a table with a BLOB-column for the documents (different mime-types) and a varchar2(100)-column for the mime type.
    I edited the form in navigator an told the blob-field to store mime-information in the mime-type-field.
    Now, do i have to tell portal the mime-type or does it retrieve it itself?
    if i have to tell, how do i do so?
    How can i fill in the value for the mime-type-field with javascript, when the fieldname is something like abc.def.ghi?
    Javascript then will tell me that document.forms.fieldname is not an object.
    Wouldn't it be a good idea to write a howto on this subject (and other subjects too, of course)? I'll do the work if you share your knowledge with me.
    And, by the way, can you share your wisdom about retrieving the blobs from tha database for displaying and download, too?
    thank you very much,
    Ralf Schmitt

    Hi Ralf,
    see in the design time if you are
    1)Interested in only one type of content in the blob column then just mention that mime-type in the
    for eg.there will be text field "or type in fixed mime type" where you can mention the default type which you are interested in uploading.
    2)If you intent to upload files of diffrent type of mime-types then you will have to associate a column for storing the mime types for that file and for this there will be a text field.
    for eg. you will have options for "Select a column to store mime information" which will be having list of all the remaining fields in the LOV , you select which field of the table you wish to make for storing mime-type and do not set any default mime-type in the text "or type in fixed mime type" in this case.
    more explaination:
    =================
    for this case create a table like this :
    create table for_blob(id number(4),file_name blob,mime_type_of_file varchar2(400));
    when you select file_name field while designing the form you will have following option.
    "Select a column to store mime information" ---> select mime_type_of_file
    "or type in fixed mime type" ---> delete the content of this text field.
    Now when you will actually run the form you have to insert mime-types in the text "mime_type_of_file " for eg
    for PDF files: Application/pdf
    for msword :Application/msword
    for the first case just input the mime-type which you wish to upload.
    "or type in fixed mime type" ---> delete the content of this text field say for eg for PDF files:Application/pdf
    so that at run time you do not have to input any mime-type info and in this case even the field need not have the column for the mime-type.
    hope this help.
    rahul

  • I purchased a new computer. How do i install Adobe Export PDF on the new computer?

    I purchased a new computer. How do I installmy annual subscription on the new computer

    Hi Carmine,
    There is only one application that you can install.
    You need to visit  www.Adobe.com/exportpdf
    Regards,
    Ajlan Huda.

  • How to change co-ordinates of an internal table in page 1 & 2 using offline adobe forms?

    Hello All,
    How to change co-ordinates of an internal table(main window data) from page 2 onwards in offline adobe forms. For e.g., I need to print my internal table around 3-4 lines along with header&footer(only 1st page)in page 1. From 2nd page onwards Internal table should print header and use remaining page til end.
    Thanks in advance for your help.
    Thank you,
    Janakiram.

    Issue resolved...need to use content area option to achieve the same.
    Thanks,
    Janakiram.

  • Update data of pdf (offline adobe forms) to sap system By Inbound E-mail

    Hello,
    I am trying to update data in PDF (offline adobe forms) to Sap system by Inbound E-mail. Kindly give some suggestions for scenario to do this task.

    Hi,
    There ia a good information for your requirement.
    Please check the below link.
    http://www.sdn.sap.com/irj/scn/events?rid=/library/uuid/c0c139d3-3eae-2910-01a1-d253f2587b0e&overridelayout=true
    Thanks.
    Uma

  • Issue while uploading a offline Adobe form

    Hi i`m working in Offline Adobe form.I`m able to send a form  to vendor and he is able to recieve and download the form.But while uploading the form some "Runtime uncaught Exception occurs".
                                  The Exception is CX_FP_RUNTIME SYSTEM and trigger  location of  Exception is
    CL_FP_PDF_OBJECT..I couldn`t resolve that...Plz help me out...

    Please specify when the error occurs. According to my experience, the problem can be that the transformation (XML data --> ABAP variable) has found some unexpected character. If my guess is right you need to debug this trasnformation and remove the unwanted character before the transformation starts.

  • Offline adobe forms using webservices-how to print table data

    HI,
    i have created offline adobe form using webservices which call rfc to pull the data ...to get inspection lot details ...
    iam getting header data....but iam not able to get multiple line items of the table data ..here in scenario there are 4 line items but only 1 line item is getting displayed in the form...
    is there any need to handle seperately to display  tables data in offline adobe forms if we call from webservices
    Tousif
    Moderator message: please have a look in the dedicated forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on Jan 18, 2011 3:08 PM
    << Moderator message - New question asked, so this is locked >>
    Edited by: Rob Burbank on Jan 18, 2011 10:19 AM

    This is oofline adobe form which is created throgh webservices
    Edited by: tousif_ig on Jan 18, 2011 3:19 PM

  • How to integrate Offlineline  adobe forms in webdynpro

    hi all,
    iam designed adobe forms through the SFP transaction and developement of driver program to call the forms  through the application program i.e se38.
    here, the data extraction from tables and popualating the data is okay. My question is how save data in sap system after user fill data in offline adobe forms?
    requirement is initially user dowload the form from the portal , then fill data in Pdf form and then upload the form form in to portal.

    Hi,
    Look at this eLearning Documents. This a good way to start.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning">SAP Interactive Forms by Adobe eLearning Catalog</a>
    Regards.
    Marcelo Ramos

  • INBOUND MAIL PROCESSING in SAP for Offline ADOBE FORM Concept

    Hi to all,
    Please can anyone tell me, what INBOUND MAIL PROCESSING in SAP for Offline ADOBE FORM?
    What is concept and how to use it, is any program need to write for that or only need to configure it.
    I have searched the SDN, but only get topic how to configure inbound mail processing.
    I am new to this area; please any one put some light on it.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

    Hi Pavneet,
    Inbound processing of an offline adobe form consists of several things -
    a) an email id to be created on the server (to accept the mail & process the adobe form - this needs to have the right roles)
    b) the smtp config needs to be done by basis
    c) the abap developer needs to create a handler class that gets called when an email is recd in SAP. This handler class has 3-4 methods (first to read the mail and extract the pdf, convert data in pdf to the abap variable, process the form to do the specific function in sap (which will vary from requirement to another).
    I found this blog very useful when I was getting my adobe form done -
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    Hope this helps.
    Cheers, Liz
    (ps: you might get more help in the adobe form specific forum in sdn)

  • How can I attach multiple filled-form PDFs to the same outgoing email on iPhone/iPad?

    How can I attach multiple filled-form PDFs to the same outgoing email on iPhone/ iPad?

    This isn't supported in the current version of Adobe Reader on iPhone/iPad.
    Shradha

  • Integrating Offline adobe form in Portal

    Hi All,
    I created offline adobe form using SFP tcode.
    This form needs to be integrated in Portal. When user logs in, he/she should be able to open this form.
    Can offline adobe form can be integrate to portal directly? or do we need to create the Webdynpro applications only for poral?
    Please let me know whether we can integarate offline adobe form to portal directly. If not why?.. I don't know about portal.
    Thank you!
    Prasad

    Hi Deepika,
    This discussion thread is all about integrating a WebDynpro application which contains adobe form into portal.
    I assume your requirement is different which needs to upload an offline adobe form into portal.
    There are documents available to explain this functionality in detail. Please note down the following.
    1) For uploading adobe form should be XML schema based.
    2) There should be a webdynpro application with uploader UI element which has been integrated into the portal.
    3) On form upload, you will get all the data associated with the form within webdynpro
    Thanks & Regards,
    Sanoosh

  • Offline Adobe Form Issue

    Hi Experts,
    I have a requirement to add few fields in my offline adobe form (ZCI Layout) which is getting called from webdynpro abap (via UI element "FileDownload").
    The new fields has been added in the context node of WebDynpro and the population logic is all written in the appropriate method. Now the same needs to be added in the Adobe form as well.
    So can you please help me with how to update the XML interface for the Adobe form.
    I have already refreshed DataView but its not working.
    Thanks a lot in advance.

    Please specify when the error occurs. According to my experience, the problem can be that the transformation (XML data --> ABAP variable) has found some unexpected character. If my guess is right you need to debug this trasnformation and remove the unwanted character before the transformation starts.

  • WDA & offline Adobe form solution required

    Hi Experts,
    I have to develop an application in WDA which integrates already created (in SFP) interactive adobe form with standard layout.
    WDA application is showing 3 tables on 3 different tabs of a view. On each table there is a column with which is to open/save/download the interactive adobe form.
    I have developmend the WDA application and now want to integrate the interactive adobe form with it.
    Can anyone please tell me the solution for this so that on click of a table column (text on each row) it will either open that adobe form or it will download it to local PC so that it can be filled by the user and submit it later on.
    It will be good if someone can tell me in detail like in which view/window i have to put the intercative form UI element & what to be coded.
    Cheers,
    Nik.

    Hi Uday,
    Didnt get your Point "Just have the desired PDF file contents bound to your Web Dynpro components context node as an XSTRING." Is it like taking a attribute of type XSTRING and bind the Form content which i get from
    call function fm_name
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
          zapp                 = app
          text                   = text
        IMPORTING
          /1BCDWB/FORMOUTPUT = output
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          others             = 4.
    XSTING bind using set_attribute( output-pdf).                      " psudo code
    The interactive form is of standard type & when i pass the form name in templatesource it will automatically create a context node with the form interface.
    If i will get data in XSTING Type attribute how i will bind it to the form context which has form parent nodes, its child nodes & other attributes?
    Also please tell In which view I will put my interactive adobe form?. The problem is where ever i put my adobe form it opens as and when that view opens up as a PDF. If i check it as interactive enable, the web page goes to and endless loop.
    Regards,
    Manish
    Regards,
    Nik
    Edited by: Nikhil on Jun 21, 2010 2:59 AM

Maybe you are looking for