on 07-27-2007 10:37 AM
Hi all,
I want to have several input fields in a web dynpro. When I write something in and click on a button, the input must be saved in a database table. How can I reach that?
Thanks!
Ingmar
Thanks for the help!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have a context node in your view's context and add all the attributes that you want to the node. In your view layout, right click on the rootuielement and say 'Add container form'. In the pop-up, select the context NODE. So you will get a group with all the input fields in it with Labels. Now you can right click on the group and say 'Add element' and add a button element.
In the properties tab of the button, create an event for 'OnAction'. In the event handler, read the context node attributes using get_static_attributes. It will return you a structure with all the attributes. Process them as you want.
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can do it in this way. Place all the fields that you require in the View layout and also place the button at the end and in the properties of the Button you can find a Action property and you can find a create button, click on that and Create a new Action method. then go to that Action method and write the Souce code to insert it into the Database.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.