Skip to Content
avatar image
Former Member

How to create workitem for already failed idoc?

Hi,

My requirement is to trigger workitem for the failed idoc.

When i try to reprocess the failed idoc in BD87 a work item is not getting created.

But when i try to process it in WE19 a new idoc of the same type gets generated and a work item is created for that new idoc and sent.

Is there any other way to create work item for the failed idoc itself.

Thanks in Advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 27, 2016 at 09:42 AM

    Hi,

    If you want to custom way, then check in SWEL , which event in triggered after IDOC failed . Based on that create a custom workflow to execute

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Thanks for your guidance.

      There are certain tasks which has Event code instead of triggering events.

      Ex: TS00008068 (Inbound, error message with IDoc) - Event Code - 'EDDI' for this task taken from "TEDE5" table

      TS00007947 (MATMAS_Error) and the event triggered is "INPUTERROROCCURRED" .

      So how do i segregate idoc numbers with respect to task and trigger work item for it.

      Is there any table i can refer to?

      My requirement is to trigger work item for the already failed idoc.