cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing attachments stored in Open text (ECC) with Work manager 6.0

Former Member
0 Kudos

Hello Experts,

We are using Open text in one of our ECC systems to store documents, files, pdfs and other attachments for the Work Orders and Notifications.

We want to configure the Work Manager 6.0 application hosted on SMP2.3, in order to fetch all the Work orders in the mobile device.

Now the question is - Can we access the attachments on the mobile device, from the out of the box Work Manager configuration.

Or, is there a need to install any plug-ins in the ECC/Agentry side to enable the same.

Thanks,

Abhishek

Accepted Solutions (1)

Accepted Solutions (1)

stephen_kringas
Active Participant
0 Kudos

Hi Abhishek,

This isn't out of the box functionality for Work Manager so you'll need to enhance the existing functionality.

To access OpenText Attachments (via ArchiveLink) in WorkManager try looking at the following->

1. Get Attachments

BAPI Wrapper - /SMERP/CORE_DOBDSDOCUMENT_GET

MDO Class - /SMERP/CL_CORE_KWDOCUMENT_DO (Method - GET)

You'll see the above GET method calls (If you GOS_ACTIVE flag is true) - GOS_DOCUMENT_GET_INFO

This is responsilbe for getting the attachment metadata returned to the Work Manager Client ->

  • ET_COMPONENTS
  • ET_SIGNATURE
  • ET_CONNECTIONS

To get the attachment metadata stored in OpenText via ArchiveLink look at the below Function Modules -

  • ARCHIV_GET_CONNECTIONS
  • ARCHIVOBJECT_STATUS

You could enchance the GOS_DOCUMENT_GET_INFO method with a Post-Exit method or Implement the BADI /SMERP/MDO_CORE_DOCUMENTS - END_BDS_FETCH

2. Create Attachments

BAPI Wrapper -/SMERP/CORE_DOBDSDOCUMENT_CRT

MDO Class - /SMERP/CL_CORE_KWDOCUMENT_DO (Method - CREATE)

This calls the method BDS_DOCUMENT_CREATE to create the file and store it against the Work Order / Notification.

You could look at following Function Modules ->

  • ARCHIVOBJECT_CREATE_TABLE (Create the file on the OpenText server)
  • ARCHIV_CONNECTION_INSERT (Link the newly created file with the Work Order / Notification)

The BADI doesn't provide a corresponding Create method so you could enhance the MDO class /SMERP/CL_CORE_KWDOCUMENT_DO with new method that calls the ArchiveLink Logic instead of the BDS_DOCUMENT_CREATE method. The new method can be configured via the Syclo Config Panel to be called instead of the standard CREATE method.

Also check out the document - Document Upload & Download handling in SAP Work Manager 6.0

Section 7 & 8 covers the BAPI Wrappers/Class Handlers & Ehancement Spots for Document handling

Hope that helps.

Cheers,

Stephen

Former Member
0 Kudos

Thanks Stephen. We will definitely try this out and respond to you on the outcome.

Many Thanks,

Abhishek

CRVMANISH
Contributor
0 Kudos

Hello Abhishek,

Were you able to achieve this functionality.

Regards

Manish

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

In order to use a different document store you will probably need to do some configuration changes within the Work Manager application to correctly point to the docments.  I am not an OpenText expert but assuming they have a mechanism to access those documents it will still work with some configuration changes.

--Bill

Former Member
0 Kudos

Thanks Bill.

CRVMANISH
Contributor
0 Kudos

Hello Abhishek,

This is not out of the box in work manager, i can develop for you if you share the requirements.

Regards.

Manish

Former Member
0 Kudos

Hi Manish,

Thanks for the gesture.

Open Text is the Content Management and Document repository for one of the ECC systems. The attachments in the Notifications are stored in Open Text.

The requirement is to fetch these Notifications into the Work manager application, along with the attachments on to the device. Also, any new attachments uploaded into the Notification should flow back to the ECC and get stored in the location specified in Open Text.


Thanks,

Abhishek

former_member183148
Contributor
0 Kudos

Hello Manish,

           

     This is definitely a out of box requirement. Which requires custom development. This has to be dealt from the OT side rather than from SAP mobility.

@ Abhishek,

            What component of OT(ADA, xECM, VIM) you are using? If you are not yet arrived to end point let me know.


Thanks,

Kolusu

Former Member
0 Kudos

Hello Koulsu,

They are using xECM. However, we are unable to locate the path where the attachments are getting stored in the Content repository server.

Would appreciate if you could give us some pointers.

Thanks,

Abhishek

former_member183148
Contributor
0 Kudos

Hello Abhishek,

          Sorry for the late reply. Are you attaching the files or storing the files?

Attaching the file -> get stored in the cluster Database table( I guess SOFFPHIO or something) in raw format  


Storing files -> They will be getting stored in the content repository.

Let me know if you need to access the document.


Thanks,

Kolusu

Former Member
0 Kudos

Hello Kolusu,

Am from Abhishek's Team.

We are attaching the files in OpenText, which is configured for the notifications in our SAP system.

We want to know, how do we integrate OpenText documents with the SAP workmanager application, both from SAP and Agentry side.

Thanks,

Anil M