We are changing an implementation of ArchiveLink using 'Early' archiving to 'Late' achiving. This has caused a change to the workflow.
In the new process, the implementation of the SAP RFC interface for archiving is called with an IDOC number. After archiving the file/document we then want to update SAP's TOA01 table to link the new ID created by the archive with the IDOC ID.
What is the simplest way to get this data updated in SAP? We're not sure of the process to call back into SAP. If we write an ABAP procedure, how can it be called from 'outside' SAP? Is there a reference for how to programatically update a row in an SAP table?