Communication between Abap and Java and Java to Abap

HI,
I have installed BI 7.0 and the user complaints that BEx WEB Application Designer Query results are not showing up in the WEB URL Link.
and the BI user suggests that communication between Abap to java and Java to Abap has to be done?
How to setup ABAP to JAVA and JAVA to ABAP communication?
Regards,
Magham.

Hi,
Jco conn from ABAP to Java
=====================
You can use the JCO RFC Provider Service of the Web Application Server for your ABAP to Java calls.
The steps involved in that are
1. Configure destination in SM59 in SAP.
2. Create RFC Destination in Visual Admin.
3. Create a stateless session bean with JNDI name as the name of calling function module in SAP.
4. Add a business method public void processFunction(JCO.Funtion fn) which is called by the JCO RFC Provider Service. The name should be 'processFunction'.
5. Set library references in application-j2ee-engine.xml to type weak for the following
a. com.sap.mw.jco.
b. com.sap.tc.Logging (if you are using the logging api )
Here is the sample code for the EJB biz method
Business Method.
public void processFunction(JCO.Function function) {
try {
// Get the import parameters for the function module
JCO.ParameterList importList = function.getImportParameterList();
logger.infoT("The value sent is" +
(String)importList.getValue("USER_NAME"));
// Set the export parameter value for the function module
JCO.ParameterList export = function.getExportParameterList();
export.setValue("From EJB", "RETURN");
function.setExportParameterList(export);
catch (java.lang.Exception e) {
e.printStackTrace();
Jco conn from Java to others(ex:ABAP)
=====================-==========
• Open Visual Admin(C:\usr\sap\SID\JCxx\j2ee\admin\go.bat) and connect to server
• Go to Destinations service
• Open HTTP Settings Tab
• Add/Edit destination SLD_DataSupplier and type following values
URL – http://xyz.corp:53000
Authentication - BASIC
User – dynproxxx
Password - bp52st000
• Press save and test (if you get response code 200 everything is o.k.)
• Add/Edit other HTTP Destination named SLD_Client with the same values as SLD_DataSupplier:
URL – http://xyz.corp:53000
Authentication - BASIC
User – dynproxxx
Password - bp52st000
• Press save and test (if you get response code 200 everything is o.k.)
• Go to SLD Data Supplier service.
• Press the button named: Send the Data to SLD and confirm triggering SLD Data transfer (if you receive successful message everything is o.k.).
===================
following blog might helpfull
=======================
/people/michal.krawczyk2/blog/2005/03/10/registering-a-new-technical-system-in-sld--abap-based
for basic infor
==============
http://help.sap.com/saphelp_nw04s/helpdata/en/21/84570b3ae14e77b3047c82218974b9/frameset.htm
Award points if it helps

Similar Messages

  • Communication between PC/RM Backend and ERP System

    Hi,
    Is it possible to have communication between PC/RM Backend and ERP System by cresting RFCUSER with user type communications data instead of Dialog user.
    Because of audit policy , none of DIALOG user should have SAP_ALL profile.
    Is there a option to set up communications  between PC/RM Backend and ERP System without a Dialog user setting.
    Pravin

    Hi Pravin,
       You are right and the user should be always communication or system. GRC AC allows for the user to be communication or system. Can you try with PC/RM RFC user and see if it works? It should work
    Alpesh

  • How do I set my firewall settings in Avasti to allow communications between my HP 8600 and my comput

    How do I set my firewall settings in Avasti to allow communications between my HP 8600 and my computer

    Something to Consider:
    If you are talking about "Avast!" Security Software, either the free or the paid version, the following may apply to you:
    There are three main levels of Security in the Avast! software:  Home, Work, and Public
    Home is the setting many people use when "at home", that is, connected to the home network.  The home network is sometimes defined as the "192.168" network:  these are the computers and printers that you have and use in your home environment.  The network is (most usually) private and (should be) secured with with a passphrase at your router.  The Avast! Software sees the "Home" network as a "safe" environment:  devices connected within the "Home" network are allowed to "talk" (communicate) with one another without undue restrictions.
    Work is the next setting.  The software places some restrictions on this level of communication.  Home users can certainly use this setting -- in many (most) cases, the "Work" setting is a solution that provides for communication and a bit more security for the home network and its devices.
    Public is the strictest setting and is meant to keep your computer safe in a public place:  the library, coffee shop, on a street corner.  Outside "prying eyes" are prevented from peeping and outside communications are restricted.
    If you have set (or left) your Avast! software set to Public, or even Work (and you do not know how to handle the restrictions), then you may have simply locked out the communication between the printer and the computer(s) on your home network.
    Open your Avast! Software and set the security level to either "Home" or "Work".
    You can find out more about how to use the software settings at the Avast! website.
    Advanced Users Only - You will  know if you changed the Rules... this is not something one does by accident.
    If you have changed the rules within the settings, you may have locked yourself out.  Make sure you have both "in" and "out" traffic settings adjusted correctly for each rule you change / adapt / add.
    Kind Regards,
    Dragon-Fur

  • Email links out of Practice Fusion are not active (as they are in IE), which they say is a problem with "something lost in the communication between the Flash engine and the browser". Does anyone have experience with this?

    This is a medical records system, cloud based. I use Firefox to get into the system, but any browser would work. Other than this problem, Firefox works fine (better than IE, in my opinion).
    Patient demographics include their email, which is hyperlinked and should go right to Outlook (my default email program). This works in IE, but nothing happens on the click when using Firefox as the browser.
    I queried Practice Fusion, which replied: In regards to your previous question about the email hyperlink in the patient information, it looks this is not something that can be fixed on our end right now. It is the web browsers' responsibility to handle these types of links, and there seems to be something lost in the communication between the Flash engine and the browser. I apologize for any inconvenience.
    Thanks for any help anyone can provide.

    See if this helps you:
    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • Encrypt communication between SharePoint Web App and SSRS

    Hi
    I have SharePoint 2010 in multi server farm. The SharePoint web app has SSL enabled. The Reporting Server (SSRS) is http URL.
    So when the Report Viewer web part is used, the communication between SharePoint web server and SharePoint Reporting Server is unsecured. The existing SSL has hard coded hostnames and for business reasons we prefer not to modify it.
    Does anyone know how can I make that communication secured? Do I need to apply new SSL for SP Reporting Services? Is there any other option?

    This should get you off and running on SSL
    http://technet.microsoft.com/en-us/library/ms345223(SQL.100).aspx
    and if you haven't go SQL on SSL - ->
    http://technet.microsoft.com/en-us/library/ms189067(v=sql.100).aspx
    Stacy Anothersharepointblog.blogspot.com

  • HT204387 which profile allows communication between iOS 4/later and Bluetooth Health Monitor(such as Fetal Heart Rate/Motion/respiration etc. )

    which profile allows communication between iOS 4/later and Bluetooth Health Monitor(such as Fetal Heart Rate/Motion/respiration etc. )

    Thank you!
    We are developing a monitor with Bluetooth 4.0 moudle, also programing an iOS App for this wireless monitor. We want to transfer the monitor data to iphone/ipad(which installed the App) through bluetooth.
    As you know, many bluetooth device are not allowed to connect to iphone/ipad through bluetooth. So I'd like to know that which of the iOS supported bluetooth profies should I use when programing, to ensure the monitor can connect to the Apple device and upload data. Of course, if they can connect successfully, both of the monitor and Apple device would be acknowledged "connected".

  • Secure Communication between SAP R/3 and SAP portal(WAS Java)

    Hi All,
       We have a requirement where client says ,there needs to be a  SSL tunnel established between SAP R/3 and Portal(through ITS) to access R/3 through portal
    Do we have to use SSL for that or SNC?I heard SNC is a mechanism which have to be used here since it uses DIAG protocol to connect but not Http.Is it true?Kindly give some more ideas on this.
    Other thing is to do this they need to open a port between for using Firewall.Can you guide which SAP port has to be open for this connection?
    Thanks In Advance
    Regards
    Rani A

    Hi Rani,
    what the ITS Admin is, is explained in the docs to the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/44/28611e0bd26493e10000000a1553f7/frameset.htm">ITS Admin Tool</a>. This also includes how to access it.
    Usually specifiying the ABAP backend is done by maintaining the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/44/2b67fe369b060ae10000000a155369/frameset.htm">Global Service File Parameters</a>.
    The <a href="http://help.sap.com/saphelp_nw04/helpdata/en/44/2aa8081a3a060ae10000000a155369/frameset.htm">SNC configuration</a> is part of the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/44/2a95a61a3a060ae10000000a155369/frameset.htm">Security Configuration</a> and also done in the ADM instance of the ITS.
    Regards,
    Patrick

  • Communication between two jvm (client and server)

    Hi ,
       I want to access the UME service of the SAP J2EE Container using a stanalone client application.
    So the client would be running on remote JVM.
    Here we use the JNDI service to communicate between the client and server.
    p.put(Context.INITIAL_CONTEXT_FACTORY,"com.sap.engine.services.jndi.InitialContextFactoryImpl");
                        p.put(Context.PROVIDER_URL, providerURL.trim());
                        p.put(Context.SECURITY_PRINCIPAL, securityPrinciple.trim());
                        p.put(Context.SECURITY_CREDENTIALS, securityCredentials.trim());
                        Context ctx = (Context) new InitialContext(p);
                        Object objRef = ctx.lookup(ejbName.trim());
    I want to know that is the communication between the client and server secured in this scenario
    Best Regards
    Manoj

    Okay, the client and server VMs are different implementations of the Hotspot engine. Hotspot basically takes the Java bytecode from your .class files and turns it into native machine instructions at runtime. (The optimizations are actually much more complex than that, but that's the basic concept.)
    The client VM is so named because it's designed to be used for GUI-type applications interacting with the user. It is designed to have a quicker startup and smaller memory footprint.
    The server VM uses more memory and is typically slower at starting up than the client VM, but can often perform ridiculously fast. This of course depends completely on the particular code being run, and you should probably profile and see which VM works better for your application.
    Some interesting optimizations are performed by the 1.4.1 server VM, such as: removal of array-bounds checks (when it determines that the index can't become out of bounds), inlining of methods, and more.
    Here is a link to more info if you're interested:
    http://java.sun.com/products/hotspot/docs/whitepaper/Java_HotSpot_WP_Final_4_30_01.html

  • Communication between servlet(client behavior) and stand alone java program

    Hello all:
    I need to send a message (ascii characters sequence) from a servlet to a java program, but I'm not sure what is the best way to get it: socket, JMS or other mechanism that I don't know.
    Is the servlet who is operating how client behavior.
    Please, any comment will be appreciated, regards,
    Ulises.

    You can always start a ServerSocket on the client (kinda sounds funny, doesn't it) which will accept connections. You then open a plain old Socket on the server to connect to the client's listener. (Note, this is the reverse of a normal set-up). Once you have the connection established, you will call getOutputStream() to get a stream to write to. Likewise, you will call getInputStream() to read the data sent. You will want to investigate the java.net.* and java.io.* libraries.
    - Saish

  • Applet to Applet communication between two seperate threads and jsp pages

    Hi,
    have two java applets running on two separate jsp pages. I am trying to have one applet talk to the other applet. I have tried putting the applets in a static hashtable, but I found out (through trial and error) that the memory is not shared between the applets. Needless to say the appletcontext object will not work as well. I have also tried to put the applet threads into a thread group, but it seems that the second applet can't find the first applet's threads. Is there a funky way that I need to create the threads for the threadgroup? Is there a way or type of object that I can use that will share the static memory between plugins? I am using 1.6 in IE. Or am I looking at this wrong and there is an easy way to do this and I am not seeing it.
    Thanks,
    Marc

    Hi Mylene,
    I hope I have understood your problem correctly. I can try to give you a tip. The times I've had to do a pop-up, for instance to show details or a part of the data in a table, I call a javascript function with the required parameters (an ID for details or an array of rows) when the button is pressed or a link is clicked. The function then builds a URL with all the paremeters and uses it to call the standard window.open function. After that the request is handled "as usual", ie as if you didn't actually do a pop-up but simply displayed a new page. The content of the pop-up is a jsp with all the required code to build the table and/or display the data. The contents of the table or data are retrieved with the help of the parameters sent.
    I'm not sure if the portal kit provides some kind of standard functionality for this, but in the cases I've worked with J2EE solutions this has been the most common way of solving the problem.
    I hope this helps.
    kind regards,
    Dionisios

  • Communication between a web app and a desktop app

    Hi,
    I would like to know how i can make a web application communicate with a desktop application (protocols,technologies, patterns�).
    And if I'm using a jsp web app and a java se app?
    Indeed, i have a desktop app. which use some information provided by an user via a web app,and the work performed by the desktop app cannot be performed inside a web container.
    Thanks.

    you mean it the other way around I think. You have a desktop app that needs to communicate with a web application.
    There are multiple ways.
    1) use plain old XML combined with URLConnection / HttpClient
    2) use XML-RPC
    3) use SOAP
    and there are more even. You will need to decide for yourself which technology can do what you require.

  • Communication between a desktop software and a webserver

    I have developed a desktop. i want this software to be a one user license software. The software is suppose to connect to a php webserver were it would obtain it access key before allowing the user to install on the system, so that not more than one user can install it. I tried using socket (making the php webserver the server socket)
    and my java application the client socket application, but unfortunately i am having some problems connecting properly on the php server. This is my question, is there a better way that I could establish this without going through the socket protocol.

    i am having some problems connecting properly on the php server.Some problems such as what?
    This is my question, is there a better way that I could establish this without going through the socket protocol.You can't communicate with anything external in Java without using the socket protocol. You are going to have to engage with your current 'problems', disclose what they actually are, and solve them. You can get help here, but only if you ask an actual question.

  • Communicating between Weblogic 8.1 and Weblogic 10.3

    Hi,
    I have a requirement where in I need to access Queues in Weblogic 10.3 from Weblogic 8.1 and viceversa.
    Weblogic 8.1 :
    This has a proxy/web application that needs to put request to a Queue exposed in weblogic 10.3
    And will again poll for a Response Queue in weblogic 10.3
    Is it feasible, knowing the fact that jdk version in 8.1 is 1.4 & Jdk version is 1.6 in 8.1 ?
    Can we lookup for Queue defined in 8.1 in Weblogic 10.3 ? Can we use JMS adapter in 10.3 for acheiving this.
    Any help is greatly appreciated.
    Thanks !!

    Avoid using Message Bridges to receive messages.
    See the best practice: http://download.oracle.com/docs/cd/E15051_01/wls/docs103/jms/interop.html#wp1009272
    Q. When should I avoid using a messaging bridge?
    A. Other methods are preferred in the following situations:
        * Receiving from a remote destination—use a message driven EJB or implement a client consumer directly.
        * Sending messages to a local destination—send directly to the local destination.
        * Environment with low tolerance for message latency. Messaging Bridges increase latency and may lower throughput. Messaging bridges increase latency for messages as they introduce an extra destination in the message path and may lower throughput because they forward messages using a single thread.
        * Forward messages between WebLogic 9.0 domains—Use WebLogic Store-and-Forward.

  • Secure Communication between Weblogic 5.1 and IIS

    I have WL5.1 and IIS running on two separate machines. I've installed
    SSL certificates on IIS. So the traffic between the browser and IIS is
    encrypted.
    When the "iisforward" filter is used to forward servlet execute to
    Weblogic I get a message on the browser which says "You're about to be
    redirected to a connection which is not secure. The information you're
    sending to the current site might be retransmitted to a non-secure site. Do
    you wish to continue?"
    This makes sense as IIS does not know where the filter is forwarding this
    data. But how do I get rid of that message? There does not seem to be a way
    in 5.1 for the plugin/filter on IIS to communicate securely over SSL to the
    Weblogic server.
    Thanks,
    - Ayush

    Can you give more details on how you configured credentials on jboss end.
    post this on jboss forumn as the solution lies in jboss configuration not that of wls.

  • Communication between actionscript 2.0 and VB6

    Hi,
            How do i pass values from as 2.0 to VB 6 and viceversa. Also, the method invocation.

    You have pretty much answered your own question... hire someone who has fairly thorough knowledge of both AS2 and AS3.
    I have heard there are some tools for converting between AS2 and AS3, but I have no knowledge of them other than having heard that they cannot convert all things.... which makes sense because there is not always a one-to-one relationship to how things ae done with AS2 and how they get done with AS3.

  • Plse...help me on the communicating between CLEAN ACCESS MANAGER and Switch 3560E-24Ps by snmp

    Dear All,
    I try to configure in both Clean Access Manager and Switch 3560E-24Ps on SNMP Version 2 protocol but I can't make it working together (For CAM and Switch 3560G-48Ps I can do that). Plse give me any suggestion to solve that problem. All configuration is as below:

    http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/412/cam/412_cam_book.html

Maybe you are looking for

  • Batch determination -sort rule -reg

    hi, requirement is : Through COR2 , for the process order's component  when  batch determination is done , Batch determination should first select  for the unrestricted stock in the storage location and once all the unrestricted stock is consumed the

  • A upper/lower sensitive problem on RFC call

    hello, everyone. Maybe it is not the proper forum to discuss this topic, but I think the ABAP programinig Forum is the best forum in SDN, which has the most vistors. So please help me solve this problem, if possible. I meet a problem on RFC call thro

  • Installed most apps on creative cloud but now have to upgrade to 64 bit

    Hi, I am am new to Creative Cloud, I succesfully (with patience) downloaded and installed 11 of the Creative tool apps available to me. I could not download Photoshop CS6, after many attempts.  My OS is 32 bit and I was told I really should be runnin

  • Disable confirmation popup

    Hi, I am calling a standard utility to post PGI for delivery from an exit. Now, it asks for a confirmation to post or not. I want to disable this confirmation popup message. Is there any way to do this ? Thanks in advance. Regards Megha

  • Trust or no

    http://exoticphone.com/productinfo.php?productsid=601 i want to buy an iphone 3g but i dont have att , is this trusted or no ? anything illegal about this ? quad band ? does apple support this sale ?