Skip to Content
author's profile photo Former Member
Former Member

SAP Work Manager 6.3 notification data distribution by assignment type '5' issue

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

pastedImage_2.png (97.7 kB)
pastedImage_2.png (43.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2016 at 12:29 PM

    This hard coded value will not make any difference.

    I would suggest try to execute the bapi from se37 transactiona and check is it returning any values or not. also check is there any filter criteria for date or status?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 04, 2016 at 05:31 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 04, 2016 at 05:34 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Peter and team,

      The official documentation (in the link) will be re-written to state something like this on final form under the Notification Distribution Rules section:

      "Note: Distribution rules for Notification are supported by Mobile add-on. However, you must also perform customizations in Java and the Agentry Editor to implement notifications."

      With respect to more detail, the details are not included in the said SAPWM63_Configuration.pdf file.

      Again, thanks for pointing this out to us.

      For the other team or user, if you want to share on what you did in Java + editor, that will be a nice document to write up for SCN.

      Regards,

      Mark Pe
      SAP Platinum Support Engineer

  • Posted on Aug 10, 2016 at 03:18 PM

    Can you pls paste the screenshots of all filter conditions you have set for MDO NOTIFICATION_GENERIC ?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 12, 2016 at 05:37 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 15, 2016 at 09:37 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 16, 2016 at 04:21 PM

    Hi Peter,

    The KBA will be released soon.

    Subash

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.