cancel
Showing results for 
Search instead for 
Did you mean: 

Options BAPI/IDoc/Proxy

Former Member
0 Kudos

Hi Gurus,

I need to send production orders list from SAP to Legacy. Iu2019m getting Sales Order from external system,

1) can I use standard BAPI "BAPI_SALESORDER...." as wrapper and get the Production Order list "BAPI_Prod_ord...." as a return of the call. Synchronous call. Calling the Production order FMs inside the Wrapper BAPI.

2) Can I use the IDocs for Sales Orders( IDoc SALESORDER_CREATE...) to SAP, and Production Orders ( IDoc LOIPRO) to Legacy?

3) Can I use Proxys(I'm working with PI 7.0)? If I can use Proxies, How can I design my interface?

Please let me know the better option... Ur Inputs are most valuable.

Thanks,

Zia

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello ,

1.Yes,use standard BAPI,its an option.

2.Yes you can

3.The Best way to use is proxy...Here

There are two proxies

1)from R/3 Outbound...we need to configure the Client proxy

2)inbound R/3 then we need to configure the Server proxy

we can use proxy with WAS 6.20 onwards...

And before using proxy you need to activate the Proxy...

How to create proxy.

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

How to Activate Proxy.

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

ABAP Server Proxies (Inbound Proxy)

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

OutBound Proxy (Client Proxy)

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

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

File to R/3 via ABAP Proxy with good example

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm

Synchronous Proxies:

Outbound Synchronous Proxy

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bp...

Inbound Synchronous Proxy

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsa...

**************Reward points,if found useful

Answers (3)

Answers (3)

iprieto
Contributor
0 Kudos

Hi Zia,

It's depends about you quality of service in your business scenario. For synchronous scenario the best choice can be a BAPI or Proxy calls. In asynchronous scenario the best choice is Idoc.

In my opinion the best choice is Idoc because the asynchronous calls allows you restart message from SXMB_MONI or SXMB_MONI_BPE.

Best Regards

Ivá

Former Member
0 Kudos

Hi,

Yes, its depends on the QOS. I'm in the process of developing the interface with IDocs. But If I use IDocs I need to use two interfaces.

1) Legacy-XI-SAP ( for Sales Order Creation )

2) SAP - XI - Legacy. (for Purchase send to Legacy)

It is like synchronous call only, coz I need to get the response back with in 30 sec or below.

Eventhough I'm using IDOcs I need to get the Purchase Orders back to legacy using 2nd interface.

Instead of designing 2 interfaces, can I achive the same functionality using a single BAPI or Proxy interface?

If possible, what kind of design I have to follow in ABAP side. give me some High Level Design conceptual idea.

Thanks,

Zia.

Former Member
0 Kudos

Hi BVS,

What will be the triggering point for the Outbound Proxy?

Can you eloberate me about the error handling mechanism using Proxies / BAPI?

Thanks,

Zia

GabrielSagaya
Active Contributor
0 Kudos

2) Can I use the IDocs for Sales Orders - Yes

3) Can I use Proxys-Yes...

ABAP Proxies in XI(Client Proxy)

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

ABAP Server Proxies

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

Former Member
0 Kudos

hi,

Introduction to IDoc-XI-File scenario and complete walk through for starters.

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

ALE cONG

http://searchsap.techtarget.com/tip/0,289483,sid21_gci1242945,00.html

Check this

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

Client Proxy to File

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC

Regards