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
Similar Messages
-
Adobe form not saving user-input data into saved pdf file
Hi forumers,
I'm a new abap developer and I'm tasked to create an interactive adobe form that will require the user to input data in the form.
No data is passed and received from PDF, but PDF has to be u2018Fillableu2019. I am able to fill out the form but when I actually save the form, it will be saved as a blank form again. I've seen the relevance of the LS_DOCPARAMS-FILLABLE = 'X' on this forum and I have incorporated it in my code. But how should I code the abap program to enable to save the user input as well into the form.
DATA: GV_FMNAME TYPE FPNAME,
LS_DOCPARAMS TYPE SFPDOCPARAMS,
LS_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
I_NAME = 'ZSC_ZRUFORREP'
IMPORTING
E_FUNCNAME = GV_FMNAME
* E_INTERFACE_TYPE =
* EV_FUNCNAME_INBOUND =
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
IE_OUTPUTPARAMS = LS_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.
LS_DOCPARAMS-FILLABLE = 'X'.
LS_DOCPARAMS-DYNAMIC = 'X'.
CALL FUNCTION GV_FMNAME
EXPORTING
/1BCDWB/DOCPARAMS = LS_DOCPARAMS
* IMPORTING
* /1BCDWB/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.
Thanks,
dgracheeNot quite yet, I have to say...
If you check the domain "FPINTERACTIVE", you'll see these values:
Print Form
X Interactive Form with Additional Usage Rights
N Interactive Form Without Additional Usage Rights
F
So, you are not providing "additional usage rights" (Adobe Form Credentials), meaning there could be a problem when you want to use those forms in a Production environment. -
Adobe form not dispalying content in portal
Hi Experts,
We have one issue in Portal.
One user clicked on UWL item in portal its opening subscreen as like behaviour.
In subscreen adobe form its not displaying any content and its displaying only approve and reject buttons.
we checked user browser settings and adobe version settings and user authorisations .
All are Ok.
But adobe form not displaying content.
Thanks,
Bheem V.Hi Bheem,
The problem is not clear to me. Is this a user specific issue?
Thanks & regards,
Sanoosh -
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 AMHi,
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 -
Make Adobe form not editable and Password protected
Hi All,
Want to add a button on adobe form , when user clicks the button then the form shouldn't allow to edit fields anymore.
I think this can be coded under script editor.
Please anybody specify the syntax to make adobe form not editable.
And my another issue is whether we can handle adobe forms password protected through SAP. kindly specify any approach.
Thanks in advance.
Regards,
Ashweeni.Hi Ashweenip,
PASSWORD PROTECTED PDF FORMS:
Go through these Threads
[Password protected PDF file|Re: Password protected PDF file]
[pdf with password encryption|pdf with password encryption;
Regards
Pradeep Goli
Edited by: Pradeep Goli on Feb 4, 2010 11:13 AM -
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 .
Thankshi,
->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. -
Adobe form not saving data.
hi Experts,
I am facing strange problems with Adobe forms.
I am working on both Offline and online adobe forms.
adobe form which i make does not allow to save data.
I am using the Adobe liveCycle designer 7.1.
The Adobe reader version is 7.08
and service pack is SPS 11.
I have used both the tutorials for offline and online adobe forms.
Online Problem :-
The project for online works fine and it also allows to save data(when i save the form on my PC).
But when i create a new form on my machine it does not allow to save data.
Really confuse what the problem is.
I have also tried this.
Copeid the XDP file from the Online tutorial project into my project
if i use this work around the the problem is resolved. But i am no able to understand why the XDP CREATED on my machine does not work.
Offline problem:-
In this case i am not able to save data in the form at all.
As the PDF created itself not allow to save data.
Please help.
Points would be awarded to helpful answers.
Regards,
Sanjyoti.Hi Satya & sanjyoti,
I am facing a pecular problem in using Adobe forms.
I am able to pass data from webdynpo application, to the Interactive form(using mappings, as mentioned by satya).
But for the same form & WD application, i am not able to pass data from the Interactive Form, back to the WD application.
My scenario is like this:
I need to show a form, with some prefilled data, such as date, userID, etc. I populate the node in my WD application, & then call the form.
The form displays the above prefilled data. Now the user has to fill the remaining fields & click on submit(Submit-to-sap button). The onsubmit property of the Interactive form is mapped to a onaction event, where WD tries to read the data entered by the user.
The problem is that on clicking of the submit button in the form, the event is not getting called.
If i use a button in the WD view itself, then the action gets called, but there is no data. In short, the data is NOT getting passed from Interactive form to WD application.
Can you please help me out with this?
Thanks,
Hanoz -
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,
SaudHi,
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.
ThanksYou´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 -
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 youHi 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. -
Text in ADOBE form not printing while printing the form
Hi All,
I have created an adobe form and am trying to trigger an output linked to the form. The problem is that the output that gets triggered does not show some of the texts which are existing in the form.
So although the values are coming correctly the overall output becomes incorrect as the text goes missing. Let me know if you have any pointers to the issue I am facing.
Cheers,
SharadenduHi Sharadendu,
First of all you need to put this question in Adobe Form related Forums.
Problems can be many in this case.
1: Overflow subform not selected.
2: Some condition failing in the text or subform.
3: Incorrect nesting of subforms.
Mainly your problem will be with the subforms , so you need to croos check all the subforms which you have used to hold data.
Regards,
Sandeep Katoch -
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,
RamHi 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. -
Adobe form not showing radio button etc
Hi ,
We had created an adobe interactive form which was working fine. Now I have upgraded my adobe to XI and the adobe is not working.
Before it opens , it gives following message
This document enabled extended features in adobe reader. the document has been changed since it was created and use of extended features is no longer available ..
Can anyone help?Hello Narasimha
This issue is happening due to validity of Adobe reader rights. The server date and time and document creation date and time are conflicting. Read the blog below.
Understand validity of a ReaderRights Credential in a PDF generated from SAP Adobe Document Services(ADS)
Problem while openning Interactive Form
Regards
Sandy -
Adobe form not showing negative sign before amount
Hi Experts,
We are having a strange problem. Our developers displaying
negative
amount in my adobe output. Its working fine in our development
system.
But for the similar set of data in testing system, negative sign before
the amount is not coming. The same adobe form, layout and print
program
is there in both development and test environment systems. Please
help.
Thanks,
SunnyHi Sunny ,
Check with the development team .. The field attribute while display types which you can restrict in the adobe form layout settings.
I am pretty sure this will help you and revert back if you have any questions in this regard.
Thanks ,
Gowrisankar
Maybe you are looking for
-
REG : Null Pointer Exception for RFC values
Hi All, I am facing peculiar erro in code.I need to check the null entries in SAP server then it should be replaced by space and if not null then should be replaced by the value in backend.But it is throwing null pointer exception I am using equalsig
-
Report Logo - Displays on HTML, not on PDF report (Apex report_)
Hi Gurus. I thought I'd report this here, as we are having a BI Publisher error, and I'm not getting any help on the Apex subforum. +We have a system environment setup where we have BI Publisher Enterprise and Apex 3.1.2 talking together to create PD
-
Hi Experts, I am trying to post data by using transaction FB01. Probelm is , its not posting the data. its not even throughing any error. i wrote the program exactly the same of the exiting program in our system which is working. But in my new progra
-
Hi, How to copy from one file to another file based on particular date. For Example: We have alertlog file which is being filled every minutes. I would like to copy content based on date to another file. Archived Log entry 21430 added for thread 1 s
-
Help! i can't save any changes in my preferences
when i change any the in my system preferences like trackpad or dock when i restart or switch on the system every thing is gone i have to repeat it agian what happend i don't know!!!!!! please help