cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding proxy coding

Former Member
0 Kudos

Hi experts,

where exactly we have to write the code in SPROXY transaction for client proxy and server proxy?

for triggering client proxy we need to write a report in SE38.

is there any other way to trigger client proxy or through SE38 only?

already i have seen many blogs in sdn.but i couldn't under stand regarding coding in sproxy or se38 or se24

http://wiki.sdn.sap.com/wiki/display/XI/ABAPClientProxytoABAPServerProxy+Scenario

http://www.saptechnical.com/Tutorials/XI/ABAPClientProxy/page1.htm

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

where exactly we have to write the code in SPROXY transaction for client proxy and server proxy?

for triggering client proxy we need to write a report in SE38.

is there any other way to trigger client proxy or through SE38 only?

step1:

sproxy:

here we only generate the ABAP proxies(Client & Server)

http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/content.htm

client proxy :

The counterparts to outbound message interfaces in application systems are client proxies. They are called to send a message to an inbound interface. An outbound message interface is mapped to an ABAP object class (prefix CO_). and client proxyes are triggering by using REPORT and T.c se38

yes , you need to write REPORT In SE38

ABAP client proxies are generated from outbound message interface, and are used to send message from SAP WAS to XI.

Along with the class it also generates structures and table type with the specified name prefix.

ur service interface OUTBOUND name is CLASS NAME in REport/SPROXY

in this class containg,

Message TYpe and data type -fileds .

server Proxy:

The counterparts to inbound message interfaces in application systems are server proxies. They are called to start a service that, in the synchronous case, returns a result. The proxy generation functions generate an ABAP object interface (prefix II_) for an inbound message interface; you must implement this interface using an ABAP object class to make this service available.

ABAP server proxies are generated from inbound message interface.

Server proxy generation creates an interface along with the implementation class.

please refer below doc:

http://www.saptechnical.com/Tutorials/XI/ABAPProxy/page1.htm

Edited by: bhavanisankar.solasu on Feb 9, 2012 10:46 AM

Former Member
0 Kudos

Thanks for your quick response.

as per the blog no need write any code in SPROXY tcode in implementation method or class for client proxy.

is it correct?

in server proxy where we need write the code in SPROXY tcode?

Regards

Amar

PriyankaAnagani
Active Contributor
0 Kudos

Hi,

>>>>as per the blog no need write any code in SPROXY tcode in implementation method or class for client proxy.

YES, You need to write a report to trigger client proxy. For coding server proxy , go to SPROXY, double click on the genereted class method and write the code there itself. For client proxy you need a report but not for server proxy.

Regards,

Priyanka

Former Member
0 Kudos

>>as per the blog no need write any code in SPROXY tcode in implementation method or class for client proxy.

yes...u have to write the code in SE38 and call the client proxy

>>server proxy where we need write the code in SPROXY tcode

click on the class--> method and write ur code over there only

Former Member
0 Kudos

as per the blog no need write any code in SPROXY tcode in implementation method or class for client proxy.

is it correct?

yes corrcet , dont need to create any report because we write login in side class only

coming to server proxy ->double click on clsss

refer last point and before coding screenin below thread:

http://www.saptechnical.com/Tutorials/XI/ABAPProxy/page2.htm

Former Member
0 Kudos

Thanks to all

my problem was solved

Regards

Amar

Answers (1)

Answers (1)

Former Member
0 Kudos