SAP Knowledge Base Article - Public

3785113 - RFC_DESTINATION_MISSING dump occurs when accessing Electronic Payments in VA02/VA03

Symptom

Dump RFC_DESTINATION_MISSING occurs when using the Electronic Payment functionality.

        Category               ABAP programming error
        Runtime Errors         RAISE_EXCEPTION
        ABAP: Program          CL_SDOC_PAYMENT_BY_LINK=======CP
        Application Component  SD-SLS
        ...
        Short text: RFC_DESTINATION_MISSING

Environment

  • S/4HANA: Electronic Payments Sales
  • S/4HANA - On-Premise 2025 (109) 

Reproducing the Issue

  1. Start transaction VA02 or VA03 and open any sales order.
  2. Navigate to Goto → Header → Eletronic Payments.
  3. Enter the Electronic Payment information.
  4. ABAP dump occurs.

Cause

The system attempts to retrieve the RFC destination configured for the Electronic Payment functionality. If no RFC destination is configured, the dump RFC_DESTINATION_MISSING is raised in program CL_SDOC_PAYMENT_BY_LINK=======CP.

Resolution

Implement SAP Note 3716704 — Payment-by-Link dump when navigating to payment card screen. This correction adds a condition to handle missing RFC destination configurations, preventing the RFC_DESTINATION_MISSING dump from being raised.

See Also

SAP Help page: Payments in Sales Documents and Billing Documents.

Keywords

VA03, payment card, dump, RAISE_EXCEPTION, CL_SDOC_PAYMENT_BY_LINK, RFC_DESTINATION_MISSING, payment-by-link, SD-SLS, ST22, electronic payments, search help, F4 help, header payment card, S/4HANA, upgrade , KBA , SD-SLS-EPY , S/4HANA: Electronic Payments Sales , Problem

Product

SAP S/4HANA Cloud Public Edition all versions