Send data from PHP - Flash - PHP

Hi,
I have some issue with passing data from Flash to PHP and
reciprocally.
when i browse the FlashDataExchange.php file (which includes
the flash)
it does not redirect automatically to the 2nd PHP page...
And i do not get any data on the 2nd PHP page....
i'm lost, what do i do wrong ?
thanks for your help.
Alain
i have the following AS3 code :
import flash.external.*;
myButton.addEventListener("click", sendData2PHP);
//var link2:String = "
http://192.160.1.2/test/flashdataexchange.php";
var link:String = "
http://192.160.1.2/test/DataExchangeResult.php";
var request:URLRequest = new URLRequest (link);
var loader:URLLoader = new URLLoader (request);
var variables:URLVariables = new URLVariables();
request.method = URLRequestMethod.POST;
request.data = variables;
var curUrl:String = String( ExternalInterface.call("
function(){ return
document.location.href.toString();}"));
function sendData2PHP(evt:Event):void
variables.lg = myField1.text;
variables.address = myField2.text;
variables.field2 = curUrl;
loader.addEventListener(Event.COMPLETE, onComplete);
loader.addEventListener(IOErrorEvent.IO_ERROR, sendIOError
loader.dataFormat = URLLoaderDataFormat.TEXT;
loader.load(request);
function onComplete (event:Event):void
Text1.text = event.target.data;
My DataExchangeResult.php file looks like that:
<html>
<head>
</head>
<body>
<?php
$lg=$_POST['lg'];
$ad=$_POST['address'];
$f2=$_POST['field2'];
echo "test : ".$ad ;
?>
</body>
</html>
and my FlashDataExchange.php file is the following one:
<html>
<head>
</head>
<body>
<?php
echo "-- POST -- <br>";
echo "Lg : ".$_POST['l']."<br>";
echo "Address : ".$_POST['address']."<br>";
echo "f2 : ".$_POST['f2']."<br>";
echo "<br>-- GET -- <br>";
echo "Lg : ".$_GET['l']."<br>";
echo "Address : ".$_GET['address']."<br>";
echo "f2 : ".$_GET['f2']."<br>";
?>
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
width="400" height="200" id="FlashdataExchange"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="FlashdataExchange.swf"
/><param
name="quality" value="high" /><param name="bgcolor"
value="#006600" />
<embed src="FlashdataExchange.swf" quality="high"
bgcolor="#006600"
width="400" height="200" name="FlashdataExchange"
align="middle"
allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>
</body>
</html>

&gt; it does not redirect automatically to the 2nd PHP
page...
URLLoader does not ever change the page location, it only
loads data from the URL. To change pages, you need to use
navigateToURL(), which can also send POST/GET variables along with
the URL request.
&gt; And i do not get any data on the 2nd PHP page....
A quick look at your code looks correct to me: you are
listening for the complete event, dataFormat is text, and PHP is
echoing. However, check for httpStatus event and see if it gives
you anything interesting... I can't get to the link myself, aka
404. Also check the securityError event.

Similar Messages

  • Send data from flash to a popup ASP page

    how can I send data from a flash webpage to an ASP page which
    has to open in a popup window.
    I can do them both seperatly, but how to integrate those 2 in
    1....
    Here's my script...

    I'm not sure if this will work, so you'll have to forgive me
    if I'm way off here. I use php for all my server-side goodness. I
    recently was doing sort of the same thing, but what I did to solve
    it was this (oversimplified of course)...
    variableSTRING =
    "?variableA=valueONE&variableB=valueTWO";
    getURL("javascript:popup('
    http://test.php"+variableSTRING+"
    ','myPopUp',800,600)");
    does that help?

  • Exporting Text data from PHP to Oracle CLOB data (Carriage return - issue)

    This is my original text content in PHP - Data type - Longtext
    SECTION - 1
    This a test description.This a test description.
    This a test description.This a test description.
    This a test description. This a test description.I exported the above content from PHP as a SQL script file (insert into.. ) - export.sql [ insert into table_name (id, text_content) values (1, '') ]
    while exporting data from PHP table into export file.. it replaced the "Carriage return" with "\r\n\r\n" in the insert statement for text_content column
    When I run this INSERT statement in Oracle (for longtext, I have created a CLOB column in Oracle), the following text_content data is inserted into CLOB column in Oracle.
    SECTION - 2
    This a test description.This a test description.\r\n\r\nThis a test description.This a
    test description.\r\n\r\nThis a test description.This a test description.Now I have created a item named P1_TEXT_CONTENT of type TEXTAREA and try to fetch the CLOB data into this page item.
    BUT textarea displays the entire content including "\r\n\r\n" as mentioned in SECTION - 2
    I want to display the content in textarea (item - P1_TEXT_CONTENT) without "\r\n\r\n" same as the original content with "Carriage return" as mentioned in SECTION - 1
    What are the options we have?
    Thanks,
    Deepak

    DeepakJ wrote:
    I want to display the content in textarea (item - P1_TEXT_CONTENT) without "\r\n\r\n" same as the original content with "Carriage return" as mentioned in SECTION - 1
    What are the options we have?Run an update on the Oracle table following the inserts to replace the escaped CR/LFs with real ones:
    update foo
    set clob_column = replace(clob_column, '\r\n', chr(13) || chr(10));You might want to experiment to see which characters are actually necessary. As an OS X/Linux user I'd probably just use a single LF chr(10).

  • How to get data from php to java via xmlrpc

    I have been trying to get data from php through apache xmlrpc to java.
    I do get an value as result. The result is "Array". How how do i convert the XMLRPC Object "Array" to Java Object?
    Inside the XMLRPC "Array" Object there is object too of type Array from php.
    See code for java here
    Object result = client.execute( "blogger.getCategories", params1 );
    Code from php here
    function getCategories($appkey, $username, $password)
         global $xmlrpcerruser, $xmlrpcI4, $xmlrpcInt, $xmlrpcBoolean, $xmlrpcDouble, $xmlrpcString, $xmlrpcDateTime, $xmlrpcBase64, $xmlrpcArray, $xmlrpcStruct, $xmlrpcValue;
         $structArray = array();
         $structArray[] = new xmlrpcval(array("one" => "test"));
         return new xmlrpcresp(new xmlrpcval( $structArray , $xmlrpcArray));     
    I do get Standard String and Integer from php to Java through XMLRPC.
    Can someone help me.
    Edited by: Electron32 on Aug 13, 2010 9:44 AM

    That is what is so strange. I return an 'array' through xmlrpcval() and in Java I tried to cast it to ArrayList, Vector,String[] but get an error
    Object[] result = (Object[]) client.execute( "blogger.getCategories", params1 );
    String[] array = (String[]) result;
    Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
            at com.dirdalit.window.Main.main(Main.java:41)
    Edited by: Electron32 on Aug 13, 2010 12:25 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to send data from internal table to the shared folder in ABAP

    Hi experts,
             My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is  "
    xxx\y\z....".
    I do not have any idea on how to send data from internal table to the shared folder path.
    can anybody please help me out how to do this?
    Thanks & Regards
    Sireesha.

    Where that folder is located, its on presentation server i.e. desktop or application server.
    If its on presentation server, use FM GUI_UPLOAD.
    If its on application server, then use DATASET functions. Have a look at below link.
    [File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
    I hope it helps.
    Thanks,
    Vibha
    Please mark all the useful answers

  • Problem with Runtime Workbench and with sending data from XI to SLD

    Hello<br>
    <br>
    Could I have a little help, a hint in the two following topics:<br>
    <br>
    1. I run Runtime Workbench -> Component Monitoring -> Display All and I get this error:<br>
    <br>
    Error during communication with System Landscape Directory: User credentials are invalid or user is denied access<br>
    <br>
    In filesystem log I can find like this:<br>
    <br>
    XIRWB.com.sap.aii.mdt.frames.jsp_error [SAPEngine_Application_Thread[impl:3]_40] Fatal: Error during communication with System Landscape Directory: User credentials are invalid or user is denied access<br>
    Thrown:<br>
    MESSAGE ID: com.sap.aii.rwb.agent.server.rb_LCRAgent.landscapeCommunicationError<br>
    com.sap.aii.rwb.exceptions.BuildLandscapeException: Error during communication with System Landscape Directory: User <br>credentials are invalid or user is denied access
            at com.sap.aii.rwb.agent.server.SLDAgentBean.convertException(SLDAgentBean.java:1472)
            at com.sap.aii.rwb.agent.server.SLDAgentBean.buildSLD(SLDAgentBean.java:773)
            at com.sap.aii.rwb.agent.server.SLDAgentBean.provideSld(SLDAgentBean.java:269)
            at com.sap.aii.rwb.agent.server.SLDAgentBean.getXIDomain(SLDAgentBean.java:711)
            at com.sap.aii.rwb.agent.api.SLDAgentObjectImpl0_0.getXIDomain(SLDAgentObjectImpl0_0.java:375)
            at com.sap.aii.rwb.agent.api.SLDAgent_Stub.getXIDomain(SLDAgent_Stub.java:436)
            at com.sap.aii.rwb.agent.client.EJBAgent.getXIDomain(EJBAgent.java:255)
            at com.sap.aii.rwb.util.web.model.AppMainModel.getSelectedDomain(AppMainModel.java:138)
            at com.sap.aii.rwb.util.web.model.DomainRep.build(DomainRep.java:121)
            at com.sap.aii.rwb.web.componentmonitoring.model.ObjectIdentificationTree.getComponentTree(ObjectIdentificationTree.java:117)<br>
            at jsp_component_monitoring1321125174985._jspService(jsp_component_monitoring1321125174985.java:217)
            at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
            at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:68)
            at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:29)
            at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmPageProcessor.doGet(CmPageProcessor.java:27)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
            at jsp_FC_Secure1321125169379._jspService(jsp_FC_Secure1321125169379.java:24)
            at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(AccessController.java:219)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)<br>
    Root cause:<br>
    com.sap.lcr.api.cimclient.UnauthorizedUserException: User credentials are invalid or user is denied access<br>
            at com.sap.lcr.api.cimclient.HttpRequestSender.processResponse(HttpRequestSender.java:577)
            at com.sap.lcr.api.cimclient.HttpRequestSender.send(HttpRequestSender.java:341)
            at com.sap.lcr.api.cimclient.CIMOMClient.send(CIMOMClient.java:280)
            at com.sap.lcr.api.cimclient.CIMOMClient.performBatchOperation(CIMOMClient.java:1251)
            at com.sap.lcr.api.cimclient.CIMClient.performBatchOperation(CIMClient.java:2268)
            at com.sap.aii.utilxi.sld.MRSldProxy.stage1(MRSldProxy.java:989)
            at com.sap.aii.utilxi.sld.MRSldProxy.loadComponents(MRSldProxy.java:918)
            at com.sap.aii.utilxi.sld.MRSldProxy.loadSld(MRSldProxy.java:907)
            at com.sap.aii.utilxi.sld.SubSystemFactory.createSldFromSld(SubSystemFactory.java:373)
            at com.sap.aii.utilxi.sld.SubSystemFactory.createSldFromSld(SubSystemFactory.java:434)
            at com.sap.aii.rwb.agent.server.SLDAgentBean.buildSLD(SLDAgentBean.java:764)
            at com.sap.aii.rwb.agent.server.SLDAgentBean.provideSld(SLDAgentBean.java:269)
            at com.sap.aii.rwb.agent.server.SLDAgentBean.getXIDomain(SLDAgentBean.java:711)
            at com.sap.aii.rwb.agent.api.SLDAgentObjectImpl0_0.getXIDomain(SLDAgentObjectImpl0_0.java:375)
            at com.sap.aii.rwb.agent.api.SLDAgent_Stub.getXIDomain(SLDAgent_Stub.java:436)
            at com.sap.aii.rwb.agent.client.EJBAgent.getXIDomain(EJBAgent.java:255)
            at com.sap.aii.rwb.util.web.model.AppMainModel.getSelectedDomain(AppMainModel.java:138)
            at com.sap.aii.rwb.util.web.model.DomainRep.build(DomainRep.java:121)
            at <br>com.sap.aii.rwb.web.componentmonitoring.model.ObjectIdentificationTree.getComponentTree(ObjectIdentificationTree.java:117)
            at jsp_component_monitoring1321125174985._jspService(jsp_component_monitoring1321125174985.java:217)
            at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
            at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:68)
            at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:29)
            at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmPageProcessor.doGet(CmPageProcessor.java:27)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
            at jsp_FC_Secure1321125169379._jspService(jsp_FC_Secure1321125169379.java:24)
            at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(AccessController.java:219)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    <br>
    <br>
    <br>
    I don't know what is wrong.<br>
    I have configured:<br>
    - SLDCHECK work properly,<br>
    - none of the users PI* type not lock,<br>
    - password to the PI* users in exchangeProfile entered correctly,<br>
    - In VA in the JCo RFC Provider I have properly configure: AI_RUNTIME_JCOSERVER, LCRSAPRFC, SAPSLDAPI_SID - from the ABAP I can connect to this programs ID<br>
    - In VA in SLD Data Supplier I have properly configure bookmarks HTTP Settings and CIM Client Generation Settings. CIMClient Test is OK<br>
    <br>
    I do not know what else I can see, what else I have properly configured ... I looked at the notes:: 936093 jak i 721548...<br>
    <br>
    <br>
    2. I can't send data from XI to SLD, ie makes me a system definition in Web As Abap and Web as Java but nothing appear to me in Exchange Infrastructure. Exchange Infrastructure is empty - what is wrong??<br>
    I carried out the recommendation by 764176 and 1031321 notes<br>
    <br>
    I restart below applications (no effect)...<br>
    com.sap.xi.directory (Integration Builder/Configuration)<br>
    com.sap.aii.af.app (Adapter Engine)<br>
    com.sap.xi.rwb (Runtime Workbench)<br>
    com.sap.xi.repository (Integration Builder/Design)<br>
    <br>
    Can I ask for help and guidance in these topics?<br>
    <br>
    Regards<br>
    RP<br>

    I increased logging in the NWA (Configuration -> Log Configuration) - and increased the some things here to log ALL. So that from the NWA (Monitoring -> Logs and Traces) I see a little more information (but does not follow that with which the user is a problem).<br>
    <br>
    Here are some interesting logs ...<br>
    I was most rash or irritation of those that say about the lack of credentials u2013 I must use Viusal Administrator and set good service ...<br>
    <br>
    What do I have done:<br>
    In the Visual Administrator -> Cluster -> Server -> Services -> SLD Data Supplier<br>
    I have set in the HTTP Settings tab the host and port SLD, the user name and password is also entered as it is in the SLD. To be sure, already have set for the user entered here such roles as:<br>
    SAP_SLD_ADMINISTRATOR<br>
    SAP_SLD_CONFIGURATOR<br>
    SAP_SLD_DEVELOPER<br>
    SAP_SLD_GUEST<br>
    SAP_SLD_ORGANIZER<br>
    Maybe we are talking in this place about a different user?<br>
    <br>
    Similarly, when it comes to tab CIM Client Generation Settings - here's all the same thing done. CIMClient test shows that everything is OK.<br>
    When I click the button: This trigger the transfer of data to the SLD gets the message that everything was shipped correctly. Indeed, I received an instance of JAVA in SLD<br>
    Also clicked on this icon: Assign application roles to user group - got information that everything is attached properly.<br>
    <br>
    By ABAP side, the connections: INTEGRATION_DIRECTORY_HMI, SAPSLDAPI, LCRSAPRFC, AI_RUNTIME_JCOSERVER and AI_DIRECTORY_JCOSERVER work correctly, ie I can perform the test - which means that programs ID are properly positioned in JCO Provider in VA.<br>
    <br>
    Puzzling is this message:<br>
    The SLD data is inconsistent.<br>
    <br>
    Strange also that the message (from the ABAP everything is available in SMGW no errors):<br>
    Connect to SAP gateway failed<br>
    <br>
    And what is this error:<br>
    <br>
    could not sync ExchangeProfile: <br>
    Thrown:<br>
    com.sap.rprof.dbprofiles.DBException: Connect to SAP gateway failed<br>
    Connect_PM  TYPE=A ASHOST=saptest2 SYSNR=60 GWHOST=saptest2 GWSERV=sapgw60 PCS=1<br>
    <br>
    LOCATION    CPIC (TCP/IP) on local host with Unicode<br>
    ERROR       partner 'saptest2:sapgw60' not reached<br>
    TIME        Thu Feb 23 07:28:07 201<br>
    RELEASE     700<br>
    COMPONENT   NI (network interface)<br>
    VERSION     38<br>
    RC          -10<br>
    MODULE      nixxi.cpp<br>
    LINE        2513<br>
    DETAIL      NiPConnect<br>
    SYSTEM CALL connect<br>
    ERRNO       79<br>
    ERRNO TEXT  A remote host refused an attempted connect operation.<br>
    COUNTER     2<br>
    <br>
    <br>
    Below is a list of some interesting logs ...<br>
    <br>
    ###########<br>
    <br>
    Insufficient permissions for getting SLD access information. You can add permissions for your application via the SLD service in the 'Visual Administrator'.<br>
    <br>
    #############<br>
    <br>
    SLD is not accessible. Check SLD Data Supplier service settings.<br>
    <br>
    ###########<br>
    <br>
    "Warning","2012-02-22","07:53:50:986","Data get on com.sap.sldserv.data.GetSAPBCCentralServiceInstance class processing failed. htThe SLD data is inconsistent. This is an internal processing problem.","/System/Server/SLDService","com.sap.sldserv.DataCollector","n/a","saptest2","Server 0 60_36694",<br>
    <br>
    #########<br>
    <br>
    com.sap.lcr.api.cimclient.UnauthorizedUserException: User credentials are invalid or user is denied access<br>
    <br>
    ################<br>
    <br>
    Full Message Text
    CPA Cache not updated with directory data, due to: Couldn't open Directory URL (http://saptest2.unx.era.pl:56000/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=C&consumer=af.xit.saptest2), due to: HTTP 503: Service Unavailable
    <br>
    ##################<br>
    <br>
    Full Message Text <br>
    <br>
    could not sync ExchangeProfile: <br>
    Thrown:<br>
    com.sap.rprof.dbprofiles.DBException: Connect to SAP gateway failed<br>
    Connect_PM  TYPE=A ASHOST=saptest2 SYSNR=60 GWHOST=saptest2 GWSERV=sapgw60 PCS=1<br>
    <br>
    LOCATION    CPIC (TCP/IP) on local host with Unicode<br>
    ERROR       partner 'saptest2:sapgw60' not reached<br>
    TIME        Thu Feb 23 07:28:07 201<br>
    RELEASE     700<br>
    COMPONENT   NI (network interface)<br>
    VERSION     38<br>
    RC          -10<br>
    MODULE      nixxi.cpp<br>
    LINE        2513<br>
    DETAIL      NiPConnect<br>
    SYSTEM CALL connect<br>
    ERRNO       79<br>
    ERRNO TEXT  A remote host refused an attempted connect operation.<br>
    COUNTER     2<br>
    <br>
    Connect_PM  TYPE=A ASHOST=saptest2 SYSNR=60 GWHOST=saptest2 GWSERV=sapgw60 PCS=1<br>
    <br>
    LOCATION    CPIC (TCP/IP) on local host with Unicode<br>
    ERROR       partner 'saptest2:sapgw60' not reached<br>
    TIME        Thu Feb 23 07:28:07 201<br>
    RELEASE     700<br>
    COMPONENT   NI (network interface)<br>
    VERSION     38<br>
    RC          -10<br>
    MODULE      nixxi.cpp<br>
    LINE        2513<br>
    DETAIL      NiPConnect<br>
    SYSTEM CALL connect<br>
    ERRNO       79<br>
    ERRNO TEXT  A remote host refused an attempted connect operation.<br>
    COUNTER     2<br>
    <br>
    at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)<br>
    at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1015)<br>
    at com.sap.mw.jco.JCO$Client.connect(JCO.java:3238)<br>
    at com.sap.rprof.dbprofiles.DBProfiles.getProfile(DBProfiles.java:101)<br>
    at com.sap.rprof.dbprofiles.RemoteProfile.readRemoteProfileFromMedia(RemoteProfile.java:1288)<br>
    at com.sap.rprof.dbprofiles.RemoteProfile.getRemoteProfileFromFactory(RemoteProfile.java:195)<br>
    at com.sap.aii.utilxi.prop.rprof.ExchangeProfilePropertySource.readProfile(ExchangeProfilePropertySource.java:177)<br>
    at com.sap.aii.utilxi.prop.rprof.ExchangeProfilePropertySource.sync(ExchangeProfilePropertySource.java:165)<br>
    at com.sap.aii.utilxi.misc.api.AIIProperties.sync(AIIProperties.java:582)<br>
    at com.sap.aii.af.service.sld.SLDAccess.syncExchangeProfile(SLDAccess.java:43)<br>
    at com.sap.aii.adapter.xi.ms.SLDReader.fire(SLDReader.java:52)<br>
    at com.sap.aii.adapter.xi.ms.SLDReader.run(SLDReader.java:167)<br>
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)<br>
    at java.security.AccessController.doPrivileged(AccessController.java:219)<br>
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)<br>
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)<br>
    <br>
    ##############<br>
    <br>
    Full Message Text <br>
    <br>
    Import of software component version list from component repository  failed<br>
    Thrown:<br>
    com.sap.lcr.api.cimclient.LcrException: User credentials are invalid or user is denied access<br>
    at com.sap.lcr.api.cimclient.HttpRequestSender.processResponse(HttpRequestSender.java:577)<br>
    at com.sap.lcr.api.cimclient.HttpRequestSender.send(HttpRequestSender.java:341)<br>
    at com.sap.lcr.api.cimclient.CIMOMClient.sendImpl(CIMOMClient.java:198)<br>
    at com.sap.lcr.api.cimclient.CIMOMClient.send(CIMOMClient.java:146)<br>
    at com.sap.lcr.api.cimclient.CIMOMClient.enumerateInstancesImpl(CIMOMClient.java:443)<br>
    at com.sap.lcr.api.cimclient.CIMOMClient.enumerateInstances(CIMOMClient.java:747)<br>
    at com.sap.lcr.api.cimclient.CIMClient.enumerateInstances(CIMClient.java:980)<br>
    at com.sap.lcr.api.sapmodel.JavaCIMObjectAccessor.enumerateInstances(JavaCIMObjectAccessor.java:211)<br>
    at com.sap.lcr.api.sapmodel.SAP_SoftwareComponentAccessor.enumerateInstances(SAP_SoftwareComponentAccessor.java:204)<br>
    at com.sap.lcr.api.sapmodel.SAP_SoftwareComponentAccessor.enumerateSAP_SoftwareComponentInstances(SAP_SoftwareComponentAccessor.java:239)<br>
    at com.sap.aii.ibrep.server.sldaccess.interfaces.CRAccess.getSwcLinks(CRAccess.java:82)<br>
    at com.sap.aii.ibrep.server.extobjects.SwcAccessor.getEoLinks(SwcAccessor.java:59)<br>
    at com.sap.aii.ib.server.extobjects.EOAServiceImpl.getEoLinks(EOAServiceImpl.java:75)<br>
    at com.sap.aii.ib.sbeans.extobjects.EOAServiceBean.getEoLinks(EOAServiceBean.java:66)<br>
    at com.sap.aii.ib.sbeans.extobjects.EOAServiceRemoteObjectImpl1_0.getEoLinks(EOAServiceRemoteObjectImpl1_0.java:527)<br>
    at com.sap.aii.ib.sbeans.extobjects.EOAServiceRemoteObjectImpl1_0p4_Skel.dispatch(EOAServiceRemoteObjectImpl1_0p4_Skel.java:232)<br>
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)<br>
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)<br>
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)<br>
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)<br>
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)<br>
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)<br>
    at java.security.AccessController.doPrivileged(AccessController.java:219)<br>
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)<br>
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)<br>
    <br>
    ##############<br>
    <br>
    Full Message Text <br>
    <br>
    An exception was thrown in the UME/ABAP user management connector. Message: Connect to SAP gateway failed<br>
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=60 GWHOST=localhost GWSERV=sapgw60 PCS=1<br>
    <br>
    LOCATION    CPIC (TCP/IP) on local host with Unicode<br>
    ERROR       partner '127.0.0.1:sapgw60' not reached<br>
    TIME        Thu Feb 23 07:28:06 201<br>
    RELEASE     700<br>
    COMPONENT   NI (network interface)<br>
    VERSION     38<br>
    RC          -10<br>
    MODULE      nixxi.cpp<br>
    LINE        2513<br>
    DETAIL      NiPConnect<br>
    SYSTEM CALL connect<br>
    ERRNO       79<br>
    ERRNO TEXT  A remote host refused an attempted connect operation.<br>
    COUNTER     16<br>
    <br>

  • How is the best way to send data from local database into remote database ?

    Hi all,
    I need to send data from local Oracle database into remote oracle database. Both sites connected via 128 kbps frame relay connection.
    The sending need to be done once a week, can be done nightly.
    How is the best way to do this ?
    Thank you very much,
    xtanto

    How is the best way to do this ?How much are you planning to send?
    You can use COPY command. Ensure that you have valid database link between two databases.
    Available options are:
    create - creates a new table. errors out if the destination table exists.
    replace - drop the destination table and re-creates with data.
    insert - inserts data if the destination table exists.
    append– appends data into an existing table.
    use set arraysize 5000 -The arraysize specifies the number of rows that SQL*Plus will retrieve from the database at one time.
    copy from scott/tiger@ORCL to scott/tiger@ORCL92 create new_emp using select * from emp;

  • I would like to use DDE to send data from a Lookout Server to an Excel

    Hello National Instruments,
    I would like to use DDE to send data from a Lookout Server to an Excel
    Spreadsheet.
    I have Lookout 6.1 on a server connected to 4 client workstations
    The operating system on the server is Windows Server 2003 R2; Standard Edition;
    Service Pack 2
    I have opened DDE Share but after filing in Share Name; Static Application
    Name; Static Topic Name
    I get a message, "Can't bind to DSDM service"
    I also get this message when I press add a Share
    What are the steps to setting up this type of communications link?
    Thanks,
    David Lopez
    Scada Functional Analyst

    Ryan,
    I have followed the steps on the Knowledge Base "How do I use DDE To Send Data Across the Network To Excel From Lookout?" but what I am seeing is that the computer with excel (Computer B)hangs up displaying an hour glass continuously leaving me no option but to go into task manager to stop excel.  It appears to me that the dde share is not working properly on my windows xp where lookout resides or I do not have a certain service turned on.  I do have the DDE services turned on both computers.  I have my computer set up as computer A with Lookout and Process1 as the process with a pot set up as pot1.  On my computer (Computer A) I also have the dde share set up per the KB example.
    On computer B I have the dde services turned on and I am typing the following into an excel worksheet Cell  ='\\TAG23232\NDDE$'|'Process1$'!Pot1
    TAG 23232 is Computer A's Name
    Do you have any suggestions???

  • Error while sending data from XI to BI System

    Hello Friends,
    I m facing an error while sending data from XI to BI. XI is successfully recived data from FTP.
    Given error i faced out in communication channel monitoring:-
    Receiver channel 'POSDMLog_Receiver' for party '', service 'Busys_POSDM'
    Error can not instantiate RfcPool caused by:
    com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR partner '10.1.45.35:sapgw01' not reached
    TIME Fri Apr 16 08:15:18 2010
    RELEASE 700
    COMPONENT NI (network interface)
    VERSION 38
    RC -10
    MODULE nixxi.cpp
    LINE 2823
    DETAIL NiPConnect2
    SYSTEM CALL connect
    ERRNO 10061
    ERRNO TEXT WSAECONNREFUSED: Connection refused
    COUNTER 2
    Error displaying in message monitoring:-
    Exception caught by adapter framework: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM  TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '10.1.45.35:sapgw01' not reached TIME        Fri Apr 16 08:15:18 2010 RELEASE     70
    Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM  TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '10.1.45.35:sapgw01' not reached TIME.
    Kindly suggest me & provide details of error.
    Regards,
    Narendra

    Hi Narendra,
    Message is clearly showing that your system is not reachable
    102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached
    Please check to ping the BI server  IP 10.1.45.35 from your XI server , in case its working you can check telnet to SAP standard port like 3201/3601/3301/3901 etc.
    It seems to be connectivity issue only.
    Make sure your both the systems are up and running.
    Revert back after checking above stuff.
    Regards,
    Gagan Deep Kaushal

  • Error when sending data from Cube to ODS

    HI,
    I am extracting data from 2lis_02_itm & I stored the data in 0pur_o01(ODS) tha data is fine in ODS but when I am trying to send data from ODS to Cube 0pur_c07 it is giving the above error
    InfoSource 80PUR_O01 is not defined in the source system
    Errors in source system     
    InfoSource 80PUR_O01 is not defined in the source system.
    Message no. R3005
    Diagnosis
    The InfoSource 80PUR_O01 specified in the data request, is not defined in the source system.
    System response
    The data transfer is terminated.
    Procedure
    In the Administrator Workbench of the Business Information Warehouse, update the metadata for this source system, and delete the InfoPackages belonging to InfoSources that no longer existing
    Thanks
    Priya

    Hi A Priya
    First check if infosource 80PUR_O01 is present in datasource list of your BW system. Check this in RSA1-> Infosources-> here do Settings -> display generated objects and then do search on 80PUR_O01.
    if it not present there go to ODS 0PUR_O01-> right click
    -> generate export datasource.
    If it is present there then replicate the datasource by right click on transfer rules and then go to SE38-> Enter program name as RS_TRANSTRU_ACTIVATE_ALL -> Enter Infosource name as 80PUR_O01 and BW System as source system-> Execute. This will activate the transfer rules.
    Then try reloading from ODS to cube
    Regards
    Pradip

  • How to transfer quicken data from a flash drive to quicken essentials

    How do I transfer my Quicken data from a flash drive to Quicken essentials with new Lion Os software?

    https://qlc.intuit.com/app/full_page#

  • Sending Data from R/3 to Java and Java to SAP

    Dear All,
    I am working on a scenario in which I have to send data from sap system to Non-SAP system (Java System).
    Now one way is that I made a RFC in my SAP system and Java can call it using JCO adapter. But In this case I am not able to understand how to go another way,means how to capture data or messages from Java.
    Secondly I have searched and found that IDOC can help me lot in this process ,I am new to IDOCS but through R & D , I have made the IDOC and done the following steps:-
    1. Segment Creation (WE31)
    2. IDOC Types          (WE30)
    3. Message Type     (WE81)
    4. Linking Message type and IDOC type (WE82)
    5. Create Distribution Model (BD64)
    Now I am struck on 5th step , I am not able to distribute model when I distribute it I get the following Error
    Target system AII_00_800                  RFC destination for synchronous communication (message type SYNCH)
                                                                 Partner profile LS AII_00_800 SYNCH does not exist
                                                                 Generate partner profile
                                                                  or specify outbound partner profiles for message type SYNCH
    Target system JAVASYS                    RFC destination for synchronous communication (message type SYNCH)
                                                                  Partner profile LS JAVASYS SYNCH does not exist
                                                                 Generate partner profile
                                                                 or specify outbound partner profiles for message type SYNCH
    JAVASYS is the logical system I created using SALE and ALL_00_800 is already there in LS.
    I am not able to understand that my receiver system is NON SAP system so do I have to create logical system for it , and I have IDES system as sender system with only one client 800, what are all the configuration I have to do on SAP side.
    I am also not able to understand where I will write my code to fetch data based on the input provided by NON SAP system as I will have to design IDOC for both Inbound and Outbound processes.
    Kindly help me out, thanks in advance

    Hi Kanagaraja L,
    Thanks for you response.
    No I haven't created Created RFC Destination , this RFC destination will be of my JAVA system ???.
    I have tried creating the partner logical system in WE20 and dine the following steps:
    1. Partner No.   IDES800     Ides 800 System - Sender System
        Partn.Type    LS          Logical system
    2. The tab Post processing : permitted agent is filled with default parameters.
    3. Then in the outbound parameter table control I have pressed the add record button and got a new screen in
        which I have made the following entry :-
      Partner No.           IDES800        Ides 800 System - Sender System
      Partn.Type            LS             Logical system
      Partner Role          LS             Logical system
        Message Type      SYNCH                            ALE:Dummy Message Type for De
        Message code
        Message function
    Under tab Outbound options :
    Receiver Port  = A000000008  (This I have selected from F4 help)
    Basic type = SYNCHRON
    Saved it with the above data.
    Now I am not able to understand how to do the things you have mentioned in 3rd step in your reply.
    What are all the things I have to do kindly tell , as I am very new to Idocs so don't have much knowledge.
    Edited by: Rachit Khanna on Dec 7, 2009 1:49 PM

  • How do I convert or send data from a MacBook Pro to an s-video device???

    How do I convert or send data from a MacBook Pro to an s-video device??

    Use a Mini-Displayport-to-VGA adapter and a conversion box like this:
    http://www.amazon.com/PC-To-TV-Video-Converter/dp/B001CJOLBW/ref=pd_cp_e_2
    MBP

  • Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    I want to add that I deleted all the old back-ups and created a new back-up without any issues except sync problem.

  • I want to send data from One server to another

    Hi all,
    My requirement to send data from one server's  application server path(data in one directory in Al11 of the source server) to another server's application server(TO another directory in Al11 transaction of the destination server).
    What are all the ways to achieve this task.
    Thanks in Advance.
    Raja

    While the FTP option mentioned above is workable, both servers should have some form of FTP service running with reference to this solution.
    I suggest two more options, just to give you an idea. I am not getting into details as it is important to get the big picture first before working on details.
    1: Through RFC destinations:
    You can define two RFc destinations, each pointing to the specific application server. Assuming the server names are SOURCE and TARGET, you can have two RFC destinations where you differentiate the servers by specifying the host name or IP address.
    Once the destinations are defined, you need to develop two RFC enabled function module, one will be used to read the file and return it in form of internal table. The other will be get the internal table as input and should save it on server (using abap commands open dataset etc.)
    Now you can have an ABAP program where you first call the function which is reading the file. In call function you mention the RFC destination of source server.
    Once the file is read, you than call the second function module with destination to target server and save the internal table to a file.
    2: Through Background job programming
    While scheduling a background job, you can specify target system which forces the background job to run on that target application server. The basic idea here is to have two abap programs, one would be used to read file and export it to database table like INDX (we can call it ZPRG1), the other will import from the table INDX and write it as a file (we can call it ZPRG2).
    Now you can define a job through SM36, using ZPRG1 as program, and target system as the first application server. This job you can schedule to run periodically.
    Also define a second job through SM36, using ZPRG2 as program and target system as the second application server. For this job, the starting condition you can put as ‘After completion of job1’.
    Another method one can be by using FMs used in tcode SM49 but for that I think your sysadmin might have to create a batch file/script first. Which you can later call from ABAP.
    Cheers.

