Call a RFC function in VB but without SAPGui install in the system.

Hi,
Do you have example of code, to be able to call a RFC with the VB or C/C++ without needed to have the SAPGui install in the client.
The RFC will be call by a server, so I don't want to install a SAPGui release on this server.
Regards
Frédéric

Hi,
You can access the RFC using VB by the SAP DCOM connector, or for a more basic solution you can access the wdtfuncs.ocx(ActiveX control).
I think it has a Login control in it, you can have documentation while installing RFC SDK from SAPGui CD and it will give you some basic samples of how to use these controls.
Or you can search in help.sap.com and search for "Example Application with the Function Control" and it should return the results to give your VB example.
aRs

Similar Messages

  • Problem while calling an RFC Function Module in Background

    Hello,
    I have created a RFC function module for reading data from an external DB system. The FM calls an external RFC program (coded in C++ using RFC SDK), which delivers the required data. This external program is maintainged as an TCP RFC Connection in SM59.
    Further I have created a report, that calls the RFC function module to get the data from the external RFC programm.
    My problem is, when I call the report in foreground, everything works OK, the RFC connection works and data can be read from the external program.
    However, when I schedule the report to run in background as a job, the report is stating in the protocoll that there was a problem calling the defined RFC connection (although the connection is working properly at that time).
    More funny is, this particular problem with running in background occurs only in the productive system, in test and development system the report works correctly also while running as a job in background.
    Can you suggest the solution to this problem? Could it be something with authorisations or server settings?
    I will be on holiday for the next 6 weeks, so take your time to answer .
    Regards,
    Dusan.
    Edited by: Julius Bussche on Jan 22, 2009 7:19 PM
    Please read the forum rules about u r g e n t ...

    This is an external RFC server program, not a remote enabled ABAP RFC function module as the others seem to be assuming, right?
    Is it possible that your DEV and QAS systems only have one application server, but the PROD has many and dedicated one(s) for processing low priority background jobs?
    It might be that the target server of your TCP connection is not this BTC instance, and your RFC server is returning the data "locally" - so, into nirvana...
    Just guessing, but might be worth checking.
    Cheers,
    Julius

  • Calling a RFC function in non-SAP application

    Hi,
    I can call a RFC function in a .NET application. Here there is no problem.
    But if an ABAP program submitted in this RFC then I can not call this RFC?
    Can I call an RFC ( it submits another abap program) non-SAP application.
    Thanks.

    Hi Astron,
    Could you please close the thread as answered.
    Regards,
    Anand Mandalika.

  • How to call a Javascript function from backing bean without any event

    Hi,
    Someone knows how to call a Javascript function from backing bean without any event ?
    thanks

    Please review the following thread:
    ADF Faces call javascript
    Luis.

  • Calling Synchronous RFC Function Module in Background

    Hi all,
    Currently we are working on some requirement where in we have to retrieve data from one system(CRM) and update the same into another system(ECC). We have developed a RFC Function in CRM system and it is being called from ECC system as in synchronous mode via a batch program.
    Now since all sychronous call to a RFC function will be dialog there is a constraint on the runtime which is being set by maximum run time for each dialog work process. So my question is there an option to call an RFC function synchronously in background (background task) so there is no runtime performance.
    The standard TRFC, QRFC calls in background runs asynchronously and so I am trying to check with the SDN world as whether has anyone tried  SRFC(Synchronous) call in background?
    Thanks in advance,
    Jagath

    So my question is there an option to call an RFC function synchronously in background (background task) so there is no runtime performance.
    One solution would be to increase the value of the "time out" parameter defined the CRM system. This i feel is not a fool-proof solution as the run-times cannot be predicted. Check this thread: Re: RFC timeout profile parameter
    For me a better solution would be to implement tRFC call instead of a synchronous call. Any reasons why you don't want to implement a tRFC ?
    BR,
    Suhas
    Edited by: Suhas Saha on Jun 26, 2010 8:52 AM

  • Calling a RFC Function Module

    Hello Guys,
    I have a question regarding calling a RFC function module.
    In BW - BI 7.0 I call a RFC function module:
    (The ABAP program in BW-BI 7.0 is below)
      CALL FUNCTION ''ZTESTFUNCTIONMODULE'  " Function module in ECC
         DESTINATION 'DECCLNT110'  " ECC system
        TABLES
          it_gl_item   = it_gl
          it_errlog_gl = it_errlog_gl.
    The 'ZTESTFUNCTIONMODULE'   is RFC enabled in the ECC system.
    The purpose is we retarct the data from BW to ECC.
    When I run the function module it always asks for the user id and password.
    The SAP logon screen appears and it asks for the user id and password.
    The destination is maintained in the SM59 transaction and also the user is maintained there. I think it should login automatically into remote system and return the tables. is it correct. How to skip the logon screen.
    Do I have to pass the user id and password in the function module. I think it should take the user id from the SM59 destination. Is it correct.
    Please advise. As always thanks for your help guys.

    Hi Senthil,
    I think you answered your query in your question itself
    The user ID and password need to be maintained in RFC destination in SM59.
    Go to SM59 and then click on test connection..if it does not ask for ID and passwoed that means correct ID and password is maintained in SM59 otherwise maintain it.
    Regards,
    Atish

  • Sound on my phone has gone so when someone calls me they can hear me but i cant hear them.The ticks cant be heard when you press the keyboard. I've checked the settings and they are ok. can still hear music thru headphones but not without. Any help pls.

    sound on my phone has gone so when someone calls me they can hear me but i cant hear them.The ticks cant be heard when you press the keyboard. I've checked the settings and they are ok. can still hear music thru headphones but not without. Any help pls.

    Hey shahbazfromgbr,
    Thanks for the question, and welcome to Apple Support Communities.
    I understand you are having issues with sound output on your iPhone 4S. For troubleshooting steps, the following article provides the best information:
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    1. Verify that there is nothing plugged in to the headset jack, including headsets, headphones, or adapters.
    2. Make sure the Ring/Silent switch is not switched to silent.
    3. While on the Home screen, adjust the volume buttons. If you see the icon below, indicating that headphones are attached, there may be debris or an object lodged in the headset jack:
    4. Check the headset jack. If there is an object lodged in the headset jack that is not easily removed, have the iPhone serviced to remove object.
    5. For Original iPhone: If there is light debris, such as lint, in the headset jack, try connecting a pair of headphones to the headset jack and then remove the headphones. Repeat this several times to remove the debris.
    6. If you have installed a protective film on the display, either ensure that the receiver is not covered or remove the film completely.
    7. Check the receiver mesh (which is on the top front of the device, above the display). If it appears blocked, use a clean, small, dry, soft-bristled brush to carefully and gently brush away any debris.
    8. If you have paired with a Bluetooth headset that is nearby, either use the headset or turn Bluetooth off (choose Settings > General > Bluetooth).
    9. Restart the iPhone.
    10. If restarting the iPhone doesn't resolve the issue, try restoring the device.
    11. If the issue persists, go to the Service Answer Center - iPhone for information on service.
    Thanks,
    Matt M.

  • How to call a RFC function from ABAP to external C/C++ system

    Hi
    Can some one describe me what are the steps that needs to be done to call a RFC function in external C++ system and to handle errors.
    Any previous experience,please share

    Hi,
    i think this is the wrong Forum.
    Better use the SAP NetWeaver .NET Technologies Forum on this site.
    Henning

  • I have an old iphone 3 32gb and don't use it to make calls as I have a 4s but would like to use the 3 for music any suggestions as to how I can sync two phones with I tunes

    I have an old iphone 3 32gb and don't use it to make calls as I have a 4s but would like to use the 3 for music any suggestions as to how I can sync two phones with I tunes

    Plug the device into the computer.
    Select the content desired to sync.
    Sync.

  • My iPhone 5, periodically,will not show the call waiting number. It beeps but will not give me the option to swicth over or show me who is calling. The call doesn't appear in my "recents" either.

    My iPhone 5, periodically,will not show the call waiting number. It beeps but will not give me the option to switch over or show me who is calling. The call doesn't appear in my "recents" either.

        We appreciate your feedback on this matter, gingerspice913. I've not come across this issue before.  Do you know how long it has been since the issue began? Please try to reset the network settings to see if it helps http://vz.to/1swAJbD?
    TamaraH_VZW
    Follow us on Twitter @VZWSupport

  • My iphone4 is broken, if you call me i can hear you but u cant hear me, the apple store staff told that i need to backup my phone so that they can give me a new one, so how can i bakcup my iphone 4 using ipad? thnk you

    my iphone4 is broken, if you call me i can hear you but u cant hear me, the apple store staff told that i need to backup my phone so that they can give me a new one, so how can i bakcup my iphone 4 using ipad? thnk you

    To charmainesabanal
    See your Other post...
    https://discussions.apple.com/message/20604805#20604805

  • Do a GI but no serial number in the system

    Dear Gurus,
    I have one scenario,lets say we have a data for the month of october 2009 and november 2009 ,the data means the serial number of material.the data before october 2009 already uploaded by consultant but for the rest they not upload it,maybe they dont have the data i think.Then,we need to do the GI base on the DO we get for the month of october and november 2009,but no serial number in the system.What step i should follow to do the GI.
    First,if i create the serial number,thats no history like PR,PO,GR and no stock will added in mmbe.that why cannot do the GI because no stock will added.
    Sir,can u tell me what is the best way to do this GI..
    Thanks
    /Shah

    Hi,
    You can not do GI if the serialisation procedure is maintaiend for delivery / issue. In this case, you need to upload serial number with the help of IQ01 / 08.
    If the delivery does not ask for serial number, then you can directly issue the material without serial number.
    Anand.

  • HT1338 Hi everybody..i have an enigmatic problem since i bought MacBook Air..i can't watch youtube videos and i did install the latest adobe flash player BUT when i start to install it the system keeps asking me to enter a password ? which password i need

    Hi everybody..i have an enigmatic problem since i bought MacBook Air..i can't watch youtube videos and i did install the latest adobe flash player BUT when i start to install it the system keeps asking me to enter a password ? which password i need ??????

    Your admin account password.

  • HT5621 I have changed my AppleID but I can't get the "system preferrences" to show my new AppleID.  What am I doing wrong?

    I have changed my AppleID but I can't get the "system preferrences" to show my new AppleID.  What am I doing wrong?  I am running 10.9.2.  I support multiple devices on this icloud account and they all work fine.  Its just the mac mini ...

    I found a post with the answer.  Basically I just logged out of the iCloud.  My concern was that I would loose my contacts.   But when i logged back in with the correct AppleID -- it was all there.
    Thanks!

  • Unable to download because it says "You are running an operating system that InDesign no longer supports. Refer to the system requirements for a full list of supported platforms." But its updated according to the system requriements

    Unable to download because it says "You are running an operating system that InDesign no longer supports. Refer to the system requirements for a full list of supported platforms." But its updated according to the system requirements. What can I do to fix this?

    Which versions of InDesign are you referring to?  What are the operating system specs for the machine?

