Error in Adobe Offline Form
In the portal, the after attaching the roles, an error is shown while on the role.
"com.sap.tc.webdynpro.progmodel.context.ContextException: Node(AdderessTypeSelectView.vnAddress.vnData): cannot bind or add elements because the node has no valid parent "
Umang,
This exception occurs you are trying to add a child to a parent element not yet created. In your case vnAddress is the parent and vnData is its child if I am not mistaken.
So in your code you should first create an element of vnAddress and bind it and then create an element of vnData and bind / add it.
So your code should look like :
// Create and add parent first.
IAddressTypeSelectView.IVnAddressElement addressEle = wdContext.createVnAddressElement();
wdContext.nodeVnAddress().bind(addressEle);
// Next manipulate with child.
IAddressTypeSelectView.IVnDataElement dataEle = wdContext.createVnDataElement();
wdContext.nodeVnData().addElement(dataEle);
Chintan
Similar Messages
-
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 -
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 -
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]
-
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 -
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? -
Hi Experts,
We are using Webdynpro Application with Adobe Forms for download the employee data we are using Print PDF form. Past two years it is working fine. But recently we got error while downloading the form. The system did not react and did not give me the PDF format. In the past I did not have any problem for printing them. I tried to several different computers and still not able to have claim in PDF format. Previously my Adobe Reader version is 9.1.0 now my version is 9.3.0 .
Form is developed in Adobe Life Cycle Desiger 8.0. Adobe Reader version 9.1.0 is working fine. But we are upgrade the next versions (Like 9.3.1, 9.4.2 and 10.0.) that time it is not working. Can you please suggest me. Where is the problem.
Thanks in Advance.Umang,
This exception occurs you are trying to add a child to a parent element not yet created. In your case vnAddress is the parent and vnData is its child if I am not mistaken.
So in your code you should first create an element of vnAddress and bind it and then create an element of vnData and bind / add it.
So your code should look like :
// Create and add parent first.
IAddressTypeSelectView.IVnAddressElement addressEle = wdContext.createVnAddressElement();
wdContext.nodeVnAddress().bind(addressEle);
// Next manipulate with child.
IAddressTypeSelectView.IVnDataElement dataEle = wdContext.createVnDataElement();
wdContext.nodeVnData().addElement(dataEle);
Chintan -
Error in Adobe Interactive forms
Hi All,
I am implementing MSS/ESS.
I created an Adobe Interactive form in my View and mapped it with the corresponding context. I binded the interactive form(in the Right Click->Interactive Form->Edit) also with the corresponding context. But when I run the Application, I am not getting the following error.
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: IOException occured while creating template stream from the TemplateSource : ./temp/webdynpro/public/sap.com/ess~rep/webdynpro/Components/com.sap.xss.hr.rep.vciframe.VcRfwIFrame/VcRfwIFrameView_InteractiveForm.xdp (No such file or directory (errno:2))
But the VcRfwIFrameView_InteractiveForm.xdp is available in the respective folder.HI
Hi
Firstly check weather ur ads configuration of the server is done properly. i
see weather ur ads settings are as per the following document
Tutorial on Installing Credentials and Configuring ADS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f03414f8-d4ce-2a10-d4b6-ab201b329d98
f yes ur ADSUser password
must have expired follow the steps to reset the password
SAP NetWeaver '04 / 2004s
1. Log on to the Visual Administrator.
2. Follow the path:
Server -> services -> Security Provider -> User Management tab
3. Display the user ADSUser.
4. Change the ADSUser password. (You can use the same password.) Check the checkbox
'No password change is required'.
Note: The below mentioned technical user role is available for the ADSuser as of
NetWeaver 2004s SPS 7.
5. Log on to 'User Management' of your AS Java:
http://<AS Java server>:<http port> -> User Management
6. Display the user ADSUser.
7. In the 'Security policy' field, change the setting from 'Default' to 'Technical
Users' and save.
(For more information on the 'Security Policy' option, see the Release Notes in
the SAP Help Portal at
http://help.sap.com/saphelp_erp2005vp/he
lpdata/en/44/04265816343fdbe10000000a11466f/frameset.htm.)
After changing this option, the ADSUser password will not expire.
Note that this feature is not available for SAP NetWeaver '04.
regards,
Nikhil Tapkir. -
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
RaghuHi 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 -
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 -
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 -
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 submission without HTTP or SMTP.
Dear Adobe Gurus,
Can offline Adobe forms can be submitted without uploading the form to a webdynpro application(HTTP) or sending an email(SMTP). In crude terms, if I have a PDF form with submit button. Can I open the PDF, click on the submit button and get the PDF form submitted. Please let me know your thoughts here and also what do you think is the best option to integrate the Offline PDF forms into SAP system.
Thanks!
Surya.Hi,
If i understand weel you want to send back the form to SAP in an offline scenario without using SMTP or HTTP(S) , that's right ?
There are 3 solutions for send back the form to SAP :
1 - HTTP(S)
2 - SMTP with an inbound processing define in SAP system
3 - Upload directly into SAP.
To upload data in SAP system you have to convert the Adobe forms into IXML data and then process the XML to extract data ...when it's finised you have to call a BAPI for updating data.
Have a look here, you will find information on SMTP Flow .... [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/sampleCodeforprocessingInboundMailwithAdobeInteractive+Forms]
Hope this help you.
Best regards -
Adobe offline form with capablity to read data from a local data base.
Hi ,
We have customer requirement for a offline Adobe form which will be used by Sales rep, this form when saved to the local hard disk is required to read data from another local data base available in the laptop and prefill a few fields in the form .
Is this requirement technically feasible using Adobe forms?
Thanks
Srikanth SWell may be it's possible because if you go to the Data View in ALD and create a new Data Connection --> OLEDB database --> Build --> It gives you various options for connecting to different DBs but frankly speaking I have never tried it.
Check the ALD help for more information on the topic.
Using LiveCycle Designer > Working with Data Sources > Connecting to a data source > To create a data connection to an OLE database
Chintan -
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
Maybe you are looking for
-
I have lost my ipod, but haven set up icloud, can anyone help?
i lost my ipod 4 a while ago, and have just found out about the app, find my iphone. and i was wondering, i didnt set icloud up on it so could i still use the app to find it, if i got it. Please i need help, and if not does anybody know another way t
-
How do I change the name next to the home icon in Snow Leopard
How do I change the name next to the home icon in Snow Leopard?
-
Acrobat X Update "killed" Acrobat 9
Our prepress department uses Acrobat 9 Pro with the Pitstop plug-in to process files. A co-worker working in Windows noticed that he had an update available -- for Acrobat X -- so he went ahead and let it update. (I'll note here that we are in the ha
-
Hello: I have a personal domain name listed with GoDaddy. Its forwarded thru my iWeb site. Now my iWeb site does not show up using the personal domain name. It shows up under the one I prefer not to use. I assume this is a result of the change from .
-
We regularly update events on our booking page. If someone has registered previously for an event they get an error message for any subsequent events. How can we stop this from happening?