Skip to Content
author's profile photo Former Member
Former Member

Create event in GOS obj to trigger workflow while attaching data with GOS

Hello experts,

It is a little bit urgent.

I have a scenario. We have to attach documents to SAP application using GOS. These documents can be edited also.

Now second part is that when we attach the document or edit the document, the document should be send with the work item "when we attach the document".

The first part of the scenario is completed and working fine. The second part of the scenario is causing problem. I have checked the various options but none of them are proving helpful.

There is an option in GOS toolbar to send the documents through workflow but that also asks for the related workflow.

I was trying to create an event for GOS object (Z object not a subtype of any other object) which can trigger the workflow automatically when the attachment are created and edited but can not go further with it as am not so strong in workflow. I ahve just created the event. Do I need to write some code for the event?

I request you to kindly help me either in creating this event which will trigger the workflow (whole process) or any other method to do the same.

Thank you all in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 04, 2012 at 03:11 AM

    All the attachment related with the GOS get stored in table SRGBTBREL.

    I think you can run a batch job that will check this table entry and will trigger workflow as you get the key field also in this table. Alternatively you can try to use change document concept of triggering workflow but unfortunately you do not have Changedocument object for the above mentioned table.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.