Hi Nassim,
you have diffenent possibillities to store documents to batches, simple GOS attachments, business documents and document information records => the real SAP DMS.
I recomend to switch to SAP DMS because you can store documents only once an can use (or link) them in multiple ways, e.g. if you get a batch certificate from a supplier, you can check in this document first inside a document Information record (DIR). Then you can link this DIR to the suppliers batch. Then you can link this DIR to multiple production batched as well. Then you can use this same document for product qualification processes, too. And you can use this document for process control purposes, if you choose to use the document as PRT (production resources & tools), linked to one production orders activity.
Example:
I'm not sure if the batch derivation process will support copying the links from components to the produced goods batch. But a lot of other functions considers linked documents if you are copying the objects or use heredity mechanisms. You have to analyze this ...
Attachements and business documents of course are much easier to create ... but they have a lot of limits on functionality. If you use a document in multiple ways SAP DMS will be the better and a flexible solution.
Regards,
Markus