cancel
Showing results for 
Search instead for 
Did you mean: 

** How do we write code in the Sync Proxy itself ?

jegathees_waran
Active Participant
0 Kudos

Hi friends,

We have created one Synchronous Interface (Outbound, Synchronous). We have created proxy for the same in ABAP. We want to call this proxy from our BPM Synchronous Send Step. For that purpose, we have to write code inside the Synchronous Proxy. This proxy is having 2 parameters: OUTPUT (importing), INPUT (exporting). When we click the code button for the method 'EXECUTE_SYNCHRONOUS', the system displays a message 'You cannot edit Proxy objects'.

Diagnosis:

The entered class is a generic proxy type. These proxy types cannot be processed using the Class Builder, but using the transaction SPROXY.

We aret trying to write code thru SPROXY only.

So, what could be the problem ? How do we write code for this Sync Proxy.

Kindly tell me, friends,

Kind Regards,

Jeg P.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

You cannot write the code inside the Abap object.

You have to create a Report in SE38.

Only in ABAP Proxies created from Inbound interfaces code

can be written by clicking the Abap class generated.

Regards,

V.Ramya

Former Member
0 Kudos

Hi,

Check this blog of sravya...

/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

Thanks,

vijaya.

Former Member
0 Kudos

hey,

yeah its possible..calling proxy from BPm..

Check this.

/people/vanita.thareja2/blog/2006/05/23/bpm-sending-message-asynchronously-and-getting-the-response-from-synchronous-system-using-abap-proxies

These replies too..

Thanks,

Vijaya.

Answers (4)

Answers (4)

jegathees_waran
Active Participant
0 Kudos

It is possible to write code in the Server Side Synchronos proxy itself.

Former Member
0 Kudos

Hi,

When you are creating Proxy objects it will ask for package and prefix.

Provide a 'z' prefix for the class. classes that start with 'z' prefix alone can be edited.

And I think you should Synchronous Server proxy (Inbound Proxy) for your Scenario.

Regards,

Sudharshan N A

jegathees_waran
Active Participant
0 Kudos

Hi friends,

Thanks friends.

We know that thru Z Progam only calling Synchronos proxy is possible. But, how do we call from BPM or from any other external system. ie. we are searching.

Any idea ..?

former_member859847
Active Contributor
0 Kudos

Hi,

It will not possible to edit that proxy object.

because of that you need to write an ABAP program

in se 38 t.code.

where you will create an object

and then call method Execute _Synchrous.

please process in this way.

regards

mahesh.