Hello experts,
I need to set up a filter for the task for certain users in SBWP transaction, but can not find where or how to do?
I found that the function module " SWL_INBOX_CONTEXT_FROM_MEMORY " is imported a memory content and used to filter the tasks , but can not find where to hold this setting ...
Thank you very much in advance!
Request clarification before answering.
Hi Roberto
What do you want to achieve exactly (functional need) as there is already a grouped by task available by default in SWBP ?
So what is the goal of the filter to remove the task from certain inbox ? or only to show this task ?
Cheers
Stephane
PS: in both cases it would be better not to assign the task to the non relevant user
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephane,
This implementation will serve to certain users involved in the flow at certain times can not "see" the notifications of WorkFlow .
I implemented the BAdI " CL_EX_WF_BWP_SELECT_FILTER " but it only filters out tasks that are with status "READY"
My biggest question is where can I set the tasks that must appear in a user's inbox !
Grateful for your return !
Roberto,
Which status do you want to filter ? Ready is the normal status for WI waiting for action from a user
Is this a variant you want available for those user all the time or only if they select something ?
If this is always then do not assign it to those user
otherwise please check where they indicate BADI WF_BWP_SELECT_FILTER
Cheers
Stephane
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Roberto,
I don't understand, the badi provides the IM_WORKLIST as input parameter
and RE_WORKLIST as output.
You just need to put you own logic inside with your custom code to delete from the IM_WORKLIST the Work item and add the one you want to the RE_WORKLIST
Like checking the role of the SY-UNAME user for this workitem or I don"t know...; but there won"t be anything standard
Is this really workitem you want to filter or only notification mail ?
In which status are the work item you don't want to see ?
As I said I don"t know your functional requirement but if you don't want the user to receive see the workitem why sending those workitem to these users in the first place ?
Cheers
Stephane
Yes,
I implemented the BAdI and it only gets workitems with status "READY" .
It turns out that the client possesses several messages generated by IDOC , and today they are sent to all users, I would like to use this solution to work around , avoiding the need to reconfigure the sending IDOC adding agent.
I believe it will be inevitable to create an incident in SAP to receive an opinion regarding this flow !
I appreciate your time and help!
Roberto
you should have explained your problem before ...
Your issue is not with the workflow it is with the set up of the ALE.
You should have a responsible for the idoc set up in WE20 on the postprocessing agent tab
To know more about ALE-IDOC and workflow please check those two links
Configure workflow notifications for IDocs in error status
That should help
Cheers
Stephane
Just a small update
Check also this
Workflow for INBOUND IDOC | SCN :
STEP 1. USE SALE -> Error Handling
STEP 2. Go To Basic Workflow Settings.Use Auto-customise button to allow the system to configure most of the options.
STEP 3
a)Go to SAP MENU -> TOOLS-> BUSINESS WORKFLOW ->
DEVELOPMENT ->DEFINITION TOOLS->TASKS
b) Create a customised task putting IDOCCLFMAS for example as object type and INPUTFOREGROUND as object method.
c)Associate the triggring event InputErrorOccurred with the standard task.
d)Associate the terminating event InputFinished with the standard task
e) Assign appropiate agent to the customised task. For this GO TO
Additional data -> Agent assignment -> Maintain
STEP 4 -- Go to transaction WE20.In the partner profile of the message type CLFMAS enter for the post processing permitted agent.Enter the agent type (Organisational unit,Workcenter,Job,Person,Position or User),agentId and the language.
STEP 5- In case of any error in processing of Idoc a workflow notification is sent to concerned agents.The message is sent to the inboxes of concerned persons which indicates which interface has erred,the associated IDOC number ,status of the IDOC and the date and time of error.
You should solve this issue for futurs workflows
However for the current one after doing all the necessary agent assignment you shoudl recalculate the rule via the admin transaction
Cheers
Stephane
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.