Skip to Content
avatar image
Former Member

Display Material Document from Workflow Email

Hi all,

Please help me with the following.

Upon material document creation (BUS2017 - CREATED) I start a workflow that ends up sending in-sap emails  (SELFITEM - SENDTASKDESCRIPTION ) to notify them that the document has been created.

When the user received the email, I would like him/her to be able to drill down to the MB03 / MIGO TCODE and view the document.

So far i've been able to either send the email containing the material document &BUS2017-MATERIALDOCUMENT&

OR 

send a workitem for BUS2017-DISPLAY method.

I want to attach the Display Method Workitem to the Email, or any other solution to achieve the above mentioned task.

Thank you in advance,

Andrei

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 24, 2015 at 02:20 PM

    Hi Andrei,

    If you want the instance in SOFM object format to make it available in attachment, add a activity step with method 'GENERICINSTANTIATE' of business object 'SYSTEM', here pass key field of BO BUS2017 and BO name to parameters objectkey and objecttype.

    Instance in SOFM format can be send to task container element _Attach_objects

    Thanks,

    Deb

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you !

      It worked. Now i just have to add a description to my attachment and it's done.

      .. and yes , I also have to understand workflows..but that's another story 😊

      -

      Best regards,

      Andrei

  • Feb 20, 2015 at 02:29 PM

    Hi,

    If you want to send an email with workitem as an attachment, you need to set Extended notifications or using RSWUWFML2 program ( based on your system version).

    Above methods will send the workitems as emails. You will find many documents in SCN on how to use them.

    Regards,

    Murali Krishna.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      If that is the case(i.e. users use their SAP Business Workplace), then simply send them a user decision with the option to go to MIGO transaction. When they choose the goto transaction place a task in that thread with advance with dialog on the user will immediately go to the transaction.

      Kind regards, Rob Dielemans