Problem connecting to SAP R/3 in CPIC with 6.20 library

Hi,
Any help or suggestion on this problem is highly appreciated. I'm currently facing a problem in connecting to SAP R/3 in CPIC with 6.20 library. The code return error at the call to CMINIT. Below is the code and error message:
============
Source Code:
============
CONVERSATION_ID convid[8];
PCPIC_CHAR dest;
CPIC_INT returnCode;
dest = sapr347;
CMINIT(convid, dest, &returnCode);
if (returnCode != CM_OK)
   printf("CMINIT: %d\n", returnCode);
   printf("SAP-INFO: %s\n", SAP_CMPERR());
   return;
printf("CMINIT succeeded");
===============
Error Message
===============
Return Code: 20 (CM_PRODUCT_SPECIFIC_ERROR)
SAP_INFO:
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host sapr347, service sapgw00)
TIME Wed Jul 14 00:36:36 2004
RELEASE 620
COMPONENT NI (network interface)
VERSION 36
RC -10
MODULE niuxi.c
LINE 1037
DETAIL NiPConnect
SYSTEM CALL connect
COUNTER 1].
NOTE:
=====The same program is working when we use 4.6 library====.
Best regards,
Brian

Hi vasu,
Have you tried connecting with another user? If not, first try doing that (for instance with your user). If connection is succesful compare the users. I think this have something to do with the ALEREMOTE user. Might be an authorization issue.
Try with different users (maybe one with SAP_ALL).
regards,
Dion

