on 08-12-2014 3:32 AM
Dear Experts,
I have setup the following configuration so that when a defect is created for type 89 Inspection lot, it should create a notification and sent that notification to the sbwp Inbox of certain user. But some how I'm not able to get that work item to my sbwp inbox. Please let me know if I'm missing anything.
Assigned notification type F2 to category O2 with catalog profile 000000001, origin: compalint against vendor, updated group stats:33
For 89 inspection type i have selected F2 type notificaiton in Inspection type config and tick 1 quality notification for inspection lot
For catalog profile 000000001 assigned catalog 9 defect types
As shown in the attachment, assigned a agent User:SAPUSER to the WS 00200081.
As shown in the attachment assigned the event linkage triggering events,
when a defect has occured at the time of results recording, a notification is created, But if i got sbwp I dont see a work item over there.
Please let me know if i missing any config.
My plan is to, after I receive the workflow item, I want to redirect that "notification created" work item to email id through auto forwarding option in sbwp .
Thanks.
Hi Pavan,
Have you assigned Receiver Function Module in SWETYPV for Object Type BUS2078 which will send mail to SBWP after event occurs?
Try assigning CV_SWE_EVENT_MAIL or any customized one as an FM here.
Amol.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amol,
This one worked and i got the work items send to my sbwp, but those work item which were sent currently were the defect lots i created 3 days back, I'm not able to get the current work items.
Do I need to use this FM CV_SWE_EVENT_MAIL or sww_wi_create_via_event . Also let me know if i have to check the enable event queue indicator.
Thanks,
Pavan
Hi Pavan,
If you flag "Enable Event queue" your event delivery will get delayed. When it is un-flagged and if you create any new Defect the receiver is started immediately. This is the reason you did not get current work items.
F1 help on "Enable Event queue" explains it:
This indicator is only evaluated if the event queue is active. If the
indicator is set, the event receiver is started via the event queue. If the
indicator is not set or the event queue is not active, the receiver is started
immediately.
Once the event has occurred in the system, this receiver is not started
immediately, but is first put into the event queue. The event queue is processed
at regular intervals by a background job. Processing the event via the event
queue means that the system load can be reduced if a lot of events occur for
this linkage in a short period of time. The load reduction is achieved by not
calling the transactional RFCs for the start of the receivers immediately
(increasing the load on RFC processing), but in small numbers with time delays
instead.
Using the event queue hence delays the calling of the receivers.
As far as FM is concerned i have not worked with sww_wi_create_via_event, but yes, you can try and let us know what difference these two FM has.
Amol.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.