Maybe you are looking for

  • IPod Touch 5th Gen: Front Camera Broken?

    Hi! Hope you're all having nice days! I have a fifth generation iPod Touch. It's updated to iOS7, and even up to 7.1.1. But sometime shortly before iOS7 even came out, my front camera suddenly stopped working. I don't recall dropping the iPod before

  • I want to factory restore, but the cmd R procedure will not activate, I want to factory restore, but the cmd R procedure will not activate

    I installed Mountain Lion after brand new purchase of Macbook Pro.  Used Migration Assistant to transfer Windows based Outlook and documents. Created a huge disaster with the sharing folders.  Downloaded Pages, but the application will not respond. 

  • Where is CSUpload.exe in SDK 2.3 ?

    Hi I am using Win8 and Vs2012.   After that I installed Azure SDK for Vs2012.  It automatically installed SDK version 2.3. But I can;t find CSUpload.exe file on the entire disk.    What has happened ?    Regards

  • Open() Entry point For STREAMS Kernel Module

    Hi, I have a STREMS Kernel module having concept of read & write queue. we know there is a inbuilt concept of queue_t structure for STREAMS module, my query is " when queue_t structure get memory as we pass queue_t * as one of argument in open() call

  • Mobile Browser Detect

    Hi, I've made a new web app using JSP. I'm looking for a way to detect if the user is using a mobile browser or not. I want to do this in the back-end +(*JSP*)+ rather than the front-end +(*Javascript*)+: -> as some mobile devices don't allow Javascr