cancel
Showing results for 
Search instead for 
Did you mean: 

Outbound Proxies on PI 7.1

Former Member
0 Kudos

Dear,

I'm trying to create an outbound proxy from an ECC 6.03 system to a PI 7.1 system. I created my message interfaces, etc. on the PI side, configured the Proxy configuration on R/3, but I'm clueless as to how to call my proxy on R/3.

The code I arrived at, slightly modified from the code I would use for a 7.0 is :

DATA: lt_output TYPE zpi_mt_materials_pr,
      my_proxy TYPE REF TO zpico_si_materials_oa.

TRY.
    CREATE OBJECT my_proxy_statuschange.
    CATCH cx_ai_system_fault.
ENDTRY.
TRY.
    CALL METHOD my_proxy->if_proxy_client~execute
        EXPORTING
            output = lt_output.
     COMMIT WORK.

    CATCH cx_ai_system_fault .
ENDTRY.

But when I check or try to activate this, I keep getting : Formal parameter "OUTPUT" does not exist.

Any ideas? I've looked all over for clues, but they're either very well hidden or I'm on an unlucky streak of missing them 😕

Any help would be greatly appreciated!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You need to use operation name to be called.Operation name which is there in service interface.

CALL METHOD my_proxy->operation name.

Thanks,

Tuhin

Former Member
0 Kudos

This, and an improper configuration of the SLD on R/3 was the problem indeed.

Thanks

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Frederik,

TRY.
CALL METHOD my_proxy->execute_synochronous
  EXPORTING output = ...

Regards,

Udo

Former Member
0 Kudos

There is no synchronous/asynchronous. Like I said, it's a 7.1.