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

Similar Messages

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

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

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

  • 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

  • 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

  • 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

  • Sorting of data in adobe forms

    Hi,
    We have an adobe form designed which picks the data from the backend. In one specific case, a table comprising of different headers with different data, including date is being called.
    My pdf simply displays the data, the way it is stored in the backend. But now I want to display the data, sorting by its date mentioned. Is it possible for the pdf to read the content of the data and display it based on the sorting defined on the layout end?
    I did come across the 'controls' option for the table(under context) and tried adding the field name for sorting based on ascending/descending. But unfortunately, whenever I tried to enter the field name as 'date', it gives me an error saying "component does not exist". I have tried for other fields too, but the same message. This message comes irrespective of the check box for 'already sorted' property.
    What could be the reason for this?
    In the code initialisation of the interface, I heard that there can be a sort mechanism being coded. Is this alternative possible in my case?
    Please provide your valuable inputs.
    Thanks

    You´d better sort the table in the backend (data does not change in the form, as you said, you can do that). If that is your program which prepares the data, change it, if that is a standard, find an exit or repair it or you can do that in the interface. You would maybe like to read my blog about the changes of forms: /people/otto.gold/blog/2010/05/06/how-to-deal-with-sap-standard-adobe-forms
    Otto

  • Cyrillic data in Adobe Form could not display in WD Application .

    Hi All,
    I use Adobe Interactive Form Object in WD Application so as to display data in Cyrillic Language for printing.
    I have the problem that in the PDF i cannot display the Cyrillic data ( Bulgarian, Romanian...) but only EN .
    I dont have any problem running my adobe print form from R3 report program.
    Please , i will appreaciate any help.
    Regards,
    Ari

    Hi Thomas & Amit ,
    Thank you very much for your help.
    Tomorrow i will check your advices.
    Thomas how could i check the Adobe Plugin?
    I have problem only when i run adobe in WebDynpro abap view. I use the standart Interactive Form Object. When i run it inside sap (no in the web application) i have no any problem.
    You think there is any font problem with the Cyrillic Languages ?
    Amit i will check you solution and will replay.
    I appreciate your help.

  • Purchase order wise total in adobe forms...

    hi all,
           In adobe i am displaying purchase order header items below that i am displaying its line items.i want to display the net price
           for each purchase order below the line items..
    for example..
                  23435325                 3000               nb         
                             m-10       5           1000
                             m-20       6           2000
    purchase order net price            3000
                  23435326                 3000               nb         
                             m-30       5           1000
                             m-40       6           2000
    purchase order net price            3000
    Edited by: sivaprasath sekar on Oct 15, 2009 11:58 AM

    Hi
    You can do the calculation using script.
    Check the meterial numbers are equal and add the total.
    Kind Regads
    Mukesh

  • WD ABAP iview for Adobe Forms showing data of previous PERNR

    Hi Experts,
    We have developed adobe forms using HCM P&F functionality. We copied standard delivered WD ABAP Iview "Termination" multiple times for the use in developed forms. The Portal IDs are attached to the employee's IT 0105-Subtype 0001 Syname.
    We added the parameters in iview:
    Application Parameter: GET_PERNR=X&PERNR_MEM_ID=ESS01&Process=ZXXX_XXX_FORM
    Problem:
    The Portal id is assigned to PERNR in IT 0105 - Subtype 0001 correctly and when we execute the Form Service link is clicked on Portal it shows the correct default data in Adobe form.
    But if we remove the Portal id from 1 PERNR and assigned to another PERNR then Adobe Form still shows the data from previous PERNR.
    We are unable to figure out the problem as the new Portal id is attached correctly and other WD Java iviews are showing correct data for existing PERNR but only Adobe forms are showing data from old PERNR assignment.
    Please advise.
    Sunny

    Hi Siddharth,
    We have already done a number of action to clear the cache such as:
    - Set the 2 properties of the iview
                 a. Cache Level ---> None
                 b. Cache Validity Period --->-1
    -  Cleared Portal Run Time Cache
    - Clear DB cache
    - UME cache (In case you are changing users frequently )- System Administration -> System Configuration -> UME Configuration -> Support -> Invalidate cluster wide cache
    - Clear the browser cache --> Most imp - Browser settings -> tools -> Internet Optionsu2026 -> Temporary Internet Files -> Delete Files.
    The actions are already done but the problem is still there.
    I read some blog on SAP INDX tabel which records the Portal IDs when user logged in and Iview Properties "PERNR_MEM_ID=ESS01" reads this table . I am not sure that if this is the problem.
    Please help.
    thanks
    Sunny

  • Data Validation in Offline Adobe Form

    Hi,
    I need to validate some data through SAP tables in offline Adobe form .Please let me know how do we acheive this.
    Ricky

    Hi Liz,
    Thanks !
    First For populating data into Adobe Form we need to create a Webservices or what else.
    Second My validation included Material Numbers,Serial Numbers etc.
    About the requirment.........I have to send a offline Adobe form to person and he/she will make entries into that form (No Connection through SAP System ).
    Then after it will revert to respective person for further edition and submitted to SAP System(SAP Connected)
    Please advise the same.
    -Ricky

  • Data Integration issue with Adobe form

    Hi,
    We have been using many xACF forms in our WebDynpro java based application.
    For one of the xACF adobe form sometimes I'm not getting the data from adobe form to webdynpro context.
    Anyone can pls tell what may be the problem other then binding because that part i have already checked and it's working fine in some of the PC.
    Regards
    Ravindra Singh

    Hi Chintan,
    thanks for your reply.
    I tried that part already by converting xACF form to ZCI but facing issues with the drop-downs.
    Actually some of the dropdowns have values more than 1000. The value help for these drop downs comes as pop up in case of ZCI forms and the mazer problem is that in offline scenario doesn't even shows values for such dropdowns as a pop up or normal drop down.
    As per the SAP Note 1013227 we are using the enumerated type of drop downs for such larger values but no help in offline  scenario. I tried by changing the parameter value in visual admin as suggested in sap note which prevents pop-up for lager values but it's not recommended by SAP. Only because of this issue we are not able to migrate from xACF to ZCI.
    Do you have any idea how to get values for such drop downs in offline scenario.
    Thanks & Regards
    Ravindra Singh

Maybe you are looking for

  • Axis - Premature end of file (Desperate!)

    Hello guys, I am developing a simple XMLSignature (using Apache's XML-Sec v1.2.1) web service on a Tomcat v5.5.12 / Axis v1.3 installation (happyaxis.jsp is totally happy). The service performs signing and verification of Documents. The service call

  • Outgoing mail server doesn't work

    Hi, 2 hours on the phone with Verizon and they couldn't help me.... I moved to a new apartment, and from Comcast to Verizon. Now, it's not recognizing my Outgoing Mail Server. I changed it to the SMTP that Verizon recommended - nothing. I tried the s

  • SAP Standard Workflow for REFUNDS in FS-CD

    Hi We have a requirement to implement SAP Workflow in Financial Services Collections & Disbursements (FS-CD) module for REFUNDS Approval. Is there any SAP standard Workflow available to meet the requirement? How to find the Standard SAP workflows ava

  • Find my device icon not showing up

    I have a macbook air and when I use find my device on my ios device, the macbook air shows up, but where the icon is suppose to be, shows a pink box. Any idea why this is happening? Thanks

  • RE: Big Log Files resulting in Out Of Memory of serverpartition

    To clean a log on nt, you can open it with notepad, select all and delte, add a space ans save as... with the same file name on unix, you can just redirect the standard input to the file name (e.g.: # > forte_ex_2390.log (Should work with nt but i ne