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

Bypass Form.HTMLProcess task

Hi there,

in: methods-for-dialog-tasks

Ramki said:

> You need ITS to execute a task that uses

> Form.htmlprocess from a non-SP front-end.

>

> I don't think you can execute any other dialog tasks

> directly without the SAP GUI other than using UWL

> (Universal Work List, available with SAP-EP).

My question now is whether I can at least bypass execution of such a task, such that the workflow continues as if it had been executed.

But I'm not sure about what is possible at what effort. Here are my ideas:

- Use a terminating event, as in

http://help.sap.com/saphelp_46c/helpdata/en/c5/e4b4c0453d11d189430000e829fbbd/frameset.htm

and create the event using an RFC. (But I'm not sure what such an event can do, and I did not find much information about that)

- Modify the concerned workflows to allow the bypassing of the task, using a fork and a bypass branch waiting for some event. (Not sure about that one either)

- Modify concerned workflows to use Decision.Process instead, since we are talking about Approval Workitems anyway, not about complex forms. (I believe you cannot change standard workflows, but you can copy them and modify that copy, right?).

- Use the alternative method Form.ProcessExternally as suggested in http://help.sap.com/saphelp_46c/helpdata/en/c5/e4b4c0453d11d189430000e829fbbd/frameset.htm

(I really don't know where to set this, and what it'll do)

- Desperately trying to connect to SAP simulating SAPForms, since there seems to be a SAPXmit plugin communicating to SAP via RFC, there must be some way to transfer all necessary information via RFCs.

- Using some (yet unknown to me) RFC to tell WebFlow engine "The task is completed(approved?), go on with the workflow, thank you very much."

Any suggestions/comments on one of these?

cheers,

Thibault

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2005 at 07:11 PM

    Hi Thibault,

    First let me correct what I have said:

    > You need ITS to execute a task that uses

    > Form.htmlprocess from a non-SP front-end.

    I should have said Web browser instead of non-SP front-end.

    You are on the right track with terminating events and forks as alternates as long as you can accomplish whatever the R/3 database updates are needed for the workflow to proceed using either BAPIs or developing custom RFC modules on the SAP side.

    BTW, method Form.ProcessExternally does not do anything (there is no code in the method), even in release 6.20.

    Cheers,

    Ramki Maley

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Thibault,

      I haven't had an opportunity to work with SAPForms before and after reading the link, I played around a bit with the demos available in the system. I was at a slight disadvantage because I do not have the SAPForms installed on my desktop and neither the GUI (we use Citrix to access the GUI). I could get the workitem with the form link to my external email account but could not execute it from there but I was able to do it from my SAP inbox.

      I could not find any place where you could define Alternative methods in the Task or Workflow definition. I am assuming this is a setting in the SAPForms application. I think the ProcessExternally method is deliberately blank so that the workitem cannot be executed from Business Workplace. The Form.Process method can only exchange data between the Frontend form and the task container. Using an alternate method, you may be able to actually process the data.

      If you have not done so already, please see this documentation link : http://help.sap.com/saphelp_46c/helpdata/en/65/9b6034e37ca662e10000009b38f83b/frameset.htm

      Within, please see the links:

      Starting workflows with electronic forms

      Executing a work item as an electronic form.

      Cheers,

      Ramki Maley.

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.