12-09-2021 6:24 AM
Hi Gurus,
I have requirement, when we attach document it should also has an option to send document in VA02 using GOS toolbar.
I have added option in GOS toolbar to send file with custom class ZCL_GOS_SRV_ATTACHMENT_CREATE in order to get control over attachments, am I using correct way? if any one has come across the same please do share your thoughts
I went through many post but those are limited for custom program.
Thanks in advance..!
12-09-2021 6:42 AM
I would not do like this, I will manage an output in transaction NACE, like simple Print Sales Order. You could add a condition to check if there is an attachment or not.
Why ? simply because GOS is not linked to the authorization on the transaction. Meaning, you could add a file in VA03, and maybe have no authorization to do a VA02 on this sales document.
So keep logic in the VA02 process, and get the info in the GOS like you could do it using DMS