Maybe you are looking for

  • Listing File, path, sizes and dates

    Hi all Case: I have 6 machines on one network (some with 2 drives), another on another network (connected by vpn) and 3 external drives. These all have accumulated stuff, some repeated as I've upgraded and re-purposed machines but left directories be

  • Photos on my new PC

    Hi all, I recently got a new laptop for my birthday (HP Split X2) and have been trying ever since I got it to pass across my files from my old laptop (Acer Aspire 5551-A) to my new one. These files included word documents, music files as well as Fami

  • 24 inch iMac Screen problems after 10.5 upgrade

    After upgrading to 10.5 i have had many issues with the display my iMac (white) 24inch Core 2 Duo. I have corruption resulting in horizontal lines across open windows and in some cases on the desktop itself. Some of the button text turns bright green

  • LSMW and RFBIBL00

    Hi, I am using RFBIBL00 in LSMW to upload AP/AR open items. When I run the job in the foreground, I am getting an error as the second line item is not filled (empty). I think that the structure of my upload file is not correct. Do you have sample upl

  • How to get LiveCycle Designer forms to ignore default text in fields when validating

    Hiya, I'm testing out Designer ES4 to build a simple form that's submitted via email.  Everything is working except for my text boxes...  They are set up as required fields but because I've included default text with instructions, if you press submit