Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding inbound synchronous proxy

Former Member
0 Likes
804

Hii All,

Can anyone help me regarding inbound synchronous proxy (request-response scenario)

Regards,

Raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
784

Hi Raj,

The working of Inbound synchronous proxy is similar to that of an asynchronous

one.

The data which received from the proxy structrure is filled into an internal table of similar data type .

Now according to the requirement, you will fetch the desired data and put it in an internal table of the data type(output proxy structure) and move that table to the output proxy structure.

This is the way it works.

Regards,

Vivek

Reward if Useful

4 REPLIES 4
Read only

Former Member
0 Likes
784

Hi,

Tell me your exact problem scenarion ? Then and then i will suggest u.

Read only

Former Member
0 Likes
785

Hi Raj,

The working of Inbound synchronous proxy is similar to that of an asynchronous

one.

The data which received from the proxy structrure is filled into an internal table of similar data type .

Now according to the requirement, you will fetch the desired data and put it in an internal table of the data type(output proxy structure) and move that table to the output proxy structure.

This is the way it works.

Regards,

Vivek

Reward if Useful

Read only

0 Likes
784

Hii Vivek,

Thnx for ur response...

I got how it works but can you send me some pseudo code about how to declare internal tables and work areas of proxy structure and move the data from proxy to them

Read only

0 Likes
784

Hi Raj,

We declare flat structure like this :

wa_input like input-mt_get_notification-message_payload.

To move the data from proxy to work area :

move input-mt_get_notification-message_payload to wa_input.

Now ucan do your desired operation in a method passing it the input and receiveing the output from the method.

call method me->get_task_det_for_notif_no

exporting

p_input = wa_input

importing

p_output =

output-mt_notification_response-message_payload-sapresponse

Hope this will help.

Still you face any issue , please feel free to ask.

Regards ,

Vivek

Reward if Useful