How connect FLEX and SAP R3 via RFC

Hi all
Can anybody tell me, how to connect the SAP R3 and FLEX via RFC.
Is this possible or can only be via webservice?
Regards and thanks,
morojan

Well in theory you could build a flex component that uses the RFC library to call SAP (and viceversa) but it sems like a lot of trouble when you can just use the existing HTTP/XML methods already available.
Cheers
Graham Robbo

Similar Messages

  • Connecting SAP ERP and SAP XI via RFC (in cluster)

    Hi all,
    I have a strange problem with SAP ERP and SAP XI (production systems). Both systems are installed in cluster. I am trying to connect both systems via RFC, so I configurred TCP connection using SM59. But, when I try to test connection, I am always getting error "Program xxxx is not registered". When I register the program on the sender communication channel on different system (develop system - different machine), connection works fine. Configuration on both SAP XI production and development systems is identical. I just cannot understand, why production SAP ERP does not see registered program on production SAP XI. Has anybody experiences with this? Or any other ideas where should be the problem?

    Are you configuring the RFC Sender adapter with load balancing?
    what is the hostname you're using for ERP?
    Is it the message server's?
    Also, make sure the dispatcher is properly configured, sending the requisitions to the application servers.
    Regards,
    Henrique.

  • Connection between SAP R/3 and SAP XI with RFC

    Hi Experts,
    I am beginner in SAP XI.
    We are using SAP XI 3.0 SP 9 and SAP R/3 4.6 C
    I am trying to validate a connection between SAP R/3 and SAP XI with RFC.
    I followed all the weblogs ,and i did exactly the same way, but I am unsucessful...
    Schema not available Exception
    com.sap.aii.af.service.cpa.CPAException: Schema not available for RFC|3b787a8035c111d6bbe0efe50a1145a5|http://sap.com/xi/XI/System.
    at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryDataSAXHandler.endElement(DirectoryDataSAXHandler.java:262)
    at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.endElement(SAXDocHandler.java:154)
    at com.sap.engine.lib.xml.parser.XMLParser.scanEndTag(XMLParser.java:1826)
    at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1722)
    at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2298)
    at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1719)
    at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2701)
    at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:162)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:126)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:136)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:209)
    at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:270)
    at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:331)
    at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
    at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryDataParser.updateCentralCache(DirectoryDataParser.java:54)
    at com.sap.aii.af.service.cpa.impl.cache.CacheManager.updateCacheWithDirectoryData(CacheManager.java:713)
    at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:595)
    at com.sap.aii.af.service.cpa.impl.cache.CacheManager$CacheUpdateRunnable.run(CacheManager.java:440)
    at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
    Please help me out on this
    Thanks in advance
    Raju

    hi,
    try refreshing you CAP cache:
    741214 (check this note)
    and check if the refresh was successful
    (CPA history)
    Regards,
    michal

  • Adobe flex and Sap

    Hi,
    I do not know if this is the right section,
    I wanted information about application in sap with/using flex.
    Can you give me some useful links for how to start?
    Many Thanks!!

    Hi !
    Pls have a look on the below links & Pdfs for Adobe flex and Sap
    How to Develop Flex Applications that Invoke Web Services
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20536f87-b5a1-2a10-06ad-c15369468e0e
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/adobe%2bflex%2bsap%2bsample%2bfrom%2bsdn%2bday%2b2006
    How to call SAP web services from Adobe Flex 2
    Good learning links and materials for SAP adobe flex
    My first post- SAP and Adobe Flex / AIR
    Thanks
    Abhishek
    Pls close the thread  by rewarding points , if your querry is solved .

  • How connect iPhone to TV (Philips) via USB?

    How connect iPhone to TV (Philips) via USB, because TV does't recognize iPhone.

    http://support.apple.com/kb/ht4108
    http://support.apple.com/kb/HT1454

  • How to import the SAP R/3' rfc's and Idoc's in to the integration repositor

    Hi all,
            One of my friend who is practicing with SAP XI software. He installed SAP XI and SAP R/3(using the VmwareWorkstation ) in single system. What i have seen that is,
    Left side we can see(IR) the software component version's and namespaces. Under namespaces we can see imported objects. If we right click on the imported objects then it will show “ import of SAP objects”.
                Then it generally show SAP R/3 system name and client number(800) + input text parameters for the application server and system number.
               But what it was showing that  XI's system name and XI's client(100) number. Even i have entered SAP R/3 server name and system number and it's username and password. Then it was telling the corresponding client doesn't exist.
    Please help me to solve this problem.

    check pg13 of the below link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c9692
    Check this link to know minimum authorizations required for a user to import RFC/Idocs.
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/a48f3c685bc358e10000000a11405a/content.htm
    Message was edited by:
            Prabhu  S

  • How to Debug Functional Module called via RFC?

    Hi Experts,
         Please, can someone explain to me how to debug functional module that is called via RFC? Thanks in advance.
      Best Regards,
    Aleksandar

    Hi Laxman,
       First of all thank you very much for giving attention to my post. Ok, I am trying to debug function module in RM-CA (FICA), function module is called by CRM system (via RFC) and in addition all this chain is triggered by WebClient.
         I have user that can login on the CRM as well as on RM-CA (ECC 6.0) system, but those users are different (unfortunately I do not have administration permission so I can’t change profiles of my users but I can ask for it). I can without any problem debug calls that come from WebClient, so setting an external break point in CRM system I can catch whatever I want but when process comes to point where actually call to back-end (RM-CA) takes place I simply can’t get into functional module, that resides on RM-CA side. Actually what happens is that processing continues as was chosen ‘NEXT STEP’ (F6).
         To resume, two systems and two different users. Where XCM user should be created? (on RM-CA system or CRM). Should I change something in Menu option Utilities -> Settings -> ABAP Editor tab -> Debugging tab, in field users?  If you need any additional info please tell me.
      Thanks again for your support.
    Aleksandar

  • How to setup and print USB001 via wireless router

    Hello,My printer M1136 MFP was able print via usb001 port on RT_N13U_b1 wireless router..this enable me to scan and print without any queue print errors..Now the problem is.. due to recent system setup i removed the printer and tried to re-add. Now am not able to print via usb001 errors but direct usb hardconnect to my system can print and scan ..I've forgotten the steps in the first place how i did the set-up  by chance to print via usb001 on wireless router. TCP/IP print works but with queue errors more than 3+ print jobs. I want to setup to print via usb001 through my wireless router, so that i can do a scan wirelessly since tcp/ip always gives error due to multiple queues....but didnt encounter any queue errors on usb001 setup. How can i setup to print via usb001 on my wireless router?   

    Hi , Welcome to the HP Forums! I noticed that you cannot setup your HP Laserjet Pro m1136MFP on Windows 7. I am happy to look into this for you!  According to your printer's specifications, and page 39, of your printer's user guide, states this printer can only be direcly connected to the computer with the USB printer cable. The M1210 Series Laserjet, can connect to a network but not the M1136 MFP Laserjet printer.  Hope this answers your question, and have a nice day!  “Please click the Thumbs up icon below to thank me for responding.”

  • How to download and install application via desktop software?

    Hello everybody.
    I'd like to know how to download and then, install applications on my Bold 9700 using desktop manager (version 6.1).
    Can someone enlighten me about it please?

    The easiest way to install apps is to use either App World on your phone (available from mobile.blackberry.com if not installed on your phone) or via the web front end of App World (http://appworld.blackberry.com/webstore/) , plugging your phone in via USB. 

  • How could i get a list of outbound idocs and read them via RFC?

    So I need to fullfill the following szenario:
    .) my application has to retreive latest iDoc (outbound queue) from the SAP ERP
    .) processing  payload of iDoc
    .) set the IDOC in SAP R3 to 'OK'
    Are  there any RFC functions for LIST all Outound IDOCs and one for setting the idoc state?
    Thanking you very much in advance for helping me
    best regards
    Thomas Lustig

    It sounds like you really might want to consider seeking legal advice for this matter.

  • Flex and SAP Netweaver Web Service Security

    HTTPS should just work, please repost here if it doesn't.  In regards to the username and password, the browser will prompt you just like it would when you log into a normal system.  The "challenge" box will come up and you can log in there.  If you have already signed in and navigated to the page using SSO2 tickets the flex app will use that token to gain access to the system.
    More broadly, I never use the AS proxy generator or the MXML webservices to do this.  I find that that directly using the actionscript classes is easier to debug, see my post:  http://www.danmcweeney.com/57

    >
    Irvan Bastian wrote:
    >
    > 1. I really don't know know to connect from Flex to web service when it's run in the SSL HTTPS way. Can you give me a sample code ? (i think it will use DEFAULT_DESTINATION_HTTPS component from mx.rpc.soap.WebService)
    I believe just using https as the location of the WSDL will make the Flex framework switch to use https, that and make any destinations https.
    >
    Irvan Bastian wrote:
    > 2. About the user and password, I alerady using
    > fooService.setRemoteCredentials("username", "password"); but the browser still prompt the username and password. I must type it once again to pass the HTTP Basic Authentication. How can I type the use and password in the program only to pake the browser doesn't prompt anything and pass the HTTP Basic Authentication silently.
    setRemoteCredentials does not do what you think it does, this method is used for, quoting the Flex Docs, "These are passed from the proxy to the endpoint.  If the useProxy property is set to false, this property is ignored."
    I have to look into setting the "Authorization" header directly, for a version you couldn't do it, I think you can now, but can't remember if it is restricted to certain HTTP verbs.
    >
    Irvan Bastian wrote:
    > 3. What is "SSO2 tickets" ??
    These are the SAP single sign on tickets, they show up in headers as MYSAPSSO2 values.

  • Flex and SAP

    Can we use ActionScript when creating interfaces in SAP ?
    Or is it only possible to use Netweaver ?
    It would be an advantage to have the possibility to use AS.
    Thanks !

    >
    Irvan Bastian wrote:
    >
    > 1. I really don't know know to connect from Flex to web service when it's run in the SSL HTTPS way. Can you give me a sample code ? (i think it will use DEFAULT_DESTINATION_HTTPS component from mx.rpc.soap.WebService)
    I believe just using https as the location of the WSDL will make the Flex framework switch to use https, that and make any destinations https.
    >
    Irvan Bastian wrote:
    > 2. About the user and password, I alerady using
    > fooService.setRemoteCredentials("username", "password"); but the browser still prompt the username and password. I must type it once again to pass the HTTP Basic Authentication. How can I type the use and password in the program only to pake the browser doesn't prompt anything and pass the HTTP Basic Authentication silently.
    setRemoteCredentials does not do what you think it does, this method is used for, quoting the Flex Docs, "These are passed from the proxy to the endpoint.  If the useProxy property is set to false, this property is ignored."
    I have to look into setting the "Authorization" header directly, for a version you couldn't do it, I think you can now, but can't remember if it is restricted to certain HTTP verbs.
    >
    Irvan Bastian wrote:
    > 3. What is "SSO2 tickets" ??
    These are the SAP single sign on tickets, they show up in headers as MYSAPSSO2 values.

  • Connecting ibook and Power Mac via Ethernet

    Is it possible to connect my ibook g4, with my Power Mac G4 via ethernet? I simply want to make it so I can swap files between the two. They're both running Tiger, 10.4.11, if that means anything at all. Any help would be greatly appreciated.

    Mac OS X file sharing ( hope you know another language than english ). You need to go into sharing & turn on file sharing. It will share your public folder.
    http://docs.info.apple.com/article.html?artnum=106461
    The Mac OS client shares the the public folder. You may try putting an alias in your public folder to the flash drive. To share the flash drive directly, you need SharePoints.
    The Mac OS X client version contains most of the sharing software. It doesn't contain an extensive GUI for manipulating the software configuration.
    "SharePoints is an application or a preference pane that makes it easy to add and delete share points like in the old Finder. In Mac OS X, by default, you are limited to sharing only what is in your public folder in your home directory. This program makes it easy to share any folder."
    http://www.hornware.com/sharepoints/
    Mac OS includes support for NFS, the native Unix network file sharing system. You may share files between Mac OS X systems with NFS as well as other Unix Systems. However, the documentation on how you make the shares is rather limited. Once you learn how to configure the net info database with the netinfo command, the shares are not too hard to make.
    "NFS Manager is a graphical user interface to control all built-in NFS features of Mac OS X. "
    http://www.bresink.de/osx/NFSManager.html

  • Flex and SAP integration

    Hello All,
      I am in a requirement in which i need to connect to SAP server and fetch data from it and display back in Flex builder. I am a bit familiar with Flash Island intro but not much. So my question is what are the possible way we can fetch data from SAP and display the same in Flex builder like generally we fetch data in XML format and display the same. i know a bit about iframe but have zero knowledge bout that.
      So do you know if there is a better format of data we can fetch data and display the same in flex builder or flash island.
    what are the possible format we can fetch data from SAP n process data in flex builder.
    Cheers
    Mani

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20536f87-b5a1-2a10-06ad-c15369468e0e
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/a085a42a-a036-2a10-6698-d94b1e707b80
    Did you simply consum webservices with Flex?  You knwo that you need configure the SAP output the WSDL and set it as Remaote enable

  • Connecting USB and another computer via wireless

    Can I connect the printer to one computer via USB and another via wireless?
    This question was solved.
    View Solution.

    photonics wrote:
    Can I connect the printer to one computer via USB and another via wireless?
    Hi,
    Yes, but when sending 2 print jobs from 2 computers at the same time, the wreless job will fail. In many case it will recover itself but sometimes it can't.
    Regars.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for