cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow attachment of different modules required to saved in DMS

Former Member
0 Kudos

Hi Experts,

As per client requirement Original Application file created dynamically during process in Workflow of another module say ISU, required to save in DMS Server with the help of KPRO interface.

How to brought KPRO interface in workflow of different module than DMS to save those documents in DMS Server, created dynamically with templates in workflow of different modules.

How to upload & saved Workflow attachment in DMS server which are created in different modules.

any suggestions or help from moderators,

Thx in advance..

Pts will be awarded for helpful answer be sure..

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Resolved

former_member328875
Participant
0 Kudos

Hi,

Please share what process you followed?

I have the same requirement.

Thanks,

Saquib

Former Member
0 Kudos

Hello,

Could you please share how you have set up workflow and resolved this issue?

you have done any background job scheduling?

It would be very useful if you share this information.

Thanks.

Regards,

Muthusamy

former_member328875
Participant
0 Kudos

Hi,

There is no background job shceduling. Just an activity step is used and a class and its method is called. In the method FM having above code is called. See as below :

METHOD copy_attachment.

   CALL FUNCTION 'ZHREXP_ATTACHMENTS_TO_WI'

     EXPORTING

       im_workitemid                  = i_workitem

       im_pernr                       = i_pernr

       im_reinr                       = i_reinr

     EXCEPTIONS

       no_attachment_found            = 1

       error_reading_attachment       = 2

       error_instantiating_attachment = 3

       OTHERS                         = 4.

ENDMETHOD.

Former Member
0 Kudos

Thank you.

former_member328875
Participant
0 Kudos

Hi,

Can any one help me how to store it into DMS instead of Application level.

The above code I have shared is used to store into application server not for DMD.

Thanks,

Saquib

Former Member
0 Kudos

Resolved..

Former Member
0 Kudos

Hi,

you can use services for object option for attaching originals and the storage can be shifted to content server..

Thank You,

Manoj