Skip to Content

Adding Custom Fields in SAP SYCLO Work Manager App

Dear All

I am trying to add a custom field for poc purpose in Syclo Work Manager Application using following blog.

http://scn.sap.com/people/jemin.tanna/blog/2013/05/17/syclo-extension-first-steps

I have created the required structure but not entirely sure of the linkages.

Got the source code from syclo support team and imported it in Eclipse.I did not see any main project with Agentry application.So I imported Agentry.ini into Eclipse (highlighted in first box).Made a copy of S4SAP-WorkOrder into SycloSAP-Workorder (highlighted in second box)and included the custom code.UI changes were made in SAPWM prj using Agentry-Property perspective as explained in blog.

After this I do not understand how both this project need to be linked.Also how back-end changes will get incorporated is also a confusion. Didn't get any

further doc on moving ahead.

Regards

Eclipse1.JPG (54.6 kB)
Eclipse2.JPG (18.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 01, 2013 at 05:08 AM

    Hi Shankar,

    The jar must be places in JAVA folder of the server...example: C:\SAP Work Manager\ServerDev\Java

    So export ur java project as jar there...

    then you must mention this jar in Agentry.ini on server folder:

    example:

    classPath=./ini4j.jar;./sapjco.jar;./Java/Agentry-v5.jar;./Java;./Java/SAPWM-5.3.0.0.jar;./Java;./Java/SAPCommon-122971.jar;./Java/customWorkOrder.jar;

    Now if u have made a customer workorder object(POJO) this gets dynamically created in java code when accessing createObject method of SAPObjectFactory....now this would mean you have to goto parameters tab in config panel and against the name you are using to createObject you will have to give full class path as

    ParameterGroup: SAPOBJECT

    ParamererName: <name pased to creatObject Method>, in standard it is Workorder

    ParameteValue: com.....custom.object..<JAva class name that u created>

    And now the new object should come into action.

    All the best.

    Jemin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Jason Latko

      How can get hold of 6.1? Do we still need to be waiting on a release?

      We are currently working with 6.0 but are targeting 6.1 for our deployment. Would be a shame to be writing this Java code for nothing.

      Regards

      Marty

  • avatar image
    Former Member
    Jun 26, 2013 at 02:56 PM

    The Agentry application contains references to various Java classes throughout. To update the java classes you need to export the source projects into a jar, and then copy into the ServerDev/Java folder of your Agentry server.

    Michael

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Shankar Agarwal

      Hi,

      The SAPWM application should be published to the Agentry server using the Publish feature in eclipse.

      Depending on your version of WM, you would want to export all the java projects into one Jar, with the possible exception of SAP-common (which may already be its own jar - check the Java folder on your server).

      If you use the same file name as the existing jar there are no further changes. If you use a different name, you would have to add it to the path in Agentry.ini

      Michael

  • Aug 20, 2015 at 09:57 AM

    Hi Shankar,

    If your issue is resolved, please mark this thread answered.

    Thanks

    Resmi

    Add comment
    10|10000 characters needed characters exceeded