Hello Suresh,
According to me, during run-time Instantiation happens for each change and i dont see any why we can collect everything and pass to our back end logic.
May be in new release this may be possible. Not sure about it.
Please refer below
$batch Processing - SAP NetWeaver Gateway - SAP Library
In SP 09 i read there is some improvements done for BATCH and m not very if its applicable for deep entity operations.
Go through that column and see if it can help.
From SAP NetWeaver Gateway Hub and Backend SPS09 Onwards
- Custom header ($batch response header) is supported for $batch requests.
- A selection of generic HTTP headers for $batch requests are available for the data provider when processing each $batch operation.
- Performance improvement for $batch change-set processing when the data provider is able to handle the entire operation of change set at once at end of change set. For this to be possible, the data provider must implement the change set handling API to process all change set operations within one API (CHANGESET_PROCESS) and return the consolidated result of all operations to the SAP NetWeaver Gateway Framework.
Regards,
Ashwin