PHP INterface to SAP Error RFC_I05

Hi all,
I am using RFC calls from PHP to sap..I am facing with this issue.. just new to this PHP thing so please help me guys
Errors found during saprfc calls:
RFC Error Info :
Key     : RFC_IO5
Status  : CODE=CM_PRODUCT_SPECIFIC_ERROR STATUS=??? DATA=??? ID=???
Message : SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM  GWHOST=192.168.100.139, GWSERV=sapgw00, SYSNR=00
LOCATION    CPIC (TCP/IP) on local host
ERROR       partner '192.168.100.139:3300' not reached
TIME        Sun Oct 17 19:48:34 2010
RELEASE
Internal: IO HANDLE=1 DRV=EXT LINE=589 CODE=5

hi there,
you can simply see if the data really gets there by
+) looking into the respective tables or
+) let your function module return a good answer telling you if everything worked fine or not
+) view transaction ST11, file dev_rfc to see your data being communicated
regards,
anton

Similar Messages

  • SAP-Documentum Interface - getting an error as: Could not create PLM DIR.

    Hi all,
    We are facing following problem with the interface of SAP-Documentum.
    While linking multiple DIRs from Documentum, getting an error as: 'Could not create PLM DIR. (E26324) (Error in version number increment for version 00)'.
    Observation:
    It's getting failed in 'DIR_GET' every time, so attempts to create new DIR every time.
    Note:
    Recently upgraded to SAP ECC 6.0 EHP4.
    Please help.
    Thanks.

    Sachin,
    There are couple of things you could do:
    1) Try the same values and execute linking manually in sap by calling BAPI_DOCUMENT_CREATE2 in se37.
    2) Try pre-pending zeros to the equipment number field using WebAdmin on Documentum side.
    Send me a message if you need additional help. I have been working with Documentum-SAP integrations for over 10 years and pretty much seen every problem out there
    Sachin
    http://documentum-sap-expert.blogspot.com/
    Edited by: Documentum-SAP-Expert on Jul 20, 2010 2:56 AM

  • Dcs interface with sap pm

    Dear experts,
    can anyone explain me the basic steps and information  regarding dcs interface with sap .
    i want to do this sap implementation for the thermal power station.     i want to generate notifications and work orders when the parameteres of particular equipment crosses its range.
    how the important parameters from the dcs is linked with sap server.  how i can get the data from dcs and pass it to the sap system.
    can anyone give the helping hand.

    Hi,
    You can use XI as a connector instead of ALE to connect mySAP ERP to SAP Business One. The DI API is the connector for SAP Business One.
    The DI API or Data Interface API is part of Business One and the Business One SDK. B1i exists to easily connect mySAP and SAP Business One without typical coding that would be required simply by using XI to connect with SAP Business One and mySAP. B1i contains all of the connections, pre-defined content, message handling and error correction for common business scenarios to connect these to systems. Without B1i, you have to hand code everything. If you are not connecting with SAP Business One, then you may not have a need or requirement to use B1i. There are more detailed whitepapers here from the SAP Business One main page on SDN. You should have a look at those.
    You should have SAP Portal authorisation to access the following info. Go to sevicemarketplace -> smb -> SBO -> Install'n'Updates->Updates->Updates for SAP Business One->SAP Business One Releases prior to 2004->SBO-MYSAP INTEGRAT.TOOLKIT 1.5.
    You can find there an presentation how to Integrate SBO with mySAP via XI (https://websmp203.sap-ag.de/~sapidb/011000358700002285912003E.ppt)
    Thanks
    Swarup

  • Interface and SAP system issue

    hi Experts
    Scenario : We have External system (Interface) and SAP system. GR usually done in External system for stock materials PO , then it will transfered and updated in SAP system thro IDOC daily bases.
    And then in SAP ,Zreport is there to find out any discrepancy in stocks(Between Extrnl and SAP system).
    Problem: They had done GR in external system and they had transferred to SAP throu IDOC. (This usually bieing processed for 1000 of materials.
    Now for some materials its showing  discrepancy error in Zreport eventhough the SAP system got updated on stocks throu IDOC from external system. ( Not for all materials only for very few case).
    So any experts has come across this kind situation in thier experiance .. how to solve this ??
    Note : If any Bacth job is being done in background in SAP after updation the stocks in SAP system throu IDOC. How to find out the batch job in back groud ???
    Thanks

    hii
    Thanks for ur response.
    I did't mention in previous message, IDOC got posted in SAP system perfectly without any error . (I have cross checked IDOC).
    But after idoc posting in SAP system , the Zreport getting updated , so here is my confusion and doubt.
    Where there can be any system in background to update stocks in Zreport from SAP system. Is it possible to find from our side batch job has being processed between standard SAP and Zreport .
    There is any way to find ???
    Thanks

  • How does execute PHP Script from SAP?

    I've already installed SAPRFC and run SAP Function from PHP successfully. But failed when tried execute PHP script from SAP (SM59). Anyone can help me for a clear instruction for this problem?
    Thanks

    Hi Max,
    here is the Source:
    [code]
    #!/usr/bin/php -q
    <?php
    // SAPRFC - Server example
    // PHP server function RFC_READ_REPORT
    // Require: CGI version PHP, RFC destination defined in SAP R/3 (SM59)
    // http://saprfc.sourceforge.net
    // Interface definiton for RFC_READ_REPORT
    // (generated by saprfc.php - option Generate PHP)
       $DEF_RFC_READ_REPORT = array (
                             array (
                                     "name"=>"SYSTEM",
                                     "type"=>"EXPORT",
                                     "optional"=>"0",
                                     "def"=> array (
                                             array ("name"=>"","abap"=>"C","len"=>8,"dec"=>0)
                             array (
                                     "name"=>"TRDIR",
                                     "type"=>"EXPORT",
                                     "optional"=>"0",
                                     "def"=> array (
                                             array ("name"=>"NAME","abap"=>"C","len"=>40,"dec"=>0),
                                             array ("name"=>"SQLX","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"EDTX","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"VARCL","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"DBAPL","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"DBNA","abap"=>"C","len"=>2,"dec"=>0),
                                             array ("name"=>"CLAS","abap"=>"C","len"=>4,"dec"=>0),
                                             array ("name"=>"TYPE","abap"=>"C","len"=>3,"dec"=>0),
                                             array ("name"=>"OCCURS","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"SUBC","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"APPL","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"SECU","abap"=>"C","len"=>8,"dec"=>0),
                                             array ("name"=>"CNAM","abap"=>"C","len"=>12,"dec"=>0),
                                             array ("name"=>"CDAT","abap"=>"D","len"=>8,"dec"=>0),
                                             array ("name"=>"UNAM","abap"=>"C","len"=>12,"dec"=>0),
                                             array ("name"=>"UDAT","abap"=>"D","len"=>8,"dec"=>0),
                                             array ("name"=>"VERN","abap"=>"C","len"=>6,"dec"=>0),
                                             array ("name"=>"LEVL","abap"=>"C","len"=>4,"dec"=>0),
                                             array ("name"=>"RSTAT","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"RMAND","abap"=>"C","len"=>3,"dec"=>0),
                                             array ("name"=>"RLOAD","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"FIXPT","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"SSET","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"SDATE","abap"=>"D","len"=>8,"dec"=>0),
                                             array ("name"=>"STIME","abap"=>"C","len"=>6,"dec"=>0),
                                             array ("name"=>"IDATE","abap"=>"D","len"=>8,"dec"=>0),
                                             array ("name"=>"ITIME","abap"=>"C","len"=>6,"dec"=>0),
                                             array ("name"=>"LDBNAME","abap"=>"C","len"=>20,"dec"=>0)
                             array (
                                     "name"=>"PROGRAM",
                                     "type"=>"IMPORT",
                                     "optional"=>"0",
                                     "def"=> array (
                                             array ("name"=>"","abap"=>"C","len"=>40,"dec"=>0)
                             array (
                                     "name"=>"QTAB",
                                     "type"=>"TABLE",
                                     "optional"=>"0",
                                     "def"=> array (
                                             array ("name"=>"LINE","abap"=>"C","len"=>72,"dec"=>0)
    // Create list of PHP server functions
       $GLOBAL_FCE_LIST[RFC_READ_REPORT] = saprfc_function_define(0,"RFC_READ_REPORT",$DEF_RFC_READ_REPORT);
    // PHP server function
       function RFC_READ_REPORT ($fce)
           $REPORT = saprfc_server_import ($fce,"PROGRAM");
           saprfc_table_init ($fce,"QTAB");
           $fd = fopen ($REPORT,"r");
           if (!$fd)
               return ("NOTFOUND");     // raise exception "NOTFOUND"
           while (!feof($fd))
               $LINE = fgets ($fd,73);
               saprfc_table_append ($fce,"QTAB",array("LINE"=>$LINE));
           fclose ($fd);
           saprfc_server_export ($fce,"SYSTEM","PHP");
           return (true);
    // Call script with: ./server.php -a phpgw -g hostname -x sapgw00
       $rfc = saprfc_server_accept ($argv);
    // Dispatch one function call
       $rc = saprfc_server_dispatch ($rfc,$GLOBAL_FCE_LIST);
       saprfc_close ($rfc);
    ?>
    [/code]
    Regards
    Gregor
    Message was edited by: Gregor Wolf

  • Error in using BAPI_CONFEC_CREATE : Interface data contains Errors

    Hi,
    I am using this BAPI BAPI_CONFEC_CREATE to create confirmations locally in SRM for a PO. I am following Documentation available for this BAPI.  But when I excuted with below data getting error " INTERFACE DATA CONTAINS ERRORS"
    I am passing these data:
    Hedaer: Ref_doc_no - PO Number
                  Description:
                 Process Type: "CONF"
    Header_cust:  parent_guid : PO GUID
    Item: Parent: PO Header GUID
            PO Number: PO number
            PO GUID: PO HEDAER GUD
            PO ITEM Number: PO item Number
           PO_ITEM_GUID: po item guid
    Account:
                   Parent_GUID : PO Item GUID
                   G/L acct : Po G/l acct
                   cost center : PO cost center
    what are the data sholud be passed to this BAPI?
    Am I missing any input data to this BAPI? Please let me know.
    Am I using correct Function Module to create a confirmation for a PO in Stand alone scenario?
    Thanks.
    Shears
    Edited by: Shears80 on Sep 10, 2010 1:39 AM

    Hi Matt
    I'm using the same FM but it's not working. Can you please share what data you are passing in the FM.
    After debugging I found that my confirmation is getting created but it's not getting saved.
    Please enlighten me.
    Thanks
    Ankit

  • HTTP Receiver interface returns with error code 110

    Hi All,
    We are posting the document from XI to a external server as HTTPS request.
    We are able to sucessfully post the request to external server using HTTP destination as address type but not able to post sucessfully with URL as address type.
    Here goes the details -
    We are able to post the HTTPS request successfully on the external server using the HTTP destination as address type in HTTP receiver adapter setup.
    When we setup address type as HTTP destination , we need to provide the following details -
    IN SM59 , Connection type G
    Target Host : host name (  with out "https://"  as prefix)
    Service No : 443
    Path prefix : query string
    SSL : Active
    Certificate : Select the certifacte from the client certificate list.
    We can post the request to external server using URL as address type in HTTP receiver adapter setup.
    When we setup address type as URL , we need to provide the following details -
    Address type : URL Address
    Target Host : host name (  with out "https://"  as prefix)
    Service Number : 443 ( HTTPS port setup on XI)
    Path : query string.
    When we post the same request as we did with HTTP destination as Address type , we are getting a HTTP response code as failure HTTP response code 110
    Please find the details about the return code -
    If a cache returns a stale response, either because of a max-stale directive on a request, or because the cache is configured to override the expiration time of a response, the cache MUST attach a Warning header to the stale response, using Warning 110 (Response is stale).
    110 Response is stale
    MUST be included whenever the returned response is stale.
    Please find the error message from SXMB_MONI
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
      <SAP:P1>110</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP client code 110 reason</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Please let me know if some one has faced this issue.
    Regards,
    Reddy
    Edited by: Nanda kishore Reddy Narapu Reddy on Mar 11, 2008 12:35 PM

    Hi All,
    Is some one can confirm that - We can use HTTPS with Address type as URL address in HTTP receiver adapter setup.
    I can confirm that using HTTP destination as Address type in HTTP receiver adapter setup we can attain HTTPS communication with external server.
    If some one who has tried HTTPS communication using HTTP receiver adapter using URL address as Address type can guide me what are the steps need to be done.
    Address type is a parameter in HTTP adapter setup .
    Regards,
    Reddy

  • How to search for a standard sap error message

    Hi all,
        I want to know where exactly we need to search for a standard sap error message ( For example like STACK_NO_ROLL_MEMORY).
        I am searching the same in sap market place/oss note search...but don't see what I am looking for ...
       Could you please help on the same ?
    Thanks,

    Hi Shravan,
    Normally system throws up an error when it reaches the threshold point. Normally the threshold / critical points are arrived at by considering the SAP recommended values and what is the sytem configuration you have got.
    In true project scenario because of budget constraints we might not be able to have ideal system configuration which SAP recommends , in that case we have to tune to the system perform at an optimum level considering various aspects
    In yr case memory parameters should have been set at level , but for yr job it needed more memory which it could not allocate and throwed an error.
    hope i have answered yr question .
    Regards
    Balaji

  • Php-cgi.exe - Application Error when Oracle is connected in PHP

    I am connecting Oracle 10g from PHP 5.0 and my OS is win server2003. I uncommented the following line in php.ini file also.
    extension=php_oci8.dll
    It is connecting the oracle and giving the required result also, but everytime the following error is coming.
    php-cgi.exe - Application Error
    The instruction at "0x6067b97e" referenced memory at "0x0114f020". The memory could not be read.
    Click OK to terminate the program.
    Click CANCEL to debug the program.
    Can anyone suggest to rectify this?

    Are you using a php_oci8.dll that is the right version for the version of php you're using? I know that sounds silly, but sometimes people do that.
    ~Jer

  • BBPCF02 - BBP_PD002 Interface data contains errors

    Hi all,
    I need your help.
    We have a problem when the user confirm a purchase order from transaction BBPCF02.
    During the creation of confirmation the system returns the pop-up with message "Interface data contains errors".
    I have SRM 5.0 classic scenario.
    Thanks in advance.
    Davide

    refer to note 805965. Although this note is not exactly for the problem you are stating but it should be close enough to solve your problem.

  • Interface data contains errors

    Dear all,
    We are on SRM 7.0. When trying to create a purchase order from an accepted bid the following error appears:
    "interface data contains error", no more details shown.
    It happens with both buttons: "Create Purchase Order" and "Simulate and create purchase order".
    Any ideas to solve it?
    Thanks
    Ezequiel

    Hi Eze
    purely no range issue
    create purchase order from bid invitation
    Standard process for PO creation from Bid Invitation or Bid
    double confirmed. revisit your Bid invitation , bid and Po number ranges.
    br
    muthu

  • Interface data contains error

    Hi Expert,
    We're facing error 'interface data contains error' when generate Purchase Order for bid submitted by bidder.
    anyone has experience with this error?
    Thanks,
    Yusup

    Hi
    Please refer this note 1042490 - Interface Data contains Errors in the sourcing cockpit.
    This note might be useful for you.
    Muthu

  • How to  find out where sap error messages stored...

    How to  find out where sap error messages stored in our system.like sometime we will get a error message with message number.whr it will be stored and whch table it is?

    Hi,
    I also got the same message when that message no is not there
    E:SABAPDOCU:000 test 
    yours is S-type and message id ZY and message no 127
    127 is not there either change the no  or create the same
    Regards
    Shiva

  • How to find out where sap error messages stored in our system

    How to find out where sap error messages stored in our system.like sometime we will get a error message with message number.whr it will be stored and whch table it is?

    Are you interested in WDA messages ?
    The set a breakpoint in METHODS IN class CL_WDR_MESSAGE_MANAGER.
    Then use call stack (default desktop 2 in debugger) to see where message is added to message manager.
    regards
    phil

  • Swift Net MT-103 Interface with SAP

    Hello all,
    I am having a hard time to understand the concept and reason to use the Swiftnet MT103 (Outgoing Payment).
    1)At what point I will consider MT103 solution versus EDI820 (Outgoing Payment)?
    2)What will be the considerations I need to take place when I am creating the Functional Design of this interface with SAP?
    3)What will be the steps I need to take on the config side?
    4)Do I need to setup inbound interface as well for confirmation once I sent the MT103 file?
    5)DME will be only solution that produce this format?
    6)Please provide me the File structure of MT103?
    I would appreciate your prompt response since I need to represent this to the client.
    Thanks

    Hi
    It is a good practice to know the status of payment file rather than waiting for the bank to call. Yes, if need be, you will need to create an inbound interface.
    Many things would depend on the method of communcation with banks you choose (i.e. direct connection or value added network), which needs to be secure and encrypted. SWIFTnet is a product that SWIFT offers to allow companies to build a single connection to SWIFT net and connect to thousands of banks around the globe. I am not sure whether this is a valid scenario for your project. Obviously, there is a cost implication attached to it.
    If you are using BCM module, you would need to use a format created in Payment media workbench for MT103 and PI to faciliate the file mapping, conversion, encryption and secure transmission to your bank. In this case, you would build an inbound interface for Status/Confirmation from bank into BCM for Batch monitor.
    while if you are not using BCM module, you would map IDOC to MT103. in this case, you would build an Inbound Interface to manage the confirmation message from bank. I have worked on this sort of interface development and developed a report output for users to run.
    Hope that this helps
    taro

Maybe you are looking for

  • Restrict SQL output by User

    In the sample sql below, I figured out how to be able to restrict output to terms that end with a 5 for a specific user and would like to know if there is a more compact way to write this or is this the best way. This sql will only list out terms tha

  • Get an older version of GarageBand iOS?

    How do I get an older version of GarageBand for iOS (pre 2.0.1)? Other than this method : https://sites.google.com/site/appleclubfhs/support/advice-and-articles/app-store -downloading-older-versions-of-apps-ios I have been all over that article tryin

  • Media Upgrade Crashed - Can't Restart

    I recently upgrade to FCPX 10.1.1.  When I started FCPX I got a message about needing to upgrade my files - I clicked OK and sat back - then FCPX gave an error message part way through the media upgrade - I didn't look too closely at the error - but

  • Import Profit center in invoice by DTW

    Dear experts, I have to import the "Profit center" in an invoice by the DTW but I don't find the column, in the templates, where to insert this data. Thanks.

  • How do I subscribe to a podcast

    Hi, Could anybodt tell me how to subscribe to a podcast. When I go to Itunes they are all greyed out? Thank you.