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

problem in rfc call

hai i am using

CALL FUNCTION func STARTING NEW TASK task

[DESTINATION {dest|{IN GROUP {group|DEFAULT}}}]

to execute function call in back ground multiple times

when i run normally it is not success full for all times soem are in failure

btu when i do in debuggin i am gettign correct results

as i am using destination group is it casuing problem for application servers

and in debug it is getting enough time to get application servers free

wat to do

useful answer will be reqrded

regards

afzal

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 Dec 19, 2008 at 09:58 AM

    Hi,

    Have you tried WAIT after using this statement?

    allow application server some time to wait, i am not sure if syntax you are using has option of waiting. pls check that first.

    else, use wait explicitly.

    Regards

    Bin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 10:03 AM

    HI.

    Try to use Wait statement .

    Eg:

    IF sy-subrc = 0.

    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' " call FM to Commit the DataBase work.

    EXPORTING

    wait = c_x.

    ENDIF.

    ENDIF.

    Regards.

    Jay

    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.