Error sending data to an SCMTM system from an R3 system

Dear Friends
I am trying to send an Idoc from R3 system to an SCMTM system.
I have imported the idoc, message mapping is preconfigured from SAP and requisite configurations in ID have been completed.
I am getting this error in sxmb_moni when I use FTP adapter to post the data to SCMTM system:(it is showing as processed successfully)
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Technical Routing of Response
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>XIServer</SAP:Category>
  <SAP:Code area="OUTBINDING">CO_TXT_OUTBINDING_NOT_FOUND</SAP:Code>
  <SAP:P1>,BS_TM7_100</SAP:P1>
  <SAP:P2>,BS_ECV_350,,</SAP:P2>
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:Stack>No receiver agreement found for sender ,BS_TM7_100 to receiver ,BS_ECV_350,,</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error>
When I tried to do this with Idoc receiver adapter but it was giving this following error in Call adapter:
<?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="IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF</SAP:Code>
  <SAP:P1>ShipmentRequestRequest_In</SAP:P1>
  <SAP:P2 />
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:Stack>Unable to interpret IDoc interface ShipmentRequestRequest_In</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error>
Do we have to use some other way of sending data to SCMTM system?or what should we use?
Do we have to suppress any acknowledgements in IDXNOALE,then please give me the steps for it
Please help.
Thank You
Warm Regards
Arjun Ghose
Edited by: Arjun Ghose on Apr 7, 2009 10:48 AM

Hi Rajesh
Found the problem in Receiver agreement/Operation Mapping /Message Mapping after running the test:
Operation Mapping
DESADVDELVRY03_2_ShipmentRequestRequest
Runtime error
Runtime exception occurred during application mapping com/sap/xi/tf/_DESADVDELVRY03_to_ShipmentRequestR~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Parsing an empty source. Root element expected!
... (136 lines)
In message mapping I tested, but it gave no error.In Operation Mapping there was error:
18:19:04 Start of test
RuntimeException during appliction Java mapping com/sap/xi/tf/_DESADVDELVRY03_to_ShipmentRequestRequest_
com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:ShipmentRequestRequest. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:366) at com.sap.aii.mappingtool.tf7.AMappingProgram.start(AMappingProgram.java:496) at com.sap.aii.mappingtool.tf7.Transformer.start(Transformer.java:133) at com.sap.aii.mappingtool.tf7.AMappingProgram.transform(AMappingProgram.java:626) at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:92) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:87) at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:54) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:139) at com.sap.aii.ibrep.server.mapping.exec.ExecuteIfMapCommand.execute(ExecuteIfMapCommand.java:33) at com.sap.aii.ib.server.mapping.exec.CommandManager.execute(CommandManager.java:43) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:40) at com.sap.aii.ibrep.server.mapping.MapServiceBean.execute(MapServiceBean.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133) at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at $Proxy1579_10000.execute(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351) at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70) at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62) at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37) at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872) at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53) at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58) at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108) at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
18:19:05 End of test
I could not make out where is the problem .Please help.

