Submit button in Interactive form WDA
Hi All,
I have created one WD ABAP interactive form using one BAPI. I have placed one Submit button on the form which is of type (webdynpro native). And i have defined on action in WD. But when I click on submit button the action is not trigerring. I tried even with Webdynpro Active x type but still no use.
How can I link the button in form to action?
With Regards,
Ravi
Ravi,
There is onSubmit event in Web Dynpro where you can create your own method for data processing.
If you have set displayType as native then you should be using Submit button from WD Native Library in Designer.
Once you place the button on the form, check if following script is present in the click event of button in Script editor of Designer or not.
// DO NOT MODIFY THE CODE BEYOND THIS POINT - SubmitToSAP.xfo
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
// END OF DO NOT MODIFY
Also check Control Type in Object Palette for the button. It should be Regular.
Chintan
Similar Messages
-
Submit Button in Interactive form is not Triggering (Webdynpro Java)
Hi,
I have developed one application for Online intractive form.I have created one text box and one submit button in Intractive
Form.I created a Action method Submit.I have bound the onActionSubmit() method to onSubmit Event of Intractive Form.
For testing i am putting some value in text box and Clicking Submit button.I have set the debugger in onActionSubmit()
method.But when I am Clicking Submit button, onActionSubmit() method is not triggering.I have
1. I have used Submit to SAP button (Pallet>Library>Web Dynpro).
2.I have ACF(Active Control Framework) instalation.
3.I have WAS 6.4 and NWDS 04.
4.I have SAPForms.api in Program Files\Adobe\Acrobat 7.0\Reader\plug_ins path.
One Value Node DataSource (Cardinality 1..1) is binded into dataSource Property.And pdfSource property is binded to one value
attribute of binary Type.
I have done one application where i am getting data from R/3 System and displaying in PDF ,It is working fine.
I got below error in Log File for the above two applications.But geting the data from R/3 and displaying in PDF is working
fine even if it is giving below Error in Log
ClientJTSInterceptor.receive_reply
[EXCEPTION]
org.omg.CORBA.BAD_PARAM: Not found ServiceContext with id=0 vmcid: OMG minor code: 1A completed: Maybe
at com.sap.engine.services.iiop.internal.giop.ClientRequest.get_reply_service_context(ClientRequest.java:284)
at
com.sap.engine.services.ts.jts.ots.PortableInterceptor.ClientJTSInterceptor.receive_reply(ClientJTSInterceptor.java:91)
at com.sap.engine.services.iiop.internal.giop.ClientRequest.dealReceiveReply(ClientRequest.java:133)
at com.sap.engine.services.iiop.internal.giop.ClientRequest.dealReceiveReply(ClientRequest.java:125)
at com.sap.engine.services.iiop.server.portable.Delegate.invoke(Delegate.java:282)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:486)
at com.adobe.service._ControlAgentStub.done(_ControlAgentStub.java:83)
at com.adobe.service.ProcessResource.onCommit(ProcessResource.java:609)
at com.adobe.service.ResourcePeer.invokeCommit(ResourcePeer.java:130)
at com.adobe.service.J2EEResourcePeerImpl.commit(J2EEResourcePeerImpl.java:124)
at com.sap.engine.services.ts.jta.impl.ResourceList.commitTwoPhase(ResourceList.java:80)
at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:355)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at
com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
tener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:214)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Please Suggest.
Thanks & Regards
munaHi Muna,
May ADS is not configured in server properly.
Check the below link. I hope it will help you.
Re: no action got executed corr to SubmitToSap button of Interactive forms
Thanks
Siva Arikatla -
Submit Buttons in Interactive Form
how many submit buttons could be placed in interactive form.i would crate one simple calculator in adobe form using webdynpro. in this i would be placed 4 buttons i.e, (add,sub,mul,div). is it possible.explain some processing steps.
Hello Siva,
In Interactive Form ,you can place as much submit buttons as you want.
You are creating a simple calculator in adobe...Right..?
For this purpose ,
1. In Adobe Interactive Form, Go to WebDynproActiveX field and from this ,select 4 submit buttons in sequence
2.In Caption property label them as Add, Sub, Mul & Div respectively.
Reply if these steps work for you.
Best Regards,
Shital. -
Error when pressing Submit button in Interactive Form
Hi
I have a WD/Java component with an embedded interactive form. The form has two buttons, a SubmitToSAP and a CheckField button. Everything was tested on the development system and worked fine. The component was then deployed to the QA system and has also been tested successfully there.
Since a few days the WD does neither react on both of the buttons. Instead an error message appears indicating the following text:
Character string "0" does not exist in the set of allowed values
What seems strange is the fact that this issue started on the development system after a colleage had modified his WD/Java component (which does not contain an adobe form). After deploying this component on the QA system later we also got the issue there.
Does anybody have a suggestion how this issue could be fixed? Could this be caused by the SDM? Thanks for responding.
René MorelHi rene,
Can u send the complete stack trace?? It seems u r trying to get some values from value set & that values doesn't exist in the set.After checking the stack trace only we can find out main problem.
regards
Sumit -
Problem with Email Submit Button in Interactive Form
Hi All,
I am using EMail Submit Button in InteractiveForm.
At run time when i click on this button then it is sending this pdf file in the form of .xml file at given Email address but i want to send pdf format only.
Can anyone help me how to solve the issue.
Thanks & Regards
Dinesh KumarHi,
Try doing the following
try using the simple 'Button'. In the button's object properties, in the tab named 'field', select 'Control Type: submit'.
Then, in the 'submit' tab in the object properties, choose PDF in the 'submit format' dropdown field.
In the 'submit to URL field' type:
mailto:nameataddress.com?subject=mySubject&body=Done
You may need to adjust the e-mail address, subject and body text.
Regards
Ayyapparaj -
Submit Button Adobe Interactive forms in webdynpro application
Hi All,
I have a webdynpro requirement which contains only ineractive Fom ( Adobe From).
In adobe Form i have inserted webdynpro activeex Submit Button.
When i run my webdynpro application.I am not able click on the submit button and it is not triggering the backend logic.
Can anybody please let me know how can i solve this issue.
Thanks,
TaraginiHi Tarangini,
As how suggested by Thomas ensure that the button type which you are using within your Adobe form matches the "displayType" property that you have specified for the InteractiveForm UI element within your Web Dynpro component. Also specify an event name to be triggered when the user clicks on the Adobe form button. This can be done by specifying a value for onSubmit property of the InteractiveForm. Also ensure that your Adobe form is enabled by having the "enabled" checkbox property of the InteractiveForm checked.
Regards,
Uday -
Submit button within Interactive adobe form
Hi,
We have developed an Interactive adobe form and inserted a submit button within it We have installed ACI also.We tried putting the submit button both within the adobe form body and also within the webdynpro java view. In both the cases pressing the submit button does not result in any action. Please advise on what we are missing. We checked the forums for similar issues and found out that we are abiding by most of it.
thanks
anantharamHi Anantharam,
Please create and action in your view and attach it to your Interactive form UI element's onSubmit event. By doing this, whenecver you press the Submit button in the form, this action will be invoked. You can place any methots/code that you want to execute on click of submit button.
If you are using the button outside the form, then you try printing one of the values that you filled in the form which is binded to context. This way you can test.
If you are using WDP activex UI element s in the form then you need to have ACF installed on the machine and also ensure that the displayMode property of Interactive form is set to ActiveX.
Hope this helps!!
Regards,
Arafat -
How do I change the destination of a the submit button on a form in Form Central?
How do I change the destination of a the submit button on a form in Form Central?
Sure. Because it is a scheduling form and I want the filled out form to be forwarded to our scheduling department email.
Sincerely,
John Biester
Operations Manager -
How do i add a submit button to a form
ho do i add a submit button to a form.
Hi;
If you are using the FormsCenral website to create a form it will have a submit button by default for the HTML (web) form and also by default it you are saving as PDF (there is an option to create a PDF without Submit, but by default it does submit to FormsCentral).
If you are using the FormsCentral desktop application that is bundled with Acrobat XI you would have to sign into the service to create forms with Submit buttons. You can also create a form without submit button in FormsCentral Desktop and then edit the form in Acrobat XI adding a submit button using your preferred submit method such as by email.
Let me know if you need more information on either of these, it will be easier to assist knowing more about what you are using.
Thanks,
Josh
PS - if this is a question about adding a submit button in Acrobat not related to FormsCentral your question would be best asked in http://forums.adobe.com/community/acrobat -
Submit button missing from form, can see it in Pro but not in Reader XI
I've created and disributed forms in the past with no problem, however, when I open up my form in Reader XI, the submit button is missing. In the purple ribbon, it instructs people to click the submit button once the form is complete but there is no button showing. Help!
What does this command say:
ls -ldaeO@ Documents
If it has 'hidden' attached to it, then look at the "man chflags" command.
chflags nohidden Documents -
How to Disable Save Button in interactive form via sfp
Dear,experts
My requirement is that Disable Save Button in interactive form via sfp .Is there any options to do this or write Javascript/Formcalc.Please help!
Thanks
Vince.I found a adobe documentation that says that If you want to disable some toolbar buttons, you will have to use application-level Javascript. Looks like it is not possible from ADLC
Place the following Javascript code inside a .js file in
%ProgramFiles%\Adobe\Reader 9.0\Reader\JavaScripts to disable the toolbar buttons:
// [File - Create Adobe PDF Using Acrobat.com], plus toolbar button
app.hideMenuItem("WebServices:CreatePDF");
app.hideToolbarButton("Weblink:CreatePDF");
// [File - Collaborate], plus toolbar button
app.hideMenuItem("Annots:FileCollaboration");
app.hideToolbarButton("Annots:CollabToolButton");
app.hideToolbarButton("CommentTask");
app.hideToolbarButton("SigTaskButton");
app.hideToolbarButton("SaveFileAs");
app.hideToolbarButton("Save");
Regards
Sandy -
Submit button from Adobe form doesn't trigger action???
Hi all,
the submit button within Adobe form doesn't trigger any action that i wrote. it happens to my machine, but it doesn't happen on some of my colleague's machines.
i am using Adobe reader 8, when the first time i use IE to display the app, it prompts me to install some kind of activeX plug in, and after it installed, it told me that some setting is not correct, and it mentioned about adobe reader 6 or 7.
will downgrade to 6 or 7 solve this problem? is there any other walkaround for it?
thank you!If you are on Netweaver 2004s SP9 or higher, you could change the displayType property of InteractiveForm UI element to "Web Dynpro Native" and use the submit button from "Native" tab.
If you are any other lower version, you dont have a choice but to use "activeX" which requires Active Component Framework (ACF) to communicate with server. You need to use button from "Web Dynpro ActiveX" tab. You need to install the right version of ACF (SAP Note 766191). Better if you use Adobe Reader 8.1.2.
Thanks
Ram -
I'm trying to modify the appearance of the search box, the search button, and the submit button for web forms by modifying the CSS on Stylesheets. None of the tags I'm using (e.g. .webform .cat_button) seem to be working. What are the correct tags for those three elements?
When you generate the help you can select / deselect the buttons that are displayed.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Can we have two submit buttons in one form
please someone help me. my problem is i want two submit button in one form.one to insert data and other to search data .how can i do this.
hi!
it is possible but impragmatic to supply a single form with 2 submit buttons.
albeit, rather that use submit button you may just do the following (alternatively):
a. put a default action url to your form's action attribute;
b. replace all your submit button with just button (form element) and put a unique id on each;
c. then put a function name (javascript) on its onClick attribute;
d. in your javascript function, you may now reference your button through their id's and using an if-then statement, assign the proper url that will serve as the new action for your form;
e. on the last line of your function, execute the line formname.submit()doods72
http://www.ingenium.com.ph -
How do I get to the Submit button on my form?
I have finished my first form but can not find how to get to the submit button on the form to add where I want the form to go - how do I get an email address attached to the form?
Hi Amy;
A FormsCentral form can be either a web form users fill out in a web browser, or a PDF form (can also be distributed both ways).
For a Web form the data is always collected by the Adobe FormsCentral servers and is available to view/analyze in your account on the View Responses tab of the form. There are also options to set up Email Reciepts (to the form filler) and Email Notifications (to you and other users you specify) that can contain the form data.
For a PDF form you have the option of the Submit button that submits the data to FormsCentral the same as the Web form, and the same Notifications and Reciept options apply here too. Alternatively you create a PDF in FormsCentral to use however you'd like and can edit in Acrobat and add your own Submit button that emails the PDF or form data back to you directly. There are a number of tutorials online for adding email "Submit" buttons to PDF and if you are going to edit a FormsCentral PDF you would want to look at this FAQ as well: http://forums.adobe.com/docs/DOC-3661
I hope that helps, let me know if you still have questions.
Thanks,
Josh
Maybe you are looking for
-
I want to SHARE Sync Settings with my Family Members & Friends, How Can I Share Some of My Settings like tabs, bookmarks, browser extension with them. Also it is obvious I would not like to share my Passwords. Can you please help. This feature "Shari
-
I have Verizon Email on my phone, ipad, web-based (yahoo/verizon.net) and outlook iook.com. At one time all were working but I think I reset a password and then only a few worked. I have tried new password on all, changed back to the old password o
-
I own an iPod Touch 4g. Now i'm planning to buy iPod Touch 5g. Is it possible for me to register the new iPod with existing Apple ID so that i can transfer the apps from my existing account to my new Ipod 5g?
-
How to get the Contact person name of Account site level contact person
Hi All, I have contact person defined at account level and other at account site level. I am trying to print the site leve contact name in my AR Invoice report. What i used is bill_to_site_use_id a input in the below query select hp2.party_name from
-
Hi all, i'm newbie here and i have some problems doing with Java for my Final Project, just for my graduation... Here's the problem ... First i install the JDK 1.5 and MS SQL Server 2000. And then i also install JDBC for MS SQL Server 2000 sp3. Than