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

Update change in deadline dates from portal to workitem at runtime

Hello Folks,

I am using an IM portal and workflow is triggered by an event of a class. The form on the portal allows user to enter deadline dates, upon submit, workflow triggers. In this, suppose user has triggered a workflow instance and workitem is placed in superior's inbox(deadline is modeled in this workitem).

Now, user changes the deadline data from the same form and saves it. I want to get this information from portal to R/3.

P.S: Change in form details doesn't trigger a new workflow instance.

And we are using BOPF to enhance the class that act as interface.

Is there a provision to call a RFC from portal, whenever there's change in form data, so that, I can handle it using SWW_WI_DEADLINES_CHANGE. or any other possibilities to do this?

Thanks,

Rahul

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 06, 2012 at 05:28 AM

    Hi Rahul,

    Basically if you change any workflow instance for which workitem lying in the supervisor inbox, then it will get logically deleted and the new workflow instance will get triggered with new deadline data in your case.

    I am not sure why it is not happening in your case.

    If you have designed it in such a way so that no new workflow has to trigger means, you are right.

    To call RFC from portal, check with your portal consultant.

    As far as i know, When you click save and submit button over there, they can configure your RFC for that button click so that it will update WI in the backend.

    All JAVA webdynpro applications are contacting backend systems by this way only.

    Check it out.

    Cheers,

    Raja.D

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 06, 2012 at 07:23 AM

    Hi,

    If you have a custom application, I don't see any reason why you could not call some function to change the deadlines of a work item (assuming that SWW_WI_DEADLINES_CHANGE works - you could also check if there is some function for the same purpose in SAP_WAPI). Of course you need to know the work item ID of the ongoing task in order to do this, but that shouldn't be too difficult either (again use SAP_WAPI functions).

    Regards,

    Karri

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Sorry, I am not familiar with BOPF.

      Only thing that comes to my mind is that normally if you want to know what RFC is called when doing something in portal, you just turn on RFC trace and find out the functions, and then perhaps do some debugging to see what is going on. But I don't know how well suits for BOPF world...

      Regards,

      Karri

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.