cancel
Showing results for 
Search instead for 
Did you mean: 

inserting multiple records(table control) using service call

Former Member
0 Kudos

Hello Experts ,

I Have a Webdynpro application,In that Am calling RFC using Service call to insert multiple records into customized table..

But am able to insert one record at a time when i press a pushbutton on input screen ..

Thanks in advnce..

Regards

M.Prasanthi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Can you please elobrate your issue.

Are you using bind table statement oncaction of pushbutton?

Thanks

Former Member
0 Kudos

Hi,

I have a table control and one push button in my input sceenof a webdynpro application..have to enter multiple line items and if I press push button all line items has to be inserted into database(Z table). For this I called one RFC using service call..I declared all table control input fields under importing parameter in a RFC.In webdynpro layout, I binded importing fields with table.But the issue is not inserting multiple records at a time..inserting sigle record into customized table.

Plz help me

Thanks

Prashanthi.

Former Member
0 Kudos

Hello,

I hope i got you correctly!

instead of binding input fields of table to import parameters of service, have a context node with all the fields as attributes and bind this context node to table ui element. And on pressing push button, read the context elements as a table and send it to your RFC.

Hope this helps!

Regards,

Srilatha

Former Member
0 Kudos

Hello,

I would suggest you to put a debug point and debug your code and check if you are reading correct context i.e yo are getting all the line items in your internal table which you are passing to your RFC importing parameters.

Hope this will help.

Thanks

Pradeep

Answers (1)

Answers (1)

Former Member
0 Kudos

not answered