on 08-23-2006 5:23 AM
Hi,
I have 2 questions as below:
1. Is it possible for Java application to return a ABAP system exceptions(0,1,2 and so on) to the called ABAP function (RFC JCO Connection), when there is a java application exception occured? Assume this Java application is deployed in NWWAS.
2. Is it possible for ABAP function to make a RFC-JCO call to a remote Java application (<b>NOT</b> deployed in NW WAS, perhaps some other J2EE/web server)? If yes, please advise on how to do that.
Hi,
1.) Sorry I've never seen this. I believe there is something similar with adaptive RFC's but it is recommended that you do not throw exceptions in RFC's / BAPI's.
2.) Yes it is possible for an ABAP function to make RFC calls but you will have to set up RFC destinations in sm59.
Try this link:
http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/content.htm
Here is a blog for sm59 https connection settings:
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1645. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Further the BC Connector or XI (PI) can help serve as an extraction layer for system to system communication. One quick and dirty way to do this is to call a web service with the HTTP_POST function in ABAP and use ABAP xml classes to parse the response. This is not a recommended way but it gets around any kind of configuration.
-Roger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.