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

Transactional RFC

Hello,

I am trying to make a transactional RFC call.

CALL FUNCTION 'ZBAPI_SET_DATE'

IN BACKGROUND TASK

destination l_dest.

CALL FUNCTION 'ID_OF_BACKGROUNDTASK' IMPORTING TID = w_tid.

I get the task id of the RFC call and when I try to look it up in the table 'ARFCSSTATE', I dont find an corresponding entry.

The RFC call is also not made and the data not updated in the remote system.

Praveen

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 Oct 07, 2005 at 04:26 PM

    Hi Praveen,

    you forgot to export the parameter DEST.

    Pls. check the inteface of the FM:

    FUNCTION ID_OF_BACKGROUNDTASK.
    *"----------------------------------------------------------------------
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(DEST) LIKE  RFCDES-RFCDEST DEFAULT SPACE
    *"  EXPORTING
    *"     VALUE(TID) LIKE  ARFCTID STRUCTURE  ARFCTID
    *"     VALUE(FNUM) LIKE  QRETSTATE-QRFNUM
    *"----------------------------------------------------------------------
    

    So you are asking for the TID of destination SPACE.

    Regards,

    Juergen

    P.S.: Pls. post Reward Points if you find this answer usefull! Thanks!

    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.