Skip to Content
0

ArchiveLink - GOS Attachment List not updated

Oct 31, 2016 at 05:02 PM

148

avatar image

Dear all,

I've created a custom GOS (single service) which allows the user to attach a file (of a specific format) and save it via ArchiveLink.

I'm specifically using FMs "ARCHIVOBJECT_CREATE_TABLE" and "ARCHIV_CONNECTION_INSERT" for this.

My problem now is, that if I use this service on a business document, which previously hasn't had any attachment, the attachment list stays inactive (greyed out) after execution of the GOS.

If I leave the business document and re-enter the same, the attachment list is shown as active and I can successfully retrieve the attachment.

Question: Is there any way to achieve this refresh programmaticaly?

I already figured that other GOS sooner or later use "CL_BINARY_RELATION=>CREATE_LINK" which then fires the event "LINK_CREATED". The GOS "VIEW_ATTA (CL_GOS_SRV_ATTACHMENT_LIST)" has an event handler listening to that event.

However, "ARCHIV_CONNECTION_INSERT" doesn't seem to use "CL_BINARY_RELATION=>CREATE_LINK" / doesn't seem to fire that even.

Any clues? Am I doing this wrong from the beginning (aka should I use other API as "ARCHIV_CONNECTION_INSERT"?)

Many thanks and kind regards

Jes

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers