Getting data in Adobe forms

Hi,
what are the ways to get the custom field data into adobe forms. I want to use in WD application.I made the zpdf form with standard and added some custom fields in that. But how to get the data from table .
Thanks

hi,
->For getting data from table into Adobe Forms, you need to add code in your WD application only.
-> You create an UI Element (Interactive Form) for the adobe forms in the Layout.
-> Give the name of your form (Zpdf) in the Template Source property.
-> A pop up will appear asking you to make contexts in your application by its own.
-> Click on Ok and then context will also appear in your Wd application.
-> Now you can use the context and write the code for getting values in Wddoinit or anywhere you want.
-> Write select/query or call a FM to fetch the data into an internal table.
->Finally bind the internal table with the Contexts created.
Check out this link :
/people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal
I hope it helps.

Similar Messages

  • Group by colum wise data in adobe form

    Hi,
      I have a requirement to print data in adobe form thru webdynpro for abap.
    example; i have a table data getting from webdynpro like below.
    date               empno   activity.
    11-11-2008     p101       x1.
    11-11-2008     p101       x2.
    11-11-2008     p102       z1.
    12-11-2008     p110       z2
    12-11-2008     p111       z3
    above table data i need to print in adobe form like this.
    date :  11-11-2008
    empno       activity
    p101           x1.
    p101           x2.
    p102           z1.
    date : 12-11-2008
    empno        activity
    p110             z2
    p111             z3
    please tell me how can make this
    Thanks
    Murali Papana
    Edited by: murali papana on Nov 14, 2008 1:47 AM

    Hi,
    After creating new data connection in the Lifecycle designer, all the attributes in the web service will appear in the 'Data View'.
    Drag and drop a DropDownList from the library palette
    Add the static values and texts to it
    Select the UI element (DropDownList) within the form designer.
    Goto Object palette --> Binding
    select Import/Export Bindings (Execute):
    Select data connection and give the binding attribute.
    Thanks & Regards,
    Sanoosh

  • Data in adobe form gets cleared when saved to desktop(Form is added in WD)

    Dear All,
    I have adobe form incorporated in a wed dynpro component. It's an interactive form and user has option to fill in details in the form. There is a submit button which user can click in order to submit details. This submit in turn does posting. Method is written in wed dynpro view for validation and posting.
    My problem starts here, when user has clicked on submit and posted, posting happens and finally the data is present in adobe form with the new PR no crated. When i try to save this form in my desktop it saves a blank form and not the data which is present in it. However if i don't click on submit and save the pdf with the manually entered values it save properly with the data.
    Please help in getting to bottom of this issue. One point, i have no idea about adobe forms, so pleae let me know for some obvious case as well.
    Thanking everybody in advanc.
    Regards,
    Saud

    Hi,
    My question still remains unanswered and i have found some observations myself. The thing is if i use any button on the form, and then try saving it saves an empty pdf, however if i do a manual entry it retains the data, and even after submit if i try something to enter maually and then try to save, it saves correctly.
    Please help me with some information.
    Regards,
    Saud

  • How to refresh the data in Adobe forms

    Hi,
    I have created an Adobe form through SFP transaction and a print program which passes data to the form through an internal table. The probelm is, first time the data is getting printed perfectly as per the internal table, but next time when I again run the program for new set of data, the form doesn't display the current data. It still has previous data in it, though the internal table contains the correct data. Can any one tell me why this is happening? Is there any way to refresh the adobe form data?
    Thanks in advance,
    Kiran

    Hi,
    Your Try and check this statement program level...
    FREE <itab>
    Regards,
    Ansari.

  • PHOTO IS NOT GETTING REFLECTED IN ADOBE FORM

    Hi experts
    We have tried the below code to dispaly photo in webdynpro integrated with adobe forms
    CALL FUNCTION 'HR_IMAGE_EXISTS'
        EXPORTING
          p_pernr                     = v_obj_id
    *     P_TCLAS                     = 'A'
    *     P_BEGDA                     = '18000101'
    *     P_ENDDA                     = '99991231'
        IMPORTING
    *     P_EXISTS                    =
          p_connect_info              = l_connect_info
        EXCEPTIONS
          error_connectiontable       = 1
          OTHERS                      = 2.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'SCMS_DOC_READ'
        EXPORTING
    *     MANDT                       = SY-MANDT
          stor_cat                    = space
          crep_id                     = l_connect_info-archiv_id
          doc_id                      = l_connect_info-arc_doc_id
    *     PHIO_ID                     =
    *     SIGNATURE                   = 'X'
    *     SECURITY                    = ' '
    *     NO_CACHE                    = ' '
    *     RAW_MODE                    = ' '
    *   IMPORTING
    *     FROM_CACHE                  =
    *     CREA_TIME                   =
    *     CREA_DATE                   =
    *     CHNG_TIME                   =
    *     CHNG_DATE                   =
    *     STATUS                      =
    *     DOC_PROT                    =
        TABLES
          access_info                 = lt_infos
    *     CONTENT_TXT                 =
          content_bin                 = lt_image_bin
        EXCEPTIONS
          bad_storage_type            = 1
          bad_request                 = 2
          unauthorized                = 3
          comp_not_found              = 4
          not_found                   = 5
          forbidden                   = 6
          conflict                    = 7
          internal_server_error       = 8
          error_http                  = 9
          error_signature             = 10
          error_config                = 11
          error_format                = 12
          error_parameter             = 13
          error                       = 14
          OTHERS                      = 15.
      CHECK sy-subrc = 0.
      READ TABLE lt_infos INDEX 1 ASSIGNING <fs_info>.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
        EXPORTING
          input_length = <fs_info>-comp_size
          first_line   = <fs_info>-first_line
          last_line    = <fs_info>-last_line
        IMPORTING
          buffer       = l_employee_photo_content
        TABLES
          binary_tab   = lt_image_bin
        EXCEPTIONS
          failed       = 1
          OTHERS       = 2.
    but the photo is not getting reflected in the adobe forms .
    and also i have tried the url method but it doesnt work .
    please help me out .

    First, have you set a breakpoint in this code and made sure that you are getting data into lt_image_bin?  That would seem to be the first place to start.
    Then the question is how are you trying to pass the image into the Adobe Form?  Are you passing an XSTRING context attribute into the form interface?  Have you marked that part of the interface as an image?  Are you setting the MIME Type parameter of the form interface as well.  You really haven't posted any details about what you are doing on the Adobe Form side.

  • All Records are not getting displayed in adobe form from table

    Hi All,
    I Want to display records from table  to Adobe Form Table .
    But While Displaying only some of the records are getting displayed How can i display all the records in next pages of adobe form.
    Its Urgent PLZ Reploy soon.
    Thanks & Regards
       Kiran

    dear friend,
    please check the adobe format, must be match to
    the data base format.
    pls go to the setting and adjust the data base table.
    if nothing is going click the radio button
    html format.
    that will work.
    rewards are expecting.
    vivek

  • Getting Error in Adobe Form as Script failed (language is formcalc:context

    Hi Experts,
    While acessing Adobe forms from MSS ,
    After Selecting the Scenario
    After Edit Form
    Before the form is Displayed
    I am getting a POP-UP message stating the following Error.
    Script failed (language is formcalc;context is xfa[0].data[0].RequestSeparationEnhanced[0]. PCR_PAGE1[0].PCRheader[0].EmployeeDataCI[0].EmployeeDataCIContent[0].EmployeeInfo[0])
    Script=concat($record.ENAME.DATA.FIELD,u201D(u201C,$record.PERNR.DATA.FIELD,u201D)u201D)
    Error: acessor u2018$record.ENAME.DATA.FIELDu2019is unknown.
    Script failed (language is formcalc;context is xfa[0].data[0].RequestSeparationEnhanced[0].PCR_PAGE1[0].PCR_DE[0].PCRDEContent[0].RequestSeparationEnhanceDDLOverlay[0])
    Script=concat($record.MGTXT.DATA.FIELD,u201D(u201C,$record.MASSG.DATA.FIELD,u201D)u201D)
    Error: acessor u2018$record.MGTXT.DATA.FIELDu2019is unknown.
    ENAME & MGTXT are the fields which has to be displayed by default when the form is shown.
    But when the Adobe form is displayed it comes without any Value for ENAME - Employee Name
    MGTXT - Reason for Action Text .
    Please provide me solution to over come this problem.
    Thanking you in advance,
    Suriya.

    This was fixed by commenting the script in the form since I don't require it.
    Suriya

  • Problem with data in Adobe Forms - partially displayed(first pade only)

    Hi all .
    I only start work  with Adobe Forms so I need your help .
    My form includes   table with lot of data .
    My problems are:
    1.only the first page with data is displayed and I don't see the rest  of data .
           What I need to define  for get all my data printed ?
    2. How can I print total at end of  table ?
                 Regards Helena .

    select the subform where your table body present , there you choose the pallete object inside you need to set.
    if you still have doubts see these blogs
    Adobe Forms Using:  Nested Table, Text Module & providing the functionality of Page Total & Grand Total
    Displaying Internal Table in Adobe Form

  • Updating data in adobe form

    Hi All,
    In my java webdynpro application, i want to show an adobe form and allow the user to update the data. Then, i want to store the form in binary in a db table.
    The layout of my form is not fixed as a different form can be uploaded each time. So, all i have is the binary of the interactive form.
    I have added the interactive form uielement in my view. I have bound the 'pdfsource' property to a context attribute that contains the binary of the interactive form to be shown. Also, i have chosen 'usepdf' in the mode.
    Now, after the user updates the form, if i read the context attribute bound to pdfsource, will i get the updated data in the form? Or should i do anything more to get the desired result?
    Thanks and Regards,
    Ram

    Hi Ram,
    In my Project we solved the same type of situation in following Procedure.
    1.) First after the User enters data in to the Form u hav to read it from the PDF
          by using this code .It converts the Data in to XML Format.
    public String getData(String pdfSource) throws EJBException
    ByteArrayOutputStream pdfSourceOutputStream = new ByteArrayOutputStream();
    try
       InputStream pdfSourceInputStream = new FileInputStream(new File(pdfSource));
       IOUtil.write(pdfSourceInputStream, pdfSourceOutputStream);
       pdfSourceInputStream.close();
    catch (Exception e)
       System.out.println(e.getMessage());
       throw new EJBException(e.getMessage());
    IWDPDFObject pdfObject = WDPDFObjectFactory.getPDFObject();
    pdfObject.setPDF(pdfSourceOutputStream);
    ByteArrayInputStream dataInputStream =                                      (ByteArrayInputStream) pdfObject.getData();
      if (dataInputStream == null)
        return(null);
      else
        try
          String output = formatData((InputStream) dataInputStream);
          return(output);
        catch (Exception e)
           System.out.println(e.getMessage());
           throw new EJBException(e.getMessage());                                 
    2.) Then u can get the data from tht XML code easily & store it in the Data Base where u need.
    --> For more Details watch the " TutWD_PdfObject " Sample Application from this site .
    I Think It helps u lot.
    With Regards,
    Roop Kumar.

  • Input data in adobe form not geting saved to desktop

    Dear All,
    I have adobe form incorporated in a wed dynpro component. It's an interactive form and user has option to fill in details in the form. There is a submit button which user can click in order to submit details. This submit in turn does posting. Method is written in wed dynpro view for validation and posting.
    My problem starts here, when user has clicked on submit and posted, posting happens and finally the data is present in adobe form with the new PR no crated. When i try to save this form in my desktop it saves a blank form and not the data which is present in it. However if i don't click on submit and save the pdf with the manually entered values it save properly with the data.
    Please help in getting to bottom of this issue. One point, i have no idea about adobe forms, so pleae let me know for some obvious case as well.
    Thanking everybody in advanc.
    Regards,
    Saud

    Thanks for your reply.
    1. I tried finding similar questions but was not able to do so.
    2. Yesterday itself i found out that it's working fine for some users but not for others. So i am just wondering whether it's a problem related to version of softwares like Adobe or IE?
    I have IE7 and Adobe Reader 9.4
    Please give some inputs, friends.
    Regards,
    Saud

  • Getting started with Adobe forms?

    Hi,
    I'm an  ABAP consultant and worked extensively on scripts and smartforms. I got an opportunity to work on Adobe forms, so can anybody tell me about prerequisites to learn adobe forms. Is it necessary to learn Java, Webdynpro...etc?
    Can anybody send tutorials on these forms?
    regards,
    Ravi.

    HI,
    t.code SFP.
    definition:
    Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
    When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
    However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
    You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
    go thru this links
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
    example
    To get an overview idea about Adobe forms ,
    Using SFP , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
    And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
    Create the context and layout in the form.
    The layout generated can be previewed and saved as PDF output.
    Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
    On activating and executing the form you will get a function module name just similar to smartforms.
    The driver program needs to call this FM.
    Refer to the below sample code :
    DATA : is_customer TYPE scustom.
    DATA : it_bookings TYPE ty_bookings.
    DATA : iv_image_url TYPE string.
    DATA : iv_sending_country TYPE adrc-country.
    DATA : it_sums TYPE TABLE OF flprice_t.
    DATA : docparams TYPE sfpdocparams.
    DATA : formoutput TYPE fpformoutput.
    DATA : outputparams TYPE sfpoutputparams.
    PARAMETERS : pa_cusid TYPE scustom-id.
    SELECT SINGLE * FROM scustom INTO is_customer
    WHERE id = pa_cusid.
    SELECT * FROM sbook
    INTO CORRESPONDING FIELDS OF TABLE it_bookings
    WHERE customid = pa_cusid.
    outputparams-nodialog = 'X'.
    outputparams-getpdf = 'X'.
    *outputparams-adstrlevel = '02'.
    CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
    ie_outputparams = 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.
    docparams-langu = 'E'.
    docparams-country = 'US'.
    docparams-fillable = 'X'.
    CALL FUNCTION '/1BCDWB/SM00000043'
    EXPORTING
    /1bcdwb/docparams = docparams
    is_customer = is_customer
    it_bookings = it_bookings
    IV_IMAGE_URL =
    iv_sending_country = 'US'
    IT_SUMS =
    IMPORTING
    /1bcdwb/formoutput = 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.
    Reward points for useful Answers
    Regards
    PC

  • Read table data from Adobe Form in WD method

    Hello,
       Context is like this :
       ADOBE_DATA        --- Node
             POS                  -
    Node   which has Dict. Stru : TABLE  card : o..n
                   POSNR       --- Attribute
                   MATNR       -
    Attribute
    Created Adobe Interactive Form through the template source of view layout.So xml schema generated automatically
    and is all ok.
    Method on action Submit :
    DATA :
    Node_zatodv_pos       type ref to If_Wd_Context_Node,
    it_zatodv_pos TYPE STANDARD TABLE OF zatodv_tab_pos.
    Node_pos =
                 Node_Adobe_data->get_Child_Node( Name = If_MAIN=>wdctx_POS ).
      Node_pos->get_static_attributes_table( importing table = it_zatodv_pos ).
    When I test the application,this method returns SY-SUBRC is 0 but internal table is "always empty".
    I have also individual attributes in the context which are read correctly.Only get_static_attribute_table doesn't read the table content.Please could any one help me where would be the problem.
    Thank you

    Hi peter,
    If you are trying to add data to a standard SAP table then you should use a FM or BAPI for that but if the table is not standard then you can use following steps but it would be better to do it using FM or BAPI.
    Do the following(without FM/BAPI):
    1. Crate a context in your view mapped to the fields of the database table.
    2. Now use this context as the data source for the form.
    3. Map the fields of the form with the attributes of the context.
    4. Now create a button on the form or on your view which has a action event handler method.
    5. In the method use code wizard to read the context attached to adobe form. By default it will create a structure containing data, which will be sufficient for adding one record at a time.
    6. Now use this structure to add data to table using SQL queries.
    Do the following for FM/BAPI integration:
    1. Create a FM/BAPI which has the functionality to add data to your SAP table.
    2. Now use service call to add the FM/BAPI fields as a context to your web dynpro component's context.
    3. Now map it with the view where the adobe form is created.
    4. Follow steps 2nd, 3rd and 4th as above.
    5. Now in your Action method use code wizard to call the method created by service call to FM/BAPI.
    This will work as required.
    Please reward points if useful.
    Regards,
    Vaibhav Tiwari.

  • How to get data from PDF form?

    PDF forms can send data in url like GET or POST method. Is it possible to get data from url, like in PHP http://sever/file.php?item1=value1&item2=value2&item3=value3
    In APEX url have specific construction and I don't know how to get value of items (1...3)
    Please let me help to find simple method of geting data from URL.
    Best Regards,
    Mark

    The APEX URL syntax is detailed here
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BCEDJBEH
    How to get it from PDF is another matter...
    I'm working on an app that downloads PDFs with a Large amount of data as a blob, takes that blob and changes it to XML, then goes through the xml to validate each section of data and then add it into the schema that my apex app is referencing....
    I didn't write the original code but I do know that it isn't a quick thing to implement and includes using some uploading some java jar files to your schema and writing some custom java code.
    Someone else may be able to help with grabbing PDF data into the URL for the amounts of data you want to pass to apex.
    Gus..
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!
    Edited by: Gussay on Sep 21, 2009 5:52 PM

  • Auto Response emails: How to get rid of Adobe Forms Central Banner

    Please if someone could help, that would be greatly appreciated.
    So my company uses these forms ( a total of 10) for different purposes when getting new resellers for our manufacturers. With a few of these forms our manufacturers want a copy of the new applications sent to them
    We have created them accounts and they recieve notifications by email just as we do. The only issue is we wish to get rid of the banner on top that says "Adobe Forms Central". The issue is we do not want our manufacturers to see we are using an outside source, no matter how well it works.
    Please if anyone has experience with this let me know. I am attaching a screen shot of the banner in case I am not using the propper term.
    Thanks in advance..

    Sorry, there currently isn't anyway to get rid of the branding in the email notifications.

  • One section data of adobe form is not read by web dynpro code

    Hi,
    I am facing problem in adobe form integrated with web dynpro. Form is having Java script. There is a section in the form related to settlement rule of wbs. It can be added in the form by pressing add record button.
    When I use this form offline and press add record and one section is added. I fill the data in those two section and upload on the portal to process online data in the second section is not reaby the code whereas in the first section is present there.
    But if the same activity is performed online data is properly read by the code.
    Could you please assist if there is any issue of saving data in the form offline and how it is handled in offline form.
    Thanx..

    Hi ,
    Try this.
    I think  you have corresponding context node is in the WDP. using  'APPEND INITIAL LINE TO'  just add  some blank data to the context. .
    Inside the form, create a table  for the context node. so at  run time all the empty entry will be displayed. Make this Table as hidden.
    Create another  Table that will display all the non empty row from  the above hidden table. When ever  we add / delete rows, the corresponding entry will update the hidden table. or else you can update the  hidden table on the click event of SUBMIT .
    Hope  this will help you.
    Regards ,
    Shaira

Maybe you are looking for

  • Problem with Dual-SIM

    Hi. I have such a problem, that I'm using a dual SIM card in my Nokia E7, but I don't see that they're calling my business or my private number. Is there an app that would show me the number, where to they call?

  • Color Profiles in LR compared to PS CS2

    I have my monitor calibrated with a Spyder2pro and my prints match exactly what I see on the screen in PS but nothing close to what I see in LR? I can only find three color profiles in LR (1998, Srgb, prophoto)? what's the use of editing photos in LR

  • When I click something that opens a new window, the new window wont load??

    can anyone help? It's usually when I click on like a "chat live" link for a website like zappos, or my cable company.

  • Validation period in condition type

    Hi all, Condition type JVCS ( CST ) , maintained in the trx code FV11  4% on date  01.04.2006  to 28.03.2007 .Earlier it was 3%. They have created the P.O on 28.03.2007 ( last validate date ).In P.O  it is fine 4 % They have done G.R on 29.03.2007.Wh

  • Change of ATP Category via CIF

    Hi,   We have to change the ATP Category of a Delivery of type 'EQ' during the transfer of the data from R3 to APO via CIF. Could you please help me to find out the suitable position where we can overwrite it. Thanks