Web dynpro submit button's question

Hi all,
There is a question about web dynpro's submit button.
I create a Web dynpro activex submit button,And it executes the action which i created in view's.That's ok.
But I also want to do such like adobe's regular submit action,for example,check the required textfield.......execute the preSubmit action and so on......
I change the control type from regular to submit,but it clears the click event. I guess it will remove the Web dynpro action execute.
So what should I do?
Best Regards
delma

HI
Ok.Maybe I didn't explain my question clearly.
Firstly, what I want to do is just like send-email button does.But you know,after I click the sendemail button, an automatic check will be done to check which required text field is null,if is null, a red border will be added and the submit is not allowed.(and also execute presubmit event)
Ok, I just add a web dynpro submit button,but I find it doesn't check whether the required text field is null.
I thought I could add the SAPSUBMIT script to submit button,but when i change the button to regular submit button, the click event  disappeared.
I know we can add some more scripts to archive this.
But because of the form is so large, I just want to find an easy way.to do so.
Thank you.
Best Regards
delma
Edited by: delma ma on Aug 13, 2008 11:51 AM

Similar Messages

  • Adobe form in Web Dynpro Submit Button Problem

    Hi all,
    I've created an Adobe form as a UI element in Web Dynpro as a development component. In this Adobe form, I've included a "Submit to SAP" button from the Web Dynpro Library.
    My whole purpose is to expose this DC as a callable object into Guided Procedures and then run this process, so that the Adobe form(embedded in Web Dynpro) can be seen and allows the user to enter information online into the form or download(maintain offline) and click on the submit button. After clicking of the button, I need the control to return to the GP framework to trigger to the next action. I have configured the button in the Adobe form as a submit format -> XML data and with submit to URL "%com.sap.caf.gp.if.PostProcessorUrl%". I did this because I want it to return the control to GP framework. However, there is also another option of the event submit button in the Web Dynpro UI Adobe element -> event-> onSubmit.... i created an action onsubmit which has the code wdThis.wdGetBformController().complete();
    When I run the GP process, the adobe form appears and when i click submit button, nothing happens... Does anybody know the solution?? Thanks!

    Hello,
    Can somebody tell me if i really need to put this code
    "%com.sap.caf.gp.if.PostProcessorUrl%"
    in the submit button. If so, do i need to configure somewhere what the PostProcessorUrl is? If so, can somebody tell me where i need to do this?
    Thx in advance.
    Kind regards,
    Maarten.

  • Web Dynpro Action/Method Handeling question

    Hey guys, here is what i am trying to do:
    I have a view with an input field and a drop down.
    The user enters an employee number in the input field, and i want the drop down to populate with some info about that employee.
    I CAN get it to work with the user pressing ENTER after entering the employee number, but i am wondering if there is a way to handle if the use just TABS to the drop down, or if the user just CLICKS on the drop down with the mouse?
    Either that or a way to auto populate the drop down anytime the value changes in the text field?
    thoughts?
    I have tried all the standard WDDO events and none do what i want.
    Thanks!
    -Jason

    HI
    Ok.Maybe I didn't explain my question clearly.
    Firstly, what I want to do is just like send-email button does.But you know,after I click the sendemail button, an automatic check will be done to check which required text field is null,if is null, a red border will be added and the submit is not allowed.(and also execute presubmit event)
    Ok, I just add a web dynpro submit button,but I find it doesn't check whether the required text field is null.
    I thought I could add the SAPSUBMIT script to submit button,but when i change the button to regular submit button, the click event  disappeared.
    I know we can add some more scripts to archive this.
    But because of the form is so large, I just want to find an easy way.to do so.
    Thank you.
    Best Regards
    delma
    Edited by: delma ma on Aug 13, 2008 11:51 AM

  • HTTP Submit Button (beginner question)

    I have been working with livecycle for a week or so now and got most of the program down. I have a simple form that uses about 10 text box fields that I want to have on a website say www.thisismysite.com/info.pdf now some where on that pdf there is a submit button that links to a url. Is there a way to have the form be submitted via e-mail through http or have it dump onto a database somewhere on my iis server? That way I would be able to compile all the data from xml form into the appropriate pdf and populate all the fields? Similar to an aspx submit form that submits via e-mail.. Any help would be greatly appreciated.. (I dont want it to be email submit button because the person who submits would have to have an email client such as outlook and thats how we currently do it.)

    Welcome the LiveCycle! There is under the "Standard" section of the Object Library a HTTP Submit Button that you can place, with this you would be able to point the document towards a URL (the database location on your server) where you would like the form to be sent upon submission.

  • Mimmicking the Submit button for questions

    Hello. If I wanted to create a custom button in Flash or Javascript externally from the Captivate presentation, what command would I be looking to target?
    Is each submit button unique or can I just use the same one each time?
    Thanks.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • WebDynpro SUBMIT button instead of Adobe SUBMIT button

    Hi Exprts,
    I am using the WebDynpro SUBMIT button after many unsuccessful attempts of using the Adobe SUBMIT button.
    The WebDynpro button is easier to implement and use. Pease let me know if there are any negative points in taking this approach.
    Any kinds of tips are appreciaed.
    Thanks,
    Shobhit

    hi,
    there are two buttons available for facilitating integration with Web Dynpro.
    the Buttons:-
    1). Submit to SAP
    2). Check Fields
    are there.
    if you go to interactive forms->properties->events
    you will see that there are two events...
    *onSubmit
    *onCheck
    these events correspond to the two above mentioned buttons.
    you can write the code for actions in web dynpro implementation.
    these two buttons provide good integration with Dynpro.
    There is no bad effect of using these two buttons as such.
    But the advantage surely is that you have access to these buttons in web dynpro.
    and can write the code for them in their respective actions.
    and further you can change the functionality of these buttons and modify the text on these buttons too. like "submit to SAP" can be changed to "MyText".
    the behavior of the button will depend on what code you write in its action.
    regards,
    -amol gupta

  • Which sy variable is initiated when web dynpro application call rfc of r/3

    Hi,
    My question is that when i pressed my web dynpro application button which called rfc at r/3 at that time which system variable will initiated.
    Regards,
    Gurprit

    Hi Gurprit,
      All variables of sys structure will be intiated.
    regards,
    Ganga.

  • Reading Dynamic Table Values in interactive form (web Dynpro ABAP)

    Hi All,
    I have created a Web Dynpro ABAP application which contains an Interactive Form, That Adobe Interactive Form contains Dynamic table (New rows can be added manually and deleted using a button).
    I am not able to read the Dynamic table values in Web Dynpro u201COn Submitu201D.
    In the Adobe form I have web Dynpro native button (I am using ZCI), while clicking the native button I need to read the dynamic table values.
    How can I resolve this problem.
    Thanks and Regards,
    Boopathi M

    that means, when u add the table instance at runtime, you will also have to add an element to the node that is bound to the table.
    probably addNew() mathos may be useful to you.
    it appends a new record to the record set.
    xfa.sourceSet.dataConnectionName.addNew()
    also when on the exit event of the table field, do the following:
    var i = xfa.parent.index
    $record.rootnodename.tablenodename.data<i>.fieldname = $.rawValue
    xfa.host.messageBox($record.rootnodename.tablenodename.data<i>.fieldname)

  • HTML, JavaScript, Applets possible in Web-Dynpro Applications?

    Hello Community,
    I'm developing a JEE5-Application using Web-Dynpro for the User-Interface. Web-Dynpro works fine for the most functions and processes of the application. But there are some special requirements i don't know to implement them using Web-Dynpro.
    So my question is, if there is the possibility for:
    using HTML-Code in a Web-Dynpro UI-App  (the HTML dynamically generated by Web-Dynpro)
    using JavaScript in the Web-Dynpro UI-App
    using Java-Applets (for example to interact if local computer resources)
    using an HTML-Editor for editing Texts in the Application (for example freeware Edtior fckeditor)
    or do i have to use JSF in that case?
    regards
    Matthias

    Hi Matthias,
    I will answer your question point wise, in short:
    1) Using HTML-Code in a Web-Dynpro UI-App (the HTML dynamically generated by Web-Dynpro)
    Ans: it is possible to put the HTML code in the WebDynpro UI App. Use the IFrame Ui element to do the same. See this:
    http://help.sap.com/saphelp_nw04/helpdata/EN/e9/7652a84fada444bd11ca73670ce7dc/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm
    Displaying HTML in WebDynpro View
    2) Using JavaScript in the Web-Dynpro UI-App
    Ans: Not Possible.
    3) Using Java-Applets (for example to interact if local computer resources)
    Ans: Not Possible.
    4) Using an HTML-Editor for editing Texts in the Application (for example freeware Edtior fckeditor)
    Ans: Not possible.
    I hope this helps!
    Regards,
    Pravesh

  • ERP2004: ESS JCO session handling in Web Dynpro apps?

    Hello,
    we run ESS/MSS Web Dynpro scenarios, running on WAS 6.40, SP12 in
    Enterprise Portal EP6 SP2 Patch 32. Our go live will be with > 1000 ESS users.
    1. When will the sessions in R/3 backend system be terminated by the
    Web Dynpro Application?
    How is the session handling in FPM (Floor Plan Manager) implemented?
    2. Are there any recommendations regarding the JCO connection settings
    in Web Dynpro Content Administrator (Maximum Pool Size, Maximum Connections,
    Connection Timeout, Maximum Wait Time) to reduce / optimize the load for the
    backend system? I found a documentation in SDN but it is not
    specific for ESS / MSS based on Web Dynpro.
    Background of questions above: The customer is worry about the load on
    SAP R/3 backend side: too much current users in the R/3 backend system,
    possibly bad performance etc. because the JCO sessions are open a long time.
    Are there any experiences with customers running productive ESS / MSS scenarios
    based on Web Dynpro?
    Thanks & Best regards,
    Daniel

    Hi,
    1. For best practices on JCO settings follow the tutorial below and do it accordingly for your no of users. YOu might have to do some trial and error procedure.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1
    2. For standards, security settings, cache management etc, SAP will give a TODO list after a remote audit of your project.
    regds,
    Sukanta Rudra

  • SAP Web Dynpro With Java

    Hi Guys
    A situation at work has forced me to learn web dynpro    with java. I already have some experience with the ABAP    web dynpro   . Now the question is how much "java" do i need to learn to learn sap WebDynpro    based on java. Should I first try and get a fair 'hands on' on core java and then shoot for web dynpro    or should I take the other approach, that is just learn as much java as is required for web dynpro   . Any suggestions?
    thanks
    sameer

    Hi Sameer,
    I believe you need not thoroughly know Core Java to begin for Web Dynpro Java but yes, you should have a fair idea about object, class and exceptions that i believe you would already have after working in ABAP. The UI elements can be just inserted into the component by drag and drop and codes correspondly would be auto generated. Only for customization of some functionalities, you will have to write code in Java using APIs.
    Just go through the following tutorials recommended by SAP to start over Web Dynpro Java on NWDS.
    http://help.sap.com/saphelp_nw70/helpdata/en/16/c0d93f5e0f9015e10000000a155106/frameset.htm
    Regards,
    Tushar Sinha,
    Infosys,
    Hyderabad

  • Securing Web-Dynpro application with Netegrity

    Hi,
    I'm developing a web-dynpro application that will be secured by Netegrity SiteMinder. SiteMinder is a reverse-proxy that authenticates the user and adds the user details as additional headers to the HTTP stream. According to the documentation I found in SDN with regards to JAAS and NetWeaver it looks like SAP has added callbacks so that I can retrieve HTTP headers in my custom login-module. I've implemented a simple login-module and deployed it, but now am stuck with the following issues:
    (1) I can't seem to be able to debug the module (even when I create a simple HelloWorld.jsp and require the use of this module in the visual administrator, the debugger seems to ignore the break-points).
    (2) I can't find any possibility to configure the engine so that this specific module is required for authenticating my deployed web-dynpro application.
    My questions are as follows:
    (1) Is it possible to use standard JAAS authentication with web-dynpro applications?
    (2) How do I debug JAAS login modules?
    Regards, Chris.

    <b><b>Hi Adrian
    During the Life cycle of your application Your connection will be Released when it is inactive for particular Time (The inactive time limit will be specified in the JCo Pool Settings that would be in milli seconds)
    The RFC Connection can be Monitored using the Gateway process .
    There are Some Predefined Connections in the Gatewway Process and each connection Requires approximately 200Kb of Memory.
    So the memory cosumption of the Gateway process is proportional to the number of Active RFC Connection.
    For More Details Check This
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/85a483cb-0d01-0010-2990-c5168f01ce8a">JCo Connection Pools</a>
    Regards
    Chandran S</b>

  • Submit Button In Web Dynpro Layout not working.

    Hi All,
             I have integrated an adobe form in my web dynpro application.According to my requirement the view of screen should change when the user clicks on submit button.So I have given the submit button as one of the UI element in my WD object along with the form.But when I click on the submit button the functionality doesnot work.
    The same submit button works when there is no adobe form integrated in my WD application.
    Please let me know what needs tyo be done so make that submit button work.
    Thanks and Regards,
    Sarang

    Sarang,
    Lets go step-by-step.
    1. Create two views in your applications lets say the names are View1 and View2.
    2. Goto Diagram View of the Window in under Windows node in your Web Dynpro Explorer in NWDS.
    3. Create Inbound and Outbound plugs for View1 namely inbView1 and outView1
    4. Repeat the same for View2. So names will be inbView2 and outView2.
    5. Create a navigational link between the Vies by creating a link from outView1 plug to inView2 plug.
    6. Goto Layout tab for the View1. This is where you have embedded the Interactive form element.
    7. Set the displayType property to native.
    8. Under Events there will be onSubmit method, craete a new method called navigateToView2 and click Go. This will take you where you can implement your logic.
    9. Fire the outbound plug of View1. See following code snippet:-
    public void onActiong navigateToView2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongotoView2(ServerEvent)
        wdThis.wdFirePlugOutView1();
        //@@end
    10. Edit the Interactive form, it should open Adove LiveCycle Designer.
    11. Drag-drop Submit button from WD Native library ontot the form.
    11. Don't modify anything and check if you see below code snippet in the Editor.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    12. Now whenever you click submit button on the form, what it does is that it makes call to WD framework and the onSubmit action handler is called where you have written the code to navigate to View2.
    Chintan

  • Problem in submit button on adobe form integrated with web dynpro

    Hello,
    I'm facing prob in triggering web dynpro event onSubmit for Interactive form.
    I've created a submit button from web dynpro activex pallete on adobe form (integrated with web dynpro) to send the form as email.
    Then in the web dynpro view where this form is embedded i have created an action against onSubmit event and called a method within this.
    However, on clicking Submit button this event is not getting triggered.
    Please let me know what is lacking in this process?
    Thanks.

    Hi,
    I am also facing the same problem. i have developed a simple scenario under which user have to input his/her details and on submit button it will be updated to database.
    I have tried the above solution but after adopting this solution all the editable fields become non-editable.
    so the above solution is not working for me could you help me out.
    I think ... try this....
    When you create the Adobe Form from WebDynpro, you need to follow one step in SFP Transaction or inSE80 transaction. Open the Adobe Form in any one the transaction and now in SAP menu bar "Utilities" in that you will find the "INSERT THE WEBDYNPRO SCRIPT" just click on that one. Then you will see a new Script Object is being created with the name "ContainerFoundation_JS" under the "Variables" in the Heirarchy of the Object Pallete of the Adobe Form.
    This step is mandatory to use the SUBMIT Button of the "WebDynpro Native", to trigger the OnSubmit event of the WebDynpro.
    Thanks
    Edited by: shailendra2sap on Mar 6, 2009 12:24 PM

  • Submit button  from Interactive adobe form in Web Dynpro ABAP

    Hi all,
    We seem to be having a problem with the 'submit' button on the Interactive Form for the Web Dynpro ABAP.  The submit button is from the Web Dynpro active X or web Dynpro Native in the form designer. The submit button doesn't trigger the action in Web Dynpro. we are currently running on support pack 9 for the ABAP stack. We have Internet Explorer browser version 6.  Could someone tell me if there are requirements for the IE version that will work in conjunction with a particular ABAP stack version.  And, are there specific IE security settings or administrative privilages required with this version of the ABAP stack.  Or, any other ideas as to why this does not seem to work. 
    Thanks in advance,
    Michelle Hong

    Hi Michelle,
    Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
    Many Thanks
    Christine

