You can use batch operation to confirm all those Orders by implementing Execute_Action.
Please have a look at the below in Function Import section ->
Let’s code CRUDQ and Function Import operations in OData service!
Please have a look at the below for wrapping all those multiple operations inside a single batch request.
Batch Request in Netweaver Gateway(Multiple Operations into a Single Request)