Additional question and information
The online archive is a d3 by d.velop.
Another possibility to solve the problem could be if the function module which starts the SMARFORM will return the SAP ArchiveLink: Dokument-Id which will be stored in table TOA01, column ARC_DOC_ID. But unfortunately I could not find any field inside the export structures of that function module which could do this in any way.
If there would be such a field we could store the value in our customer defined protocol table to get an unique mapping between the object parameters of the document and ARC_DOC_ID of the archive document. This would make us able to assign document information of the archive to the detail information of the related SAP ERP document unique.
But, how the will return the information and does it return the information in any way?
Thank you for your time
Regards
Norbert