Maybe you are looking for

  • What hard drive can I put in a touchsmart iq800? This is the 3rd time it's crashed.

    I have a touchsmart iq800 with windows 7, 64 bit. This is the 3rd time I've had a hard drive failure in 2 1/2 years.  I am not too familiar with computer lingo and need to know what type of hard drive to get. I called hp and they wouldn't tell me any

  • Muse crashes every time I open a certain site.

    My client asked that I change one of the YouTube videos on her site to a different one. Everytime I embed the code for the new video Muse crashes. Now I can't even open the site without Muse crashing so I can't even get into her site to remove the vi

  • Object living with servlet/jsp container

    How do I make an Object live until the servlet container lives? I mean I want an Object to be instantiated once in the lifetime of the webserver session and its has to be singleton and should live alive until the webserver dies? How can I make this p

  • Why can't I associate jpegs with Photoshop CC 2014?

    I just loaded the 2014 version of Photoshop CC 2014 and I removed the old version first.  My file associations seem to be ok except for with jpegs.  When I try to set a custom association Photoshop isn't available and so I browse and choose the exe f

  • CS 5 Bridge Downloader crashes with network drive

    For the first time with CS5 I have tried "getting photos" from my camera. If I specify the destination on my local drive there is no problem. If, I specify a mapped network drive the downloader stalls, and eventually I have to kill the program in tas