Similar Messages

  • Problem connecting to SAP Open Hub

    Hi, I am trying to set up a SSIS job  connecting to SAP Open Hub and have with support from the SAP guys been able to get some progress, but it has now stopped up on a error message we're not able to solve. Any suggestion on what can be wrong and
    how to solve this? When I run the package I get the following error message:
    SSIS package "D:\Source\MSBI\SapLoadStaging\Package3.dtsx" starting.
    Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning.
    Information: 0x40043007 at Data Flow Task, SSIS.Pipeline: Pre-Execute phase is beginning.
    Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute phase is beginning.
    Information: 0x3E8 at Data Flow Task, SAP BW Source: Process Start Process, variant has status Completed (instance DH88PUV2SZBIFKMIF48K3USME)
    Error: 0x3E8 at Data Flow Task, SAP BW Source: Process Data Transfer Process, variant /CPMB/HMIJYDZ -> ZOH_VPL has status Ended with errors (instance DTPR_DH88PUV2SZCA46Y9QNO66A6W6)
    Error: 0x3E8 at Data Flow Task, SAP BW Source: The component is stopping because the Request ID is "0".
    Error: 0x3E8 at Data Flow Task, SAP BW Source: No data was received.
    Error: 0xC0047062 at Data Flow Task, SAP BW Source [41]: System.Exception: No data was received.
       at Microsoft.SqlServer.Dts.SapBw.Components.SapBwSourceOHS.PrimeOutput(Int32 outputs, Int32[] outputIDs, PipelineBuffer[] buffers)
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPrimeOutput(IDTSManagedComponentWrapper100 wrapper, Int32 outputs, Int32[] outputIDs, IDTSBuffer100[] buffers, IntPtr ppBufferWirePacket)
    Error: 0xC0047038 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on SAP BW Source returned error code 0x80131500.  The component returned a failure code when the pipeline engine called PrimeOutput().
    The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    Information: 0x40043008 at Data Flow Task, SSIS.Pipeline: Post Execute phase is beginning.
    Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "OLE DB Destination" wrote 0 rows.
    Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.
    Task failed: Data Flow Task
    Warning: 0x80019002 at Package3: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (5) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches
    the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    SSIS package "D:\Source\MSBI\SapLoadStaging\Package3.dtsx" finished: Failure.
    The program '[6916] DtsDebugHost.exe: DTS' has exited with code 0 (0x0)
    Regards
    Paal

    Hi Paleri,
    According to the
    thread which has the same error message, the issue may be caused by incorrect RCF settings. Could you double check your RCF connection configurations such as DNS settings?
    If it is not the case, please also make sure you have installed the correct version of Microsoft Connector for SAP BW.
    Reference:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e2fbafe5-d9df-490a-bfad-3d4b9784a8ea/sap-bi-connector-for-ssis-2008?forum=sqlintegrationservices
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Problem connecting to SVN repository from Safari, works with FF

    *Hello guys,*
    I have a problem with Mac at work. I need to connect to internal SVN repository (https) first with Safari to see if everything is ok and then with my development client/tool - Eclipse.
    Neither works! It just keep connecting and it does not go further.
    But when I put SVN url in Firefox (FF) it ask me for SVN password and let me in. IT WORKS...
    Probably there is a problem with Keychain because it does not even ask me for password. I just see page loading in Safari but nothing happens. Also in Eclipse, nothing happens when I try to add SVN repository location.
    Other guys with MS and Ubuntu PCs can connect to SVN (FF and Eclipse) with no problem.
    Where is the problem?
    Why my Mac could not connect to this particular SVN.

    I digg some findings. When I open the page with Google Chrome it also does not load any thing, just keep loading.
    But when I open SVN url (ssl) with Opera, it behave like Firefox. First it tells me that this site is not trusted and after confirming this alert I get password promt and everything is ok.
    But there is still problem with Safari and Eclipse. Has Keychain anything here to do with this ???

  • Problem connecting on SAP Error OADM -2025

    Hi,
    i have a problem when i try to connect to Database Sap it give me an error message:"Trying to release mutex referred the caller is not the owner".
    What does hit means?????
    Everyone can help me???
    Valentina
    Edited by: Valentina Mioli on Jan 3, 2008 2:58 PM

    Hello Valentina,
    Did you use the example. Could you post (parts) of your code?
    For example:
    Dim oCompany As New SAPbobsCOM.Company
    oCompany.Server = "(local)"
    oCompany.LicenseServer = "localhost:30000"
    oCompany.CompanyDB = "SBO_PE_RSA"
    oCompany.UserName = "manager"
    oCompany.Password = "manager"
    oCompany.DbUserName = "sa"
    oCompany.DbPassword = "sqlpass"
    If oCompany.Connect 0 Then
    MessageBox.Show("Error: " & oCompany.GetLastErrorDescription)
    Else
    MessageBox.Show("Connected")
    oCompany.Disconnect()
    Good Luck
    Regards Teun

  • OSB - Problems connecting sync business service to resp. queue with login

    Hello,
    I have a synchronous JMS business service which uses the MessageID correlation pattern with statically configured request and response JMS queues. The JMS queues are imported using a foreign JMS and a connection factory with credentials (username and password). The requests seem to work just fine (they are received at the foreign JMS) but I still have problems with the responses. I get the following log entries:
    <Mar 31, 2010 1:50:10 PM CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ResponseEJB-8048850762288479454-46349ef3.127b3dbbff1.-7fe6 is unable to connect to the JMS destination: queue.local.name. The Error was:
    javax.jms.JMSSecurityException: User: null is not authorized to read from destination queue.external.name>
    It seems that the response is handled by a MDB which does not seem to use the username and password configured in the connection factory. Any ideas how to make it use the username and password of the connection factory to receive the response? I have tried both providing the connection factory for the response and leaving it empty (which would cause it to use the one from the request) - both with no success.
    I am really stuck here..
    Thanks,
    Dimo

    Alternatively you can try a very dirty way to make this work I think. The reason why the username in foreign server CF's username crednetials are not recognized is due to the fact that the deployment descriptors for the MDB should not specify a provider-URL and there should be a resource reference for the CF.
    Business service with reply queues generate a MDB under the hood . You can try to edit the deployment descriptors for this MDB to make this to work.
    Sample MDB weblogic-ejb-jar.xml for recognizing the foreign jms username
    Foreign JMS
    <foreign-server name=”ForeignServer”>
    <default-targeting-enabled>true</default-targeting-enabled>
    <foreign-destination name=”A”>
    <local-jndi-name>A</local-jndi-name>
    <remote-jndi-name>queue/A</remote-jndi-name>
    </foreign-destination>
    <foreign-connection-factory name=”FConf”>
    <local-jndi-name>FConf</local-jndi-name>
    <remote-jndi-name>ConnectionFactory</remote-jndi-name>
    <username>esbuser</username>
    <password-encrypted>{3DES}90sIZwo6Llr9r73p+VXkvQ==</password-encrypted>
    </foreign-connection-factory>
    <initial-context-factory>org.jnp.interfaces.NamingContextFactory</initial-context-factory>
    <connection-url>jnp://localhost:1099</connection-url>
    </foreign-server>
    weblogic-ejb-jar.xml
    <?xml version=’1.0′ encoding=’UTF-8′?>
    <web:weblogic-ejb-jar xmlns:web=”http://www.bea.com/ns/weblogic/weblogic-ejb-jar”>
    <web:weblogic-enterprise-bean>
    <web:ejb-name>RequestEJB-2518965873970113789–2352f820.127bd3f293c.-7fdb</web:ejb-name>
    <web:message-driven-descriptor>
    <web:pool>
    <web:max-beans-in-free-pool>1000</web:max-beans-in-free-pool>
    <web:initial-beans-in-free-pool>1</web:initial-beans-in-free-pool>
    </web:pool>
    <web:destination-jndi-name>A</web:destination-jndi-name>
    <web:connection-factory-jndi-name>FConf</web:connection-factory-jndi-name>
    </web:message-driven-descriptor>
    <web:transaction-descriptor>
    <web:trans-timeout-seconds>600</web:trans-timeout-seconds>
    </web:transaction-descriptor>
    <web:resource-description>
    <web:res-ref-name>jms/ConnectionFactory</web:res-ref-name>
    <web:jndi-name>FConf</web:jndi-name>
    </web:resource-description>
    <web:resource-description>
    <web:res-ref-name>jms/QueueName</web:res-ref-name>
    <web:jndi-name>A</web:jndi-name>
    </web:resource-description>
    </web:weblogic-enterprise-bean>
    </web:weblogic-ejb-jar>
    This needs to be done each time OSB generates a new MDB for the business service - eg. when the business service definition changes.
    Regards,
    Atheek

  • Having problems connecting to WiFi after Sleep Mode - Lion with most recent updates.

    I'm new to Apple and have the new MBP - what a great machine!
    So, I updated to Lion and have done all the updates for my OS. As of recent (after an update last week), I am having trouble connecting to the internet after I close my computer (Sleep) or Sleep mode due to inactivity. The only way to connect after said mode is to completely Restart the computer and then my problem is fixed. I've tried searching, but can't find anything. Any suggestions are welcome.
    Thank you

    William Rivas wrote:
    William Rivas wrote:
    William Rivas wrote:
    Linc Davis wrote:
    Test after taking each of the following steps that you haven't already tried. Back up all data before making any changes.
    1. Make sure the network is on the preferred list by following these instructions. It's important to read the article carefully, as it's the starting point for any further efforts to solve the problem. If you skip any of the steps, the problem may not be solved. Make sure the box marked
    Remember networks this computer has joined
    is checked.
    2. Follow the instructions in this support article under the heading "Symptom: The network connection drops unexpectedly."
    3. Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    4. From the Location menu at the top of the Network preference pane, select Edit Locations. A sheet will drop down. Click the plus-sign button to create a new location. Give it any name you want. In the new location, set up the Wi-Fi service with the same settings you used before. Click Apply and test.
    5. Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first.
    6. Repair permissions on the startup volume.
    7. Turn off Bluetooth and test.
    8. Reset the System Management Controller.
    9. Reset the PRAM.
    10. Reinstall OS X.
    Updating to 10.9.2 did the trick. So I thought. Does anyone have a solution?
    Thanks!

  • HT1386 i downloaded the new version of itunes. when i plug my phone into the computer to connect its saying my device is synced with another itunes library. how do i get my old itunes back? or how can i get my old itunes stuff to the new one?

    I downloaded the new version of itunes and when i plug my phone into the computer and try and do something in itunes it wont let me because my device is synced to another itunes library. how do i get my old itunes back? or how can i sync my stuff into the new itunes with out deleting anything off my phone? HELP

    Copy the iTunes folder from the old computer to your new one.

  • Problem connecting through RFC with fully qualified domain name

    I am using the .NET Connector and RFC to call a BAPI
    I use a fully qualified domain name in the form <DOMAIN>\<HOST>
    The RFC seems to have problems with this form of address. It produces the following execption in my .NET code.
    SAP.Connector.RfcCommunicationException: Connect to SAP gateway failed
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname 'DOCUNET_AG\DWSAP' unknown
    TIME        Mon Feb 05 11:57:20 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -2
    MODULE      ninti.c
    LINE        329
    DETAIL      NiPGetHostByName2: hostname 'DOCUNET_AG\DWSAP' not found
    SYSTEM CALL gethostbyname_r
    ERRNO       11004
    ERRNO TEXT  WSANO_DATA: Valid name,
       at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo
    , Encoding encoding, String languangeCode)
       at SAP.Connector.SAPConnection.Open()
    What can I do that I am able to use a fully qualifies domain name in this way?
    Thank you very much for your answers.
    Mirco

    Hi Mirco,
    additional to my first reply, open a shell window and type
    <b>
    ping <computername>
    </b>
    or
    <b>
    ping -a <ipaddress>
    </b>
    so you should get the full qualified name for the host.
    Regards
    Holger

  • Connection from SAP 4.0B System to IBM MQ Series

    Hi
    is it possible to connect <b>SAP 4.0B</b> System with <b>IBM MQ Series 6.0</b>,is the connection supported by SAP 4.0B?
    If supported I am confused with what is the <b>RFC Destination</b> to be used
    is it <b>R/3 Connections</b> or <b>TCP/IP connections</b>
    Thanks in advance
    Warm regards
    Rajasekhar

    Hi Anup
    Thanku for your valuable input, here in the TCP/IP connections can you please suggest what are the
    <b>ACTIVATION TYPE</b> to be used there are 4 radio buttons, is it the
    <b>Registered Server Program</b> OR
    <b>Start On Application server</b>OR
    <b>Start on Explicit Host</b> OR
    <b>Start on Front End Work Station</b>
    if it is the registered server program what are the values to be used for <b>PROGRAM ID</b>
    is it required to make any changes in <b>SAPRFC INI File</b>     
    Thanks in advance
    Warm regards
    Rajasekhar

  • I am having problems connecting to my home wifi with my iphone4s

    Over the past couple of weeks I have experienced a problem connecting to my home wifi service (Sky) with my iphone4s although my laptop connects fine. My phone also picks up the wifi at my place of work. At home when in close proximity to the router (netgear) on the phone the network name appears in the wifi settings but on the wifi networks page it does not get a tick against the name (wheel just keeps revolving). I have taken it back to the retailer (Vodaphone) and they recommend it be sent back to Apple (Liverpool or Manchester) as they consider it a hardware fault. I will be without the phone for probably 1-2 weeks and I use it within my working environment regularly.
    Has any one any ideas?
    jd
    ps. If I go down the route of 'forget this Network' will I need to do any resets on the router as I cant find the username and password when I enter my IP address for the router.

    are u there

  • Message - There was a problem connecting to the server.

    Just upgraded to Lion 2 days ago with no major problems. However, since then, a message keeps popping up saying "There was a problem connecting to the server. URL's with the type 'file' are not supported."
    I click the OK button and it goes away. It usually happens twice, then nothing for a while.
    Anybody know what that is about?
    Thansk in advance.

    Not until you let us know which os version you are using as well as the browser & its version. 

  • Problem in connection from SAP to XI

    Hi Guys,
    I have problem to connect from SAP to XI.  We have existing SAP R/3 (IS-H) and we newly installed XI. We decided to use ABAP proxy to send data from SAP to XI. When I go to SPROXY system showing ‘No Connection to Integration Builder’. Please kindly advice what configuration we need to in SAP side in order to connect XI.
    It’s Very Urgent. Please advice me.
    Thanks in Advance.
    Regards,
    Anil.

    Anil,
    could you please have a look to SAP Note 689847 - XI 3.0: SPROXY - No connection to the Integration Builder
    Cheers,
    -Sunil

  • Problem in connecting to Sap R/3 system through Crystal Reports

    Hi
    while I am connecting to Sap R/3 system through crystal reports i am getting an error
    (" you do not have a necessary rights to design reports against sap system ")
    can anyone sort out this problem?
    Thanking in advance

    you need to add some transport files while installing the integration kit for sap solutions.check whether all transport files are added

  • Problem when connect to SAP

    Hi All!
    When i create an Addon Application I Register String to connect to SAp by: Right click in my app/properties/Debug/ and input command line Agruments.
    And in myclasses I call:
    Private Sub SetApplication()
            '// Use an SboGuiApi object to establish the connection
            '// with the application and rturn an initialized appliction object
            Dim SboGuiApi As SAPbouiCOM.SboGuiApi
            Dim sConnectionString As String
            SboGuiApi = New SAPbouiCOM.SboGuiApi
            '// by following the steps specified above, the following
            '// statment should be suficient for either development or run mode
            sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
            '// connect to a running SBO Application
            Try ' If there's no active application the connection will fail
                SboGuiApi.Connect(sConnectionString)
            Catch ' Connection failed
                System.Windows.Forms.MessageBox.Show("No SAP Business One Application was found")
                End
            End Try
            '// get an initialized application object
            SBO_Application = SboGuiApi.GetApplication()
        End Sub
    to connect to SAP.
    But When i create many classes I call many this function so my application will timeout when I setup this Application for SAp. How to connect one time and using all.
    please help me solve this problem.
    Thanks

    Hi,
    1) Define a main class, which calls SetApplication and initializes SBO_Application.
    Public class clsSBO
      Public WithEvents SBO_Appln As SAPbouiCOM.Application
      Public sub New()
        SetApplication()
        CreateObjects()
      end sub
    your functions
    end class
    2) Create objects of all of your classes in the clsSBO.
    3) Whenever ItemEvent or MenuEvent happens, pass the event to the appropriate objects.
    Hope this helps.
    Please give points if you find this useful.
    Regards
    Geetha

  • Connection problem when importing SAP NW BW models into HANA developer ed

    I have successfully installed "AS ABAP 7.4 SP5 incl. BW on SAP HANA SP7 [Developer Edition]" and connected with the SAP GUI and added the system into HANA Studio and Eclipse.
    Being connected as SYSTEM in the modeleler (Eclipse & HS) I choose: File->Import->SAP HANA Content->SAP NetWeaver BW Model
    After selecting 'Next' I enter the following:
    Server name: A4H
    Host name: abapci
    Instance number: 00
    Client number: 001
    SAProuter string: <nil>
    User name: <BW user-id>
    Password: <BW pwd>
    When testing the connection or pressing 'Next' in order to connect the following happens:
    HS: nothing
    In Eclipse I get the followin message:
    Initialization of destination generatedJcoDestinationKey_6b3184ab-fb19-4073-9346-c8581df8c15f failed: Connect to SAP gateway failed
    Connection parameters: TYPE=A DEST=generatedJcoDestinationKey_6b3184ab-fb19-4073-9346-c8581df8c15f ASHOST=abapci SYSNR=00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       hostname 'abapci' unknown
    TIME        Tue Sep 02 16:14:31 2014
    RELEASE     721
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -2
    MODULE      nixxhl.cpp
    LINE        193
    DETAIL      NiHLGetNodeAddr: hostname cached as unknown
    COUNTER     8
    It seems to me as if the message is indicating that the 'hostname' is not abapci' which surprises me since on page 13 in the guide ( 
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/601fec98-f975-3110-a397-a322039ecc1a?QuickLink=index&… ) it explicitly is stated that the hostname is "abapci" (which also can be seen in the SAP GUI).
    Anybody got any ideas what is going on???

    Instead of 'abaci' you enter the IP-address.

