Recording from Pull stream?  ClassCastException thrown.

I have a custom pullbufferstream and datasource that I wrote. It works quite well when just listening to the audio. Now I'm trying to set it up so that I can record and listen at the same time. So like, with a push buffer stream, I created a cloneable version of the DataSource using the Manager functions, created a clone of it, created a processor using the clone, then attempted to put the processor in the "configure" state so I could set some options before recording. At the configure() call, I get the following:
java.lang.ClassCastException
at com.ibm.media.protocol.CloneableSourceStreamAdapter$PushBufferStreamSlave.getFormat(CloneableSourceStreamAdapter.java:330)
at com.sun.media.parser.RawBufferParser$FrameTrack.<init>(RawBufferParser.java:197)
at com.sun.media.parser.RawBufferParser.open(RawBufferParser.java:84)
at com.sun.media.BasicSourceModule.doRealize(BasicSourceModule.java:172)
at com.sun.media.PlaybackEngine.doConfigure1(PlaybackEngine.java:229)
at com.sun.media.ProcessEngine.doConfigure(ProcessEngine.java:43)
at com.sun.media.ConfigureWorkThread.process(BasicController.java:1370)
at com.sun.media.StateTransitionWorkThread.run(BasicController.java:1339
The first thing I noticed is that it's trying to do stuff using a PushBufferStream, when the original DataSource and Stream are both pull versions. The code that causes this looks like:
DataSource cloneDS = ((SourceCloneable)dataSource).createClone();
recordProcessor = Manager.createProcessor(cloneDS);
recordProcessor.configure();
Pretty simple. Anyone have any ideas?

I've been digging through the JMF code trying to find this, and doing a lot of searching into why this happens. First thing I noticed in searching is that a LOT of people have a problem where a processor might not come out of the configure() call. I'm willing to bet that most of these people are having the same problem, but just aren't catching the exception to see it. Too bad none of these posts have any solution or suggestions on how to get around it.
So now onto the tracing I've been doing. Sure enough, JMF tries to typecast a PullBufferStream into a PushBufferStream in CloneableSourceStreamAdapter. The strange thing is that it does the exact same typecast a couple calls earlier (RawBufferParser:94), but since it's already been casted and stored as a SourceStream it doesn't complain (or so it seems). It looks like it all goes back to the actual clone call. The cloning uses something called com.ibm.media.protocol.CloneablePullBufferDataSource, which is a subclass of SuperCloneableDataSource. For some reason, this seems to think that it's ok to use a PushBufferStreamAdapter in place of the PullBufferStream that it's getting data from. A long chain of calls ensues, and we end up in the getFormat call. The type source stream it tries to use is none other than my custom PullBufferStream type, and then it tries to type cast that to a PushBuffer one. This all makes no sense to me why they can't just use a Parser/Processor that uses PullBuffers.
A list of things I've tried just to rule some out:
1. Creating a realized processor instead of a regular one. Results are the same.
2. Creating the datasink I'm trying to get to directly instead of through a processor. Results are the same.
3. Lots and lots of print statements inside of the JMF code just to figure out what's going on.

Similar Messages

  • Why do movies recorded with my IPhone 4S take so long to buffer on the ATV 3 with AirPlay.  1080P movies from iTunes stream instantly.

    I have a third generation apple TV and it works great with renting movies and streaming from my computer's library.  However, it is extremely slow uploading movies recorded on my Iphone 4S.  It doesn't matter if my Iphone 4s movie is streaming from my computer's library or directly from my phone it takes several minutes to buffer just a 1 minute video clip.  Is anyone else having this same issues?

    Clandherr, I'm having the same issue.  Streaming a 1:43 video I recorded from my Iphone 4S took 10 minutes to Airplay onto my Apple TV 3G.  I've also experienced lag when it comes to YouTube and Vevo videos.  I've checked my Network Configuration on my Apple TV and I've got a great signal and I'm using the Apple Extreme as a wireless router with 5Mhz speed.  My internet speed is super fast as well.  Not sure what the heck is going on. 

  • Number of records being pulled from OLAP/ SQL in BPC 5.1

    Hello BPC gurus,
                         We are experience performance issues with EVDRE.basically the report errors out and the error log states " Decompressing request failed". We are in BPC 5.1
           We were trying to understand how many number of records the evdre is pulling from from OLAP / database  so that we can look into some fine tuning opportunities of the EVDRE. 
          In the BI world we have RSRT where in which we can view the number of records from database, number of records transferred. Is there any such feature in BPC, where in which we can information on record counts.
    We have turned on the error logs , but none of them give us an idea of the record count.
    Appreciate your help in advance.
    Thanks
    sai

    Hi Sorin,
                   Thank you very much for getting to me on my clarificaiton on the record count. As per your suggestion, we have already looked into this OSS note, and changed the entries in the table. After making these changes, the queries that normally execute in 1 min, now take 30 minutes to complete. Believe this was the observation also in some of the threads related to this issue. 
    You had mentioned that there might be an issue with the communication between application server  and BPC Client. or SQE generating MDX query.  Can you please give us some pointers on how to investigate this. Have turned on error logs evdataserver_debug.txt & EVDATASERVER_TRACE.txt on the file server,  but i believe there is an OSS note 1311019, that talks about these logs not workign with SP9.
    If you can guide us in the folllowing that would be helpful
    1  how to bebug this issue that we are currently facing.
    2. How does the concept of compressing / decompressing work in BPC.
    Thanks
    sai

  • Pulling the latest records from the datasource to BW

    Hi,
    I need to pull the most recent records from a custom table on R/3 side. I make use of infoset query to retrieve data from two different tables. One custom table and the other SAP table MAKT. I created a transaction data... Datasource make use of infoset to extract the data on R/3 side.
    Is there a place where I can write code to play around with the data... is there any user exit to write the code for this purpose.
    Need help...

    Trx CMOD:
    1. Enter the Project name; if you dont have an existing project and u have to create one.
    Select a good name for a project..say ZBIW..and then enter the name and click on create button.It will take u to new screen.There give short text for project name.
    Above u will see 'enhancement assignments' button.Click it and in the new screen add enhancement RSAP0001.
    Save and remember to activate project too..
    (save in appropriate transport request)
    2. go to components select the required function module.
    EXIT_SAPLRSAP_001 for Transactional DS
    EXIT_SAPLRSAP_002 for Master DS
    Hope it helps.
    Regards

  • HELP: Is it possible to record from multiple video streams using iMovie?

    Is it possible to record from multiple video streams using iMovie.
    I want to record a presenter on a greenscreen and also his powerpoint slides at the same time and cut from one to other.
    Can imovie record from screen and camera at same time?
    If so is there a link to somewhere explaining how to do so?
    If not, what is the most efficient way to do so, without having to learn a whole complex program?
    Please advise asap.
    Very many thanks

    Alan and Anthony,
    Thanks for the quick responses. Unfortunately, there is no backup :(.
    I will ask if they get logged into the global zone, but one thing I forgot to mention is that this zone (as are all our non-global zones and the global zone also) are configured for ldap logins.
    Assuming that they can even try to login to the global zone, can they even see the directory structure in the non-global zone (sorry, I haven't worked with Zones much thus far) from the global zone?
    Also, if they can see the non-global zones directory structure, what should they then try?
    Also, I've been searching and I've seen some suggestions of running a "pkgcheck -af" which might restore the directory permissions to what the various packages expect. Assuming that they can get to the point that they can at least log into the zone, is that something that would work?
    I'm setting up a new test Solaris box now, with a zone, to try to reproduce the problem. If I can reproduce the problem, I'll post back whether or not I see the same thing.
    In the meantime, if anyone has any suggestions, please post them.
    Thanks,
    Jim
    P.S. In case you're wondering, the box/zone that got messed up was a test/integration zone, and they were in the process of installing some software when this chmod happened.

  • Recording live video from a streaming source

    Hey everyone,
    I'm very new to FMS and I have been experimenting around with it as a part of my job. I already have the encoder, FMS, and my AIR application all talking, so that portion is going well.
    The problem that I want to tackle next though is to have the FMS server record the live stream to it's hard drive. All of the guides that I've found talk about how to make a DVR stream, but that's not what I want. I want to be able to have the live stream, and then separately I would like to have it recorded.
    Thank you all for your time
    - Patrick

    Hi patrick,
                    I have attached one fla with this thread. What you have to do is that, you have to change the path that i used in the rtmp portion of the fla. First of all, in the application folder of FMS, create a folder with your application name. Then you need to give the corresponding path in the rtmp portion. In the fla that i am sending to you, i used the following statement
                             nc.connect("rtmp://192.168.0.74/live_test")
    You need to make change on this statement. Change 192.168.0.74 with IP addresss of system in which FMS installed and live_test with the name of folder that you created in the application folder of FMS. If you have any doubts regarding this, mail me on [email protected]
    I am also new in FMS. But i have implemented it after a long time of research on it. Hope it will be helpful for you.
    Regards,
           Sreelash.S.

  • Return records from Stored Procedure to Callable Statement

    Hi All,
    I am createing a web application to display a students score card.
    I have written a stored procedure in oracle that accepts the student roll number as input and returns a set of records as output containing the students scoring back to the JSP page where it has to be put into a table format.
    how do i register the output type of "records" from the stored function in oracle in the "registerOutParameter" method of the "callable" statement in the JSP page.
    if not by this way is there any method using which a "stored function/procedure" returning "record(s)" to the jsp page called using "callable" statement be retrieved to be used in the page. let me know any method other that writing a query for the database in the JSP page itself.

    I have a question for you:
    If the stored procedure is doing nothing more than generating a set of results why are you even using one?
    You could create a view or write a simple query like you mentioned.
    If you're intent on going the stored procedure route, then I have a suggestion. Part of the JDBC 2.0 spec allows you to basically return an object from a CallableStatement. Its a little involved but can be done. An article that I ran across a while back really helped me to figure out how to do this. There URL to it is as follows:
    http://www.fawcette.com/archives/premier/mgznarch/javapro/2000/03mar00/bs0003/bs0003.asp
    Pay close attention to the last section of the article: Persistence of Structured Types.
    Here's some important snippets of code:
    String UDT_NAME = "SCHEMA_NAME.PRODUCT_TYPE_OBJ";
    cstmt.setLong(1, value1);
    cstmt.setLong(2, value2);
    cstmt.setLong(3, value3);
    // By updating the type map in the connection object
    // the Driver will be able to convert the array being returned
    // into an array of LikeProductsInfo[] objects.
    java.util.Map map = cstmt.getConnection().getTypeMap();
    map.put(UDT_NAME, ProductTypeObject.class);
    super.cstmt.registerOutParameter(4, java.sql.Types.STRUCT, UDT_NAME);
    * This is the class that is being mapped to the oracle object. 
    * There are two methods in the SQLData interface.
    public class ProductTypeObject implements java.sql.SQLData, java.io.Serializable
        * Implementation of method declared in the SQLData interface.  This method
        * is called by the JDBC driver when mapping the UDT, SCHEMA_NAME.Product_Type_Obj,
        * to this class.
        * The object being returned contains a slew of objects defined as tables,
        * these are retrieved as java.sql.Array objects.
         public void readSQL(SQLInput stream, String typeName) throws SQLException
            String[] value1 = (String[])stream.readArray().getArray();
            String[] value2 = (String[])stream.readArray().getArray();
         public void writeSQL(SQLOutput stream) throws SQLException
    }You'll also need to create Oracles Object. The specification for mine follows:
    TYPE Detail_Type IS TABLE OF VARCHAR2(1024);
    TYPE Product_Type_Obj AS OBJECT (
      value1  Detail_Type,
      value2 Detail_Type,
      value3 Detail_Type,
      value4 Detail_Type,
      value5 Detail_Type,
      value6 Detail_Type,
      value7 Detail_Type,
      value8 Detail_Type);Hope this helps,
    Zac

  • DTP does not fetch all records from Source, fetches only records in First Data Package.

    Fellas,
    I have a scenario in my BW system, where I pull data from a source using a Direct Access DTP. (Does not extract from PSA, extracts from Source)
    The Source is a table from the Oracle DB and using a datasource and a Direct Access DTP, I pull data from this table into my BW Infocube.
    The DTP's package size has been set to 100,000 and whenever this load is triggered, a lot of data records from the source table are fetched in various Data packages. This has been working fine and works fine now as well.
    But, very rarely, the DTP fetches 100,000 records in the first data package and fails to pull the remaining data records from source.
    It ends, with this message "No more data records found" even though we have records waiting to be pulled. This DTP in the process chain does not even fail and continues to the next step with a "Green" Status.
    Have you faced a similar situation in any of your systems?  What is the cause?  How can this be fixed?
    Thanks in advance for your help.
    Cheers
    Shiva

    Hello Raman & KV,
    Thanks for your Suggestions.
    Unfortunately, I would not be able to implement any of your suggestions because, I m not allowed to change the DTP Settings.
    So, I m working on finding the root cause of this issue and came across a SAP Note - 1506944 - Only one package is always extracted during direct access , which says this is a Program Error.
    Hence, i m checking more with SAP on this and will share their insights once i hear back from them.
    Cheers
    Shiva

  • Form does not show "new" records from SQL Database

    I have a PDF form that pulls data from a SQL Server.  The fields in
    the PDF are populated from the database after selecting a specific
    record from a drop down and then clicking on a button labeled "Fill".
    The problem is that the dropdown does not display new records that
    have been recently added to the database.  I have to open the form up
    in designer then save it, (*note - I change nothing at this point.)
    Then when the form is opened back up in Adobe the dropdown show all
    the records including the new ones.  I even put a manual refresh on
    form to try and fix this an it did not help. Seriously stumped.
    Any help is greatly appreciated.
    Here is my code for the dropdown.
    ++++++++++++++++++++++++++++
    topmostSubform.Page1.JobSelect::initialize - (JavaScript, client)
    var sDataConnectionName = "BBCC"; // example - var sDataConnectionName
    = "Test";
    var sColHiddenValue = "ContractAdmin_Key"; // example - var
    sColHiddenValue = "Dept_ID";
    var sColDisplayText = "JobDescription"; // example - var
    sColDisplayText = "Dept_ID"
    // Search for sourceSet node which matchs the DataConnection name
    var nIndex = 0;
    while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oDB = xfa.sourceSet.nodes.item(nIndex);
    oDB.open();
    oDB.first();
    // Search node with the class name "command"
    var nDBIndex = 0;
    while(oDB.nodes.item(nDBIndex).className != "command")
    nDBIndex++;
    // Backup the original settings before assigning BOF and EOF to stay
    var sBOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction");
    var sEOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF",
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF",
    "eofAction");
    // Clear the list
    this.clearItems();
    // Search for the record node with the matching Data Connection name
    nIndex = 0;
    while(xfa.record.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oRecord = xfa.record.nodes.item(nIndex);
    // Find the value node
    var oValueNode = null;
    var oTextNode = null;
    for(var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex++)
    { if(oRecord.nodes.item(nColIndex).name == sColHiddenValue)
    { oValueNode = oRecord.nodes.item(nColIndex); } else
    if(oRecord.nodes.item(nColIndex).name == sColDisplayText) { oTextNode
    = oRecord.nodes.item(nColIndex); } }
    while(!oDB.isEOF())
      this.addItem(oTextNode.value, oValueNode.value);
       oDB.next();
    // Restore the original settings
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup,
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup,
    "eofAction");
    // Close connection
    oDB.close();
    ++++++++++++++++++++++
    Here is code for the refresh button
    +++++++++++++++++++++
    topmostSubform.Page1.Button27::click - (JavaScript, client)
    sourceSet.BBCC.requery();
    +++++++++++++++++++++

    pguerett wrote:
    The other thing that might be happening is a refresh issue on the DropDownList. Try adding the command xfa.layout.relayout() after the database connection has been closed.
    Paul
    Good catch Paul!  Would you believe that I have been trying to get this resolved for almost two years! Works perfect now.
    Thank you,
      - Eric

  • Read record from parent table

    Hello,
    I have a table which is linked (using FK) with a number of other tables which are linked with other tables, etc. (like a tree). Using ADO.NET EF provider within ODAC 11.2.0.3 Release 5 I am trying to get a record from the root table. I coded a test using MSTest and when I do "myContext.MyTable.Where(...).FirstOrDefault();" VS2010 stops the debugging process after a while - no exception is caught in code but I get an error in Test results window: "The test adapter 'UnitTestAdapter' threw an exception while running test '<my test>'. Exception has been thrown by the target of an invocation.
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
    In the Debug window/view I get this:
    A first chance exception of type 'System.AccessViolationException' occurred in Oracle.DataAccess.dll
    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll
    Step into: Stepping over method without symbols 'Microsoft.VisualStudio.TestTools.Agent.AgentExecution.CallAdapterRunMethod'
    W, 7380, 13, 2012/11/09, 23:33:29.803, QTAgent32.exe, AgentExecution: Exception while calling TestAdapter.Run: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    at Oracle.DataAccess.Client.OpsDac.Read(IntPtr opsConCtx, IntPtr opsErrCtx, IntPtr opsSqlCtx, IntPtr& opsDacCtx, OpoSqlValCtx* pOpoSqlValCtx, OpoMetValCtx* pOpoMetValCtx, OpoDacValCtx* pOpoDacValCtx)
    at Oracle.DataAccess.Client.OracleDataReader.Read()
    at System.Data.Common.Internal.Materialization.Shaper`1.StoreRead()
    at System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
    at System.Data.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__1[TResult](IEnumerable`1 sequence)
    at System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
    at System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[S](Expression expression)
    at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
    at <my code stack>
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecuter.DefaultTestMethodInvoke(Object[] args)
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.DefaultTestMethodDecorator.Invoke(Object[] args)
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecuter.RunTestMethod()
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecuter.ExecuteTest()
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecuter.Execute(UnitTestResult result)
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestRunner.ExecuteSingleTest(UnitTestExecuter executer, UnitTestElement test, ITestContext testContext, UnitTestAdapterContext userContext, Boolean isLoadTest)
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestRunner.Run(UnitTestElement test, ITestContext testContext, Boolean isLoadTest, Boolean useMultipleCpus)
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestRunner.Run(UnitTestElement test, ITestContext testContext, Boolean isLoadTest, Boolean useMultipleCpus)
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter.Run(ITestElement testElement, ITestContext testContext, Boolean isLoadTest)
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter.Run(ITestElement testElement, ITestContext testContext)
    at Microsoft.VisualStudio.TestTools.Agent.AgentExecution.CallAdapterRunMethod(Object obj)
    The thread 'Agent: adapter run thread for test '<my test>' with id '0779674e-2258-44d4-adfe-65302abbe50f'' (0x13e0) has exited with code 0 (0x0).
    W, 7380, 30, 2012/11/09, 23:33:29.869, QTAgent32.exe, Performance warning: m_test should be null when TestResult is serialized. Please find the offending code and correct it.
    E, 7380, 30, 2012/11/09, 23:33:29.879, QTAgent32.exe, AgentExecution: Received adapter message during test shutdown: run id {94200779-4759-4b4a-819c-61c55d39acbc}, test '<my test>' with id 0779674e-2258-44d4-adfe-65302abbe50f: MessageKind: Result, Outcome: Error
    The thread 'ExecutionUtilities.InvokeWithTimeout helper thread 'Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter.AbortTestRun'' (0x1f98) has exited with code 0 (0x0).
    The thread 'Agent: state execution thread for test '<my test>' with id '0779674e-2258-44d4-adfe-65302abbe50f'' (0x2688) has exited with code 0 (0x0).
    The thread 'Agent: test queue thread' (0x1c58) has exited with code 0 (0x0).
    A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
    A first chance exception of type 'System.Threading.ThreadAbortException' occurred in Oracle.DataAccess.dll
    A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
    The thread '<No Name>' (0x24c0) has exited with code 0 (0x0).
    A first chance exception of type 'System.Threading.ThreadAbortException' occurred in System.Data.Entity.dll
    A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
    A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
    The thread '<No Name>' (0x2410) has exited with code 0 (0x0).
    The thread '<No Name>' (0x2520) has exited with code 0 (0x0).
    E, 7380, 6, 2012/11/09, 23:35:17.912, QTAgent32.exe, AgentObject: Cleanup: Timeout reached in cleaning up the agent.
    E, 7380, 6, 2012/11/09, 23:35:22.918, QTAgent32.exe, AgentObject: Cleanup: Timeout reached in cleaning up the agent.
    The program '[7380] QTAgent32.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
    Any idea is appreciated!
    Thanks
    Edited by: 917334 on Nov 10, 2012 12:17 AM
    The equivalent where statement works well in classic ADO.NET.

    Hello
    Use the below function module
    RV_ORDER_FLOW_INFORMATION pass the type as C and pass the number.You will get all the flow.
    SELECT VBELN KNUMV BUKRS KUNRG REGIO NETWR FKSTO FKDAT FKART  INTO CORRESPONDING FIELDS OF TABLE T_VBRK  FROM VBRK WHERE BUKRS IN P_BUKRS AND FKDAT IN P_FKDAT AND VKORG IN P_VKORG AND REGIO = '07'
        ORDER BY VBELN KNUMV.
    SORT T_VBRK BY vbeln.
      LOOP AT T_VBRK.
        IF  T_VBRK-FKART = 'F2' OR T_VBRK-FKART = 'YF2' OR T_VBRK-FKART = 'ZF2' OR
            T_VBRK-FKART = 'ZG2' OR T_VBRK-FKART = 'ZL2' OR T_VBRK-FKART = 'YG2' OR T_VBRK-FKART = 'YL2' .
          IF T_VBRK-FKSTO IS INITIAL.
    i_vbco6-vbeln = t_vbrk-vbeln.
    CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
      EXPORTING
      AUFBEREITUNG        = '2'
      BELEGTYP            = ' '
        COMWA               = i_vbco6
      NACHFOLGER          = 'X'
      N_STUFEN            = '50'
      VORGAENGER          = 'X'
      V_STUFEN            = '50'
    IMPORTING
      BELEGTYP_BACK       =
      TABLES
        VBFA_TAB            = t_vbfa
    EXCEPTIONS
       NO_VBFA             = 1
       NO_VBUK_FOUND       = 2
       OTHERS              = 3
    endif.
    ENDIF.
    endloop.
    loop at t_vbfa.
      if t_vbfa-vbtyp_V = 'C' OR t_vbfa-vbtyp_V = 'K' OR t_vbfa-vbtyp_V = 'L' OR t_vbfa-vbtyp_V = 'E' .
    *clear t_vbfa.
    SELECT VBELN BSTNK BSTDK FROM VBAK INTO CORRESPONDING FIELDS OF TABLE T_VBAK FOR ALL ENTRIES IN T_VBFA WHERE VBELN = T_VBFA-VBELV .
    endif.
      ENDLOOP.
    In case of any more help is required do let me know
    Regards,
    Nabheet Madan

  • Need assistance searching records from multiple tables - Please Help!

    Hi, I've been trying to solve this problem for several weeks now, and I have exhausted all of my knowledge and experience.  I need help, and I hope someone here can give me some direction.
    I am using VB 2008, and the CR that comes bundled with VS 2008 Pro.  My database is a SQL Server 2005 CE v3.5 (a *.sdf file).  I am connecting to the database through a dataset, and I am displaying the report in a CrystalReportViewer.
    My dataset consistes of two tables:
    1) tblCustomers which has a primary key "CustID", and contains only customer contact and personal information. 
    2) tblDateVisited which has a primary key of "VisitID", but it also has a column titled "CustID". Basically, every time a customer visits the business, details of that visit are recorded in tblDateVisited, and that record is associated with the customer by their CustID.
    Here's what I'm trying to accomplish:  I want to be able to display only Customer records when the customer has visited and that visit matches certain criteria.  Right now, I am trying to match visits from the "tblVisitDate.PlayerType" column.  If the customer has ever had a visit where they matched a particular player type, I want to see those customer records.
    I don't know what I'm doing wrong, though.  I can search a dataset if I am only querying one table and pulling records from that table.  However, whenever I try to add a second table and perform queries on that table to get records from the first table, I can't return any records. 
    If it helps, I am trying to use one CrystalReportViewer to display multiple reports (user choice) and here's how I'm loading the report into the viewer:
    Me.tblCustomersTableAdapter.Fill(Me.dsPlayerTypeReports.tblCustomers)
    Me.tblDateVisitedTableAdapter.Fill(Me.dsPlayerTypeReports.tblDateVisited)
    Me.ReportFile.SetDataSource(dsPlayerTypeReports.Tables(1))
    I am suspicious that my problem is in the Tables(1) method.  It confuses me that I can only assign one table as a datasource when I obviously need access to two tables to make this selection work. 
    Whatever the case, I'm at the end of my rope with this one.  I'm not prone to giving up, but I'm at a dead end currently. 
    Any attempt to assist me with this will be greatly appreciated, successful or not.
    Thanks in advance!
    -Will

    No, I am connected via ADO.NET.  I don't think SQL CE can connect through ODBC (or if it can, I haven't been able to figure out how, yet).  So this isn't a stored procedure.
    When I examine the link, I can only choose an Inner Join or a Left Outer Join.  Right Outer and Full Outer are not available.  Could this be a problem with the dataset I'm using?
    Could you explain what you mean by display all of the records and then choose the selection criteria?

  • Hotsync failing to download records from Palm TX

    I just got a used Palm TX to replace my ancient Handspring Visor, but I can't use it with my main Windows XP system 'cause it just plain won't pull anything down from the TX. It'll put stuff onto the handheld fine, it just doesn't download anything. It doesn't even acknowledge that there's data there to be retrieved. The only way I've gotten it to properly sync is by installing Palm Desktop 6.2.2 on my father's XP machine in order to test if something was wrong with the TX. And I've tried both USB and Wi-Fi syncs to my computer, with no results.
    I know it's something wrong with my XP PC, 'cause not only doesn't the Hotsync work right, but Palm Desktop doesn't save anything. Put some data into the Date Book, Address Book, etc., press "Save All", and it'll cheerfully act like it's saving it while silently dropping it into the void. Reopen Palm Desktop and it's all missing. I know this 'cause I exported all my records from Palm Desktop 4.0.1 before uninstalling it, then imported them into 6.2.2, and none of them stuck. The only time it showed up was when I was fiddling around installing and uninstalling the Palm Desktops and tried to install 6.2.2 without uninstalling  4.0.1 and the installer caught that the old one was installed and told me to uninstall it to complete the installation. So I did that, and lo, it imported all the records from the previous install, and they showed up in Palm Desktop 6.2.2. Of course it wouldn't save any changes after that, but it could upload them into my TX.
    Anyway, if someone could help be nail down where the Hotsync and Palm Desktop are breaking, that'd be really helpful. I'm at my wits end on this one. Thanks.

    Have you checked the HotSync Manager settings for each conduit?  Are they set to "Synchronize", or writing in one direction only?
    Is there more than one HotSync Account name on Palm Desktop?  Are you viewing the correct one that matches the name in the HotSync app on the TX?
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Recording from mic, not sound card

    Hi there. Relatively new to Audition so trying to get my head around it!
    I'm using Adobe Audition 3.0 and i'm mucking about with it basically to get some experience for my uni project. I'm trying to compile and edit together a collection of audio clips from a number of web streams. I've done it before for a while on a different computer and it worked fine but i'm having trouble doing it right on this occasion.
    Basically, it's recording from my microphone rather than what's being played on the computer. I have no idea how to change this. Any help guys?

    I bet you've moved to a Vista or Windows 7 machine.
    Under pressure from the record companies, the ability to record the Stereo Mix output of you computer has been disabled or removed from many new computers.
    You may be lucky and find it's only been disabled on your machine.  If so, then do the following:
    To enable:
    ->> go to Control Panel
    ->> Hardware and Sound
    ->> Manage Audio devices
    ->> in the Recording tab window right click in the white area away from any devices and from the menu enable "Show Disabled Devices" and "Show disconnected devices"
    ->> right click on Stereo Mix to get the properties window and in Device usage "Use this device (enable)"
    However, there have been many reports in here (you can do a search) that some computer manufacturers are actually removing this ability entirely, again under pressure from the record companies.
    This being the case, you might try some software called Virtual Audio Cable:  http://software.muzychenko.net/eng/vac.htm
    You have to pay for it but at least there's a trial version so you can see if it works for you before laying out your money.
    Bob

  • Recording from HDMI out

    We have an event coming up at work and one of the presenters will be using Apple TV. I will be recording the event and want to capture the Demo from the Apple TV box to edit into the video presentation.
    Is it possible to record from the HDMI out?
    Does Apple offer a way to record the live stream?

    Thanks for the responds...this demo will be live from what I understand. It will not be a pre-recorded or produced presentation.
    I may have no choice other than recording one of the flat screen monitors.
    Thanks again.

  • Importing photos from photo stream

    Under iphoto, it used to be that photos would be pulled down from photo stream and an album for the month would be auto generated, housing all of the photos for that month that were imported from photo stream.
    Under the new photos app, I see the current month (April 2015) but it's not updating with any new photos.
    When I look at my photo stream (the main fire hose), my photos show there - just not in the auto-generated folder.
    When I pull back and look at the April 2015 folder, it is housed under "iPhoto albums" ...
    My question is this:
    Is this feature now retired?  Do I now have to manually create these monthly folders?
    Differences between iPhoto and the Photos app do not exactly seem to be spelled out.

    I'm also trying to figure some of this out... looking to migrate from Aperture.
    When migrating your old library to Photos, your "April 2015" photo stream was converted to a Photos "album." This, along with your other iPhoto albums (Projects in Aperture) were placed in the "iPhoto albums" folder.
    It doesn't seem that Photos creates new albums for Photo Streams. These photos are all pulled into the one "My Photo Stream" which seems to be a "smart" album.

Maybe you are looking for