cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass Rows of a table to R3

former_member720137
Active Participant
0 Kudos

Hi

I have a requirement to insert data back to R3. Now, In View i have made a Table.... When i click submit button on the form only one Row is getting inserted to R3.. Can anyone tell me how to Pass Row ( one by one) from Table( in View) to Table( in R3)...

Regards

Puneet

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi ,

Check out this thread.

Regards,

Gopi

Former Member
0 Kudos

Hi Puneet

Its going to be really simple ...just need to get the values of the nodes and iterate till the last value is reached ,once you have got the values of the table send it to the bapi one by one may be by using a for loop.

Just keep in mind the table is properly binded to the context.

Regards

Pankaj

Former Member
0 Kudos

Hi Punnet,

For inserting all the data from the table to R3 system, follow the following steps:

- get all the elements of the node, i mean the node...to which you have binded your table, into an internal table. In this internal tabel you will have the reference of all the elements of the node.

- Loop at internal table into work area and then make inserts.

This way you can save all the data of your table into R/3 system.

Cheers !

Ashish.