As this agents's action depends on the data of the HeaderUDR, nothing is done in BeginBatch.
Processing begins when the HeaderUDR is received.
This initial consume instance is only when the agent receives the HeaderUDR. The agent gets the RemoteFunction from the SAP System based on the name in the HeaderUDR. This RemoteFunction is used to insert records into the SAP System.
When every RemoteFunction is committed, an entry of stateInfo is inserted into the database.
Commit
Removes all stateInfo data for the file from the database.