RFC Problem:"I::001 Only available with the RFC library from 4.0C onwards."

Hello,
Ihave a VBA code that calls a BAPI via RFC to checkout a document. The Problem is that I get an error like in the subject. Here is my Code
Private Declare Sub RfcAllowStartProgram Lib "librfc32.dll" (value As Any)
Sub checkout_file()
Dim oDocument As Object
Dim oDocumentFile As Object
Dim oDocumentFiles As Object
Dim oReturn As Object
Dim oBAPICtrl As Object
'Creating BAPI object
Set oBAPICtrl = CreateObject("SAP.BAPI.1")
Set oConnection = oBAPICtrl.Connection
If oConnection.Logon(0, False) = False Then
MsgBox "No access to R/3 System"
Exit Sub 'Programm beenden
End If
RfcAllowStartProgram ByVal 0&
'Creating lokal instance of BO "Draw"
Set oDocument = oBAPICtrl.GetSAPObject("DRAW", "PM2", "A5N00030059989", "D", "000")
If Err.Number <> 0 Then
MsgBox "No local BO 'Draw' created!"
Exit Sub
End If
Set oDocumentFile = oBAPICtrl.DimAs(oDocument, "CheckOutView2", "DocumentFile")
oDocumentFile("WSAPPLICATION") = "DOC"
oDocument.CheckOutView2 OriginalPath:="D:\test\", _
DocumentFile:=oDocumentFile, _
DOCUMENTFILES:=oDocumentFiles, _
DocumentStructure:=oDocumentStructure, Return:=oReturn
MsgBox oDocumentFiles.RowCount
MsgBox oReturn("MESSAGE")
Set oConnection = Nothing
Set oBAPICtrl = Nothing
End Sub
I have the newest librfc32.dll in my System32 folder (Version 7110.0.46.6208). Where is the problem? Can it be a problem on the application server or something?
Thank you,
Thomander

Hi Thomander,
Note 885058 indicates that the problem is resolved with the latest    
RFC and ICU files. The RFC library is contained in the RFCSDK, please 
ensure that you are using the latest SDK, it can be downloaded from the
following location:                                                                               
Support Packages and Patches                                          
    ==> Additional Components                                         
          ==> SAP NW RFC SDK                                          
               ==> SAP NW RFC SDK 7.10                                
                    ==>Your OS                                                                               
ICU libraries can be downloaded from service market place as part of  
sap kernel. There are contained in the complete package sapexe.car    
& in a seperate package UCLIB.sar                                     
-> service.sap.com/patches                                           
-> Entry by application group                                         
-> additional component                                              
-> SAP Kernel [ select the correct versions] & download the file                                                                               
The naming convention of the library files varies depending on the    
operating system, they may be called                                  
"libicuuc.so.26", "libicuuc.sl.26", "libicuuc26.so" or "icuuc26.dll", 
for example. You must therefore adjust the unpacking statements       
accordingly.                                                                               
Unpack the library to the temporary directory & then move it to the   
kernel directory ("/usr/sap/<SID>/SYS/exe/run").                                                                               
Caution: Make sure that the libicu* libraries do not overwrite any    
existing files.                                                                               
Once you are using the latest RFC and ICU files you should be ok.
Maybe the information in the following link could also be useful for this kind of error:
https://www.sdn.sap.com/irj/scn/wiki?path=/display/plm/i001Win32error+2
Best regards,
Christoph

