cancel
Showing results for 
Search instead for 
Did you mean: 

CX_BGRFC_INVALID_DESTINATION during outbound abap proxy call on 7.1

Former Member
0 Kudos

Hi guys,

I'm trying to set up a scenario with outbound abap proxy call using the new WS adapter and when I execute the report with the proxy call I'm getting the CX_BGRFC_INVALID_DESTINATION exception.

I've generated proxy w/o problems, I've set up everything in SOAMANAGER.

Have you experienced this issue?

Thanks for your help,

Olian

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
CX_BGRFC_INVALID_DESTINATION exception.

Check this section from help:

http://help.sap.com/saphelp_nw70/helpdata/EN/72/645342d8a7be30e10000000a155106/frameset.htm

Some portion from it:

The destination for the outbound queue must be maintained in the transaction SM59 and represent an execution destination for the outbound bgRFC type t and type q. The destination for the inbound queue must be maintained in the transaction SBGRFCMAINIDST. If the destination is not valid, the exception CX_BGRFC_INVALID_DESTINATION is produced.

Regards,

Abhishek.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi, Olian:

Could you please be more specific for your solution, since I came cross same issue now.

When you using SM59 to create bgRFC?

Thanks

Liang

Former Member
0 Kudos

check in SLDAPICUST and all the rfc connection (abap,http,tcpip) in sm59.

Former Member
0 Kudos

Hi,

you're right, it seems the system has some difficulties conencting to SLD. I'm just not sure if this is the reason of failing...

I asked basis to fix it.

Thanks,

Olian

Former Member
0 Kudos

Hi guys,

so my connection to SLD works fine now and I'm still getting the error. Any other ideas?

Just in case: this is my proxy code. Is this correct for using with 7.1 and WS adapter?


REPORT  Z_PI_PROXYTEST.

data sender_object type ref to ZCO_PROXYTEST_OUT.
data out type ZMT_PROXYTEST_OUT.
data lo_sys_exception  TYPE REF TO cx_ai_system_fault.
data err_result type string.

out-ZMT_PROXYTEST_OUT-data = 'sample'.

try.
    create object sender_object
      EXPORTING
        logical_port_name = 'PROXYTEST'.


    call method sender_object->PROXYTEST_OUT
      EXPORTING
        output = out.

    commit work.

  catch cx_ai_system_fault into lo_sys_exception.
    call method lo_sys_exception->IF_MESSAGE~GET_TEXT
      RECEIVING
        result = err_result.

    write err_result.

endtry.

write 'Data has been sent to PI'.

Thanks for your help, Olian

former_member181962
Active Contributor
0 Kudos

Hi Olian,

Does the err_result give any more info?

Regards,

Ravi

Former Member
0 Kudos

Hi,

While using sender proxy, you do not need to have any CC or sender agreement for it. This automatically comes to Integration engine. If at all you want to use an adapter, you should use XI adapter.

Regards,

Siddhesh S.Tawate

Former Member
0 Kudos

Hi Siddhesh,

using XI adapter for proxies on 7.0 & 7.1 is a step back. I want to use the new technology.

Olian