on 07-27-2015 5:48 PM
Hi All,
Currently I am working on SWM 6.2 app.I have customized the notifications functionality on top of standard functionality.
I have enabled the work order notifications edit functionality in the app. Mapped required "Notification Post Steplet, Stephandler, BAPI & Classes in config panel.
When I edit the downloaded notification in device from the work order detail screen, the notifications are editable and they are getting saved in device.
But when I try to update the edited information to ECC,no steplets are being executed during the transmit and the changes were still existed in the device.
There seems no issue with the standalone notifications, the edited information on standalone notifications are successfully updating into ECC.
When I am editing the work order notifications in device, I could observe the below.
App: SAP Work Manager 6.2
Device: iPad (iOS8)
Platform : SMP 3.0
Kindly suggest me to resolve it.
Thanks & Regards,
Roopa.
Please make sure the following 2 fields of the Notification Object are updated during the edits
1) IsEdited
2) NeedsXmit
The rule that triggers PostNotification action on the Transmit Action looks at these 2 fields.
thanks
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roopa,
I implemented the same change time ago and that's what I did after allowing the edition of work order notification:
- Added a new subaction step in the WorkOrderPost action executed during transmit, the new subaction step is called something like WorkOrderHeaderNotificationPost and it comes after ComponentsIssue but before the WorkOrdersPostCurrentOrLocal
- In my scenario, I only enabled the edition of the notification directly linked to the work order, not the rest. So this subaction step is not a loop, it selects only the notification where the ID is equal to Workorder-NotifNum. If you allow the edition of all the work order notifications then you will have to loop over the collection.
- The subaction step has an execution rule that checks if the notification NeedsXmit field is true
- The subaction step calls a new custom action which is basically a copy of NotificationPostCurrent. I think you could actually reuse NotificationPostCurrent, I'm don't remember why I created a new action since it is using the same transaction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Roopa,
With your statement "But when I try to update the edited information to ECC,no steplets are being executed during the transmit and the changes were still existed in the device."
Need to check your transaction update step if it has some steplets listed in it.
Try to use the Agentry Test Environment to debug your transaction. Check before, during and after apply. Set breakpoints.
With your other statement "But the work order list screen is not displaying any "*" symbol." There is a rule tied to that * in the Agentry editor. Study the rule and this will give you some idea on why it is not firing for you.
With the two steps above, hopefully you can debug and find the reason why it is not functioning.
Hope this helps,
Mark Pe
SAP Platinum Support Engineer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.