cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc error handling via WorkFlow. What is missing?

Former Member
0 Kudos

Hi All,

My problem is when an error occured I don't receive anything in the Workplace.

I did the following:

When I created the process code I gave an object type(based on IDOCAPPL) for the function module's IDoc part. For the start event I gave the INPUTERROROCCURED event and for the end event the INPUTFINISHED.

I created a standard task where the triggering event is the object type->inputerroroccured and the terminating event is object type->inputfinished and the object method is the object type->inputforeground. I use a standard role with a "Z" function module to determine the agent.

I tested the role with an IDoc number and it worked. It gave me back a position where is my userid is the only id. The concistency check shows me 2 red line: the missing IDoc Packet section (I think it's not needed) and at the Role assignment (I think it's good so I don't understand this).

So, Do you have any idea what is wrong?

Thanks for your help in advance.

Regards,

Gyula

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gyula

Can you tell how you are actually raising that event .?

I assume that you have created a process code and attached it to some function module and therein wherever you are getting error(when you want to trigger workflow) you are raising an event for your object type and its event .

Since i cant check out your code , it guess you can try setting your task as General Task first to just get sure whether the event linkage is active for event or not and your workflow if at all is really getting triggered or not . If these things work fine with out then certainly your role determination function module needs to be checked.

Kind Regards

Shovit