Problem variable substiution with payload

Hi all,
I'm work with a file adapter in my system PI 7.0 SPS 16 and i try to implement a scenarii in abap/proxy to file.
I have a problem when i try to configure variable subsitution with payload.
My goal is to create my filename with the first article which is contained in my payload.
my payload is:
<?xml version="1.0" encoding="utf-8" ?>
- <n0:mt_makt xmlns:n0="http://XXXXXXXXXX.fr/SW_XI-Mapping/Wenjing"   xmlns:prx="urn:sap.com:proxy:BR1:/1SAI/TAS69AEE1246C27E45CC7F0:700:2008/01/11">
- <dt_makt>
  <matnr>_000000000000006041_</matnr>
  <maktx>Article A, C02, 04</maktx>
  </dt_makt>
- <dt_makt>
  <matnr>000000000000006042</matnr>
  <maktx>Article A, C02, 05</maktx>
  </dt_makt>
- <dt_makt>
  <matnr>000000000000006043</matnr>
  <maktx>Article A, C02, 06</maktx>
  </dt_makt>
- <dt_makt>
  <matnr>000000000000006044</matnr>
  <maktx>Article A, C02, 07</maktx>
  </dt_makt>
- <dt_makt>
  <matnr>000000000000006045</matnr>
  <maktx>Article A, C02, 08</maktx>
  </dt_makt>
- <dt_makt>
  <matnr>000000000000006069</matnr>
  <maktx>Article A, C06, 04</maktx>
  </dt_makt>
  </n0:mt_makt>
my configuration in Advanced:
under Variable Name :    var2
under Reference :           payload:mt_makt,1,dt_makt,1,matnr,1
my configuration in Target
Target directory : E:\XI\out\wjb
File Name scheme : test%var2%
When in send the message from my SAP ERP To SAP Pi, messages are processed with successfully (sxmb_moni) but no files was created.
my log CC receiver :
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var2: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var2
do you know  what's wrong
Thanks by advance
NG
Edited by: Nor Goudjil on Dec 18, 2008 4:23 PM

Hi all & Happy new year,
I am sorry to answer only now.
I change var2 by var3 but I have already the same problem and in logs I still find references to var2 ! However I launched "sxi_cache".
logs in cc after having to change var2 by var3
1/9/09 6:43:39 PM ddde72f2-cfa6-fbf1-a301-001e4f275e0f
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var3: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var3
When i click on ddde72f2-cfa6-fbf1-a301-001e4f275e0f
La diffusion du message vers l'application via File_http://sap.com/xi/XI/System a échoué en raison de : com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var2: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var2
Moreover the payload which you can see is an extract of "SXMB_MONI"
--> Inbound Message (CENTRAL) --> Folder "Payloads"
Thanks by advance
NG

