cancel
Showing results for 
Search instead for 
Did you mean: 

Error when generating IDoc from MC document - workitem to all the SAP users

Former Member
0 Kudos

A workflow item with the subject of “Error when generating IDoc from MC document” is sent to all the SAP users' inbox. Is it possible to stop the generation of this work item? If that is not possible, can we limit sending the work item to a specific user/agent instead of all the users in the system?

It appears that these work item or error message are generated when one of the developers reopen the POs and add line items. Moreover, during that time the procurement team blocked the IDOCs from going out to the vendors when changing and resaving the POs. Therefore, we need stop the generation of error message/work item when the IDOCs generation blocked.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Roy,

This task will be a genral task, and if agent determination fails i.e no appropriate agent is found , work item will be send to all the possible agents.

You can opt for following options:

1. As most of our friends already told you, chage the agent assignment from genral task to a particular specifi agent <b>OR</b>

2. In txn WE20 , check if user / agent assignment is done for this particular partner used for processing this IDOC .

Hope this helps.

Regards,

Akshay

Former Member
0 Kudos

First analyse the Wflow log from SWIA and see whether a Workflow is getting generated or a task. Once you get the Workflow Template Id or the Task Id you need to check whether it is getting triggered from a program or a triggering event. If it is getting triggered by a triggering event then you can deactivate in in PFTC Tcode. Regarding agent assignment please check whether the agent assignment is done for the respective task. Most probably it is not done. Do the agent assignment by using Agent Assignment Type as User and hardcoding a SAP User Id. Hope this will solve Ur issue.

Thanks

Arghadip

Former Member
0 Kudos

Arghadip:

Thanks for your reply.

Error is generated from TS 70008037 (Display MC document (outbound w/o IDoc)). However, there is no triggering event for this task. When I check where-used, it gives TG 6500001, and TG 70000015.

Former Member
0 Kudos

Please check Rule 70000141which is the default rule for this task. Inside this rule a FM is attcahed which is reading table EDO13 and EDPP1 where agent is retrieved Probably this table entries are not maintained. This Workflow is getting triggered from Message cOntrol I think.

Please check this link for

http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4aec8453d11d189430000e829fbbd/frameset.htm

<b>Reward points if useful and close thread if resolved</b>

Former Member
0 Kudos

As a first aid, you could try this:

Open the task with transaction PFTC in change mode (if you are in production, don't care about the notification that you cannot do changes in the client). Then somewhere from the menu you should find "Maintain agent assingment". There you should be able to maintain the possible agents for the task. You can for example assign your user ID to be the only possible agent for the task. Then press the "generate" button. => Now only you should have the work items visible.

This doesn't solve the intial problem, but at least gives you some time to investigate it. Most probably there is something wrong in the IDOC configurations.