cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous proxy - not able to generate the proxy class

Former Member
0 Kudos

Dear experts,

I am working ona scenario.

Sender will drop the required file on XI directory and XI will pull the file and map it with the BAPI u2013 and crate service entries in SAP r/3 via abap proxy. If errors are encountered during the process they are returned to the client in a report or as erroneous file via abap proxy.

I have created 2 MESSAGE types

a) MT_Get_Request

b) MT_Get_Response

Also have imported a standard BAPI i.e BAPI_EntrySheet_Create

1) one message will be OUTBOUND SYNCHRONOUS

OUTPUT MESSAGE : MT_Get_Request

input message : MT_Get_Response

and other will be

2) other message will be INBOUND SYNCHRONOUS

Outpit Message : BAPI_EntrySheet_Create

Input Message : BAPI_EntrySheet_Create.Response

I am able to generate the synchronous server proxy at inbound Message interafce but the method name is not coming as ZCL_.......~EXECUTE SYNCHRONOUS instead its coming as ZCL_.......MI_TCLResponse( Inbound message interface name)

My question is , is it right if am not getting the methode name as ZCL_.....~EXECUTE SYNCHRONOUS.

Anyways I have just tested my proxy wz a dummy code and its working fine.

===

Also tell me, when I map teh Bapi_entry*.response with MT_GetResponse, which node of BAPI i should map with .. I mean there are many nodes and subnodes.

Do I have to map teh elements of return node with the MT_GetResponse.

I am bit confused . Please help.

Thanks

Veeru

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Since PI (can't tell exactly which release), "generic" proxy methods (EXECUTE_SYNCHRONOUS & EXECUTE_ASYNCHRONOUS) are no longer created, instead methods will get names from (I'm not sure) action or interface (or similar)

Look for Mishal's blog that explains it ...

Rgds

Chris

Former Member
0 Kudos

Dear Christopher,

I was confused becoz in other interfaces, it was generating the method name with ~ execute synchronous.

Could you please provide me the Mishal blog's id. I am not able to find it.

Thanks

Veeru

Former Member
0 Kudos

Hi,

Please check /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

use above link for your problem

Thanks

Vinod

Former Member
0 Kudos

1) it is okay ,go ahead with class-->method,

2) you have to map bapi return with your response message.