cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice to BAPI Scenario

Former Member
0 Kudos

I am working on a scenario its between a non sap (java) application to SAP r/3, i have to post accounting documents into sap r/3.( webservice-Xi-bapi Asynchronous scenario ) .

The sender application has webservices for everything, now please guide me how to proceed for this,

1. What are the objects i should ask from Sender application( like xsd,wsdl...)

2. Can sender system initiate the message flow( the scenarios is whenenevr there is a Invoice got created in sender appliaction , then the Interface should run).

3. What are the possible problems we may get in this scenario.

Any blogs will be a great help.

Regards

Ravi

Accepted Solutions (0)

Answers (3)

Answers (3)

turmoll
Active Contributor
0 Kudos

> I am working on a scenario its between a non sap (java) application to SAP r/3, i have to post accounting documents into sap r/3.( webservice-Xi-bapi Asynchronous scenario ) .

> The sender application has webservices for everything, now please guide me how to proceed for this,

> 1. What are the objects i should ask from Sender application( like xsd,wsdl...)

As you mentioned, you need to agree on the structure/format of exchanged message (invoices). XSD file is fine. That will be you outbound interface. After your XI scenario is complete you (XI) will proved a web service that JAVA application will consume in order to send an invoice message to R/3.

> 2. Can sender system initiate the message flow( the scenarios is whenenevr there is a Invoice got created in sender appliaction , then the Interface should run).

It depends on JAVA application, ask developers whether the invoices will be created online or maybe you will get one call with daily set of invoices ... But since you mentioned web service probably it will be the online interface.

Next, you will build SOAP->XI->BAPI scenraio in XI and finally you will generate WSDL file for your webservice that you need to provide to JAVA developers.

> 3. What are the possible problems we may get in this scenario.

Depending on outbound message structure (the one that JAVA application will send to you) you might get a challenge with a mapping to BAPI structure (inbound).

> Any blogs will be a great help.

These will be very helpful:

- [End to End Scenario Development in Exchange Infrastrure|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b]

- [How to Use the J2EE SOAP Adapter (NW7.0)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4]

Regards,

Jakub

turmoll
Active Contributor
0 Kudos

Hi,

This might be useful too: [Note 730870 - FAQ XI 3.0/ PI 7.0/ PI 7.1 RFC Adapter|https://service.sap.com/sap/support/notes/730870]. Especially Q 10: What's about BAPIs?

Regards,

Jakub

Former Member
0 Kudos

hi,

check the links...

[;

[;

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7203] [original link is broken] [original link is broken] [original link is broken];

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1282] [original link is broken] [original link is broken] [original link is broken];

Regards,

Prakasu

Former Member
0 Kudos

Hi,

Check this

Walkthrough - SOAP - XI - RFC.doc

/people/shabarish.vijayakumar/blog/2007/11/07/walkthrough--soap-xi-rfcbapi

Regards

Seshagiri