Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to send GOS attachment to mail in VA02

shubham_pawar1
Explorer
0 Kudos

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..!

1 REPLY 1

FredericGirod
Active Contributor

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