Similar Messages

  • I::001 Only available with the RFC library from 4.0C onwa

    Hello all!
    I'm using SAP .NET Connector for integration between .NET application and SAP System.
    When I try to work with standard document bapi methods like  BAPI_DOCUMENT_CHECKIN or BAPI_DOCUMENT_CHECKOUTVIEW, I get an error in out RETURN parameter - I::001 Only available with the RFC library from 4.0C onwa
    Please, help if you know how to solve this issue. Any help appreciated, and thanks in advance for the help.
    Best regards,
    Alex

    Hello,
    Is the function module remote enabled? Check the attributes of the function module, see
    [remote enabled function module|http://help.sap.com/saphelp_nw04/helpdata/EN/22/0425f2488911d189490000e829fbbd/frameset.htm]
    Next step to figure out this problem will be calling the function module remote and debugging it, see...
    [external breakpoints|http://help.sap.com/saphelp_nw70/helpdata/en/af/0cb5403fd63426e10000000a1550b0/frameset.htm]
    Regards,
    Marcel

  • How do I delete files on my iPod second gen?  This is a NEW problem I have only had with the latest version of iTunes.  I have not changed libraries.

    How do I delete files on my iPod second gen?  This is a NEW problem I have only had with the latest version of iTunes.  I have not changed libraries.  All files are grayed out.  I have already read related posts in the iTunes community.

    Thanks but I had already read this, and it was no help at all.  Under the Summary tab, "Options", there is no check-box to manually manage my stuff.  I suspect this is because it is a 2nd gen iPod, with ONLY manual management.  The only way to delete my stuff seems to be to reset the entire device.
    I like to listen to podcasts.  What is particularly frustrating is that the 4th gen shuffle CANNOT play podcasts, but ONLY music, which I discovered after a lot of research and multiple visits to an Apple store.  So I have to resort to an older version of the shuffle to play podcasts  And now with the latest version of iTunes there seems to be no way to delete any podcasts on the older version.  Apple just makes it harder and harder for us podcast-lovers, driving us away from Apple -- driving me away from the entire brand and from ALL Apple devices, not just iPod.

  • ¿iTunes match is only available with the music on iTunes Store of my country?

    I want to use iTunes Match but my question is.. if I have imported CD's (i'm from México), that they aren't available in the iTunes Store of my country, iTunes find the matches with other iTunes Stores (of the other countries) or it only work with the songs available on my iTunes Store (México)

    Hi
    I have achieved matches for tracks/albums that are not available in the UK store. If the track is on Apples server, there is a chance that you will get a match even though not available in local iTunes store.
    Jim

  • I have an iPhone 4 and the flash works great theirs just a little problem. Theirs times that it don't work... Anybody have an idea what it might be ? I resented my iPhone 2 but somehow it only flashes with the LED light from the notifications.

    Why does it do this and what can I do to fix it I want to use my light at all times

    I read the article thanks.   I tried the settings-general-reset-reset network settings-reboot system-go to wifi settings-select wireless connection-select the ">"-symbol-select auto for http proxy.   I was optimistic about that because I thought I changed some setting somehow to cause this problem, but it didn't work.  More specifically, I did connect successfully and browsed the Internet for a good while, but then I put down the phone for a minute, the phone went into sleep/power save mode, and when I picked it back up a moment later it was no longer connected.  Dang.   Had to select the connection and use my password yet again. 
    Another valuable bit of info for you.   The only network with which I have this problem is my home.   I use all kinds of devices at home and no other devices have this problem.  Also, I use this iPhone all over with various wifi networks at hotels and starbucks and family's homes with no issues whatsoever.  It remembers and automatically reconnects with every wireless network except the one in my own house. 

  • Is the GPS chip only available with the cellular LTE iPads??

    I was wondering if the wifi only ipad 3 also included the GPS chip or not?

    If you need built-in GPS capability then yes - though there are some stand-alone GPS units that apparently work with it e.g. Bad Elf (I haven't got it so I don't know how good it is).

  • Is Compressor only available in the FC Studio suite?

    Is this program only available with the suite package? If so, are there any other programs I can use to compress QT & WM video files?

    Is this program only available with the suite package?
    Yes.
    are there any other programs I can use to compress QT & WM video files?
    Yes. BitVice, Episode, Sorenson Squeeze to name a few.
    -DH

  • HT1296 I am facing a problem with my iPhone 4. I applied the first syncing with outlook 2007 by choosing the "merge" option. At the end of the process, some contacts are correctly sync, but most are only sync with the names. Numbers are lost. Any suggesti

    I am facing a problem with my iPhone 4. I applied the first syncing with outlook 2007 by choosing the "merge" option. At the end of the process, some contacts are correctly sync, but most are only sync with the names. Numbers are lost. Any suggestion?

    I would love to do this as well. All I need is my calendar appts from outlook. Right now I am using google calendar sync, but I would like to move to the cloud and away from google. I find it hard to believe there isn't an option to do this.

  • Is the Siri only available on the 4s?  I thought it came with the new iOS5 software?

    need help using Siri after update to iOS5, anyone got any ideas?

    Siri is only available for the iPhone 4S. Siri App on previous models have been discontinued and no longer works. If Siri is important to you then you will have to get the iPhone 4S. It is built into the iphone 4S.

  • HT2513 my iCal calendar that I created with the color green keeps changing to purple.  no matter how many times I change it to green, it turns it back to purple.  Of course this only happens with iCloud and not "from my Mac".  Any ideas?

    my iCal calendar that I created with the color green keeps changing to purple.  no matter how many times I change it to green, it turns it back to purple.  Of course this only happens with iCloud and not "from my Mac".  Any ideas on how to correct this?  This seems like a trivial error, but it's super annoying.

    I called Apple and they said that they know about this problem.  It's a problem with iCloud which their Engineers know about.  (there was a new iCloud release, hence...)  No ETA for a fix yet.  I asked that this be escalated so Engineering doesn't put it at the bottom of their fix list.  I talked to a Senior Advisor and mentioned to them to have QA check their regression tests as this has happened before to me (the problem just didn't take this long to resolve).  I like to use green too for important stuff, so I've resorted to creating a new calendar using the normal calendar green for events going forward.  They could have picked another color besides green to have this problem with and I wouldn't have been so upset.  ;-)

  • I signed up for my apple account while living in Canada, and now I lives in the US. I am looking for a specific app that apparently is only available through the US app store. How can I change my account to the US Apple Store?

    I signed up for my apple account while living in Canada, and now I lives in the US. I am looking for a specific app that apparently is only available through the US app store. How can I change my account to the US Apple Store?

    As long as you have a form of payment (credit or debit card) with a USA source, and with a billing address in the USA, then you just need to change your payment information on your account to that, change your country in the store settings, and you will then be able to shop in the USA store.
    Your AppleID will work in any country's store, as long as your payment source and billing addres are also specific to that country (and you are in that country as well, as there may be IP filters in place to stop use outside of the country).

  • Is it possible for someone in the UK to gift me, someone in the US, a show that is only available in the UK?

    I'm pretty desperate to watch this show that is only available in the UK iTunes Store. Is this a plausible solution to my problem, since I live in the US and can't make purchases from the UK store?

    Sorry... Not possible.

  • RFC function module always creating BPs with the same user name (RFC user )

    Hi All
    I posted the below question in a different area before. But thought it would be more suitable here.
    Moderators - Please let me know if am doing any mistake.
    Question:
    I have a RFC function module in CRM that creates Business Partners in ECC (XD01 tcode).
    I am using a dialog RFC destination configured in SM59 in CRM.
    But my RFC function module in CRM is always creating the Business Partners in ECC with the RFC user id (the user that we maintain for the RFC destination in SM59).
    This is a problem for the users because they are not able to track the actual person responsible for creating these Business Partners.
    Can somebody please let me know how to solve this problem?
    Thanks
    Raj

    Hi.
    You may use the trust relationship between CRM and R/3 and in SM59 instead of set a specific username, you set the flag "current user".
    With this flag, the system will access R/3 system with the user logged in CRM system. The Trust relationship must be created between CRM and R/3 in order to the system doesn't ask for a password to login in R/3.
    If you need more details please reply.
    Kind regards,
    Susana Messias

  • I am in the US, but need to download an app that is only available in the iTunes Australia store.  How do I do this?

    I am in the US, but need to download an app that is only available in the iTunes Australia store.  How do I do this?

    Move to Australia, get an Australian credit card with an Australian billing address then change your iTunes address to your physical address in Australia.
    (you can't)

  • Live View Preview is only available with...

    When I select preview 'server' from the Browser Lab panel in Dreamweaver I get this message:
    "Live View Preview is only available with BrowserLab Local/Network preview option, please select the Local/Network preview option."

    Hi Mattdwm,
    Yes this behavior is 100% correct, and what you observed about it only working if you toggle Live View off is what the error message was trying to tell you.
    I'll try to explain - in Dreamweaver's Live View mode you can interact with your page "freeze" the javascript in intermediate states. The information about those states is only contained on the local machine. So if you were to perform a server preview from DW while in Live View, the page would only be in the base/default state in the screenshot captured by BrowserLab. So the only way BrowserLab can get the properly get the info about the intermediate state you've navigated to is if you choose the Local/Network preview option.
    I suppose we could have implemented things so that it would not show you that message if you haven't done any interactions with your page in Live View, but I think that would actually be more confusing, as it would sometimes work and sometimes not work. And even if we could automatically switch over to Local/Network mode for BrowserLab while you're in DW's Live View mode, we probably wouldn't because we want that to be a choice made explicitly by our users.
    Thanks for your interest in BrowserLab, I hope this helps,
    Mark

Maybe you are looking for

  • Importing fdf with js always get security warning

    Hi, I have a form with some options (1 category as text with drop down and 5 radio button). The selection get the name of the fdf file to import. On import I get every time the security warning. I select the "Remember this action..." and I click "All

  • How do I add a date stamp to photos

    How do I add a date stamp to photos

  • Bought Iphone need to create custom ringtones

    Well, i've read some of the posts before but its not seeming to help... I have garageband 3 and do not have the selection of "sending ringtone to itunes" since i do not have garageband08. So, the problem is that i create my song on garageband and the

  • Audio out: 5.1? AC3? DTS?

    Does any one know if the new MacMini (Intel) digital audio out port sends the ac3 or dts 5.1 streams, or is it stereo only? If the former, this would make an interesting "DVD" player. Ed

  • Error 'Enhancement RSR00001 already belongs ....'

    Hi, While creating a project in CMOD, while assigning an Enhancement RSR00001 it displays an error 'Enhancement RSR00001 already belongs to project Y....'.