cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Client Proxy Testing process

Former Member
0 Kudos

In case of the Abap server proxy by using this report program SPRX_TEST_INBOUND we can test by providing the Generated interface name and method name.

same like any Testing process is there for ABAP Client Proxy

please respond me.

IF possible provide some Mail Path for ABAP Client ans Server Proxy so i can refer.

I get a one good scenario in www.saptechnical.com

file to ABAPproxy.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Check this

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

Regards

Seshagiri

Former Member
0 Kudos

Hi,

For ABAP cllent proxy you need to develope your own ABAP code.

Please fidn here with the below link. Here you will get the testing ABAP code also

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Use this kind of coding for abap client proxy

&----


*& Report ZBLOG_ABAP_PROXY

*&

&----


*&

*&

&----


REPORT zblog_abap_proxy.

DATA prxy TYPE REF TO zblogco_proxy_interface_ob.

*

CREATE OBJECT prxy.

DATA it TYPE zblogemp_profile_msg.

TRY.

it-emp_profile_msg-emp_name = 'Sravya'.

it-emp_profile_msg-empno = '80101'.

it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.

CALL METHOD prxy->execute_asynchronous

EXPORTING

output = it.

commit work

.

CATCH cx_ai_system_fault .

DATA fault TYPE REF TO cx_ai_system_fault .

CREATE OBJECT fault.

WRITE 😕 fault->errortext.

ENDTRY.

Thanks

swarup

Former Member
0 Kudos

Hi,

For testing the ABAP client proxy:

1) U can put the write statement at the end of report and populate the output screen with the detail which u r going to send to XI.if there is no SAP Dump then ur write statement will be executed and u will get the result.

2) Go to SXMB_MONI of R3 and check the input message.

For server proxy debugging there is one more way u can debug it:

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

Thnx

Chirag

Edited by: Chirag Gohil on Feb 25, 2008 9:58 AM