Similar Messages

  • Problem in BPEL with payload xsd that include other payload xsd.

    Hi,
    We have a payload xsd that includes other payload xsd. JDev does not complain when we validate or compile the BPEL project but when we try of create a variable of that type in JDev it fails. Any ideas?
    <xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.oracle.com/retail/integration/payload/XItemDesc"
    xmlns="http://www.oracle.com/retail/integration/payload/XItemDesc"
    >
    <xs:include schemaLocation="RIBDate.xsd"/>
    <xs:element name="XItemSupCtyDesc">
    <xs:complexType>
    <xs:sequence>
    I imported both(XItemDesc.xsd + RIBDate.xsd) the xsd to JDev but it still fails.
    Thanks,
    Prantor

    There are known limitations to XSDs with imports and includes.
    Look at metalink and log a SR.
    Oracle support ignores this, but with every SR the pressure is increased...
    (My SR (XSD importing XSD) was classified not as bug but as enhancement request for the next release)

  • Complete Task with Payload Problem  -- no Human Task Drop Handler

    I'm reading section 26.4.1 of Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1) E10224-01 where it refers to figure 26-5 Human Task Drop Handler for Creating the Task Display Form of section 26.4 Creating a Task Display Form.
    I've generated taskDetails1.jspx. I highlight Task as in the figure and right click in askDetails1.jspx (design tab) but I don't get a Create JSF page dialog as in the figure.
    I get a dialog with Insert Before Show Detail Spacer ... etc (no Create /Human Task/Complete Task with payload etc)
    Do I need to position within a particular element ? or is this a bug ? wrongly documented?

    Hi Diana, thanks for your reply.
    You're probably right about 2 different error messages.
    To the 1st one: I'm sure that status task is Assigned (to me). I received an email and I also reply on that email.
    To error log: I found out that error log appears when I enable email endpoint on Complete Task service. But I managed to solve this problem. I set wrong user. Now I have here the same user as is written in login-config.xml so log seems to be ok.
    So I created new task and tried to complete it via email. Now I receive email with another error:
    LiveCycle ES has tried to process your request and encountered the following error:
    com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error getting user context
    This response to your original email
    Subject:RE:Task Assignment - Process: WorkFlowClient/Test. Task 92 has been assigned to you.
    Date Sent:Thursday, October 27, 2011 3:05 PM
    Body:Complete
    DO-NOT-DELETE: MTIxMSExNjAzITIwMTE=!
    Attachments:
    And to the last point: email endpoint is set up with TestPOP3@mydomain and user receiving email has jpetrla@mydomain. I use Lotus Notes as email client, I tried another account with gmail, but the result was same.
    Now I really don't know to do...
    Jan

  • Variable Substitution with tag attribute

    Hi,
    is possible to use variable substitution with tag attribute? as follow:
    <root directory="xxx"  filename="yyy">
       <....
    </root>
    using variable substitution for directory : root,1,directory,1
                                                               root,1,filename,1

    Hi,
    I solved my problem using Dynamic Configuration to set the FileName and Directory fields in Adapter Specific Configuration. To use Variable Substitution only accept element in XML.
    Thanks for all.

  • Error in the Input scchduled.Object variable or with block varaible not set

    Hai Experts ,
    In the input schdueld , data is not accepting ..
    Its shows error : Object variable or with block varaible not set
    Please help..
    Regards
    Daya.........

    Hi SAP collegues,
    At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
    It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
    This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes.  Please check the following.
    Note before doing the following, close all other open Excel and BPC sessions.
    Within Excel go to File à Options
    Select the Add-Ins option on the left
    Select the <<COM Add-ins >> option in the Manage drop down, and click Go
    Make sure that the Planning and Consolidation option is selected.  If not, mark this box and click OK.
    If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
    Let me know if you have any queries,
    Kind Regards,
    robert ten bosch

  • Error: Object variable or With block variable not set.

    Hi,
    when i try to fill the control tables and browse for the target period in HFM (sys 9.3.1) i get the error: Error: Object variable or With block variable not set.
    When browsing for the target value in the location for the value no problem occurs.
    Anybody a clue?

    Hi SAP collegues,
    At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
    It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
    This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes.  Please check the following.
    Note before doing the following, close all other open Excel and BPC sessions.
    Within Excel go to File à Options
    Select the Add-Ins option on the left
    Select the <<COM Add-ins >> option in the Manage drop down, and click Go
    Make sure that the Planning and Consolidation option is selected.  If not, mark this box and click OK.
    If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
    Let me know if you have any queries,
    Kind Regards,
    robert ten bosch

  • Object variable or With Block variable not set

    Hi - We have saved a working input schedule to a new name and modified it to use for another company.  There is a report tab to bring down the historical units from BPC, a tab to trend the history, and a tab that references the other two tabs to forecast the units into the future and send the forecasted units back up to BPC.  The input schedule that was saved to a new name and modified works fine until we attempt to Send and Refresh the active worksheet on the forecast tab.   When we do so, it indicates the number of records that will be sent, but when it attempts to Process the upload to BPC we receive an error message that indicates  Object variable or With Block variable not set  and no records are sent to BPC.
    We have retested the original input template that was copied and the original template still transfers data successfully to BPC.  We have also tried starting with a blank input template and copying in the formulas from the working template and we still get the same error message.  
    We have read several postings on this error and it seems to be a pretty general error, and so far none of the suggestions have worked for us.  One suggested checking for special characters, but the only non alpha non-numeric characters used are dashes in the values of one of the dimensions and spaces and underlines in the formulas used to forecast the units, but both of these are present and don't seem to cause any problem in the working input schedule. 
    We are currently on BPC 7.5 SP6 and using Excel 2010.
    Any help would be appreciated.

    >Note 1494285 seems to be in reference to BPC for Microsoft and we are using NetWeaver.
    Sorry, 1513080 is for NW (there's link to it in bottom of 1494285) :
    - Currently only BPC 7.5 NW SP05 and above support Office 2010
    - Note: BPC NW 7.5 NW cannot work on office 2010 (64-bits), office 2010 (64-bits) is not supported.
    Check your proxy settings (note 1592560: Getting "Error 91 Object variable or with block variable after upgrade to SP06" in the Excel Client.)
    Try 1576893: After upgrading to SP06, the EVDRE reports stop working.
    PS. Maybe I wrong, but some problems with 2010 Office clients in our system dissapear after patching to SP08.

  • "Object Variable or With Block Variable not set" Error on Adobe Presenter 8 Ribbon on PPT 2010/2007

    Returning back from Adobe training at KEDRIYA VIDYALAYA no 1  Jalhalli Bangalore when I started Powerpoint to use Adobe Presenter 8  I am getting : "Object Variable or With Block Variable not set " error on clicking any of the menu features of the Presenter Ribbon. My Config are :
    i)             WINDOWS XP SP 3
    ii)            POWERPOINT 2007 / 2010 ( for both same error is coming)
    iii)           MS XML Library 4.0 installed.
    iv)           Adobe Presenter 8
    I am using all liscenced copies of softwares.
    Hardware specs are also as per Minimum Adobe standards.
    I Have tried a lot removing Data Execution Prevention Mode , but all in vain the problem still exists
    Why is this happening. Please help.
    Kamal K Gupta
    PGT Comp. SC.
    KV No. 2 Srivijaya nagar

    This is not really a "Downloading, Installing, Setting Up" question; you may get better help if you ask in the Presenter forum.

  • Object variable or with block variable not set- while trying to submit data

    Hi Gurus,
    Could you share me the solution to resolve the issue?
    I am getting an error "object variable or with block variable not set" while trying to submit data through an Input schedule.
    I am working on SAP BPC 7.5 NW and using MS Excel 2007.
    I can log in to BPC Admin and excel with my user id and password.
    I checked my security profile and i have the submit data task in my task profile. My all other Input Schedules are working very well. Only one of the IS is causing this problem. The same input Schedule when saved as Dynamic Template it works well and data is sent successfully.
    Regards,
    KumarMG

    Hi Kumar,
    This might be incase you have some special character like & in the input schedule template. you need to remove the special character in that case.
    Hope this resolves your issue.
    Rgds,
    Poonam

  • Object variable or With block variable not set (Error 91)

    I am not a developer, however i have to help to run a VB program.
    when using a local administrator to run this program there will be error :
    Object variable or With block variable not set (Error 91)
    however using a DOMAIN Administrator to run without problem.
    any idea

    Do you have the source code? The error itself is a nullreference error. It means the code is trying to use some object to access a property of method of that object, but the object is currently null so it fails. The fact that it runs different when you run
    as a domain admin versus local admin could mean that it does something via a network location or resource, and when running as a domain admin, it has access to that resource and succeeds, but the local admin doesn't have access to the needed resource, and
    the code doesn't check to see if the object is null before using it. If you don't have the source code, then it will be difficult to fix, other than giving the local admin the ability to access whatever it is the program is looking to access.
    Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com

  • Problem validate the input payload in a bpel process

    Hi
    I am trying to validate the input payload in a bpel process and need to catch the exact validation error . I am using the validate activity or validate property
    I am getting the error as
    <process>
    <main (80)>
    receiveInput (pending)
    Jun 21, 2013 12:24:57 PM Invalid data: The value for variable "inputVariable", part "payload" does not match the schema definition for this part Invalid text 'Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)' in element: 'PARAM_NAME'. The invalid xml document is shown below:
    <payload>
    <catchAll (60)>
    Unable to handle the error.  Please help me if anybody handled this validation.
    Thanks in advance
    kalyani

    One of the issues with using the validate activity in BPEL is that when the error is thrown it throws it with little information.  Mediators however give much more information as they throw a remote exception and this can be caught. If you require detailed fault information to be sent back to the caller, then one solution is to use a mediator with validation as a callout (echo service etc).  Then catch the remote exception, this will give you more information in the fault payload. 

  • Problem of communication with compactrio

    Hello,
    I am working with a compactrio 9014 and labview 8.5
    I have a problem of communication with my compactrio. I acquire sound with NI 9215 and transmit points from the fpga VI to the VI on the real time target at a rate of 10Khz. On the VI on the RT I have two loops, one determinisic running at a speed of 10Khz (0.1ms) (in this loop I will do my signal processing) and one non-deterministic running much slower (20ms) to communicate data to my computer. To communicate data to my PC, I used shared variable.
    The problem is that if I run the VI_RT, I loose immidiately the connection. I think that is because the VI is taking up all of the execution time of the
    processor and is starving out the communication loop that is used to
    send data back to my PC.
    Because of this problem, I try to configure my compactrio to automatically run on startup of my cRIO. So I follow the steps I have read in another message in the forum posted by MattP
    To make your application (RT host VI and FPGA VI) run automatically on startup of your cRIO, you will need to do the following:
    1.  Download the FPGA VI to the flash memory on your cRIO.  If
    using LabVIEW 8, right-click on the VI in the Project Explorer Window
    and select Download VI or Attributes to Flash Memory...
    2.  Build an executable out of the RT VI.  Under your RT target 
    in the Project Explorer, right-click on Build Specifications and select
    New>>Real-Time Application.  Select the source files necessary
    for your application and any support files to be included.  Click Build.
    3.. After building the RT Application, you will find its entry
    under the Build Specifications folder in your project.  Right-click on
    the application and choose Set as startup.  Right-click again and
    choose Deploy, which will download the application to your cRIO.
    With  this procedure, I thougt that I can  run my  loop faster  because I  don't have the RT VI open on my desktop  (PC), so the PC don't have to synchronise the VI. But when I startup my compactrio, I loose connection with the target...
    So, what is wrong with my project?  Is it possible to run a loop at 10kHz on the real time processor and communicate in the same time (but every 20ms) data to my PC. Can someone explain me the right procedure to do that at this frequencies?
    I have attached my project and hope that someone can help me.
    Attachments:
    Communication.zip ‏658 KB

    Hello,
    The method you use in your application to transfer the data from the FPGA to
    the RT Host use the Front Panel Interactive Communication that write/read the
    control/indicators of the FPGA VI. This method provides also risk of Race
    Condition and use uP resources.
    To avoid errors in data caused by race conditions and use less processor resources, 
    I suggest you to rewrite this part of your application with the method 
    DMA transfer from FPGA to Host.
    You will find some good tutorial at the following address.
    What
    is the Best Method For Synchronizing a LabVIEW FPGA and a Host Interface VI?
    Best Regards,
    Nick_CH

  • Variable initialized with wrong message type

    Hi,
    I have a BPEL process variableA of Message type A as defined in the partnerlink WSDL file. This variable get initialized during operation A from the partnerlink. The WSDL has another message type B defined for another operation B.
    During runtime when operation A is called variable A gets initialized with message type A, however when operation B is invoked with mesage type B variableA gets initialized again with the content of message type B even though it's defined to be of message type A. Below are the snippets from the WSDL and BPEL process file
    WSDL file ..
    <message name="MessageTypeA">
    <part name="payload" element="mpx:MessageARequest"/>
    </message>
    <message name="MessageTypeB">
    <part name="payload" element="mpx:MessageBRequest"/>
    </message>
    <portType name="MutilPort">
    <operation name="A">
    <input message="tns:MessageTypeA"/>
    </operation>
    <operation name="BA">
    <input message="tns:MessageTypeB"/>
    </operation>
    </portType>
    Process BPEL file
    <variable name="VariableA"
    messageType="tns1:MessageTypeA"/>
    <variable name="VariableB"
    messageType="tns1:MessageTypeB"/>
    <pick name="Pick_2" createInstance="yes">
    <onMessage portType="tns1:MutilPort" operation="square"
    variable="VariableA" partnerLink="Multiplex">
    <sequence name="Sequence_1">
    <assign name="Assign_2">
    <copy>
    <from variable="VariableA" part="payload"
    query="/ns1:MessageARequest/ns1:Operand1"/>
    <to variable="ResponseVariable" part="payload"
    query="/ns1:AllOpProcessResponse/ns1:Result1"/>
    </copy>
    </assign>
    </sequence>
    </onMessage>
    <onMessage portType="tns1:MutilPort" operation="addition"
    variable="VariableB" partnerLink="Multiplex">
    <sequence name="Sequence_2">
    <assign name="Assign_1">
    <copy>
    <from variable="VariableB" part="payload"
    query="/ns1:MessageBRequest/ns1:Operand5"/>
    <to variable="ResponseVariable" part="payload"
    query="/ns1:AllOpProcessResponse/ns1:Result1"/>
    </copy>
    </assign>
    </sequence>
    </onMessage>
    </pick>
    Please can anyone shed some light on why and how this can happen and where is it going wrong.
    Thanks,
    Shishir

    Looks like the destination which is used by your EG has default settings,
    particulary the RedeliveryLimit param. If it is set to -1 (default setting)
    WL will try to redeliver the message forever in case of any error. Just set
    it to something else. You can also specify an ErrorDestination and hadle
    error messages specifically in it.
    Denis.
    <Gunjan Shukla> wrote in message news:[email protected]..
    Hi,
    We are using WLI 8.1, in one of our applications I have a message broker
    channel configured to listen to rawdata type messages. A jms event
    generator is configured to publish messages, which are sent to a jms
    topic, on this channel.
    We have no control over type of messages sent by client applications, when
    some client application sends an ObjectMessage instead of BytesMessage,
    following error is thrown
    ####<Jun 1, 2006 10:47:14 AM GMT-07:00> <Error> <WLW> <P931467> <cgServer>
    <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<anonymous>>
    <BEA1-004324CB0C4F26C12C0A> <000000> <Cannot publish non-BytesMessage to
    channel of type RAWDATA>
    ####<Jun 1, 2006 10:47:14 AM GMT-07:00> <Error> <WLI-Core> <P931467>
    <cgServer> <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'>
    <<anonymous>> <BEA1-004324CB0C4F26C12C0A> <BEA-489048> <Not a
    BytesMessage>
    server keeps throwing this exception and fills the logs and ultimately
    server needs to be re-started.
    Can somebody point me to whether its possible to catch these exceptions in
    a process?
    Or alternatively is it possible to somehow ignore the messages with
    mismatched message type?
    Any ideas are greatly appreciated.
    Thanks and regards,
    Gunjan

  • Problem in tilelist with dataprovider.

    I have a problem in tilelist. with the dataprovider a get the
    message error
    ArgumentError: Error #2025: The supplied DisplayObject must
    be a child of the caller.
    at flash.display::DisplayObjectContainer/removeChild()
    if i delete the images from the last added to the first one i
    have no prob but if i want to delete from the middle i get the
    message error th sode that i use is
    <mx:TileList id="tileList"
    dataProvider="{imgData}"
    columnCount="4"
    columnWidth="222"
    rowCount="2"
    rowHeight="194"
    themeColor="haloSilver"
    verticalScrollPolicy="on"
    x="0" y="415" width="100%">
    <mx:itemRenderer>
    <mx:Component>
    <mx:VBox horizontalAlign="center"
    verticalAlign="middle" width="222" height="194"
    verticalScrollPolicy="off" horizontalScrollPolicy="off" >
    <mx:Image id="img" width="165" height="126"
    maintainAspectRatio="true" source="{data.asset}" />
    <mx:Label id="txt" text="{data.title}"/>
    <mx:Button id="del" label="Delete"
    click="outerDocument.deleteSnapShot(event)"/>
    </mx:VBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    the function to add the image is :
    public function addImgToTile(bm:Bitmap):void{
    var bm1:BitmapData = Bitmap(bm1_source.content).bitmapData;
    var bitmap:Bitmap = new Bitmap(bm1);
    var vo:MyVOBm = new
    MyVOBm(bitmap,formatTime(inStream.time));
    imgData.addItem(vo);
    And the function to delete the image is:
    public function deleteSnapShot(ev:Event):void{
    imgData.removeItemAt(tileList.selectedIndex);
    tx for your help

    tx Amy for your help here i give you the code that generate
    the image from streaming video
    <mx:Canvas id="videoHBox" horizontalScrollPolicy="off"
    verticalScrollPolicy="off" backgroundColor="#000000" width="456"
    height="284" y="37">
    </mx:Canvas>
    <mx:Button x="464" y="188" label="In" width="48"
    id="btnIn" click="addStart(inStream.time);" enabled="true"
    visible="true" useHandCursor="true" buttonMode="true" toolTip="Add
    Start Image (shotcut Home)"/>
    <mx:Button id="Btn_add_action" x="464" y="221" label="Add
    Screenshot" click="addImgToTile(bm1)" useHandCursor="true"
    buttonMode="true" toolTip="Add Clip (shotcut insert)"/>
    <mx:TileList id="tileList"
    dataProvider="{imgData}"
    columnCount="4"
    columnWidth="222"
    rowCount="2"
    rowHeight="194"
    themeColor="haloSilver"
    verticalScrollPolicy="on"
    x="0" y="415" width="100%">
    <mx:itemRenderer>
    <mx:Component>
    <mx:VBox horizontalAlign="center"
    verticalAlign="middle" width="222" height="194"
    verticalScrollPolicy="off" horizontalScrollPolicy="off" >
    <mx:Image id="img" width="165" height="126"
    maintainAspectRatio="true" source="{data.asset}" />
    <mx:Label id="txt" text="{data.title}"/>
    <mx:Button id="del" label="Delete"
    click="outerDocument.deleteSnapShot(event)"/>
    </mx:VBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    variable:
    private var videoHolder:UIComponent = new UIComponent();
    [Bindable] public var imgData:ArrayCollection = new
    ArrayCollection();
    init :
    nc = new NetConnection();
    nc.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
    nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    netSecurityError);
    nc.connect(Srv_Name);
    videoHolder.setActualSize(Playing_Video_width,
    Playing_Video_height);
    Playing_Video = new Video(Playing_Video_width,
    Playing_Video_height);
    videoHolder.addChild(Playing_Video);
    Playing_Video.x = 0;
    Playing_Video.y = 0;
    videoHBox.width = Playing_Video.width;
    videoHBox.height = Playing_Video.height;
    videoHBox.addChild(videoHolder);
    functions:
    public function addStart(timecode:Number):void{
    var bm:Bitmap = copyBitmap(videoHBox as
    UIComponent,timecode,"start");
    bm1 = bm;
    img_start_time.text = formatTime(timecode);
    start_time = timecode;
    public function addImgToTile(bm:Bitmap):void{
    var bm1:BitmapData = Bitmap(bm1_source.content).bitmapData;
    var bitmap:Bitmap = new Bitmap(bm1);
    var vo:MyVOBm = new
    MyVOBm(bitmap,formatTime(inStream.time));
    imgData.addItem(vo);
    private function
    copyBitmap(source:UIComponent,timecode:Number,origin:String=''):Bitmap
    try{
    var bmd:BitmapData = new BitmapData( source.width,
    source.height );
    bmd.draw(source);
    corectImg = false;
    catch (err:Error){
    this.setFocus();
    inStream.seek(timecode);
    if (origin == "start") setTimeout(addStart,750,timecode);
    return new Bitmap(bmd);
    public function deleteSnapShot(ev:Event):void{
    imgData.list.removeItemAt(tileList.selectedIndex);
    and the MyVOBm class is :
    package components
    import flash.display.Bitmap;
    [Bindable]
    public class MyVOBm
    private var _asset:Bitmap;
    private var _title:String;
    public function MyVOBm(asset:Bitmap, title:String)
    this.title=title;
    this.asset=asset;
    public function set title(title:String):void{
    _title=title;
    public function get title():String{
    return _title;
    public function set asset(asset:Bitmap):void{
    _asset=asset;
    public function get asset():Bitmap{
    return _asset;

  • When open excel, the error "object variable or with block variable not set"

    hi, expert:
        the user is install BPCClient7.5.exe.
       when the user open "Planning and Consolidation for Office Client", then the error message is below:
    "object variable or with block variable not set"
    please answer as soon as possible!
    thanx!

    Hi,
    Please enable the Addins in Excel options..Like
    Go to Normal Excel->Excel options>Addin's>Manage>Disabled Items>then Planning and Consolidation->select enable..
    Once it is enabled then re login into BPC for Excel..it will work..
    Hope it will solve your problem..
    Regards,
    Naresh.K

Maybe you are looking for