Problem in adobe offline forms
Hi All,
I am developing an application on Adobe Interactive Forms. I am working on the example given in SDN online, offline with file upload. Online Scenario is working fine and i could able to get the data even from back end executing BAPI.
But problem is with offline scenario, where i am uploading pdf filled with data in offline mode. I could render the pdf successfully on browser, But when i press Button the data in the PDF (entered in offline) is not passing to the controller instead it is throwing NULL.
So i could not get the result.....
I had gone through all the documents in SDN. Please suggest me some solutions..
Regards
Raghu
Hi Raghu,
Yes, attribute is bound to binary & is different for datasource context structure.
It seems you have done all the things properly, only one small difference in code as I mentioned earlier.
Did you check with code in sample example at SAP Library like wdContext.currentABCelement().getAirline() ?
Kind Regards,
Nitin
Updated: Refer to link which has the code to move data to controller's context https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/offline%20interactive%20pdf%20form%20using%20download.pdf
Edited by: Nitin Jain on Mar 7, 2009 11:33 AM
Similar Messages
-
Can't create received Adobe Offline Form e-mail
Hi experts,
My setup is as follows:
CE 7.2 BPM System with Adobe Offline Forms, sent from system through smtp and received by imap.
When I recieved my Adobe Form task in my personal inbox, I modify it, press submit and I send the composed email with the pdf to the default receiver with default composed text.
Problem:
When the system receives the email, the following error occurs in the Last 24 hours (Java) log.
"Cannot create e-mail, because: charset=us-ascii [EXCEPTION] java.io.UnsupportedEncodingException: charset=us-ascii"
To submit the pdf, button has to configured to submit the file as .pdf file. Standard the encoding with submit as pdf is UTF-16 (not possible to change the encoding when saving as pdf in LiveCycle Designer 2)
Any clues where to search/fix this problem? Because the process stops at that step.
Thx.
Full trace & IMAGE of trace: http://i54.tinypic.com/ej7ij5.png
Cannot create e-mail, because: charset=us-ascii
EXCEPTION
java.io.UnsupportedEncodingException: charset=us-ascii
at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:52)
... (see image for complete trace)
Category: com.sap.bpem.base.mail.MimeMessageBuilder
Application: sap.com/tcbpembase~earThis just happened to me this morning during my commute. I read about 10 of my e-mails fine, but when I went to the next unread e-mail, the body of the e-mail was blank. I changed the preview to five lines and could see some of the text in the preview, but when I opened the e-mails, the body and subject lines are blank. It's been weeks since I upgraded to iOS4, so I don't know if it's related or not.
When I get home tonight, I might try resetting the iPhone.
^MD -
HTTPS communication for Adobe Offline form with SAP ABAP WAS
Hi Experts,
Can we use HTTPS communication method to call a SAP ABAP Web Service from an Adobe offline form?
Example : I have a SUBMIT button in my Adobe offline form and when clicked, it populates a sales order number in the form.
Here my SAP ABAP server from where it reads the info is using HTTPS communication method. Now if i use the same service with HTTP it works fine but if i switch the service to use HTTPS it shows me an error "Error attempting to read from file. <https://FQDN/<service name> .
I am using self-signed SSL server certificate from SAP ABAP server. But here i also see a certificate error in my browser (IE 7.0) saying "Untrusted Certificate". Is this the reason for my above issue?
I could not find any post in SDN giving me the answer.
Regards,
HobinHi,
The Certificates are already imported into the Trusted Certificates Section. But the real Issue is regading the Adobe Offline forms. If I open the Adobe Offline forms in the Adobe reader 9.0 and the Web Service call is made based on the Https:// . It saying "Error attempting to Read the file". The Fully qualified domain name is also provided VA. I have tried to import the certificates to Adobe Reader's - Trust Identities but still it is not working . If I switch the webservice authentication method to Http:// then it would work. ADS is already configured with SSL. And the HTTPS:// based WebService embedded in the Adobe Interactive Form is working ,if the form is Online in the Browser (integrated in the Webdynpro Abap UI element).
Is there any other way to Add SSL Certificates to Adobe Reader , so that Https:/ based webservice will work if the Form is opened in Adobe Reader 9.0.
Regards,
Hobs -
Adobe Offline Forms 4.7
Is it possible to create an Adobe Offline form in SAP 4.7? If not, what other alternatives are available that can mimic filling out a form offline and then passing the information back into R/3 at a later time?
Check the [Adobe FAQ|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2a8a0a37-0301-0010-f794-aecd1bb426e0#q-8]
-
Binding problem from adobe interactive form to SAP
Hello All,
I'm using SAP NetWeaver Developer Studio 2.0.9 SAP WAS 2004s SP11.
I'm tried to exercise with document "How To Create Online and Offline Forms in Web Dynpro for Java" (you can check it this link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4fd2d690-0201-0010-de83-b4fa0c93e1a9). I could run it succesfuly but i have a problem. I couldn't get data from Adobe Interactive form when i click "Submit to SAP" button. All field value return with "null".
The code is like that;
public void onActionFormSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionFormSubmit(ServerEvent)
String name = wdContext.currentTravelDataElement().getEmployeeName();
String costcenter = wdContext.currentTravelDataElement().getCostCenter();
String city = wdContext.currentTravelDataElement().getDestinationCity();
String country =
wdContext.currentTravelDataElement().getDestinationCountry();
wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(
"Form submitted: Employe Name="
+ name
+ " costcenter="
+ costcenter
+ " city="
+ city
+ " country=" +
country);
What could be the problem?hi Selcuk,
check what is the cardinality of the node that bound to the interactive form.
interactive form->properties->dataSource = <xyz node of context>
goto <xyz node of context> -> properties
just change the cardinality to 1..1.
goto
interactive form->properties...
check that the dataSource and pdfSource are bound to the right Context nodes/attributes...
hope this helps...
with regards,
-Amol Gupta -
Data Passing Problem with Adobe Interactive Forms
Hello all,
I am trying to create a Guided Procedure to implement an offline Adobe Interactive form. This form is based on the standard Requisition Request form used in MSS for e-Recruiting.
I've copied the standard form and updated the layout to ZCI using the appropriate transaction (not manually). After that, I've changed the Interface and layout. But to get the Form in the portal you need to have a .xpd file. Therefore, I've tested the form in preview mode, saved a copy as a PDF file and opened this copy in the standalone Adobe Lifecycler Designer. In the standalone version you are able to save the form as a PDF (not possible using transaction SFP).
My question 1 is if this is a wrong approach and there is a better way to retrieve the xpd file.
Next to that, I wrote a RFC function to retrieve data in the backend. This function is working and now I try to pass the data to the Form in the GP (using prefilling). The data is never passed, any points that I need to check there. The data used to export is a structure that contains a number of table types, because Adobe has issues with importing tables it seems. The form is working correctly in the backend.
Points will be rewarded for helpfull awnsers!
Kind regards & thanks in advance...Check double post
-
ADOBE OFFLINE FORM-.An exception CX_SOAP_FAULT occurred Message no. TPDA
HI GUYS,
WE HAVE DEVELOPED AN OFFLINE INTERACTIVE ADOBE FORM WHICH USES WEBSERVICES TO GET DATA FROM SAP WHICH IS WORKING FINE IN DEV SERVER AFTER MOVING IT TO QUALITY IT IS NOT WORKING ... WE FOUND CX_SOAP_FAULT ERROR IN DEBUGGING MODE OF WEBSERVICE... BECAUSE OF WHICH IT IS NOT PULLING DATA FROM SAP.......
CAN ANY ONE HELP US REGARDING THIS
WHAT IS THIS ERROR .....An exception (CX_SOAP_FAULT) occurred Message no. TPDA430
THANKS
TOUSIF
Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms", and never use all upper case when posting.
Edited by: Thomas Zloch on Apr 28, 2011 5:59 PMHi Surjith,
This happen randomly, it does not specify on a particular user. We have more than 100 transaction successfully created. However only some fails.
Any idea?
Thanks
Regards,
Bryan -
Adobe Offline Forms issue in GRC System
Experts:
I am working on creating a Offline Form for GRC Process Control in SAP GRC System. I have couple of doubts.
1. In the Form property, there is a new field call 'Inbound Handler'. The document which I referred says that, this 'inbound handler' helps in processing the inbound pdf's which comes thro mail. In this place we need to select the class developed with 2 methods, 1.Create Instance and 2. Handle PDF. And the document also talks about creating a separate class and referring it in the exit rules (SO50). I am not sure whether Inbound Handler is a replacement for Exit Rules (SO50) so something else. Please Clarify.
2. While generating the PDF file, as you know we call the series of function modules. I have problem with the FM ' CALL FUNCTION fm_name' . When this FM is executed, normally it should generate the PDF and XML which will be available in fp_formoutput-pdf and fp_formoutput-xml. But in this system even when there is no issues with the export parameters, the FM is not able to generate the PDF and XML. Both fp_formoutput-pdf and fp_formoutput-xml are coming as EMPTY. Result of which when the FM 'FP_JOB_OPEN' is called it displays the message 'No Job Started' and exits the program. This same program works find in ECC 6.0 system. Can anyone thro some light on this?
Line: -
TYPES: BEGIN OF st_test,
one TYPE string,
two TYPE string,
three TYPE string,
END OF st_test.
DATA: it_test TYPE st_test OCCURS 0.
DATA: wa_test TYPE st_test.
DATA: fp_outputparams type sfpoutputparams.
DATA: fm_name TYPE rs38l_fnam.
DATA: fp_docparams TYPE sfpdocparams.
DATA: result TYPE sfpjoboutput.
DATA: fp_formoutput type fpformoutput.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-b02.
PARAMETERS: p_taskid TYPE grfntaskplan-taskplan_id DEFAULT 'DF492600B7308BF19F5E00237D624FE0' OBLIGATORY,
p_email TYPE ADR6-SMTP_ADDR DEFAULT 'a@b' OBLIGATORY,
p_tmail TYPE ADR6-SMTP_ADDR DEFAULT 'a@b'' OBLIGATORY,
p_form TYPE fpwbformname DEFAULT 'ZAOF_TEST',
p_langu TYPE spras NO-DISPLAY DEFAULT 'EN',
p_countr TYPE land1 NO-DISPLAY DEFAULT 'US',
p_pages TYPE fppagecount NO-DISPLAY DEFAULT 2,
p_loop TYPE i NO-DISPLAY DEFAULT 1.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
START-OF-SELECTION.
wa_test-one = 'One'.
wa_test-two = 'Two'.
wa_test-three = 'Three'.
append wa_test to it_test.
END-OF-SELECTION.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = p_form
IMPORTING
e_funcname = fm_name.
fp_outputparams-getpdf = 'X'.
fp_outputparams-nodialog = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_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.
DO p_loop TIMES.
fp_docparams-langu = 'E'. "p_langu.
fp_docparams-country = 'US'."p_countr.
fp_docparams-FILLABLE = 'F'.
fp_docparams-dynamic = 'X'.
fp_docparams-UPDATE_INTERACTION_CODE = 'X'.
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
Ztest = it_test
IMPORTING
/1bcdwb/FORMOUTPUT = fp_formoutput
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4.
ENDDO.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = 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 in Advance
Vijai
Edited by: Thomson VijaiAnand on Apr 21, 2010 11:15 AMHi Thomson
I met a similar probleam.
Could you explain how you get it through?
Thanks -
PAsword Protectiong for adobe Offline Forms
Hi,
Can anyone help me in the below scenario.
I have an offline Adobe Interactive form.
This form needs to be password protected so that only authentic users can view the form.
Thanks
NancyHi,
<b>I have changed the mode to UpdateDataInPDF mode.</b>And now it is giving <b>500 Internal server Error while deployment.</b>
The usePDF mode is working perfectly but then it cannot be used for displaying data fetched from SAP R/3.
For displaying data mode has to be updateDataInPDF but its giving a deployment error.
Does it has anything to do with proper installion of ADS Service on SAP WAS? -
Problems with Adobe Acrobat Form
Hi there.
I have successfully created a form using Acrobat 9. I added to the media folder of a website that I'm building and added a link from a page to this Adobe Acrobat Form Questionnaire. The trouble is when I test it on FireFox and Safari on my Mac the form loads, I fill it out and press submit and it opens Mail and gets ready to send the attached form... all working perfect... I then go to test it in Windows XP using Explorer and Firefox and it opens the Acrobat document... allows me to fill out the form, asks me for what email method to use... but then says "The Operation is Not Permitted".
This is sooo frustrating.... can someone tell me what I'm doing wrong here. The website is good to go at this stage... but this issue is preventing me from going live with the website. Can anyone help..??
Any comments most welcome... below is the test site for the website...
http://www.creativedesign.ie/metpro_test/pages/technical_services.html
Click on the bolded word "Questionnaire".
Yours sincerely,
AnthonyI'm having a similar problem. I've created several forms in LiveCycle Designer ES 8.2 that will be used by our company technicians to gather and submit important equipment inspection data.
During development, the forms were edited many times in LiveCycle Designer and were then re-opened in Adobe Acrobat Pro to "Extend Features in Adobe Reader", to enable saving copies of the completed forms. I also set the initial view in Acrobat Pro as I'm unable to find a way to do it in LiveCycle Designer. Consequently, this back and forth process between LiveCycle Designer and Acrobat has been carried out many times on each of the forms. I'm not sure if this is something that should be avoided?
Anyway, the forms were tested and re-tested by myself and colleagues at work on company computers in Adobe Reader 9 to ensure there were no problems. Everything worked great until today. When I attempt to open the forms now, I get a prompt that says:
"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. Please contact the author for the original version of this document."
This has never happened before. The forms open in Adobe Reader 9 on my personal computer without a problem.
Any suggestions? I'm new to LiveCycle Designer and don't have a clue what the problem could be. -
Problems with Adobe PDF forms in Web Dynpro Java
As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
1.Text getting wrapped and repeated from the first line :
Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
For eg:
If I have 4 lines in a text field that is at the end of the page
1111111111111111111111
2222222222222222222222
3333333333333333333333
4444444444444444444444
and the page holds space for only two lines it prints the lines
1111111111111111111111
2222222222222222222222
in the first page and then proceeds to the next page and prints
1111111111111111111111
2222222222222222222222
rather than printing
3333333333333333333333
4444444444444444444444
2.No way to hide a page at runtime:
It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
Any pointers on this????????
Helpful answers will be suitably rewarded with points!!!!Yes,I am using the versions that you mentioned.
I have a node called <b>MasterData</b> which is the root node for my PDF Form.I have a node called <b>GenData</b> inside this node whose <b>ctx_Appraisal_Type_Num</b> attribute is bound to a hidden TextField in my form.In the <b>docReady</b> event of this TextField, I am writing the following FormCalc script to hide my SubForm whose Id is <b>MngrCmptnc</b>
if(MasterData.GenData.ctx_Appraisal_Type_Num == "2")
then
MasterData.MngrCmptnc.presence = "visible"
MasterData.MngrCmptnc.MngrCmptnc.presence = "visible"
MasterData.StrImp.presence = "visible"
else
MasterData.MngrCmptnc.presence = "hidden"
MasterData.MngrCmptnc.MngrCmptnc.presence = "hidden"
MasterData.StrImp.presence = "hidden"
endif -
Problem with adobe interactive form
Hi everyone,
Is there another technology to create a form
that allow calling RFCs from SAP,
save the form on the local machine,
update/insert data and do digital signature ?
Thanks.
Regards.Hi David,
To create a form that allow calling RFCs from SAP, you can do this using Adobe Interactive Form. This will absolutely work.
Best Regards,
Shital -
Strange Problem In NWDS while devloping Adobe Offline Form
I am facing a strange problem in NWDS while devloping Offline Adobe Form, the implementation code gets erased once the project is deployed, even the source file also gets deleted.
self
-
Problems in displaying SAP R/3 data in Adobe Offline Forms
Hello All,
I have a requirement where I need to display a PDF Form with data being fetched from the SAP R/3 through RFC .
<b>I am using SAP NWDS SP9, SAP WAS SP15 and Adobe Reader 7.0.</b>
I have 2 input fields which are binded to certain attributes of the View's Node.
But while deploying my application its not displaying any data.
Note : For the Interactive Form I am using the below mentioned features:
1. mode : I am using <b>usePDF</b> mode.
2. PDF Source : I did a PDF Preview of my Interactive Form and then saved the PDF form inside my WebDynpro Projects src/mimes/components folder fiving some name Test123.pdf.
3. I created a binary attribute say PDFSource which inturn reads the above mentioned PDF.
Please suggest why the PDF form upon deployment is not displaying any data although the fields are mapped to
node which are filled with data.Hi,
<b>I have changed the mode to UpdateDataInPDF mode.</b>And now it is giving <b>500 Internal server Error while deployment.</b>
The usePDF mode is working perfectly but then it cannot be used for displaying data fetched from SAP R/3.
For displaying data mode has to be updateDataInPDF but its giving a deployment error.
Does it has anything to do with proper installion of ADS Service on SAP WAS? -
Adobe Offline Form - Parse method is not possible for this type
Hi All,
I have developed an application for the offline scenario of interactive adobe form. I tried to load the adobe form from my desktop. After pressing the button "Display form" it throws an error "Parse method is not possible for this type".
If I include wdContext.getNodeInfo().getAttribute("pdfObject").getModifiableSimpleType() in the doInit() method of the view I receive this error -
com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(UploadView.pdfObject): must not modify the datatype of a mapped attribute
When I comment it out and upload I receive the error enclosed -
Parse method is not possible for this type
Can someone please help me with a step by step solution to this problem?
Any help is highly appreciated.
Many thanks,
DivyaHi Divya,
Please try to do it as stated below:
IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute("pdfObject");
ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType)type;
Try putting the code in wdInit() or wdDoModifyView().
Let me know if you still face the issue.
Regards,
Arafat
Maybe you are looking for
-
Sun java system application server 8 custom realm lock the admin console up
Hi: I implemented a custome realm. After I installed the custom realm to Sun App server 8 PE, I can get into the admin console any more. According to the log, the user is authenticated. However, this user isn't in write group to access the admin cons
-
Inconsistent datatypes: expected - got -
hi i am getting the error Error(45,12): PL/SQL: ORA-00932: inconsistent datatypes: expected - got - in this procedure i tried a lot and landed in confused state.. create or replace PROCEDURE BT_CPE_XML_READ1 IS dest_clob CLOB; src_clob BFILE := BFILE
-
Pages disappear when viewing and printing
On our Windows 7 Professional (Service Pack 1) 64-bit computer, using the Reader application directly (not through a browser), we have been frustrated with blank pages appearing while viewing and printing. This happens in Adobe Reader 9.5.0, 9.5.3, a
-
Upgrade seems to be hanging at Running upg/307/wwv/wwvupd2.csh
Hi, I am running the Portal 306 to 309 upgrade scripts in the following environment. OS - Solaris Database - 8.1.7.2 9iAS - 1.0.2.2 The upgrade seems to be hanging at Running upg/307/wwv/wwvupd2.csh. It has been stuck at this point for the past 36 ho
-
How can I get Bridge CS4 to open DNG automatically in ACR?
I just did a reformat, and I used to be able to open DNG's in ACR just by double clicking them, but I can't figure out what setting that was. It was nice to avoid having to right click and select Open in Camera Raw, and just press enter. Does anyon