cancel
Showing results for 
Search instead for 
Did you mean: 

SAPWM For Maximo - Attachment Download Using Commons VFS

Former Member
0 Kudos

Hi Experts,

We are trying to implement the document download functionality. We are using Maximo as backend and files to be download are physically stored in a remote server. We tried to use the DocumentManagement step however we encountered the error mentioned in the below URL.

http://scn.sap.com/thread/3819917

We were not able to resolve the issue and looked for alternatives.

As we are trying implement a ondemand fetch, we used VFS Commons (Java 3rd Party API) for accessing the file from remote server in java. We were successful in reading the file and returning the document content to Agentry. However we are not able to see the document in the device. We also observed that the document is not created in the path specified in External Data object property.

Agentry Client: v6.0.24.0

Device: Motorola ES400

Platform: Windows PPC

Details:

In ATE, we are able to see the data getting refreshed however the file is not created in the specified path. And when we open the document in HTML control screen, it displayed error message as below.

Agentry External Data Property Configuration in Editor:

Object properties:

Read Step for the Object to refresh the object after the transaction is posted.

Could you please help us to understand what is wrong with this?


Regards,

Karthik

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Experts,

We are still stuck in the same place. We tried various ways but we couldn't achieve this.

1) We tried to read JPEG & PDF files using Java Commons - VFS. Both of them didn't work. We compared the conversion of File to Base 64 encoded string in WM 6.2 and in our code, the steps we followed are same.

2) We moved away from Commons-VFS and came back to File Document Management Step to read the files. We are getting a different error from what we got initially and we have no clue about this error.

##################################################################

BackEnd=File-3

2015/12/09 16:59:18.068:             Begin command line step

2015/12/09 16:59:18.069:             Script file 'C:\SAP Work Manager For Maximo\ServerDev\UploadedFiles\ag3A1EF.bat' is 45 bytes

2015/12/09 16:59:18.069:             Property 'Document' will be read from the process output (STDOUT)

2015/12/09 16:59:18.069:             Command Line: C:\SAP Work Manager For Maximo\ServerDev\UploadedFiles\ag3A1EF.bat

2015/12/09 16:59:18.173:             Error reading external from '': Broken pipe

2015/12/09 16:59:18.173:             Waiting for command: C:\SAP Work Manager For Maximo\ServerDev\UploadedFiles\ag3A1EF.bat

2015/12/09 16:59:18.174:             Command completed with exit code 1

##################################################################


We are now out of options to try out and any suggestion would help us to achieve this.


Thanks in advance.


Regards,

Karthik

mark_pe
Active Contributor
0 Kudos

Karthik,

Hi. Your request above is considered a feature that is currently not built-in the Work Manager Maximo product. We normally tell customers to see the SAP consulting to build it for them. We know past customers have dealt with SAP consulting.

So either you subcontract to SAP consulting or talk to your SAP Account Executive to open a feature request for it.  It is important to talk to the AE to get this approve for out of the box functionality.

Best Regards,

SAP Mobile Support Team

Former Member
0 Kudos

Hi Mark,

Thanks for your response.

This is something we are trying to achieve on top a of a customized solution. We were almost there however we are not able to display the file in the device.

Are there any settings to be configured for the same?

Regards,

Karthik

Former Member
0 Kudos

Hi Bill, Mark, Stephen,


Could you please help us on the above?

Thanks in advance.

Regards,

Karthik