Maybe you are looking for

  • Some patterns used in "replace text" block the whole IDE

    I sometimes need to do something like replace (.*) with tbl.\1 = rec.\1 This I thought should be achievable using regular expressions, but it is dangerous to use within sqldeveloper as it can freeze the whole program. Doing a single substitution work

  • Problem with run module.fmx

    I have windows xp sp2, database 10g and developer suite 10g. I have instaled Iinitiator. In forms/preferences/runtime application server url i wrote http://marcin:8889/forms90/f90servlet. I start Forms and oc4j. In forms I connect to base scott/tiger

  • IDVD doesn´t open - Image not founds - immediately  quits

    One week ago, i was building a DVD with iDVD. Everything worked just fine. But today iDVD immediately quits when i´m trying to open it. I am running MAC OSX 10.6.8 and installed the iPhoto and iMovie Update yesterday. The error-message of iDVD says:

  • JRE 1.3 in MAC???

    Hello, Can any buddy tell that is this possible to run Swing Applet iun Netscape 6 on MAC os 8.5 or later, or JRE1.3 is available for MAC. Waiting for your replies Mohsin

  • A question about noding

    Allo mis amigos, I'm sure somewhere in this vast forum someone has brought up this thought before - but did the 7.2 release making Logic totally compatible with Intel macs port the "node" feature along with it? I still use PPC but I was thinking abou