SAP Knowledge Base Article - Preview

3361022 - Destination cannot be used for classic qRFC

Symptom

  • The following message is raised: "Destination <destination name> cannot be used for classic qRFC" - SR320
  • MESSAGE_TYPE_X dump:
    • Category               ABAP programming error
      Runtime Errors         MESSAGE_TYPE_X
      ABAP Program           SAPLARFC
      Application Component  BC-MID-RFC
      Date and Time          XXXX/XX/XX XX:XX:XX
      ----------------------------------------------------------------------------------------------------
      ...
      ----------------------------------------------------------------------------------------------------
      |Error analysis                                                                                    |
      |    Short text of the error message:                                                              |
      |    Destination <Destination Name> cannot be used for classic qRFC                                |
      |    Long text of the error message:                                                               |
      |    Technical information about the message:                                                      |
      |    Message class....... SR                                                                       |
      |    Number.............. 320                                                                      |
      |    Variable 1.......... <Destination Name>                                                       |
      |    Variable 2..........                                                                          |
      |    Variable 3..........                                                                          |
      |    Variable 4.......... " "                                                                      |
      ----------------------------------------------------------------------------------------------------
      ...
      ----------------------------------------------------------------------------------------------------
      |Information on where terminated                                                                   |
      |    The termination occurred in ABAP program or include "SAPLARFC", in                            |
      |     "ARFC_INIT". The                                                                             |
      |    main program was "SAPMV50A".                                                                  |
      |                                                                                                  |
      |    In the source code, the termination point is in line 51 of include "LARFCU01".                |
      |    include "LARFCU01".                                                                           |
      ----------------------------------------------------------------------------------------------------
      ...
      |   43|  CALL FUNCTION 'ARFC_CHECK_DEST_NAME_OUTBOUND'                                             |
      |   44|    EXPORTING                                                                               |
      |   45|      dest_name         = dest_help                                                         |
      |   46|    EXCEPTIONS                                                                              |
      |   47|      bgrfc_destination = 1                                                                 |
      |   48|      OTHERS            = 2.                                                                |
      |   49|                                                                                            |
      |   50|  IF 1 = sy-subrc AND qoutname <> space.                                                    |
      |>>>>>|    MESSAGE x320(sr) WITH dest.                                                             |
      |   52|  ENDIF.                                                                                    |


Read more...

Environment

 NetWeaver Application Server ABAP

Product

ABAP platform all versions ; SAP NetWeaver all versions

Keywords

MESSAGE_TYPE_X, SR320, Destination, cannot be used for classic qRFC, ARFC_INIT, SAPLARFC  , KBA , BC-MID-RFC , RFC , BC-MID-RFC-QT , Queued RFC (qRFC) and transactional RFC (tRFC) , BC-MID-RFC-BG , Background RFC (bgRFC) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.