Similar Messages

  • Background job finished but Error sending data

    Dear all,
    report is running in my prod server . once this report completed sapuser get mail . when i check the job status it shows
    Job started
    Step 001 started (program GP4CF9U420G825I4P7DU8XY49WH, variant CUSTOMEROUTSTD, user ID S2K_BASIS)
    Spool request (number 0000012259) created without immediate output
    Error sending data (4)
    Job finished
    one more clarity i required
    this report should goes to 4 SAP users . how can i configure this report to 4 sapusers
    kindly suggest me

    > Step 001 started (program GP4CF9U420G825I4P7DU8XY49WH, variant CUSTOMEROUTSTD, user ID S2K_BASIS)
    > Spool request (number 0000012259) created without immediate output
    > Error sending data (4)
    I'd check SCOT/SOST for any errors. Also check the syslog (SM21).
    > this report should goes to 4 SAP users . how can i configure this report to 4 sapusers
    Create a distribution list (SAPoffice-Inbox - environment - distribution list) and enter that as addresse for the output.
    Markus

  • Real Time Clock Error - Check Date and Time settings, System CMOS Checksum bad

    Hello everybody,
    Can help anyone to resolve my problem.
    I have an Thinkpad W520 (42823FG), BIOS 8BET60WW 1.4        When I disconect AC power and remove battery and connect again, I see this message on screen:
    "Real Time Clock Error - Check Date and Time settings, System CMOS Checksum bad
    Press Esc to continue or F1 to enter Setup"
    Is this a system board problem or CMOS battery problem ?
    Thank you

    Hello and welcome,
    It's probably (hopefully) just the CMOS battery.  The easiest way to find out is to just replace that battery.
    Page 85 of the Hardware Maintenance Manual:
    Hardware Maintenance Manual
    Here's an example of the battery.  I'm not recommending (or not) this vendor:
    http://www.ebay.com/itm/New-Lenovo-ThinkPad-W500-W510-W520-W530-W700-W701-W701ds-CMOS-RTC-Backup-BAT...
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Send data directly to a printer from an RT system

    forgive my ignorrance here, I have tried searching for this but could find any similar posts.
    we currently have a PXI RT system which sends data via the datasocket server to a host PC which is connected to a printer, in the event of an alarm generated by the PXI system an error log is printed by the host PC which contains some timestamp details in text. this config works fine.
    i woudl like my PXI RT system to print text data dirctly to a printer connected to the PXI controller unit, is this possible ?
    please advise
    thanks in advance

    I don't see any reason why you wouldn't be able to do this. You will probably have to format the data into some form that the printer will understand. Obviously you will need to establish a connection to the printer via whatever connection it is using. The specific printer you are using will determine what the actual data should look like.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Error retrieving data in Oracle BI 11g from DB2 AS/400

    Hello everybody,
    In my Oracle BI 11g environment I want to have data coming from a DB2 AS/400 database. Retrieving the tables from the database in BI Administration and building the repository works fine. But as soon as I want to see the data (from the BI Administration or BI Answers) I get the following error (in BI Answers):
    +Description: System.Data.Odbc.OdbcException: ERROR [08S01] [IBM][iSeries Access ODBC Driver]Communication link failure. comm rc=11004 - CWBCO1011 - Remote port could not be resolved+
    I tried some different settings (ODBC Basis, ODBC Advanced and AS/400) as a databasetype and different type of connections (ODBC 2.0 and ODBC 3.5) in the connection pool. But non of the settings seems to solve the problem.
    When I try to query the database using another tool, Oracle Interactive Reporting, everything works fine as long as I use ODBC as both database- and connectiontype.
    Does anybode got an idea how this can be solved/where to look for a solution?
    Thanks in advance!
    With regards,
    Dennis de Kock

    Hi Dennis,
    We have used default ODBC 3.5 to connect DB2 AS400 iseries but we would like to know from Oracle what is the certified client connectivity software to use.
    Afte Opening SR with Oracle they have mentioned that Oracle has not tested and it is not a certified database to support as per SRSP document.
    Please let me know your feedback if you have contacted Oracle on this ?
    Thanks
    P

  • Error Updating Data using a Web Service from BPM

    Hi there,
    I'm trying to update data in an oracle database using a webservice created in DSP and get the following errors. It appears that BPM is unable to find a name, but I'm not sure what name this is referring to. The web service is straight forward and takes in the original and current objects as arguments. I can successfully call the query and insert web services and have double checked my code for the update web service but can't figure out why this is failing. Any idea on why this error might be occurring, or any pointers on what I need to be aware of?
    Caused by: Task '0' in activity '/PlanSubmittal#Default-1.0/Interactive[ViewEditPlan]' for instance '/PlanSubmittal#Default-1.0/1/0' could not be successfully executed. The task failed while executing method 'AddEditWell_Router'.
    Caused by: The method 'AddEditWell_Router' from class 'xobject.Fuego__AutoGen__Screenflows__.__EditPlan' could not be successfully executed.
    Caused by: Could not retrieve name
    fuego.web.exception.WapiTaskFailedException: Task failed.
    Thanks.
    Azeem.

    Hi,
    For the same 'omni portlet' tutorial I am stuck whiile using 'http://webservices.oracle.com/WeatherWS/WeatherWS?WSDL' the error
    'Failed to open specified URL. Check the following: is the URL is active; is there a valid proxy setting or, if HTTP authentication is required, check user name and password. [http://webservices.oracle.com/WeatherWS/WeatherWS?WSDL]'
    get dispalyed. Any quick pointers to resolve this please..
    Thanks,
    Kalyan.

  • How to send data (file and text both) from jsp to servlet

    upload JSP 
    case 1>> if i am using this  <form enctype="multipart/form-data" the file value is comming on the servlet side
             and other vales are not comming when i am using request.get parameter(....);
    case 2>>  if i am using this <form  type="text/html" the "submissionperiod" and "Types" value is comming on the servlet but the file is not comming ........
         How to resolve this issue .  i need to send all the three parameter on single submit and retrieve the parameter values  in my servlet .
    please help !
    <form enctype="multipart/form-data" name="form" method="post" action="Upload" >
                    <table font size="3" style="color:brown;font-family:Arial" >
                    <tr>
                    <td>Submission Year:    </td>
                    <td><select  name="submissionperiod">
                         <option value="">--select--</option>
                         <option value="2000">2000</option>
                         <option value="2001">2001</option>
                         <option value="2002">2002</option>
                         <option value="2003">2003</option>
                         <option value="2004">2004</option>
                         <option value="2005">2005</option>
                         <option value="2006">2006</option>
                         <option value="2007">2007</option>
                         <option value="2008">2008</option>
                         <option value="2009">2009</option>
                    </select><label class="Required">*</label></br></td>
                    </tr>
                    <tr>
                    <td>Submission Type :    </td>
                    <td><select  name="types"   onchange="showDescription()">
                         <option value="">--select--</option>
                         <option value="CRF">CRF</option>
                         <option value="NIR">NIR</option>
                         <option value="NC">NC</option>
                         <option value="SEF">SEF</option>
                    </select><label class="Required">*</label></br></td>
                   </tr>
                   <tr><td></td><td>
                   <div id="divTypeDetails">
                    <textarea  id= "subTypeDes" name="subTypeDes"  value=""></textarea></br></br>
                  </div>
                  </td>
              </table>     
              <td>Select a file (< 100 MB):   </td>
              <td><input id="importFile" name="importFile" type="file"></br>          
              </td>
              <input type="hidden" name="types">
              <input type="hidden" name="submissionperiod">
              <input type="submit" id="submitButton" name="submit" value="Upload" onclick = "checkUploadValidity();"/>
              <input type="button" name=btncancel id=btncancel value="cancel" onclick= "btncancel_click()"/>
    </form> 

    Both the file and text values are included in the binary inputstream of the request. The parametermap is always empty.
    There exist 3rd party API's to parse multipart/form-data streams, such as [Apache Commons FileUpload API|http://commons.apache.org/fileupload].
    Read at least the 'User Guide' and 'Frequently Asked Questions' sections.

  • I log in Apple store select an app insert my pw but i have to' re-verify VISA data and afte that i receive the. Error "your data Are not correct"but from my pc and iTunes i can but apps!!!

    Read the title. I can download app from my pc and itunes
    but not from iPhone

    Once you've purchased an App, it's yours for life.  You can however, hide it.  To do so, on your iPad, open this link and follow the directions:
    http://www.trickyways.com/2011/10/how-to-hide-unhide-apps-from-app-store-purchas es-on-ipad/

  • How to send data from HR system to PI system

    Hi All,
    I need to write a program that pulls the data from HR system and pushes it to PI system.I pretty much have the logic to pull the HR data but I would like to know the steps involved in pusing the data to PI system and how much time does it take approximately
    Thanks
    Bala Duvvuri

    Hi Bala,
    Proxies are used to send data to the PI system.
    Hence you will have to create ABAP Proxies which will extract the data and send it to the PI System.
    Regards,
    Samreen.

  • Sending IDOC creditor data to an external System

    Hello,
    I have a scenario where I send the creditor data from SAP to non-SAP System.
    For SAP System as a target I can use the TA BD14 to do this. This is working fine. But this is not my case, I need to send on non-SAP System.
    So what is the right solution for sending to an external non-SAP System? With BD14 I can only send to logical system what for me is only SAP System (right?). My workaround solution is to maintain the external non-SAP System also as logical system und choose the port as Data-Port (data will be saved on file system). Is it the best solution or there are more better known?
    Where can I obtain more knowledge on intergration of external non-SAP Systems? The documentation that I have covers in 95% the issue of SAP Systems. Intergration of non-SAP Systems (or sending data to non-SAP Systems) ist more difficult as I see.
    Thank you in advance. Best regards.
    Michael
    Edited by: Michael Swistowski on Mar 15, 2011 12:52 PM
    Edited by: Michael Swistowski on Mar 15, 2011 12:53 PM
    Edited by: Michael Swistowski on Mar 15, 2011 12:53 PM

    Hi,
    In order to send data to external system and if you have an middleware used in your landscape then
    create logical system for that system and associate the port with RFC destination (based on middleware used type 3 ot type t) can be used and idoc can be sent to middleware and middleware can take care of sending the data to the external system by converting it into required  format..
    These are normal scenarios for which Middlewares are used for integration..
    HTH
    Rajesh

  • Send data from R/3 to BW via XI

    Is there any advantage to send data through XI to BW from R/3, instead of the standard extraction methods provided by BW? I know how to post the data into BW from XI, just whether or not it is worth routing the delta data through XI, instead of the standard methods provided.
    Thanks,
    Chris

    Hey Simon,
    Thanks for the information. So if I get you right, data generated within the ERP system will still use the extractors as long as it does not need to go to any other systems, however, if the data is being sent to other external interfaces, as well as Bw, then I should push the data to XI and split the messages there. As for data coming into the ERP system through XI, just split these messages in XI and update both the ERP and BW systems at the same time. Please just affirm that I understood you correctly.
    I will give you some points for the response!
    Thanks,
    Chris

  • How many RA, ID, RD needed to send date from 1 to 2 bs?

    Hi PI Experts,
    How many receiver agreements,interface determination, receiver determination needed to send a single file to 2 business systems.
    I was able to send data to the 1st business system but unable to send data to another business system and the error is saying that cannot create receiver agreement and communication channel.
    please help me out as i am new to sap pi.

    How many receiver agreements,interface determination, receiver determination needed to send a single file to 2 business systems.
    as per my knowledge , one receiver agreements,interface determination and  receiver determination it's enough if we want to send data based on codition in receiver determination.
    if u want to send same data to 2 receiver at a time.
    u need to create multi mapping(1 :n)in esr and
    need to create 2 interface determinations and 2 receiver agreements  for 2 receiver comm.channels
    I was able to send data to the 1st business system but unable to send data to another business system and the error is saying that cannot create receiver agreement and communication channel.
    yes , only one agreement support to one comm.channel.

  • How Can I Send Data From One Pc To Another Using An Ethernet Connection ?

    Hi,
    I would Like to know how to send data ( For example, any String ) from a Server Pc to a Client Pc, Using the same java program installed on both computers.
    [Pc One ( Server ) [ Java Program] ] <----Ethernet--Cable----> [Pc Two( Client ) [ Java Program] ]
    Thanks .
    Edited by: jaysal2490 on Jul 7, 2008 9:45 PM
    Edited by: jaysal2490 on Jul 7, 2008 9:46 PM
    Edited by: jaysal2490 on Jul 7, 2008 9:51 PM

    Check out this tutorial:
    http://java.sun.com/docs/books/tutorial/networking/sockets/index.html
    There are code samples included.

  • Cannot Lock and Send data to an Essbase cube

    Hi all,
    One of our customer is executing a Macro script to lock and send data to the essbase cube from an excel sheet.
    They reported that in several cases where users will submit their data, and later discover that their changes are not in Essbase.
    The calls to EssVRetrieve (to lock the blocks) and EssVSendData are both returning successfully and there is no error message received while executing the above macros.
    I reviewed the application log file and found the following message:
    [Mon Nov 24 18:59:43 2008]Local/Applicn///Warning(1080014)
    Transaction [ 0xd801e0( 0x492b4bb0.0x45560 ) ] aborted due to status [1014031].
    I analysed the above message and found the user is trying to lock the database when already a lock has been applied to it and some operation is being performed on it. Because of that the transaction has been aborted. But customer says no concurrent operation is being performed at that time.
    Can anyone help me in this regard.
    Thanks,
    Raja

    The error message for error 1014031 is 'Essbase could not get a lock in the specified time.' The first thought I have is that perhaps some user/s have the 'Update Mode' option set in their Essbase Options and thus, when they are retrieving data, they are inadvertantly locking the data blocks. If that is the case, you will probably see this issue sporadically as the locks are automatically released when the user disconnects from Essbase.
    To make it stop, you will have to go to every user's desktop and make sure they have that Essbase Option turned off. Further, you will have to look at any worksheets they may use that may have an Essbase Option name stored on it. The range name is stored as a string and includes a setting for update mode. Here is a sample that I created for this post where I first turned 'on' update mode and then turned 'off' update mode:
    A1100000001121000000001100120_01-0000
    A1100000000121000000001100120_01-0000
    Note the 11th character in the first string is '1' which indicates that Update Mode is 'on'; in the second string, it is 'off'.
    This behavior, particularly with update mode, is the only one of the behaviors that I disliked in Excel and pushed me to design our Dodeca product. In Dodeca, the administrator controls all Essbase options and can either set individual options to the value they want or they can allow the user to choose their own options. Most of our customers do not allow the user to set update mode.
    Tim Tow
    Applied OLAP, Inc

  • Tree Sending Data to JavaScript - Help!

    I am trying to call a function in JavaScript and apss a parameter to it. The code I have below is not working. The label I have in HTML always says undefined after I call the ExternalInterface function in my mxml function. Can someone please take a look and tell me what I am doing wrong?
    mxml code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
       width="404" height="356" preinitialize="init()">
      <mx:Script>
        <![CDATA[
          [Bindable]
          public var treeData:Array = new Array();
          public function init():void{
            var tmpObjectGrains:Object = new Object();
        var tmpObjectDairy:Object = new Object();
        var tmpObjectFruits:Object = new Object();
        var tmpObjectMeats:Object = new Object();
        var tmpObjectNuts:Object = new Object();
        tmpObjectGrains['label']="BOC";
        tmpObjectGrains['children']=[{label:'Line 1'},
                                         {label:'Line 2'},
                                         {label:'Line 3'},
                                         {label:'Line 4'}];
        treeData.push(tmpObjectGrains);
        tmpObjectDairy['label']="TOC";
            tmpObjectDairy['children']=[{label:'Line 10'},
                                        {label:'Line 20'},
                                        {label:'Line 30'}];
        treeData.push(tmpObjectDairy);
        tmpObjectFruits['label']="SLOC";
    tmpObjectFruits['children']=[{label:'Line X'},
                                         {label:'Line Y'},
                                         {label:'Line Z'}];
            treeData.push(tmpObjectFruits);   
         public function jsPassData(event:Event):void
         if (ExternalInterface.available)
             ExternalInterface.call("PassData", treeView1.selectedItem);
             lblMessage.text = "Data sent!";
           else
             lblMessage.text = "Error sending data!"
       ]]>
    </mx:Script>
      <mx:Panel id="pnlMain" x="0" y="0" width="404" height="356"
         layout="absolute" title="JavaScript Test">
         <mx:Tree id="treeView1" x="0" y="0" dataProvider="{treeData}" labelField="label" change="jsPassData(event);" width="268" height="219"></mx:Tree>
        <mx:Label x="276" y="22" id="lblMessage"/>
      </mx:Panel>
    </mx:Application>
    JavaScript function:
    <script language="JavaScript" type="text/javascript">
    function PassData(data)
      if(person == null)
        alert("Select a line");
      else
        document.getElementById('TreeView').innerHTML = data.label;
    </script>

    I have tried sending an object or just simple text and still cannot get the data through....
    It seems as though I need to know how to call which item is selected in the tree and how to receive it in JavaScript.

Maybe you are looking for

  • Display is sort of pink

    Well I got my new Mac Mini today, and there seems to be a problem, when I hooked my LCD display that used to be hooked up to my old G4 the colors looked like they were Redish, even while the computer is booting, the screen is some sort of greyish pin

  • Message no. VBDRV028

    Hi All, I am getting error Message no. VBDRV028, while releasing the process order. I checked the receiver attributes but still I am facing the same error. Can anyone help in this. Regards, Mallika

  • [AS] Can Applescript record InDesign events ??

    Is is possible for the script editor to record apple events from Indesign? Ie. Press the record button in the script editor, do some stuff in Indesign and have the commands automatically recorded. If so, what is the criteria for this? CS1, CS2, CS3 ?

  • Termination fee

    If your contract term results from your purchase of an advanced  device, your early termination fee will be $350 minus $10 for each full  month of your contract term that you complete. What does this mean?

  • Relinking Deleted Audio to Clips

    Is there a way to relink deleted audio from clips that were unlinked from their audio tracks that were then deleted? so basically, if I have a clip, cut it and edit it, unlink the video and audio, delete the audio, and then later want to have the aud