Skip to Content
0

How to create workitem for already failed idoc?

Oct 27, 2016 at 09:24 AM

69

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded

Hi,

Idocs have the possiblity to use workitems when an error occured.

check these blogs to help you further

https://wiki.scn.sap.com/wiki/display/Snippets/ALE+EDI+Error+Handling+via+Workflow

https://blogs.sap.com/2013/11/07/ale-idoc-error-handling-through-workflowinbound-process-demo-object/

Kind regards, Rob Dielemans

1
Former Member
Rob Dielemans

Hi,

Thanks for the guidance.

I referred to the links, but my requirement is to create work item for the already failed idoc.

Is there any way?

In "BD87" when i try to reprocess idoc workitem not created.

Is there any enhancements i can make in BD87 itself?

I checked for Enhancements :"ALE00001- EXIT_SAPLBD11_001" but this is not triggered from "BD87"

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Anjan Paul Oct 27, 2016 at 09:42 AM
0

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

Show 1 Share
10 |10000 characters needed characters left 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.

0