Skip to Content
avatar image
Former Member

Synchronous proxy - not able to generate the proxy class

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 30, 2009 at 10:27 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Dec 29, 2009 at 03:49 AM

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

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

    Add comment
    10|10000 characters needed characters exceeded