cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in Synchronous outbound Proxy.

Former Member
0 Kudos

Hi,

I am an abaper & new to Proxies.

In My system there is an outbound synchronous proxy.

Proxy Name : ZCO_DUPLICATE_CHECK_SEND_OUT_S

Method name: DUPLICATE_CHECK_SEND_OUT_SYN

Method Parameters: INPUT & OUTPUT.

Can i create a report using this proxy by calling

DATA : CL_DUPLICATE_CHECK_DATA TYPE REF TO ZCO_DUPLICATE_CHECK_SEND_OUT_S .

TRY.

CREATE OBJECT CL_DUPLICATE_CHECK_DATA.

CATCH CX_AI_SYSTEM_FAULT.

ENDTRY.

TRY .

CALL METHOD CL_DUPLICATE_CHECK_DATA->DUPLICATE_CHECK_SEND_OUT_SYN

EXPORTING

output = gto1

IMPORTING

input = gti1

.

CATCH cx_ai_system_fault.

ENDTRY.

Now my doubt is

Will the input parameter give me exact structure i.e. returned table contents or i need to write inbound method for that?

How can i check that the proxy is working fine? i.e. Data is being sent to PI?

TIA

vikash

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

thanks

Former Member
0 Kudos

Hi Vikash,

As others mentioned please check sxmb_moni and see what are you getting out from SAP. Also worth looking at this thread:

Regards,

---Satish

Former Member
0 Kudos

Hi All,

Thanks for your reply.

Now my doubt is he inbound structure of synchronous proxy ll be same as defined in PI or it ll be different.

DO i need to write some thing extra or need to define any thing extra for inbound to work, or it works automaticall?

Former Member
0 Kudos

Hi Vikas,

The proxy is generated based on the Service Interface created in the PI , so based on the message type you have maintained in the service interface the structure is created in the proxy.

So no extra structure is needed.

As its a synchronous call it works authomatically.

Thanks

Newa

Former Member
0 Kudos

Hi Newa,

Thanks for reply. that means that

CALL METHOD CL_DUPLICATE_CHECK_DATA->DUPLICATE_CHECK_SEND_OUT_SYN

EXPORTING

output = gto1

IMPORTING

input = gti1

this ll get me an input structure.

Since My PI connection is nt yet done so i am just trying to research it..

Former Member
0 Kudos

Hi vikas,

You need to generate proxy from the SI created in the PI, so first creat that and generate proxy then go ahead with further processing,

Thanks

Newa

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Use SXMB_MONI in ECC. please remember you can see only the proxy related request and response messages. Not the entire pipeline steps and inbound side messages.

Former Member
0 Kudos

Hi,

You can check the request and response using transaction sxmb_moni both in R/3 as well as in PI.

Thanks

Former Member
0 Kudos

once the proxy is executed you can check the message status in transaction code :sxmb_moni of sap pi system where you can see the request and response message.

Regards,

Prasad K

Former Member
0 Kudos

U can check the SXI_MONITOR tcode in your R3 to see the request and response for the synchronous call.

The PI consultant generally gives the INPUT and OUTPUT structures to the ABAPER to ensure that they matches with the PI/XI structures.

Shyamalima