on 02-06-2009 2:31 PM
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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frederik,
TRY.
CALL METHOD my_proxy->execute_synochronous
EXPORTING output = ...
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.