Skip to Content

Send Mail when Goods Receipt Created

Hi,

I want to send a mail notification when the goods receipt is created in the trn code MIGO. I found the Business object BUS2017. In that there is no event created. So I need to create event. I cant use SWEC also as it is not getting updated in CDHDR table. Can anyone provide me solution ?? Do i want to write coding for the event ?? Or is there any other business onject ??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 06:00 AM

    Check for BADIs and user exits to see how you can use them. You can trigger the event only and let the system take care of the COMMIT. You need to let us know what version you are on....

    Good Luck

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Mohan Babu K J

      Check the ABAP Forums, SAP Help, etc. on how to code with a user exit/BADI...

      Basically within that you need to call either SAP_WAPI_CREATE_EVENT or SWE_EVENT_CREATE FMs....passing the OBJECT Type, OBJECT Key and the EVENT Name....and any mandatory importing parameters have to be passed via the table EVENT_CONTAINER

      Good Luck.

      Ravi

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.