Skip to Content

Error in calling a RFC

Hello Experts,

I have a RFC which has a BDC for F-28. When this RFC is being called from a Non SAP system the first time, it is running without throwing any error, but once this RFC is called for the second time withing few minutes it returns an error in RFC call. Can anybody suggest a solution to this. Will the concept of Background Task or calling function module in separate task help me in any way ???

Regards,

Megh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Dec 02, 2014 at 05:07 PM

    Hi.

    How do you call your RFC? Because probably they work together in the same session and they crash. You should serialize then and calling in separate task (async ) destination NONE.

    Anyway try before using a "wait X seconds instruction", only to understand what kind of situation you're facing.

    Hope to help.

    Bye.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2014 at 04:19 AM

    Hi,

    Try using commit statements after the RFC call, this should resolve the issue. If not try using wait for 2 seconds.

    And yes you can use the concept of calling FM in separate Task.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2014 at 04:23 AM

    Hi,

    Pls put wait for 3 to 4 seconds your issue will be resolve i hope.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2014 at 07:04 AM

    Hi,

    If you call the rfc for first time, did you close the connection after your process is done. If not close the rfc connection, use the function module "RFC_CONNECTION_CLOSE" to close the RFC connection.

    Regards,

    Tp

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 06, 2014 at 10:48 AM

    Hello Friends,

    If I use a qRFC in this case, can anybody guide me how to call it inside a loop ?

    Regards,

    Megh

    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.