Work Manager 6.1 - Complex table Enhancement

Hi All,
I had created a custom class for a Complex Table - CodeGroup - which is attached - on top of Work Manager 5.3 Java Code.
Now we are upgrading to SMP 3.0 and Work Manager 6.1, and this class is throwing this error during transmit:
JAVA EXCEPTION CAUGHT: java.lang.AbstractMethodError: Missing implementation of interface method "com.syclo.sap.ComplexTableObject.setProperties(Lcom/syclo/sap/jco/JCO$Table;)V"
I am not sure which method am missing to implement.
Kindly help.
Regards
Ankur
Tags edited by: Michael Appleby

Hi Stephen,
Yes I am using the same call that I had on WM 5.3 on WM 6.1.
How do I implement the changes without having the source code of WM 6.1?
I have been pointed to some documentation by SAP, but it is not helping me much.
Please advice.

Similar Messages

  • Agentry Work Manager 6.0: BADI to enhance assignment type

    Hi,
    I have the requirement to more or less combine the work order assignment types 1 and 2. I have to fetch the operations based on its assigned personal number, but at the same time I have to fetch a work order and all the operations if the Agentry user is the work order header responsible.
    Unfortunately this is a single value parameter so I set the assignment type to 2. Now I thought it would be really easy to fetch the work orders based on the assignment type 1 since there is a BADI available after each assignment call method:
    WHEN '2'.                                           "Operation level
               me->get_assignment2(
                 EXPORTING
                    iref_rfc_oo_data = iref_rfc_oo_data
                 IMPORTING
                    et_return        = lt_return
                    et_wo_object     = lt_wo_object ).
               IF NOT gref_badi_wo IS INITIAL.
                 CALL BADI gref_badi_wo->get_assignment_type2
                   EXPORTING
                     iref_mdo_data = me->oref_mdo_data
                   CHANGING
                     ct_wo_object  = lt_wo_object.
               ENDIF.
    So inside the BADI gref_badi_wo->get_assignment_type2, I wanted to call the me->get_assignment1 method, and then join the 2 internal tables values.
    But the problem is once the BADI is called it is not possible to call this method since we only have the OREF_MDO_DATA object which has the original class as a inaccessible private attribute. I could try to copy and adapt the me->get_assignment1 code but there are some attributes that are not accessible inside the BADI. Do you see a simple and elegant solution to this requirement?
    I would like to avoid creating a new Z handler class inheriting from the standard one...
    Thank you.
    Tags edited by: Michael Appleby

    Hi,
    I just wanted to close this old thread since what I did long ago to solve the issue is to replicate the me->get_assignment1 inside the me->get_assignment2 BADI method code. It is not just a copy paste since from the BADI you don't have access to some MDO handler private data.
    But it is possible to replicate all the fetch process except when doing a delta with exchange since I couldn't easily get the necessary data from the main MDO. But even if you get all the work orders ID's, after the BADI the standard code checks the exchange table again and rules out the unnecessary WO ID's.

  • Pool/Crew Management custom development in Work Manager 6.0

    Hi All;
    I'm new in the Agentry space, please bear with me. I'm working on a development of bringing in a crew/pool management screen into work manager 6.0. So this functionality should work in the such a way that the user clicks on the screen/tab "Pool Management" and within this screen would be a list of employees within a particular work centre. The user would then be able to tick, which employees he/she would be taking out for an inspection. I've been trying to get a feel or sense of direction of how I would go about with this development within Work Manager 6.0, with no success. Please kindly assist in terms of how I would go about with such a development or maybe if there is a resource that I could refer to, to guide me in bringing the employees onto this screen per work centre and enable the user to tick the relevant employees from the list, individually.
    I see that Work Manager already has a table "ctPersonResp" which contains all the employees, But I would like to enable the app user to select/filter employees to select from based on different work centres. How would I display all employees in a given work centre? Also how would I bring about a functionality of being able to choose/select/tick individual users within that work centre? I would greatly appreciate any help/direction in terms of getting this development started.
    I'm using SMP 2.3 SP03 with Agentry 6.1.4.179 and am using Agentry WPF client as the testing client.
    Thanks in advance!
    Regards;
    Sizo Ndlovu

    Hi Jason;
    You're right, it is a bit confusing when u're getting started, lets hope I get there soon. I think I have pretty much tried to follow as per your guideline of creating the WorkCentre field and the related indexes. I have also gone to create the screen that gets called within the Pool Management screen tab, but somehow, I am not seeing any selection dropdown when I test on the device. Please see the below screenshots for what I have done and kindly guide me as to where I could be going wrong.
    Thanks in advance!
    Sizo Ndlovu

  • Custom Data Table in Work Manager 6.1 / SMP 3.0

    Hi folks,
    was trying to create a custom Data Table in Work Manager. Unfortunately I was not successful to get it working - probably I am missing out something.
    Have created the DataTable in the Agentry Editor and configured the Java Class to use the DataTable class like for the other DataTables. Then created the 4 config values in the parameters of the Mobile Application Configuration (DT_MDOID, TABLE_CHECK, TABLE_REFRESH, ENABLE_TABLE). Also created a MDO that is mapped to the DT_MDOID which is derived from the /SYCLO/CL_CORE_DT_HANDLER class.
    During sync, I am getting the following errors in the server logs - in the client it is Error 13 => Java...
    08/13/2014 18:18:36, 1,         0,         2, Thr      10364, class RCP<class DT::DataTable>, D:\Syclo_BuildBot\rc_7.0server\Syclo\refcount.h#220:RCP<class DT::DataTable>::operator ->
    2014/08/13 18:18:36.505:             + BackEnd=Java-SAPJavaConnection
    2014/08/13 18:18:36.505:               Using Java code for <DATA_TABLE_NAME>
    2014/08/13 18:18:36.506:               Java Exception "<DATA_TABLE_NAME>" Update Data Table: - java.util.NoSuchElementException
    Do you have some pointers on what I may miss out?
    Cheers,
    Florian

    Make sure that 'DT_MDOID" parameter entries are maintained correctly "That there is no typo's" in config panel. I don't think you need any entries for TABLE_CHECK, TABLE_REFRESH, ENABLE_TABLE parameters which are only relevant for complex table.  Same in Agentry  the data table should match with  SAP name.
    Let me know if you still have issues.
    Thanks
    Manju

  • Task Table in Custom DB as provider in Work Management Service?

    I have a task table on a SQL 2008 Database (with usual task columns like assigned_to, task_title, status etc). 
    I understand that custom providers are unsupported for WMS.
    Is it possible to create an External List (BCS) connecting to the SQL task table and use that as a provider for WMS?

    Hi Mahesh,
    Although the implementation of work management service application is based on the provider model, I reckon the current SP 2013 RTM does not support custom providers. Only SharePoint task lists, Project server and MS Exchange are supported for now.
    Regards,
    Yatin

  • Error when working with Agentry Complex table

    Hello Gurus,
    I follow the tutorial Flight Booking and try to load a complex table onto my Agentry client. However, when I transmit from Agentry server, it display the error in the log:
    Exception: 11:20:06 07/24/2014 : 20 (Agentry3), JavaBackEndError (java.lang.NoSuchMethodException: com.syclo.sap.mm.object.VendorCT.<init>(com.syclo.agentry.ComplexTableSession, java.util.GregorianCalendar)),
    VendorCT is the complex table.
    Please help me. Thank  you.

    Hi,
    Create a class handler and bapi wrapper in sap
    Create a mobile data object, assign the class handler and check the active flag for the data object
    Create a bapi wrapper,assign the bapi and check the active flag
    Create a class in java for complex table,make sure the field names are correct
    Create a complex table in agentry , assign the java class created, field name ( make sure they are correct),define indexes(check weather they are mapped correctly to the fields)   
    Check in ate view-toolbar-localization
    Once check weather the above steps are performed correctly
    Thanks & Regards,
    Sravanthi Polu

  • 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?

  • Populating a complex table from another object collection in Syclo Agentry applications

    Hello Experts,
    I have an object which contains a table data as part of a collection property.
    Can I use this object to insert the data in another complex table? I am unable to use a separate bapi wrapper to populate the complex table in this case.
    As I have seen the existing complex tables in the Work Manager applications, they all get populated at the beginning of the main transmit.
    at this instant, I don't have the data in one of my objects based on which I have to populate my complex table.
    So, after the object is filled using a BAPI call, I have to fill up this complex table.
    Is it possible to populate this table this way?
    Any help will be appreciated.
    Thanks,
    Arihant Kothari

    Arihant,
    Yes.  You can create an Update Complex Table transaction.  It works against the Main Object, but then you choose which complex table you want to update on the transaction.  Add the properties you want to update and populate them.  To populate from your object collection, use "From other object property" for your initial value on a property, then point to the object and property you want to populate from: Whatever Object -> Whatever property.  Use a looping sub-action to loop over your object collection and create/update complex table records with your new transaction.  Finish the original sub-action with an Apply.  Don't apply after each CT record create because that is much slower.  Use a single Apply step after your Loop in the main action.  If the CT record already exists, it will be updated.  If it does not exist, it will be created.
    Jason Latko - Senior Product Developer at SAP

  • Work Manager 6.1 Initialize / Default Collection

    Hi,
    I'm trying to default the Crew Member Collection from a complex table when the application initializes. I have added a Sub-Action to the Transmit Action which has an Enable Rule to determine if it executes.
    My issue is when I launch the Agentry Application, the Transmit Action is triggered and I can see my Enable Rule returns - True but my Sub-Action doesn't execute. ATE log extract below -
    The ATE log says my Action - ZCrewMemberDefaultAction has no enable rule configured, but the it has been set to "Always Enable"
    However if I manually trigger the Transmit Action (after the application has initialized) my Sub-Action executes and the Crew Members are defaulted.
    Can someone please help identify why my SubAction isn't being executed OR suggest any other options where I can execute my "Default Crew Member Logic" when the application is launched?
    I'm targeting the WPF platform (v7.0.4.203) and the complete ATE log is attached.
    Thanks,
    Stephen

    Of the actions in the ATE trace, Transmit seemed to make the most sense to try and plug my action into; hadn't tried the PM Login Action. I couldn't see other actions that might be suitable when the application is initialized.
    As a last resort I was going to create a Fetch BAPI to populate the collection, but thought it was redundant because I already have the required data in the Complex Table.
    OR
    Create a "Default Crew" button on the Crew Management View (Just got that working)
    Cheers.

  • Work Manager 6.1: java.lang.reflect.InvocationTargetException

    Hi all,
    Please, I need your help with this issue. I installed Work Manager 6.1 over SMP 3.0.3.
    I added a field to complex table ctCatalogGroup. The field was already contemplated on the backend so I only had to add it in Agentry. It worked fine for a while but suddenly it started giving me this error during transmit every time since then:
    My Java class looks like this:
    And I added the field in Agentry accordingly:
    Config Panel parameters for this are:
    The first thing I noticed is this error in the SMP log:
    2015/04/23 08:29:12.540: + WorkFunction=00000001496AF658
    2015/04/23 08:29:12.540: + User=invpos_out30
    2015/04/23 08:29:12.540: + Server=Agentry
    2015/04/23 08:29:12.540: + Complex Table=ctcatalogprofile
    2015/04/23 08:29:12.540: Update BHT 'ctcatalogprofile' for 'User': Client last data update 12:00:01 a.m. 01/01/1900
    2015/04/23 08:29:12.540: Update BHT 'ctcatalogprofile' for 'User': Getting back end connections
    2015/04/23 08:29:12.540: client last data update=12:00:01 a.m. 01/01/1900
    2015/04/23 08:29:12.540: Backend step is configured as a Java Class; using Java class com.syclo.sap.ComplexTable
    2015/04/23 08:29:12.540: Using Java Class com.syclo.sap.ComplexTable for ComplexTable
    2015/04/23 08:29:12.555: + BackEnd=Java-SAPJavaConnection
    2015/04/23 08:29:12.555: Exception while starting complex table update for table 'ctcatalogprofile': JavaBackEndError: JAVA EXCEPTION CAUGHT: java.lang.reflect.InvocationTargetException in AgentryComplexTableFactory::createComplexTable at AgentryComplexTableFactory.cpp:129
    As well as this other one in the events.log:
    04/23/2015 08:23:32, 0, 20, 16, Thr 9240, Threads in thread pool 'Runtime' expanded to 2. Adding thread 3580
    04/23/2015 08:25:13, 1, 29, 1, Thr 3580, java/net/SocketException, java.net.SocketException: Connection reset by peer: socket write errorAngelJavaStreamsConnection.cpp#189:AngelJavaStreamsConnection::handleException
    04/23/2015 08:25:13, 1, 4,3221225477, Thr 3580, EXCEPTION_ACCESS_VIOLATION, 000000018000DE02, 0, R, 0000000000000000, ..\agentry\threadManager.cpp#354:ThreadManager::WorkerThread::function
    04/23/2015 08:25:27, 0, 0, 6, Thr 7572, invpos_out30: relogin failed at ANGEL: B4A91958-A9A4-46F8-B323-20C61E7E76E8; attempt from ANGEL: 97E1F7AF-4E38-4ECB-8D3C-2E2D4AFEA2AE
    04/23/2015 08:25:56, 0, 0, 6, Thr 7572, invpos_out30: relogin failed at ANGEL: B4A91958-A9A4-46F8-B323-20C61E7E76E8; attempt from ANGEL: 15FAC37B-A017-46AB-B528-B2B4610423CC
    04/23/2015 08:26:27, 0, 0, 6, Thr 7572, invpos_out30: relogin failed at ANGEL: B4A91958-A9A4-46F8-B323-20C61E7E76E8; attempt from ANGEL: BFDB1CBE-12D9-4A66-8EBA-A855B2B90D23
    04/23/2015 08:29:12, 1, 20, 18, Thr 3580, JAVA EXCEPTION CAUGHT: java.lang.reflect.InvocationTargetException
    I would like to know if anyone faced something like this before or any suggestions on how to dig deeper for a solution. What confuses me is that it worked ok at first and now I can no longer start the client. That is as far as I can get.
    Best regards!
    Leonardo.

    Hi,
    Can you modify the step
    public void setProperties(Table tbl) throws Exception {
            super.setProperties(tbl);
            setShortText(tbl.getString("KURZTEXT")).trim());
    to
    public void setProperties(Table tbl) throws Exception {
            super.setProperties(tbl);
            setShortText(tbl.getString("KURZTEXT"));
    Thanks & Regards,
    Sravanthi

  • Java heap size error Work manager

    Hi,
      We are working with Work Manager 6.0 running on SMP 2.3 SP03.
    The application was working fine, but after the data load that has happened in the UAT
    System, we are getting the below error:
    2014/08/08 00:48:56.142:
    setImportParameters::STORAGE_REF_KEY=ET_COMPLEX_TABLE
    2014/08/08 00:48:56.143:               + User=TS_MAINTMGR
    2014/08/08 00:48:56.143:                 execute::::TS_MAINTMGR::before
    BAPI execute: /SMERP/MM_CTMATPLANT_GET
    2014/08/08 00:55:20.905:             + BackEnd=Java-1
    2014/08/08 00:55:20.905:               Exception while updating complex
    table 'ctpart': JavaBackEndError: JAVA EXCEPTION CAUGHT:
    java.lang.OutOfMemoryError: Java heap space in
    AgentryJavaComplexTableIterator::hasNext at
    AgentryJavaComplexTableIterator.cpp:52
    2014/08/08 00:55:21.099: + Thread=6588
    2014/08/08 00:55:21.099:   + Thread Pool=Server
    2014/08/08 00:55:21.099:     + WorkFunction=00000000020DEF90
    2014/08/08 00:55:21.099:       + User=TS_MAINTMGR
    2014/08/08 00:55:21.099:         + User=TS_MAINTMGR
    2014/08/08 00:55:21.099:           Received Logout Request message 18
    status changed to 'In Progress'
    2014/08/08 00:55:21.105:         Logged out (but not yet cleaned up)
    We tried to increase the min and max heap size from 256 / 512 to 512 /
    2048 respectively in Agentry.ini, but are still getting the same error.
    Please let us know if there is any other parameter which can be used to
    fine tune this and get this up and running,
    Thanks for the help.

    Raviraj,
    Are you working with Boopaln?  The reason why I as He posted the same error (in the same complex table) With the same changes but just a different user shown.
    If yes. please see that thread at:  JAVA Heap Size Error in SAP Work Manager

  • How to increase width of the complex table column in Agentry?

    I am using Agentry 6.0.38.1 client and Smart service manager 3.0 and Agentry 6.0.32 plugin, developing for Android client
    I increased no of characters for that complex table column in Agentry editor still its width is same in Android device.
    How can I increase the displayed width so that values in that column will not truncate?
    Tags edited by: Michael Appleby

    Hi Merten,
    I'm using Agentry Android client v6.1.4.179 (latest one). In Work Manager Add Component screen, Plant and Item ID fields's edit type is Complex table drop down and Complex table search respectively.
    Now we have requirement to fixed Column Width of this fields. Kindly let me know if there is any way to fix this. if than how?
    Thanks-
    Dipak Jotaneeya

  • Add a standard field in Complex table ctPart

    Hi All,
    I want to add transaction fields (like unloading point) in a complex table ctPart, so that the these fields appear in my search parameters along with other parameters in SAP Work Manager 6.0 App
    I want to know how to link it to the back end. I just have added the fields at agentry end
    I can find those fields in config panel AFVC and RESB tables. I have extended the Part POJO class to get these values in the Component object. But i need these values in complex table also.
    Please help me to proceed

    Vinuta,
    You need to extend the POJO responsible for ctPart CT (look in the config panel parameters for the CT_SAPOBJECT that matches), and make sure your new fields are even available in the BAPI that populates that complex table.  Figure out which BAPI that is by looking up the CT_BAPI_WRAPPER record matching ctParts.  Since your are adding UnloadingPoint, this field must be added to the POJO and must be populated from the BAPI if available.  Use transaction SE37 in SAP to examine the BAPI return table.  If not available, this would require a BAPI code change.
    Jason Latko - Senior Product Developer at SAP

  • JAVA Heap Size Error in SAP Work Manager

    We are getting the below error wrt Java Heap size in the SAP Work manager Application:
    2014/08/08 00:48:56.142:setImportParameters::STORAGE_REF_KEY=ET_COMPLEX_TABLE
    2014/08/08 00:48:56.143: + User=MAINTMGR
    2014/08/08 00:48:56.143: execute::::MAINTMGR::before BAPI execute: /SMERP/MM_CTMATPLANT_GET
    2014/08/08 00:55:20.905: + BackEnd=Java-1
    2014/08/08 00:55:20.905: Exception while updating complex table 'ctpart': JavaBackEndError: JAVA EXCEPTION CAUGHT: java.lang.OutOfMemoryError: Java heap space in AgentryJavaComplexTableIterator::hasNext at AgentryJavaComplexTableIterator.cpp:52
    2014/08/08 00:55:21.099: + Thread=6588
    2014/08/08 00:55:21.099: + Thread Pool=Server
    2014/08/08 00:55:21.099: + WorkFunction=00000000020DEF90
    2014/08/08 00:55:21.099: + User=MAINTMGR
    2014/08/08 00:55:21.099: + User=MAINTMGR
    2014/08/08 00:55:21.099: Received Logout Request message 18 status changed to 'In Progress'
    2014/08/08 00:55:21.105: Logged out (but not yet cleaned up)
    We have tried to increase the initial and maximum heap size in the Agentry.ini file from 256 / 512 to 512 / 2048 respectively. But the
    error still persists.
    Can you please let us know if there are any
    other changes required for
    the same?
    PFA the Java backend and the user
    logs. Please treat this ticket with
    the highest priority.
    Thanks,
    Boopalan

    Looks like ur getting   heap size error while trying to fetch  records for ctparts complex table. From platform  point of view you have increased heap size. Next step is to analyze application settings for ctparts  complex table. As indicated by Steve from application point you need check the need for  amount of materials your trying to retrive , can you set filter for ctparts ,  does  ctparts  BAPI execute in SAP without any timeout error.
    What is the version of Work Manager your using ?    With WM 6.1 you have options to  take advantage of data staging that is delievered as part of standard application.
    Thanks
    Manju.

  • SAP Work Manager : GetWorkOrdersSteplet - NullPointerException

    Hi All
    We are implementing standard SAP Work Manager 6.0. When starting the ATE I get this error during the Agentry Client Transmit:
    Replacing definition for Checking Get WorkOrders
    Application Updated to 1
    Checking Get WorkOrders...
    GetWorkOrdersSteplet - NullPointerException
    Server error - please contact your administrator (13)
    I wasn't able to find any logfiles in the ATE folders that could point me in the right direction, it was another blog posted here on SCN (Syclo Customization Extension-First Steps) that made me look at our SAP ERP system.
    Two questions:
    1. Where can I find the logfiles for this error?
    2. Table AUFK does have an extension CI_AUFK with 4 custom fields (see below). Is that the cause of this error? If that's the case, do we need to enhance SAP WM, or is there another way to bypass or ignore those custom fields?
    Regards.
    Edwin

    Hi Chao,
    Are you getting the Null Pointer exception on connecting to the standard application or its happening only while connecting to customised application?.
    From the log files you could see while executing which BAPI throwing the exception, eg: :/SMERP/PM_DOFUNCLOCATION_GET.
    Verify the config panel, where the BAPI “/SMERP/PM_DOFUNCLOCATION_GET” is mapped to the custom mobile application and mobile object?.
    Verify the Functional location MDO-> is the data object name is changed according to the custom name?
    Verify you have created the copy correctly; objects are copied correctly; if not rename manually.
    Thanks
    Resmi

Maybe you are looking for

  • Duplex Printing in Reports 3.0

    I am trying to print a report on both sides of the paper, using Reports 3.0. I have no problem doing this with Reports 2.5. The printer properties have been set properly, so it must be the report. Any ideas would be greatly appreciated. thanx Some de

  • Simple question on FileAdapter Outbound Directory

    Hello, Can I set up a dynamic outbound directory in my wsdl? If yes, How? In FileAdapter tutorials the outbound dyrectory is always static path... Thank you Andrea

  • How can I insert jpg/bmp files when composing an e mail?

    I want to insert a jpg file into the mail while composing the e mail and avoid sending it as an attachment. I've tried copy-paste, but it doesn't work. I tried to drag from another window, that doesn't work either. I managed to drag a jpg file from a

  • "Post Goods Receipt" is not allowed in VL32N

    Hello, I have a problem with GI in VL32N for an Inbound Delivery with several HU's. The message I get is: "Post Goods Receipt" is not allowed (HU  1835717) What I have already checked: 1. The status of all HU's in this delivery seems to be correct 2.

  • Query hangs inside procedure

    Hi All, I have a weird problem. I have a merge query which is running from sql prompt but hangs when the same is called from pl/sql procedure? Any Idea why it is hanging? Here is the merge query which is called inside plsql MERGE INTO NANP_CarrierRat