Custom RFC + Net.Connector 2.0

Hello, All!
I have a question. I wrote my own RFC, and I want to generate a proxy class for it. The problem is that when I navigate through RFCs in the server explorer in Visual Studio .Net, I don't see my RFC. I refreshed the list but still it is not on the list.
Can you tell me what is the solution to this? Does it depend on the development class?

The question was answered in another subforum:
"I would look at your RFC to see if it has the option 'Remote enabled' check."

Similar Messages

  • Connection with Customized RFC

    Hi,
         i am trying to connect with the SAP RFC that is not the inbuild one but its a customized RFC in SAP.
    Is there any different way of connecting through customized RFCs or its a normal way?
    Is anybody have done similar work.

    Hi Naren,
    how are you doing ?
    >>Thanks a lot for the mail. Amit,
    you are most welcome
    >>where to set this FM properties (Is it in .net or SAP).
    at this point i'd recommend that you do some reading starting with :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/51/d5470940fd564b888f4beb9523fa6c/frameset.htm
    this should help clarify many things
    the setting lies in the SAP system. it is definied on the RFC [remote function call]
    when you have logged on the the SAP system [your backend] open transaction : se37, select your rfc, select edit, select properties, select remote enabled.
    save and then activate the rfc
    >> What FM stands for ?
    FM = function module
    a RFC is a FM which is remote enabled
    remote function call
    only after any FM is remote enabled, will it be visible in the visual studio server explorer, and only after that can a proxy be generated
    >> i just have the RFCs name on which i have to establise the connection to fetch
    >> the data. i able to connect to this RFC but its not returning me any data.
    if you are able to connect to this RFC , then it would mean that the FM is already remote enabled
    >>there is no error in the code but its not returning me the data.
    at this point you have successfully established a connection, what remains for you is to study the input parameters and ensure that you correctly populate the input structures. also keep in mind that the results are user & client specific, so ensure using transaction se37 that your inputs are fine and you receive the expected results
    [hit F8 for a single test of a RFC]
    my asnwer is similar to Daniel's in your other thread
    Not able to fetch the data using RFC
    my request to you is to read more documentation on how to create NCo proxies
    please read Rima's answers here
    .Net Connector 2.0 Samples
    and if you chose to do a search for 'samples' in this forum, you will come across other valuable resources which will give you a gr8 start for most regular working tasks.
    happy reading )
    with respect,
    amit
    Message was edited by:
            amit chawathe

  • Getting Error while creating the proxy generator in Dot Net Connector 2003

    Hi,
    While creating the proxy generator in Dot Net Connector 2003 i am getting following error: I am successfully able to login into the SAP system and able to select the SAP tables but during the final step of proxy generator wizard i am getting following error:
    <b>----
    Error in Proxy-Generator
    To create a proxy directly from a SAP system, you must install a Java VM from JavaSoft
    Inner error was:
    Object reference not set to an instance of an object.
    OK  
    </b>
    I have already installed the Java JVM on my machine its version is as follows:
    <b>java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)</b>
    Regards,
    Ravi Shah

    Hi Amit,
    I doing good!!!! Thanks for the response.
    I uninstalled the earlier version of JVM and installed the latest version of JVM i.e. jre-1_5_0_09-windows-i586-p.
    I got the proper entries under registry mentioned below:
    <b>Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in]
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_09]
    "JavaHome"="C:
    Program Files
    Java
    jre1.5.0_09"
    "UseJava2IExplorer"=dword:00000001
    "HideSystemTrayIcon"=dword:00000000
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
    "CurrentVersion"="1.5"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5]
    "JavaHome"="C:
    Program Files
    Java
    jre1.5.0_09"
    "RuntimeLib"="C:
    Program Files
    Java
    jre1.5.0_09
    bin
    client
    jvm.dll"
    "MicroVersion"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5.0_09]
    "JavaHome"="C:
    Program Files
    Java
    jre1.5.0_09"
    "MicroVersion"="0"
    "RuntimeLib"="C:
    Program Files
    Java
    jre1.5.0_09
    bin
    client
    jvm.dll"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update]
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
    "Country"="IN"
    "PostStatusUrl"="https://sjremetrics.java.com/b/ss//6"
    "EnableJavaUpdate"=dword:00000001
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start]
    "CurrentVersion"="1.5.0_09"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1]
    "Home"="C:
    Program Files
    Java
    jre1.5.0_09
    bin"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_02]
    "Home"="C:
    Program Files
    Java
    jre1.5.0_09
    bin"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_03]
    "Home"="C:
    Program Files
    Java
    jre1.5.0_09
    bin"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_04]
    "Home"="C:
    Program Files
    Java
    jre1.5.0_09
    bin"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_05]
    "Home"="C:
    Program Files
    Java Web Start"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2]
    "Home"="C:
    Program Files
    Java
    jre1.5.0_09
    bin"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2.0_01]
    "Home"="C:
    Program Files
    Java
    jre1.5.0_09
    bin"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2.0_02]
    "Home"="C:
    Program Files
    Java Web Start"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.5.0_09]
    "Home"="C:
    Program Files
    Java
    jre1.5.0_09
    bin"</b>
    After installation I opened the Dot Net connector proxy client wizard . I followed the series of step during Dot Net connector configuration:
    1. selected the SAP connector.
    2. The next screen 'Enter Logon Information' comes where i entered the following information System as 'custom', host='IP address', Id='00' but by default it turns to '0' , client='800', user='user id' and password ='password'.
    3. After clicking on Next button i am successfully logon into the SAP system.
    4. The next screen in the wizard is 'selectall the remote function modules that you want to be part of your proxy object'. After selecting the SAP tables and clicked on Next button I am getting following error
    <b>
    Error in Proxy-Generator
    To create a proxy directly from a SAP system, you must install a Java VM from JavaSoft
    Inner error was:
    INFO: using logging implementation "AII Logging"
    Exception in thread "main" com.sap.aii.upload.api.LoginException$WrongPassword: Invalid user/password combination
         at com.sap.aii.upload.sap.SAPConnection.connect(SAPConnection.java:94)
         at com.sap.aii.upload.sap.SAPConnection.<init>(SAPConnection.java:38)
         at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:81)
         at com.sap.aii.upload.tool.RFC2WSDLTool.main(RFC2WSDLTool.java:196)
    OK  
    </b>
    Thanks and Regards,
    Ravi Shah

  • Can we use custom RFC in creating models in Visual composer??

    Dear Experts,
    Can we use custom RFC in creating models in Visual composer??
    If yes, kindly provide some documents or links which would guide me how to achieve it.
    Warm Regards
    Upendra Agrawal

    Hi,
    Yes,you can do it.
    Configure the rfc and use like others Standard BAPI procedure.
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc/connectivity]
    Regards,
    Govindu

  • How to get the SharePoint user context available in custom federated search connector?

    Hi,
    I'm investigating the possibilities for developing a federated search connector for SharePoint 2013 Online. This should allow us to search a customer's database through our custom developed application (both on premise). We intend to develop
    an remote federated search connector (using OpenSearch protocol) and configure a result source in SharePoint for that connector.
    The problem I'm struggling with is that I want different search results from this ressult source based on the permissions of the user that is executing the search. The admin should find a lot because he has permissions on certain items in the custom
    application. The employee should find just a few because he has no permissions on certain items in the custom application. We developed the custom application ourselveds and the search in that application is taking permissions into account: it doesn't
    return results if a user doesn't have sufficient permissions. That part works just fine.
    However, to be able to use that, the remote federated search connector must be able to identify the user that is executing the search in SharePoint Online. So: how do I get the SharePoint user context in the remote federated search connector?
    I know I can configure the replacement token {User.Name} in the result source configuration, but that gives me the name of the user only. This is insufficient to get an identity, principal, token or whatever, that let's me log in into our custom
    application.
    I also know that in a provider hosted app, user context is passed through from SharePoint and is known within the remote app. But since result sources need fixed (or anonymous) credentials configuration for connecting to the remote federated search connector,
    all users will be using the same credentials. This makes me assume these credentials are for securing communication and cannot be used within the execution of the search within the remote federated search connector.
    At the moment, I'm stuck. Any help will be greatly appreciated.
    Cheers,
    Ruud.

    Hi,
    Per my knowledge, we cannot get the SharePoint user context available in custom federated search connector with other methods.
    Here is a similar thread for your reference:
    https://answers.atlassian.com/questions/263735/atlassian-sharepoint-connector-federated-search-authentication-and-authorization
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Error when accessing a custom RFC from the ISA framework

    Hi,
    I am trying to add new functionality to Ecommerce 5.0 by providing my own custom actions and calling a custom RFC. I followed the procedure given in "Development and Extension Guide u2013 SAP E-Commerce 5.0" i.e., "Extension Demo 6: Copy-Template for Customer Extensions"...
    I am passing 2 parameters company code and customer number to the RFC via JCO.Function.getImportParameterList().setValue(String) one of which is a value "BP01"..I am getting back an error saying
    Guest#0##n/a##8a55139c594311df8f0a000000000000#SAPEngine_Application_Thread[impl:3]_17##0#0#Error##Plain###Field BP01 not a member of INPUT#
    I checked with the SAP guys at my work, the function module works well with those parameters from the GUI.. NOt sure what the problem could be..
    Any kind of input could be of help
    Thanks
    S

    Thanks for your help guys, Your answers were accurate for Ecommerce 6.0 and higher, I just learn t that E Commerce 5.0 uses Sapjco 2.X and there is a slight difference in the way we set the import parameter list..
    In SAPJCO 2.x, we need to set
    <b>myFunction.getImportParameterList.setValue<u>("Value", "FieldName")</u>;</b>
    where as in new SAPJCO3.x, we need to change the order i.e.,
    <b>myFunction.getImportParameterList.setValue<u>("FieldName", "Value")</u>;</b>
    I am glad that my problem got solved
    Cheers..

  • RFC JAVA CONNECTOR CAUSING THE JAVA TO BE IN SAFE MODE

    Hi GURUS :
    We have SolMan with JAVA as Add in . Now during the JSPM Launch the JSPM Aborts with the Err Messages as shown :
    in trace file dev_jrfc.trc and in defaultTrace we have this same message :
    >>>>
    #1.5 #0003BA951BE1004C0000000500007486000456B88DE8595D#1221250561628#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine#J2EE_GUEST#0##n/a##d7e28da080f311ddc3de0003ba951be1#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#/System/Server#Plain###Bean SLDJAVA_ACCESSOR_REQUESTnot found on host <fqdn of host name> ProgId =JCOLDAPI: Path to object does not exist at rfcaccessejb_stateful, the whole lookup name is rfcaccessejb_stateful/SLDJAVA_ACCESSOR_REQUEST.registered entries for FuctionName=JNDIName : {}#
    #1.5 #0003BA951BE1004C0000000600007486000456B88DE85D04#1221250561629#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##n/a##d7e28da080f311ddc3de0003ba951be1#SAPEngine_Application_Thread[impl:3]_27##0#0#Error##Plain###java.lang.RuntimeException: Bean SLDJAVA_ACCESSOR_REQUESTnot found on host <fqdn of host name>, ProgId =JCOLDAPI: Path to object does not exist at rfcaccessejb_stateful, the whole lookup name is rfcaccessejb_stateful/SLDJAVA_ACCESSOR_REQUEST.#
    #1.5 #0003BA951BE1004C0000000700007486000456B88DE85E8C#1221250561629#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##n/a##d7e28da080f311ddc3de0003ba951be1#SAPEngine_Application_Thread[impl:3]_27##0#0#Error##Plain###java.lang.RuntimeException: Bean SLDJAVA_ACCESSOR_REQUESTnot found on host <fqdn of host name>, ProgId =JCOLDAPI: Path to object does not exist at rfcaccessejb_stateful, the whole lookup name is rfcaccessejb_stateful/SLDJAVA_ACCESSOR_REQUEST.
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:138)
         at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    <<<
    Now , this JCOLDAPI is Java RFC Connector with User PORTALADMIN and at the ABAP Side we see that the J2EE_ADMIN pwd was changed by this PORTALADMIN !! We had at the same time stamp, the message in the log file of the JSPM that credential supplied to log in to J2EE Engine is not valid ( 'cause, the PORTALADMIN had changed the PW
    of the J2EE_ADMIN ) - While attempting to Launch the JSPM for JAVA Patches > It aborts with the same above message !!
    Half of the SW Comp were updated and rest half aborts repeatedly with the above message.
    Same way the Vis Admin won't start with the msg that Credential to connect J2EE is not valid. Although there was no change at the Config Tool Secure Store > J2EE Admin and SAPSR3DB passwords !!
    I have changed both the J2EE_ADMIN and the PORTAL ADMIN to the User Type Service User ( note 622464 ) ..have
    kept the same pw at ABAP and configtool secure store. But the java is not coming up neither through SMICM nor through the startsap j2ee command as SMPADM.
    i.e. it would comeup only in SAFE Mode !!
    This JCOLDAPI RFC Java Connector 's PORTALADMIN has several rights at the ABAP Side and is used for EWA Purpose.
    JAVA is running in SAFE mode and no matter how many time I try at the config tool Side to bring it in normal mode it is not swithcing to normal mode > I disble the safe mode at the ConfigTool Side > Apply > Save . > Restart the JAVA through the jcmon > shutdown and restart cluster under #10 Cluster Admin Menu > it is coming up only in SAFE mode again with the abvoe error message !!! Restart through the SMICM don't even work at all !!. Also, the system is slow ..even to come in safe
    mode JAVA takes about 45 minutes !!!
    Also, since the JAVA is coming up only in safe mode the SLD and the browser page is not available. The jcomon displays the instance status as ' Synchronizing Binaries' since
    last 20 hours ..this  means that the instance is in hang state.
    Any idea how to solve this problem ?
    Thanks a Lot in Advance,
    Regards,
    - Ishan
    Edited by: ISHAN P on Sep 13, 2008 2:54 PM

    hi ishan,
    do you have solved the problem?? as ??
    thanks
    umberto

  • How to call Custom RFC enabled Function Module in R/3 From XI

    Hi Experts,
    I want to call custom RFC enabled Function Module by sending some input parameters from XI.
    How to do this
    Thnx
    RAMS

    Hi RAMS,
    1. Under the SWCV Go to the Imported Objects.
    2. Right click on the RFC and click on the Import of SAP object.
    3. Give the logon server name, system number the user name and pasword.
    4. Select the RFC u want to import.
    5. Execute the import and the RFC is imported under the SWCV.
    Now u can use this Imported RFC in the scenarios of that SWCV.
    Regards
    Santhosh
    Remember to set the thread to solved when you have received a solution

  • Intercompany customer/vendor netting

    Can someone pls share what is the IHC config steps required for intercompany Customer/vendor netting.
    is there a way to make payment from F110  run from Intercompany vendor, clears receivale balance by Financial statement posting to the intercompany customer.
    customer vendor belong to same company.
    Thanks-Vivek

    Hi Vivek,
    In the case of customer receivables, you can set-up a company code as a customer. For example you have company code 0001 and company code 0002. You want company code 0001 to collect from company code 0002. You can simply set-up company code 0002 as a customer in company code 0001. Let's say company code 0002 will be customer number 11002. You create a customer invoice for 11002 in company code 0001 and then run F110.
    Postings will be the same as how normal customers are.
    Hope this helps!
    Josef

  • How to Import the RFC (Custom RFC  made ) which is available in SAP systems

    I have to use a custom RFC which is made by an abap developer in my XI scenario. I dont see any "Imported objects" tab  under my scenario in IR . I can only see  "Imported objects"  under SAP basis 6.40 . When i right click the link "Import of SAP object " is disabled .
    Am i looking at the right place . can any one help me on this

    Hi Amit,
    Just follow this sequence :
    integration repository --> software component double click  --> select radio button which says “import of RFC and IDOC interfaces from SAP systems Permitted”. --> provide the connection data for import from SAP System --> then under imported objects, you have RFC --> right click and say import of sap objects --> then give your server details and import the RFC you want.
    I hope this makes things clear to you.
    Regards,
    abhy

  • COMMIT for Custom RFC

    Hi,
    We have some custom RFCs which use BAPI(no implicit commits) calls and some standard function modules(they have implicit commits). We do not want to have COMMIT in the ZRFC codes.
    So will XI be able to handle the COMMIT/ROLLBACK based on the RETURN-TYPE ? I heard from SP14, XI can assign COMMIT/ROLLBACK to custom RFCs similiar like BAPIs.
    Is there any config needs to achieve this ?

    Hi ram,
    In the receiver adapter you can specify the commit control for individual BAPI calls
    Check this link~
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/frameset.htm
    Hope this helps,
    Regards,
    Moorthy

  • Custom RFC model in ESS General Data

    Hi,
    I want to create a custom RFC model in generaldata component and personaldata component.
    This is my requirement.
    I want fax number in Generaldata view and I want to hide date of birth in personaldata view.
    I dont see fax number in model used for Generaldata and also country in model used for Personaldata.
    I am trying to use custom RFCs to get the work done, but I am not sure if I can import the same or if it is going to do the work.
    Even if that is possible, I want to know what impact it has for support package upgrades.
    Thanks and regards,
    Chinnu

    Hi yzme,
    You can use any of the JCO connection sets to create new Model.
    If all of these JCO connection are configured in your Message Server
    1>     WD_RFC_METADATA_DEST
           WD_MODELDATA_DEST
    2> SAP_R3_SelfServiceGenerics
        SAP_R3_SelfServiceGenerics_MetaData
    3> SAP_R3_HumanResources
         SAP_R3_HumanResources_MetaData
    Regards,
    Mithu

  • Details of SAP. Net Connectors with SAP

    Hi,
    Does SAp.Net Connector Supports mySAP ECC 5.0 Version are else any additional software or upgrade or any pulgins to be added.
    Can any one send me the Flow chart of how to connect SAP.Net connector with SAP, I ment the Process Methodology.
    Any suggestions will be much Appreciated.
    Thanks & Regds.
    Ramesh

    Hi Ramesh,
    U ll find all details for the implementaion of SAP.Net Connector in this link...
    http://help.sap.com/saphelp_nw04/helpdata/en/b4/79cb9463b89a41a73e1e2805eb4bf7/frameset.htm
    The following link gives u the programmers reference:
    http://help.sap.com/saphelp_nw04/helpdata/en/27/3fef6927ad044da62dee1b86d68ec2/frameset.htm
    and u can use this link:(esp from page 4)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fb4dc990-0201-0010-429a-bf43852a6895
    regards,
    Manikandan R

  • Custom Flat file connector

    All,
    I have a clustered environment with OIM 11gR2.
    And I have developed a custom flat file connector using a schedule job and it is working properly.
    The issue is when I run the job manually, it is running only on one node from which I triggered manually. In this run, the calll not at all going to second node.
    Please let me know how to make it is being processed in all the nodes that are in the cluster.

    There are 2 ways to create Scheduler in 11g.
    1. Extending SchedulerBaseTask - 10g approach. This requires that jar file containing the code to be placed in ScheduleTask folder in all the servers of weblogic cluster.
    2. Extending TaskSupport - 11g approach. This requires importing metadata for scheduler and registering the scheduler code as plugin.
    If you following approach 1, check if the jar file is placed in all the managed servers of weblogic cluster.
    For the second approach, since it is registered in DB, job trigger would work from any member of the cluster.

  • [Hierarchy] ... but with custom RFC

    Hi,
    I would like to know if it is possible to have both advantages of Query (for the support of hierarchies) and custom RFC (for flexibility).
    What makes VC able to recognize query data ?
    If I have the same output structure as with the FM 'RS_VC_QUERY_DATA_FLAT', will VC be able to display the indent, the '+'/'-', ... ?
    That would make possible to build data table that would not rely uniquely on queries.
    Thanks in advance.
    Best regards,
    Guillaume

    This little "hierarchy-functionality" only kicks in, when the dataservice is of type BI AND has hierarchies on this field enabled.
    So, unfortunately no chance with an RFC.
    The only (very awkward) way to do that is to use a remote cube on this RFC and using a BI query then. But then you'd basically still need to load the master data into BI and make it have a hierarchy.

Maybe you are looking for