cancel
Showing results for 
Search instead for 
Did you mean: 

Advantage of ABAP proxy over BAPI

Former Member
0 Kudos

Hi ,

Is there anyway we can define the advantage of SAP abap proxy over BAPI ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Abhiskek,

In simple words if I have to tell you :---

Proxy is far better than BAPI, RFC and IDoc --

  • Incase of BAPI,you cant use custom data.You have to go with standard BAPI only.If your project requirement is fulfilled by Standard BAPI than I would suggest to go with BAPI rather than Proxy,if not than Proxy.You cant customize it.

  • Proxy is develop by abap consultant,you just have to give the service interface details and any validation,calculation or filteration can be easily done in ECC side by writing code.
  • As the result you dont have to do much calculation,mapping and filteration and performance of the sytem of PI is high because ultimately mapping is converted into Java only.So performance is high.
  • If you are using Proxy instead of IDocs than you can make it as synchronous also but in case of Idocs synchronous communication is not possible.You have to schedule a job sxmb_adapter_status_refersh inorder to know whether Idoc is delivered or not.
  • If you are using RFC, we create RFC destination of type T and provide program id and gateway service. Same program id and gateway service needs to be provided in PI communication channel so we need to create RFC channel and RFC adapter is on java stack and communication happens via Jco.so message keeps on jumping from one stack to another.
  • But In case of Proxy as Bhaskar said above  proxy communication takes place between central and local integration engine as if both exist in the same stack engine.So performance is high.

Please let me know,if you have any doubts.

Regards,

Abhi

Answers (2)

Answers (2)

ambrish_mishra
Active Contributor
0 Kudos

Hi Abhishek,

BAPI or proxy! This depends upon the design requirements.

If a standard BAPI is available, then it should be preferred.

If custom development/data validation is required in ECC, proxy gives you the flexibility. Proxy is good in terms of performance in high volume scenarios.

In custom data extraction scenarios, where IDoc/BAPI/RFC are not available, then proxy is preferred.

Hope it helps!

Ambrish

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Performance wise proxy is much better than RFC or IDOC.   The main reason is SAP system has local integration engine and the PI has central integration engine. The proxy communication takes place between central and local integration engine as if both exist in the same stack engine.  That's why proxy does not need adapters too....  Plus  proxy can handle most of the data customization at proxy level rather than doing at pi mapping level.

Former Member
0 Kudos

Hi Bhaskar,

Can you please explain local integration engine here you are referring to.

Regards,

Abhi