How To Fix TG312 - Internal RFC exception & raised; RFC canceled


SAP Error Message - Details

  • Message type: E = Error

  • Message class: TG - Messages for Upgrade Repository Switch

  • Message number: 312

  • Message text: Internal RFC exception & raised; RFC canceled

  • Show details Hide details
  • What causes this issue?

    There are various reasons why an RFC connection could not be set up by
    an external program (here "R3up"):
    The DDIC password is not correct (message "not authorized")
    The logon language is not supported (R3up: system language)
    The host name of the application server is not known to the gateway
    The gateway addressed (= gateway host plus gateway service) does not
    exist, is not running, or cannot be reached.

    System Response

    The upgrade stops with an error message.

    How to fix this error?

    Check the parameters entered. The working directory (this is the tmp
    subdirectory for R3up) contains a trace file "dev_rfc" with information
    about the error. If the trace is not detailed enough, use the following
    traces as well:
    In the environment of the process, set "CPIC_TRACE=2".
    Also set the system trace (profile parameter rdisp/trace) to "2".
    Activate the trace in the gateway (R3up: RfcTrace=ON in R3up.par)

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message TG312 - Internal RFC exception & raised; RFC canceled ?




    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker