Hi Experts!
We use SAP Work Manager 6.3.1 as a fully standard application with Sap Mobil Platform 3.0 SP11.
We have a problem about notification fetching:
In the Agentry Customizing panel, we set the Assigment_Type filters value to „5- Header Level Work Center” int he NOTIFICATION_GENERIC’s MDO, as you can see:
We set a User Parameter called: VAP and a Work Center, and we create a lot of new Notification whit this Work Center. After Client Synchronization, the Notifications not received. The serves log shows, maybe this setting not succesfully adapted, you can see the Employee ID field:
Int the workmanager-6.3.1.0.jar file the com.syclo.sap.component.notification.bapi.NotificationFetchBAPI Class in Setparameters method we found a hard coded section as you can see:
public void setParameters(SAPObject obj) throws Exception {
super.setParameters(obj);
this._notification = (Notification) obj;
Logger log = new Logger(this._user, "setParameters");
this.setFilterRange("IT_EMPLOYEE_ID_RA", "I", "EQ", this._notification.getPersNum(), "0");
log.info("IT_EMPLOYEE_ID_RA LOW=" + this._notification.getPersNum());
log.info("done");
}
We think, this hard coded value overrides the setting that we set in Agentry Customizing Panel?!
thanks,
Peter
Hi Peter,
When retrieving the data based on work center data your / login id must be assigned to that work center at IR02.
So please verify whether your pernr has been assigned to the work center in IR02 through HRMS.
Looking forward for your reply.
Thanks & Regards,
Roopa M.
hello,
SAP answer:
Hi Customer,
I have asked this question to development as per their answer is OOB we do not support different assignment type levels for notification object. The backend configuration supports it but the java and client is not supported. To make this work , you would need to customize the java code and client to support different assignment type level for notification object. You can customize it by taking on existing example from the work order object assignment types.
Thanks
Subash Narayan
SAP Support Engineer
Can you pls paste the screenshots of all filter conditions you have set for MDO NOTIFICATION_GENERIC ?
Hi Gaál Péter,
Verify the filter work_cntr in configuration panel for Notification MDO. Maintain VAP parameter as a filer condition.In su01 maintain only work center parameter ID as VAP. Might also be the case that the user has some work center defaulted in HR configurations. Debugg the ABAP class and verify if the notifications are fetched for 5 assignment type in select query.
Thanks&Regards,
Sravanthi Polu
Hi Peter,
Thanks for pointing out the documentation error. I have created a KB article :
2350471- SAP Work Manager: Notifications with different assignment types are not downloaded to the client
https://launchpad.support.sap.com/#/notes/2350471
Thanks
Subash Narayan
SAP Support Engineer
Hi Peter,
The KBA will be released soon.
Subash
Add a comment