Skip to Content

Call function STARTING NEW TASK

Hi Gurus

I have a RFC with destination SAP_ECC I will add "starting new task" the group name is 'interfaces'.

How I can do This .Any example?

What I would write in Destination? SAP_ECC or INTERFACES How I can Do this?

CALL FUNCTION 'BAPI_USER_GET_DETAIL'

STARTING NEW TASK v_taskname1

DESTINATION IN GROUP INTERFACES (or SAP_ECC?)

PERFORMING z_return_info ON END OF TASK

EXPORTING

username = wa_finaluser-bname

* importing

* logondata = wa_infousercabecmod-logondata

* address = wa_infousercabecmod-address

* company = wa_infousercabecmod-company

* islocked = wa_infousercabecmod-islocked

TABLES

profiles = it_bapiprofiles

activitygroups = it_activitygroups

addtel = it_addtel.


Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 08, 2014 at 03:38 PM

    Hi Ronaldo,

    Check this link: CALL FUNCTION - STARTING NEW TASK (SAP Library - Components of SAP Communication Technology)

    If you want to use a RFC logon group defined in the RZ12 transaction you should use the syntax destination in group <logon_group>

    If you only want to execute the RFC in a specific destination, configured in the SM59, you should use

    destinarion <destination_name>

    Hope this clarifies.

    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.