cancel
Showing results for 
Search instead for 
Did you mean: 

Workitem not visible in inbox, though log tells me it is. [Longshot/Baffling]

former_member186746
Active Contributor
0 Kudos

Hi,

The workflow log says user decision is in inbox of user X.

We log in with the user credentials and it is not visible in the inbox.

Then I checked the organizational structure to see if user is assigned to the position and has a validity, this is true. SU53, no dice, also no filters.

Just to be sure I refreshed the HR buffers and also synched and refreshed the other buffers (/$tab and /$sync). Still nothing in the inbox. Executed and debugged SAP_WAPI_CREATE_WORKLIST which does not return the item in the inbox.

Checked table SWP_SUSPEN and transaction SM12, SM58, SM21, ST22 to no avail.

So then I tried to execute the decision in SWIA without check and I could do so. Lastly I forwarded the item in SWIA to another user and voila it appears in the other inbox, and when I forwarded it back again to user X it finally appeared.

It is a rather old system (SAP ECC 6.0 level 11) but still I'm not sure how this happened.


Feel free to chime in on how this anomaly could've occurred.


Thanks!

Rob Dielemans

Accepted Solutions (1)

Accepted Solutions (1)

former_member186746
Active Contributor

Thanks for the effort. The problem was caused by having 2 extremely similar user-ids with the same name.

Answers (3)

Answers (3)

anjan_paul
Active Contributor

Hi,

This might be the chance, you are sseing your name in Workflo log, but the user id is different. There might be same name with multiple user ids.

Thanks

egor_malov
Contributor

Hello, Rob,

I think it is SWU_OBUF that typically helps in this case but it looks like you've tried it already.

If it happens again, I'd try the following:

- Is the workitem visible in SWI5?

- Is everything fine with the workflow engine in general in SWU3?

- Has the user got any authorizations errors? (enable auth trace for that)

- I know there are BADIs that allow to hide some workitems in SAP Workflow Inbox based on task(TS), etc. Maybe one of these active in your system?

former_member186746
Active Contributor
0 Kudos

Hi Egor,

I mentioned refreshing the HR buffer (SWU_OBUF). The workitem was visible in SWI5 and also in SWIA as an unassigned dialog item in the inbox of the user. SWU3 is fine.

I also fixed it by forwarding it to another user and then back, so badi's and authorization can't be the cause.

pokrakam
Active Contributor

My guess would be a timing issue. Workitem created, then someone updates the org structure or other data. Usually I also try a ‘redo rules’ to force agent redetermination, that sometimes solves it.

former_member186746
Active Contributor
0 Kudos

Hi Mike,

Ususally refreshing the HR buffers solves these issues.

The workitem was assigned to a position in the organizational model which was not changed that day.

pokrakam
Active Contributor
0 Kudos

Usually, but not always. Check table SWWUSERWI as well, if the user is there with NO_SEL set, then a SWU_OBUF won't reset it.

It could happen from forwarding or other activity, or excluded agents, or some weird sequence of activities combined with a SAP bug....