cancel
Showing results for 
Search instead for 
Did you mean: 

web dynpro - how to insert data in table.

0 Kudos

hi everyone,

     I am working on an application in which I need to insert User data through a view.

I have created a function module and also an assistance class.

Function module is to insert data.

In the assistance class i have one method insert_candidate and in this method I am calling my function module.

Now i want to use this on click of submit button to insert candidate data into database table.

can anyone help me out?

Regards,

Rajiv.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member199125
Active Contributor
0 Kudos

So you have created a method in class to insert the data.So you must also create import and export parameters for this method  to pass the values( to be inserted data ) .

Create on button say INSERT,

in that button action read all the attributes which you want to insert the data then call that method like WD_ASSIST->methodname ( )

you also have to pass parameters to method.


regards

Srinivas

Former Member
0 Kudos

hi Rajiv ,

In the on action event of button you will call the assistance class method ,

we have one attribute wd_assist through that we can call any methods of the assistance class.