Skip to Content
Former Member
Dec 08, 2008 at 01:06 PM

Badi or event after adding an attachment?


Hello all,

I am searching for a way to react to a user uploading a new attachment to an opportunity in the Web UI. Initially I thought I could simply put custom code in a Badi or write a new EC function module but it seems there is neither an event for this, nor is there a Badi that is executed. Additionally, attachments are obviously saved to the opportunity without needing to run Badi ordersave first.

Is there any way to have custom code run in this case?

I tried to enhance view AddDoc in component GS_CM but in the appropriate methods (or at least those I think are appropriate) do not seem to have access to the opportunity guid (private objects).

Any ideas?