Notification details edit in work manager 6.2

Hello Experts,
There is no WorkCenter field in Notification edit. WorkCenter exists in transaction and object property, so i easily added WorkCenter to NotificationEdit Screen ,  but it does not replicate  when i deploy and run on client.
Please suggest where i am doing wrong.
Regards
Manish

Hello  Bill Froelich
Can you check this code, what is wrong here. I am not getting debugger on setHeaderParameter.
package com.syclo.sap.component.notification.custom.bapi;
import java.util.ArrayList;
import com.syclo.sap.*;
import com.syclo.sap.component.notification.bapi.NotificationPostBAPI;
import com.syclo.sap.jco.JCO;
public class ZnotificationPostBAPI extends NotificationPostBAPI{
  public ZnotificationPostBAPI(User u) throws Exception {
  super(u);
  @Override
    protected void setHeaderParameters(Logger log) throws Exception{
    if (_bapiType.equals("CREATE")) {
    if (_notification.getIsLocal()) {
         JCO.Structure header = _imports.getStructure("IS_NOTIF_HEADER");
         setValue(header, log, "PM_WKCTR", _notification.getWorkCenter());
    else if (_bapiType.equals("UPDATE")) {
       JCO.Structure header = _imports.getStructure("IS_NOTIF_HEADER");
         JCO.Structure xStruct = _imports.getStructure("IS_NOTIF_HEADER_X");
         setEditValue(header, xStruct, log, "PM_WKCTR", _notification.getWorkCenter());
Regards
Manish

Similar Messages

  • Work Manager 6.0 Push Notification not working

    Hi All,
    I have configured Standard Work Manager 6.0 application and now I am trying to configure Work Manager 6.0 Push Notification.
    I have completed all Post Installation(optional and required) which are mentioned in Standard product document.
    I am getting new work order entries in /SYCLO/PSH01 and /SYCLO/PSH02. After that Agentry server is also calling /SYCLO/PM_DOPUSHWORKORDER_GET Function Module and /SMERP/CL_PM_PUSHWORKORDER_DO Class Handler.
    I am getting result in final export table(ls_mdo_output_vals) of /SMERP/CL_PM_PUSHWORKORDER_DO.
    My problem is still I am neither getting this work order into ATE nor push notification message.
    When I went to Syclo Admin panel, status of the push notification is also NEW.
    I have configured 8282 port in [HTTPXML-2] section of Agentry,ini and Syclo Config panel outbound trigger.
    Kindly let me know what can be an issue?
    Regards,
    Mohit Verma.
    Message was edited by: Michael Appleby

    Mohit,
    I noticed the following in your Backend-Java.log.
    ~~~~~~~~error 1~~~~~~~~
    2014/06/27 17:37:36.947: Error in initializing the StepHandler from the ini file or SAP configurations (com.syclo.sap.component.serviceorder.stephandler.ServiceOrderRemovePushStepHandler). Please check the JavaBE.ini file. java.lang.ClassNotFoundException: com.syclo.sap.component.serviceorder.stephandler.ServiceOrderRemovePushStepHandler
    ~~~~~~~~end~~~~~~~~~
    <-- Make sure this is corrected. For some reason your java code is not being detected during start up. Check your Java folder in the root directory of your Work Manager 6.0 to see if it can be seen.
    Based on history of Support tickets the following SAP Note is mandatory to make Push work:
    1. Do mandatory SAP Note: 1954444
    2. Please review: 1828657 - Release strategy for the ABAP add-ons SMFND, SMERP, SMISU, and SMCRM (Make sure you installed the correct add-on - look at the spelling in detail)
    3. SCN Push threads that may help: http://scn.sap.com/thread/3494003
    See if any of the comment above will work for you.
    4. After you tried the above and it didn't work for you to try the latest SMP 2.3 SP04 version and let us know. This is for what I can see on the logs.
    ~~~~~~~~Error 2: Backend-java log~~~~~~~~~
    2014/06/27 17:40:35.471:             Getting Java results in the the 'WorkOrderPushForEventSteplet' step (java class com/syclo/sap/component/workorder/steplet/WorkOrderPushForEventSteplet)
    2014/06/27 17:40:35.471:             : 1 lines, 0 non-printing characters, 20 total characters
      The module is 'PM'
    2014/06/27 17:40:35.471:             The root object is 'WorkOrder'
    2014/06/27 17:40:35.471:             Trying to read results by calling getReturnData()
    2014/06/27 17:40:35.471:             : 1 lines, 0 non-printing characters, 81 total characters
      getReturnData() method returned null, falling back to reading _returnData field
    2014/06/27 17:40:35.471:             Processing public field _returnData: Ljava/lang/Object;
    2014/06/27 17:40:35.471:             _returnData is a single object: 'Ljava/lang/Object;'
    2014/06/27 17:40:35.472:             Mapping public fields of Java Class 'java/lang/Object' to Agentry object 'WorkOrder'
    2014/06/27 17:40:35.472:             No public field userid found in java/lang/Object for user ID, and not in per-user mode: cannot determine user for data.
    ~~~~~~~~~end~~~~~~~~~~~~~~~~~~
    The log comment above is stating that the push is trying to be sent to the PDA/handheld but it does not know where to send it to.  This is proven from your backend setup and when you have no errors in your push retry.
    The last line above is still a mystery to me as there are lots of upgrades with patches and SMP 2.3 SP# and with the userid is not found (especially when it states it is not in per-user mode: cannot determine user for data) then the Agentry Server cannot determine where to send the push to.   Hopefully somebody in this thread knows this.
    Regards,
    Mark Pe
    SAP Senior Support Engineer (Mobility)

  • Notification Assignment Type Issue - SAP Work Manager 6.0

    Hello Experts,
    We are not able to download notifications on the device for header level work center that is assignment type = 5.
    We have done the below configuration.
    - added the user parameter for work center in user profile.
    - changed assignment type to 5 in Notification MDO.
    Same configuration is working properly in case of work orders only change is assignment type set to 8 and changed in client global value Wo.AssignmentType to 8.
    There is no configuration guide available which explains notification assignment types in SAP Work Manager 6.0.
    Any help would be appreciated.
    Regards,
    Abhishek
    Tags edited by: Michael Appleby

    Hi,
    In the notification MDO data filter, you also need to add a filter to the WORK_CNTR field. It should be user parameter type, with value "VAP".
    Also, from memory, I had to disable some other filters that were set out of the box. These were filtering out my data.
    Hope that helps
    Michael

  • SAP Work Manager 6.0 - Creating notification on mobile device (customizing the default Start and End date)

    Dear all,
    When I create a notification in SAP Work Manager 6.0, the notification gets created in the back-end with Start Date equal to Current Date + 1 day and End Date equal to Current Date + 3 days.
    Can you advise where I can customize this behaviour, so that the Start Date is for example equal to the Current Date and End Date being 14 days in the future? Is this something that would need to be configured in Agentry Editor or within the ABAP stack?
    Many thanks for your support.
    Pavel
    Tags edited by: Michael Appleby

    Hi Jason,
    We went this route and identified the initial values, and tried to modify those.
    No impact though, as if those values are being overwritten elsewhere (whatever value we set, no change on the backend).
    Please see the attachments with screenshots of Agentry Editor.
    Many thanks.
    Pavel

  • Download notifications based on main work center and edit based on task level person responsible

    Hi Experts,
                   My requirement is to download notifications based on main work center.The downloaded notifications contains task level person responsible.If the notification contains four task assigned to different persons.Let suppose one task is assigned to the mobile user and other three task to another user.Now the first mobile user should able to edit the task  assigned to him ,but he should able to see all other task in disable mode that are assigned to other user.Iam using agentry work manager 5.3
    Please help me to achieve this requirement as soon as possible.Thanks in advance.
    Thanks & Regards,
    Sravanthi Polu
    Tags edited by: Michael Appleby

    Please refer my earlier posting for Work Order related requirement similar logic can be extended even to your Notification requirement.
    Also refer.
    Work Order and Notification Assignment Types Supported In Work Manager 5.3
    Thanks
    Manju

  • SAP Work Manager customization - adding a new field to equipment details screen (Syclo Agentry)

    Hi Experts,
    I am trying to add a field (NAME1) on the Equipment details screen under work orders in work manager 5.3 application.
    I have performed the following steps, but I am getting an error while connecting to the application.
    1) Create extension for Equipment class to add a new field.
    2) added the new field (Name1) as the property to the standard object Equipment.
    3) Added the field on the screen.
    4) Added the field (name1) to the complex table ctEquipment.
    5) Added the JAR file to Agentry.ini file.
    6) Changed the Class mapping for parameter "Equipment" under group "SAPOBJECT" to point it to the custom (Extended) class.
    7) Changed the class mapping for complex table parameter "ctEquipment" under group "CT_SAPOBJECT" to point it to the custom class.
    8) after publishing the changes and re-starting the server, I get following error.
    the log file generated (message.log) also has the same description.
    What am I missing here? Any help would be really appreciated.

    Hi Emanuel,
    Thanks for looking into this issue.
    I have performed the following steps as suggested by you, still it doesn't seem to work and gives the same error.
    Below are the changes done on the ECC Side.
    1) Copied the standard equipment class /SYCLO_CL_PM_EQUIPMENT1_DO to custom class ZSYCLO_CL_PM_EQUIPMENT1_DO. Changes made in the GET Method to get custom equipment related data
    2) Modified the standard equipment structure /SYCLO/PM_EQUI_STR by adding one custom field
    3) Configured this custom class as the object handler in the equipment mobile data object
    4) Configured this custom class as the object handler for the equipment complex table
    5) We are still using the standard BAPI Wrapper itself for getting the equipment data and the added field is reflected in the BAPI Wrapper table parameter
    Is there something we are missing?

  • Editing attachments in SAP Work Manager 6.0

    Hello Experts,
    Is there a way to edit attachments in the SAP Work Manager 6.0 application and save it back to the respective Work Order in the ECC system?
    Would appreciate if you can provide some pointers
    Thanks,
    Abhishek

    Abhishek,
    This may be possible but will depend on the host OS for the mobile device (Windows can do it, iOS can't) as well as how you have your processes defined and if you have the necessary editing tools on the device.
    The process will be to download the document to the device.
    Launch the editing software passing the file downloaded to edit
    Save the file
    Attached the edited file to your Work Order
    Transmit to upload the edited document.
    The reason iOS can't do this is due to the nature of your applications being contained and not sharing data across applications.  There may be some iOS OS enhancements coming in 7.2 and beyond which may enable this data sharing but for now you can't do it on iOS without using custom code (OpenUI on SMP3.0)
    Android may work depending on where you store you downloaded documents.  If they are stored in a "public" area then it might be possible to also do this on Android.
    Good luck.
    --Bill

  • Work Order / Notification Transfer - SAP Work Manager 6.2

    Hey Guys,
    How do we transfer notification based on Work Center, Standard work manager does not updates main work center.
    Requirement is to Transfer notification which are associated with work order when we transfer work order.
    Please let us know how to transfer notification based on work center.
    Thanks,
    Madhur Kanungo

    In Agentry you can trigger a Notification Change Transaction (Z_NotifTransfer) without a screen and update "WorkCenter" field on Notification Object. Please make sure you IsEdited = True and NeedsXmit = True along with the change to the Notification. This will update the notification object along with Work Order.
    The other option is to extend the WO MDO Class and invoke BAPI_ALM_NOTIF_DATA_MODIFY  in the Transfer method.
    thanks,
    Chandra

  • Work Manager 6.2 (CS) - Longtext not set for multiplie Notification Activities

    Hi all,
    I am trying to post multiple activities, each with its own long text from the work manager. The thing is that only the first activity will have the long text. While debugging /SYCLO/IF_CORE_DO_HANDLER~CREATE (/SMERP/CL_CS_NOTIFICATION_DO), I found a curious piece of code, that basically does the following:
    Loop over activities (outer loop)
    Get a fresh sort number
    Loop over long texts (inner loop)if the long text sort number matches the activity sort number (the activity from the outer loop)
    then replace the long text sort number by the fresh sort number and remove the long text from the list of long texts and copy its values to another list
    else remove the long text from the list of long texts and copy its values to another list
    replace the activity sort number (the activity from the outer loop) with the fresh sort number
    What happens with multiple activities is that in the inner loop, all the long texts are removed from the list of long texts (even those that are matching the second, third, ... activity in the activity list). Therefore, only for the first activity, long texts are added. Did anyone else encounter this problem (if this is working for anyone, could you provide me with your BAPI parameters)? Any idea on what SAPWM-911 is about (would it be safe to get rid of that part)?
                 LOOP AT me->tab_notif_activity ASSIGNING <notif_activity>.
                   ADD 1 TO lv_sort_no.
                   LOOP AT lt_notif_longtext INTO ls_notif_longtext WHERE objtype = lc_ltext_notif_activity.
                     lv_index = sy-tabix.
                     IF ls_notif_longtext-objkey+4(4) = <notif_activity>-act_sort_no.
                       ls_notif_longtext-objkey+4(4)  = lv_sort_no.
                       APPEND INITIAL LINE TO me->tab_notif_longtext ASSIGNING <notif_longtext>.
                       MOVE-CORRESPONDING ls_notif_longtext TO <notif_longtext>.
                       DELETE lt_notif_longtext INDEX lv_index.
                       "<--Ins 332_700 SP1 - SAPWM-911 - Start
                     ELSE.
                       "Check for remaining longtext rows not matching with parent table
                       "is considered as update to the existing activity notes
                       APPEND INITIAL LINE TO me->tab_notif_longtext ASSIGNING <notif_longtext>.
                       MOVE-CORRESPONDING ls_notif_longtext TO <notif_longtext>.
                       DELETE lt_notif_longtext INDEX lv_index.
                       "<--Ins 332_700 SP1 - SAPWM-911 - End
                     ENDIF.
                   ENDLOOP.
                   <notif_activity>-act_sort_no = lv_sort_no.
                 ENDLOOP.
    Thanks in advance for any contribution to this problem.
    Regards, Daniel

    Hi Daniel,
    I would suggest you raise an OSS message to get this fixed if you believe its bug.
    With Regards
    Murali

  • Work Manager 6.1: Uploading pictures or documents error

    Hi,
    I'm working with SMP 3.0 and Work Manager 6.1 for Android platform
    I'm trying to attach a picture and/or a document to a Work Order and to a Notification, but when I start the transmit the following error is displayed in the client:
    Sending Document Link Picture Add For Work Order...
    Unexpected disconnection from server (11)
    'Angel' connection failed
    I tried to debug the Java but it didn't reach any break point or "catch", I also checked the SMP 3.0 Agentry logs and there is nothing.
    I went through the installation notes and documents and I haven't been able to find out if I missed some configuration. I also checked this nice blog http://scn.sap.com/community/mobile/blog/2014/03/25/troubleshooting-sap-work-manager-60-attach-document-issue with no luck.
    Can you help me with this?
    Thank you in advance
    Tags edited by: Michael Appleby

    Short update for this issue. I created a SAP incident regarding it.
    It's only failing when attaching pictures in Android (iOS works fine), and it seems due a platform bug documented here: http://code.google.com/p/android/issues/detail?id=17535
    But since WM 6.1 is supported for Android 4.0 or higher, I expect some help from SAP if the cause is what I think.

  • Inspection Rounds in Work Manager 6.0

    Hi all,
    We've setup Work Manager 6.0 running on SMP2.3.  One of the functions that I'd like to get working is inspection rounds.
    We have
    Configued the standard order type PM01 to be an inspection rounds order in the work order MDO filter INSP_ORDER_TYPE.
    Assigned a measurement point PRT to the order operation.
    Added an Equipment number to the order operation.
    In work manager I am able to access the PRT screen from the Work Order Detail PRT link.  In that screen I can see the buttons for Tools, Inspection Types, Measuring Points, and Attachments.  In all my testing I've never seen a Measurement Point under the Measurement Point selection.
    When I've checked the data structure in the Agentry Test Environment the measurement point entries come up in the PRT section under the Operation section.  They are missing any value in the RecordID field.  Other PRT types have this information filled and I assume that it provides the link to the measurement point information downloaded for the functional location and equipment data structures under the operation structure.
    Inspection Rounds are working fine in the back end using standard confirmation transaction iw42.
    Any suggestions?
    thank you
    Steve.
    Tags edited by: Michael Appleby

    Thank you Syam,
    We have activated 'LOG_EAM_LINEAR_1' and '/SMERP/EHP5_EAM_BUS_FUNC' and we now get inspection round measurement points coming through to Work Manager.
    Separate switches for the functions in future releases is a solid idea.  Any customer who is not running linear assets will have to debate with their account manager if the want to use inspection rounds.  Linear generally attracts an additional license cost.
    Back to Inspection Rounds.  The measurement points come through only if the functional location or equipment record is explicitly specified on the operation.  In the ECC functionality any measurement point can be specified as long as it is in the hierarchy beneath the functional location/equipment referenced on the operation.  I assume that work manager limits this to minimise data sent to the device. 
    Does the parameter OBJECT_HIER_LEVEL'' on the 'WORKORDER_GENERIC' MDO have any impact on the collection of Functional Location and Equipment data at the operation level.  We are debugging and initially find a section of code relating to BDS documents.  Do you know the scope of the parameter?  Changing it's value seems to have no impact on the inclusion/exclusion of measurement points.  Debugging continues.....
    Ideally the get work order routine would be able to identify the required Functional Location and Equipment records from the measurement point PRTs themselves, that way only push the required records to the device, rather than a full hierarchy (assuming that full hierarchy was an option).  As it stands it looks like we'd need to implement a BADI to restrict the assignment of measurement point PRTs in ECC to only measurement points attached to the functional location and equipment record explicitly referenced on the operation.  If that wasn't done then you could add measurement PRTs in ECC that you couldn't process in Work Manager.
    Thank you again for your assistance.
    Steve.

  • How can I use Data Source Explorer to connect soap service with my work manager project?

    Hello,
           I am new in Agentry and I want to Consume soap service in work manager project.For that I add my service in data source explorer but I dont have any Idea that how can I go further in that to use this service in my project.

    Are you consuming OData service or SOAP service ?  Your heading says something but looking at screen it is OData service.
    I have not worked on OData service in Agentry but hopefully you can figure out rest of the steps:-
    Here are some high level steps you can follow  depending on what your trying to do.
    1. Open "Data Source Explorer" view->Eclipse, select "Window/Show View/Other->"Data Management/Data Source Explorer"
    2. On "Data Source Explorer" view, ->"OData Connections"->right click and select "New...
    3. Enter name of the connection profile.
    4. Enter Service URI of in OData Connection Details
    5. After "Test Connection", press "Finish" or click "Next" to view Summary.
    6. Right click "Yourproject" node under "OData Connection", select connection. You will see "Entities"
    7. Expand "ODataEntities", right click "Entityset", select "Agentry: Connector Studio\Object Wizard for OData".
    8. Select a module to add odata connection, click "Next"; and click "Next"; and click "Next"
    9. Check "Add", "Edit" and "Delete" on "Transaction Selection" screen.
    10. Create your own screenset and platform as required.
    11. Test the changes.
    Thanks
    Manju

  • Custom Work Manager not shown in WL Server Admin Console

    An application scoped custom work manager is to be configured, for which the files weblogic-application.xml, weblogic-ejb-jar.xml, weblogic.xml have been defined. After it is deployed on the server, custom work manager is not being shown in the list on console -> deployments -> application -> monitoring -> workload.
    What could be the reason? Is there something which is missed out?

    Hi Justin,
    According to the error message and the issue can be caused by the edition of your SSRS is not support for the custom data provider. For example the express edition have limitation support on this:
    Features Supported by the Editions of SQL Server 2012 .
    If your edition is the supportted edition and the issue can be caused by the custom data provider do not necessarily support all the functionality supplied by Reporting Services data processing extensions. In addition, some OLE DB data providers and ODBC
    drivers can be used to author and preview reports, but are not designed to support reports published on a report server. For example, the Microsoft OLE DB Provider for Jet is not supported on the report server. For more information, see
    Data Processing Extensions and .NET Framework Data Providers (SSRS).
    If you are running on a 32-bit platform, the data provider must be compiled for a 32-bit platform. If you are running on a 64-bit platform, the data provider must be compiled for the 64-bit platform. You cannot use a 32-bit data provider wrapped with 64-bit
    interfaces on a 64 bit platform.
    More details information:Data Sources Supported by Reporting Services (SSRS)
    Similar thread for your reference:
    ERROR: An attempt has been made to use a data extension 'SQL' that is not registered for
    this report server.
    Error when viewing SSRS report with SQL Azure as data source
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Attachments in Work Manager 6.0

    Attachments in Work Manager 6.0 work out of the box as far as allowing a user to attach a document, upload and download the document. However, we're not seeing any connection between attachments in WM and the SAP GUI. Attachments added to a Work Order in the SAP GUI are not visible in Work Manager and attachments to the same Work Order in Work Manager are not visible in SAP GUI. How do you adjust the storage of attachments and their visibility?
    We're Services for Objects for attachments.
    Tags edited by: Michael Appleby

    Abhishek,
    This may be possible but will depend on the host OS for the mobile device (Windows can do it, iOS can't) as well as how you have your processes defined and if you have the necessary editing tools on the device.
    The process will be to download the document to the device.
    Launch the editing software passing the file downloaded to edit
    Save the file
    Attached the edited file to your Work Order
    Transmit to upload the edited document.
    The reason iOS can't do this is due to the nature of your applications being contained and not sharing data across applications.  There may be some iOS OS enhancements coming in 7.2 and beyond which may enable this data sharing but for now you can't do it on iOS without using custom code (OpenUI on SMP3.0)
    Android may work depending on where you store you downloaded documents.  If they are stored in a "public" area then it might be possible to also do this on Android.
    Good luck.
    --Bill

  • PM order notification details

    Hi All,
    Can any one please tell me function module to fetch the PM order notification details (specifially task details of the notification) during runtime, means during work order creation.
    Thanks  a lot.
    Deepti

    Hi Karthik and Prashant,
    I have tried this but this bapi requires a notification number to give its details but i want some FM which will give details during runtime, means while the work order is in create mode.
    Thanks
    Deepti

Maybe you are looking for

  • Problem with Recognition of Admin's Name and Password

    I am having issues with my system not recognising my admin name and password. For example if I click the lock on the Accounts Preferences page to make changes or try to shut my system down with other users logged in I get a similar message telling me

  • I am on my fourth re-install of Lion Server ... OD Master create is failing..

    I have discovered that Lion Server is very particular about the order in which you configure things. This is my fourth attempt at a clean installation, and I cannot get past the creation of the OD Master. The creation log shows that the CA certificat

  • BPEL callbacks silently failing

    I've just come back from one of the SOA bootcamp sessions and encountered a problem we (being me and the guy running the lab) couldn't resolve in there. Software is the standalone SOASuite 10.1.3.1 on top of OLite, and JDev 10.1.3.2. Both using the J

  • File Open Window

    I use a cad cam software that allows you to create, edit and manage the links on the left hand side of the File>Open window.  This is the area that usually contains "My Recent Files" "Desktop"  "My Documents" etc. The ability to change and manage the

  • Disk - I/O contention

    Is there a unix command to determine the AVG I/O distribution among the raid disks? I know that we can determine the oracle File I/O using filestat view. I need to identify these disks with maximum contention so I can tune them. -BMP