cancel
Showing results for 
Search instead for 
Did you mean: 

SAVE THE TABLE DATA AT ONCE THROUGH ODATA FROM UI5?

shiva_krishna93
Explorer
0 Kudos

Hi All ,

I have created an FM with read_flag and save_flag as input parameters,form UI5 i will pass read_flag for reading the data which is displayed in table form and after displaying if i make changes and click on save button the paramter save_flag should be passed to FM and all the data in table should be saved in the backend table at one go .Can you please suggest how to do it?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member206574
Active Participant
0 Kudos

Hi Shiva,

To pass the data from UI5 table to Gateway service at one go u need to use $batch service which will have POST payload. For more information about $batch and implementation. Check the below link.

http://scn.sap.com/community/gateway/blog/2015/03/06/simple-steps-to-perform-batch-operations-in-sap...

Thanks

Venu