PROBLEM WITH RFC DESTINATION

Hi GURU,
I have a problem with the record of RFC destination.
When i created RFC destination TCP/IP when i made the tests, it`s ok.
But when i used this rfc destination in a  function of ABAP. I have an error. The error is:
RfcExecProgram'#Win32 error 2: The system cannot find the file speci
Can you help me??
What should I do to run properly?
Thank for all.
regards,
RAFA

Hi,
Even I am also new to SAP , but I have little knowledge about RFC, try to create your RFC of type 3 (ABAP type ), then if you use this RFC , I hope no problem will come if the authorization details and IP /Host name of the destination system are perfect.
also Please suggest me why ( when ) we use TCP /IP type of RFCs

Similar Messages

  • HTTP with RFC destination problem

    Hi,
    We're doing an SAP R/3 --> XI --> External System scenario. We've had no problems making the SAP R/3 to XI work. For XI to External System, we're using the Plain HTTP adapter with an RFC destination. The Server, Intermediate and Root CA of the External System have been already installed on the ABAP layer of XI using the transaction STRUST/STRUSTSSO2 . The Server Certificate and Root CA of XI have also been installed on the External System Server. The problem is that everytime we test the RFC destination, we are still getting an ICM_HTTP_SSL_ERROR
    Additional Parameters:
    SSL has been enabled on the RFC destination
    All three certificates can be found in STRUST
    Regards

    HI
    is the certificate same for both of you have installed external system certificate and external system have PI certificate
    Check SAP note 510007
    Check similar threads
    ICM_HTTP_SSL_ERROR
    ICM_HTTP_SSL_ERROR for plain HTTPS with RFC Destination type G
    Thanks
    Gaurav

  • Problem with RFC connection - tp program not registered

    Hello everyone
    recently there  has appeared a problem with the RFC connection on our system - we received the following set of messages:
    Trace file opened at 20101221 130738 Central European Standard Time, SAP-RE
    ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Tp program is not registered.
    ABAP Programm: RSRFCPIN (Transaction: SM59)
    User: xxx(Client: 100)
    Destination: SIDRFC_IFSAPHRCZPKCP (handle: 2, , )
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
    CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Program transakcji nie jest zarejestrowany
    DEST =SIDRFC_IFSAPHRCZPKCP
    HOST =%%RFCSERVER%%
    PROG =IFCZPKCP
    GWHOST =ssapprod
    GWSERV =sapgw21
    I tried to register program with a command:
    rfcexec -aIFCZPKCP -gssapprod -xsapgw21
    but with no success - the program didn't appear on the list of logged clients on the system in gateway monitor. Frankly speaking we do not know now what else we can do - please help!
    We have ECC 6.0 (SAP_BASIS 700 SP18) on Windows Server 2003 R2 x64.
    Thanks in advance for any help.
    Regards
    Peter

    Hi Salim
    thanks for your reply.
    ./rfcexec -a(PROG_ID) -gssapprod -xsapgw21 &
    The syntax you're providing refers to UNIX systems, but I did similar thing on our Windows system - I tried all of the following methods (unfortunatelly without success):
    rfcexec -a(PROG_ID) -gssapprod -xsapgw21
    full_path_to_rfcexec.exe -a(PROG_ID) -gssapprod -xsapgw21
    rfcexec -a(PROG_ID) -gssapprod.domain -xsapgw21
    full_path_to_rfcexec.exe -a(PROG_ID) -gssapprod.domain -xsapgw21
    Can you advise me what to do now?
    Thanks
    Piotr

  • Facing problem with RFC connections

    In the Maintenace View for RFC connections, when I press the 'Apply' button I am getting the message"You have no authorization to display the destinationu201D for all the 4 destination IDs"
    Can somebody suggest on how to overcome this problem?
    Thanks,
    Mohammed Tauseef Ahmed

    Hi
    The message over here means the user with which you are logged into the control system and the CPIC user that you may be using to create RFC destinations to the other systems in the landscape do not have the right authorizations.
    It is recommended that all the users have the role TDMS_USER (atleast) or TDMS_MASTER assigned to it.
    Once the role is assigned it will work fine.
    Regards
    Pankaj.

  • Problem with RFC-XI_SOAP Scenario

    Hello Guru's,
    I am stuck with a scenario in RFC-XI-SOAP.  Its a simple scenario where in I am trying to pass in two numbers to a web service and the web service will return the addition of two numbers back to the RFC.
    The scenario configuration looks perfect.  I have referred all the related blogs (blogs related to RFC-XI-SOAP scenarios) after I configured the scenario.  The RFC destination which I created was tested successful.
    When I executed the RFC at the destination, it threw a dump saying "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:".  When I checked the sender RFC adapter in RWB, this is the message what I got
    - Error: 2008-01-09 12:04:29 GMT+05:30: Message processed for interface ZRFC_SAMPLE_ADD: com.sap.aii.af.mp.module.ModuleException: call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapter:ADAPTER.SOAP_EXCEPTION:soap fault: Server was unable to read request. ---> There is an error in XML document (1, 166). ---> Input string was not in a correct format. caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapter:ADAPTER.SOAP_EXCEPTION:soap fault: Server was unable to read request. ---> There is an error in XML document (1, 166). ---> Input string was not in a correct format.
    For the message it quite clear that there is something wrong with the format.  But when I tested WSDL in XML spy, it ran fine.
    Could anybody help me with the cause of this problem?
    Thanking you in advance,
    Vijay

    Hi Biplab,
    Thanks for getting back !!!
    The structure of the RFC is quite simple.  It just has two import parameters and one export parameters.
    Fyi.... I am pasting down the structure of the RFC and WSDL below.
    Structure of RFC----
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(INPUT1) TYPE  I
    *"     VALUE(INPUT2) TYPE  I
    *"  EXPORTING
    *"     VALUE(OUTPUT) TYPE  STRING
    Structure of WSDL----
    <xsd:element name="Addition">
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="a" type="xsd:int" />
                                  <xsd:element name="b" type="xsd:int" />
                             </xsd:sequence>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element name="AdditionResponse">
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="AdditionResult" type="ResultClass" minOccurs="0" />
                             </xsd:sequence>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:complexType name="ResultClass">
                        <xsd:sequence>
                             <xsd:element name="c" type="xsd:string" minOccurs="0" />
                        </xsd:sequence>
                   </xsd:complexType>
    Any suggestions plz !!!!
    Thanks,
    Vijay

  • Problem with RFC INTEGRATION_DIRECTORY_HMI

    Hello !
    I h’ave one problem with the RFC connection INTEGRATION_DIRECTORY_HMI.
    When I test it, SAP ask me in a pop-up window an user/password.
    I’m sure that SAP should’nt ask me another user/password like I fill it (XIISUSER) in the definition of the RFC destination.
    Coul someone help me ?
    Thanks in advance

    Hi,
    this problem are strang. I also have this problem with my
    test installation. Even when i try the trick from Lui it
    doesn't work in my case. The popup screen still appeare.
    I futhermore have problem with the abap cache refresh in
    full mode where i describe in another topic. I would also
    interested how to get rid of this problem.
    For Martial:
    did you install a new XI-System with NW04-SR1 on windows
    e.g. windows 2000 Server? Did you have also the cache problem on the abap side?
    regards,
    Ly-Na Phu
    Message was edited by: Ly-Na Phu

  • Problem with RFC call between different clients. Plesae help!

    Hi Experts,
           I have a RFC enabled function module in one SAP instance 'A' where the client is 130. I am trying to call this function module from another SAP systen 'N' where client is 220. RFC destination has been set in 'N' system.
    The RFC functin module pulls data fromm a custom table. For a given input it is puuling data in 'A' system.
    But when I call it from 'N' system with the same input it is not pulling the data.
    I feel the problem is with teh different clients.
    please help me how to resolve this.
    Is there any setting in RFC destination?
    Thanks
    Gopal

    Hi gopalkrishna,
    1. Is there any setting in RFC destination
    Ofcourse there is.
    2. The tcode is sm59.
    3. Where u have maintained in system 'N',
       we have to specify
       a) Server 'A'
    <b>   b) Client Number 130</b> 
    4. So while calling from N(220),
       it will connect A(130)
       and fetch data from A(130) only.
    regards,
    amit m.

  • Post Install Activities Problem - Checking RFC Destination

    I "successfully" installed Web AS 6.4 SR1 ABAP Non-Unicode.  I am following the instructions in SAP Web Application Server 6.40 SR1 ABAP on Windows: MS SQL Server guide.  The Post Installation instructions (2.2.6) require that I Check the RFC Destinations if my the database is located on a remote server from the central instance server.
    The instructions tell me to locate the SAPOSCOL_<DB_Hostname> under the TCP/IP connections and if I cannot locate it I must add it.
    In my case I cannot locate it so I want to add it.  However, I do not know what data I must enter in the various fields of the RFC Destination screen.  Example: what is the connection type for SQL Server
    Thank you.

    Hi Doug,
    Is your database installed on a separate host from the SAP software? If not, you can safely ignore this recommendation and move on.
    We have many systems on Win / MSS on 6.40 ABAP / Java with db and SAP on the same systems. None of my systems have this RFC, and I am not aware of any problems due to the lack there of.
    Regards,
    Sanket

  • Problem with RFC for Risk Terminator - GRC 5.2 SP12

    We are having a problem with the RFC connection for Risk Terminator in one of our SAP environments.  It is working in our 'DV3' environment, but not in our 'RT3' environment.  Everything is set up just the same in both environments and all SAP Adaptors show green.
    This was working in RT3 when we first upgraded to GRC 5.2 last November, but it now gives me an error when I do an update with PFCG and it calls RT.  The error message and our Basis support group both say the RFC needs to be 'registered', but our SAP Support contact during our upgrade said it does not, and I can't find any documentation that says this is required also.  Plus it was working before even though it was unregistered.
    What is causing this problem and how do I resolve it?
    Also, if these RFCs do not have to be registered, is there some documentation that states this that I can show to our Basis group?
    Thanks.

    What about the question of the RFC needing to be registered?  This is the solution our Basis group thinks is required, so it will be hard to get them to do anything else until this issue has been addressed.
    Thanks.

  • Problem with RFC Communication in BPM

    Hi,
       I'm again facing problem with transfer of
    File->RFC->File scenario.The error in sxmb_moni is given below .
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>
      <SAP:P1>Error opening an RFC connection.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error
    opening an RFC connection.</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Can anyone help me in fixing out this problem.
    Regards,
    Prashanth K.R,

    Hi Prashant,
    Just click onto your namespace and verify the details given in the "Connection data for import from SAP system". Check whether its matching the system from where you have called the RFC.
    hope this will help u.
    regards
    divya
    Message was edited by: Divya Nambiar

  • Massive problem with remote destination

    hello all,
    we have massive problems with our remote destinations.
    after i create the remote destination profile and added the line, i create the remote destination for my mobile phone. 
    all ok so. but if im associate my mobile phone with the line by choosing Line Association i´m no able to reach many numbers in my company anymore.
    there is no ringing tone. there is nothing and after 20-30 seconds i got an busy tone.
    if i delete the Line Association i can reach the number normally.
    Perhaps you got any idea . I dont got any anymore

    finally we found the problem
    it was at the cucm service parameters.
    we changed " machting caller id with remote destination " to "partial match" after that all is working fine.

  • Calling Method with RFC Destination

    Hi
    This is probably a dumb question, but here goes.  Is it possible to call a method with a RFC destination ?
    Thanks
    Jill

    hi in your method pass the Destination as importing parameter, adn then you can call rfc in side the method by giving destination.
    you can do only this way.
    regards
    vijay

  • Issue with RFC destination during HCM - VDS - IDM configuration

    Hi,
    I am trying to configure HCM and IDM (v7.1) using VDS. I am following the Configuration Guide. While creating the RFC Destination, I specified program ID as LDAP_VD and in Gatewayhost I have entered the host of IDM Server (where VDS is also installed). In Gateway service I have put sapgw00. But when I do connection test, I get u201CERROR: SAP gateway connection failed. Is SAP gateway started?u201D. Looks like it is trying to connect to IDM server and is looking for sapgw00 (on port 3300) and is not able to find it.
    What could be the reason for error? Am I doing RFC destination configuration correct? Do I need to put HCM system host in the Gatewayhost field?
    Regards,
    Anurag

    Hi Anurag
    You have to enter the hostname of the SAP server, not the LDAP server.
    The LDAP connection is configured later.

  • Prob with RFC destination - 4.5B 2 XI ABAP

    Hi,
    I created an RFC destination type 3(R/3 connection) in 4.5B, to address Integration Server.
    It gives the following error.
    <b>Connection error  : Conversation 09163404 not found / CPI-C error CM_PARAMETER_ERROR</b>
    Can any one guide me on this.
    -Naveen.

    Hi,
    Please check on 'Authorisation to Read Metadata'at the end
    http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
    Regards
    Vijaya

  • Problem with RFC and empty table

    Hi,
    I have a problem using and RFC function module. The problem is that the RFC returns a table type, but even though the table is emtpy the tag is returned. I have this target structure who has a required subsstructure:
    Input:
    <RFC_function_module>
    <customers>
      <customer1>   
        <table1>  (0..1)
          <item>  (0..Unbounded)
           <salesorder>
      <customer2>   
        <table1>
          <item>
             <salesorder>
        <table2>     
           <item>        
              <accountdoc>
    result:
    <customers>
      <list1> (0..1)
        <table1> (1..Unbounded)
      <list2> (0..1)
        <table2> (1..Unbounded)
    The problem is that if i just do at simpel mapping the mapping returns error because the missing table2 in the result. Then i have tried with an Exists function but it seems like the mapping program searches the hole file for just one occurences. Not record by record.
    Do anyone understand my problem an has a solution?
    /Jakob

    OK - what do you mean by to level of mapping? Mapping to an "internal" structure first and then for the final output?
    The reason i do not whant to change the External defintions is because of changes. If the ones who have designet the external defintions ie.  adds a field or something like that, we should remember to change this kind of thing before updating.
    Jakob

Maybe you are looking for

  • Using apple TV with an LCD monitor

    I've hooked up an Apple TV to a Dell LCD monitor that has an aspect ratio of 16:10 using an HDMI to DVI connector. It seems to me that there is no really solid reason for the Apple TV to not allow support for 16:10 aspect ratio. Watching an espisode

  • Embedding edge animate video in muse don't work on firefox

    I do a simple animation in Edge Animate. A video and 2 buttons: 1 to play/pause and 1 to mute on/off. It's a resizable vidéo and I import it into Muse. She perfectly run on Chrome, Safari and IE9, but I have only the sound on Firefox. You can see my

  • Query on Increment Process

    Our customer wishes to handle the increment process in the following manner: 1. For employees, who have put in MORE than 1 yr of service in company as on 1st April, the increment amount to be processed through the Annual Increment process. In this me

  • Adoble digital editions for Mac OS X 10.6.8? download?

    Please help he find a compatible download for my mac, in adobe digital editions. Having issues syncing books onto my Kobo ereader.

  • Deregister provider in Portal

    I have created a custom database portlet using Portal 3.0.9.8.3 and have registered the same to portal. Now I have added customizations (personalization) to save user preferences. However if I just compile the portlet code none of the preference path