on 06-04-2015 3:54 PM
Hello Experts,
I am working on SAP Workmanager 6.2. I have a requirement to add a field (license number) in the equipments screen.
To do the same, I have added a field in the 'Equipments' object. The same has been done in the screenset.
The following java changes has been made.
But, the data is not getting populated on the client. However, it is found in the server logs.
When I am trying to interchange the 'license' field with the 'description' field in the java code, the data is getting populated.
As obvious, the license number is coming on the description field and description is coming on the license field.
Can anyone suggest, why the data is not getting populated from the first code.
Regards,
Bino
Hello,
The issue has been resolved. I changed the type of the license number field from ASCII string (case-insensitive) to International string (case-insensitive).
After the change has been done, the data was coming perfectly.
Regards,
Bino
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As mentioned by Jason. Have you added this field to Equipment Object or Complex Table in Agentry depending on where you want to see this field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bino,
Have you added a new LicenceNumber object property to the appropriate Agentry object that you are fetching down in the Editor definitions? Just adding it to the java class wont do it, you need somewhere to put it on the Agentry side.
Jason Latko - Senior Product Developer at SAP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bino,
Make sure that you are using the SAPObjectArrayFactory class to recreate the final array of objects before passing them back to the fetch. When extending an SAPObject, this is necessary or Agentry will discard the new fields that are not part of the parent object that was extended:
array = (GoodsMovementDocument[])SAPObjectArrayFactory.createSAPObjectArray(array, SAPObjectFactory.create(_User, "GoodsMovementDocument"));
In the above example, the array will be transformed from a GoodsMovementDocument to whatever ZClass is defined for a GoodsMovementDocument in the config panel.
Jason Latko - Senior Product Developer at SAP
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.