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

Methods for Dialog tasks

Hi,

referring to http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a957453d11d189430000e829fbbd/frameset.htm

Can you tell me how I find out whether a task is a dialog or a background task using RFCs?

I believe that if a task uses method Decision.Process, Form.process or Form.htmlprocess, then it is a dialog task. Are there other methods than these which are dialog tasks?

How can I deal with form tasks using RFCs from an non-SAP front-end? Is there a function group for this?

thanks,

Thibault

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 06, 2005 at 01:05 PM

    Hi Thibault,

    Well, one sneaky way is to look into table HRS1201 using SE16. Check the BACKGROUND field, 'X' if you want to see all background tasks. There is also a SYNCHRON selection, which will allow you to see synchronous versus asynchronous tasks. Of course, nothing beats really digging into the task, and the underlying method.

    Other than that, I am interested in other responses to the second part of your question... how to deal with form tasks using RFCs...

    Happy WF-ing,

    Sue

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 01:14 PM

    <i>Can you tell me how I find out whether a task is a dialog or a background task using RFCs?</i>

    If your intention is to find whether a workitem is back ground, you can look at the field WI_TYPE in table SWWWIHEAD. If you have made an RFC call and have a list of WIs, WI_TYPE should be available to you. The following values are what you may be interested in.

    B: Work Item for Background Step

    W: Dialog Work Item; Represents a Single-Step Task

    <i>I believe that if a task uses method Decision.Process, Form.process or Form.htmlprocess, then it is a dialog task. Are there other methods than these which are dialog tasks?</i>

    When you display the task using either PFTC or PFTS txns, you can check whether the 'Object method with dialog' box is checked on the Basic data tab.

    <i>How can I deal with form tasks using RFCs from an non-SAP front-end? Is there a function group for this?</i>

    You can execute a decision task using RFC as discussed in a previous post in the ABAP forum - bapi-to-retrieve-user's-inbox-items

    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).

    Cheers,

    Ramki Maley.

    PS: you may want to repost your other pending questions in this forum.

    Message was edited by: Ramki Maley @9:40AM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      <i>> There are several tasks that directly call up a standard

      > SAP transactions either to display or change data.

      Can such a task be referenced by a workflwow item? I thought workflow items would either control the workflow, or reference one method. Methods Decision.Process and Form.Process.</i>

      Yes. A workflow can consists of several different types of steps. One of which is an activity step - which could be a dialog or background process - making some change in application data. An activity is based on a standard task which in turn references an object method.

      Unfortunately I cannot give an example at this(no system access) time but will post one later.

      Here they are:

      Standard Task: 200279 - Dialog Method Calls a transaction to change data.

      Standard Task: 30000016 - Not a call transaction but still a dialog method.

      Cheers,

      Ramki Maley.

      Message was edited by: 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.