Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Add GOS-Attachments in background task

martin_mller4
Discoverer
0 Likes
593

Hello,

I'm searching for a way to add a file to the attachment list of an entry sheet.

I found the method CREATE_ATTACHMENT of class cl_gos_document_service.

But this method display's an selection screen for choosing the file, so it's not adapted to solve my problem.

Does anybody know if there is a way to add a file to an GOS attachment list?

Thank you for answers.

Martin Müller

2 REPLIES 2
Read only

ramki_maley
Active Contributor
0 Likes
433

Hi Martin,

I very much doubt if that is possible. Only files that can be processed in background are the files that are available to the App Server. GOS provides a facility to attach a file from the front end. Once it is attached, it is stored in the DB but still requires a front end to view the attachment.

Cheers,

Ramki Maley.

Read only

0 Likes
433

Hello Ramki,

thanx for your answer.

The files I try to upload are still saved on the file system of the application server. I transferred them from the users frontend to the application server via internet connection.

cheers

Martin