Player for custom datasource

Hi
I need to create a custom datasource but i want to play it on a player as other normal datasource.
I tell you what im doing, I have developed a example to show you my problem:
first thing i do is creating a custom datasource:
import javax.media.*;
import javax.media.protocol.DataSource;
import javax.media.protocol.ContentDescriptor;
public class myCustomDataSource extends DataSource {
     myCustomDataSource(MediaLocator ml){}
     public void connect(){}
     public void disconnect(){}
     public void start(){}
     public void stop(){}
     public String getContentType() {
          return ContentDescriptor.CONTENT_UNKNOWN;
     public Object[] getControls() {
         return new Object[0];
     public Object getControl(String type) {
         return null;
     public Time getDuration(){
          return Time.TIME_UNKNOWN;
}then, I create a basic class that use a player for playing my custom datasource:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.media.*;
import javax.media.protocol.DataSource;
public class VideoPlayer extends JFrame {
     Player player = null;
     private JPanel contentPane;
     public static void main(String args[]){
          String mediaFile = "http://noodle.med.yale.edu/demos/dsr_arrow.mpg";
          MediaLocator locator = new MediaLocator(mediaFile);
          myCustomDataSource mcds = new myCustomDataSource(locator);
          (new VideoPlayer(mcds)).setVisible(true);
     public VideoPlayer(myCustomDataSource ds) {
          super("Example");
          setSize(400,400);
          contentPane = (JPanel) this.getContentPane();
          addWindowListener(new myWindowAdapter());
          try {
               player = Manager.createPlayer(ds);
               player.addControllerListener(new controllerUpdate());
          }catch(Exception e){
               System.err.println("Error loading the media. ("+e+")");
          if(player!=null) player.realize();      
     class controllerUpdate implements ControllerListener {      
          public synchronized void controllerUpdate(ControllerEvent e) {      
               if(e instanceof RealizeCompleteEvent) {
                    Component visualArea = player.getVisualComponent();      
                    Component controlPanel = player.getControlPanelComponent();      
                    if(visualArea!= null)      
                         contentPane.add(visualArea, BorderLayout.CENTER);      
                    if(controlPanel != null)      
                         contentPane.add(controlPanel, BorderLayout.SOUTH);      
                    validate();      
                    player.prefetch();
               if(e instanceof PrefetchCompleteEvent) {
                    player.start();
     class myWindowAdapter extends WindowAdapter {
          public void windowClosing(WindowEvent e){
               if(player!=null) player.close();
                    System.exit(0);
}when i run it i get the next error: Error loading the media. (javax.media.NoPlayerException: Cannot find a Player for: myCustomDataSource@be0e27)
I dont know how i must fill the myCustomDataSource class constructor and abstract methods to run it.
I test videoplayer class with a normal datasource and it works
sorry for my bad english
Thanks so much

ok, thanks for answering,
I see a sun webpage example maybe can help: http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html
In that example, a custom datasource is declared and then a processor is created with that custom datasource using Manager.createProcessor. For that, custom data source class is declared inside class where processor is used. Im trying to do it but it doesnt work, i get the same error.
thanks in advance
import java.awt.*;
import java.awt.event.*;
import java.util.Vector;
import java.io.*;
import javax.swing.*;
import javax.media.*;
import javax.media.protocol.ContentDescriptor;
import javax.media.protocol.DataSource;
public class VideoPlayer extends JFrame {
     Processor p = null;
     private JPanel contentPane;
     myCustomDataSource mcds = null;
     public static void main(String args[]){
          String locator = "C:/video.avi";
          (new VideoPlayer(locator)).setVisible(true);
     public VideoPlayer(String locator) {
          super("Example");
          setSize(400,400);
          contentPane = (JPanel) this.getContentPane();
          addWindowListener(new myWindowAdapter());
          mcds = new myCustomDataSource(locator);
          try {
               p = Manager.createProcessor(mcds);
          }catch(Exception e){
               System.err.println("Error loading the media. ("+e+")");
          if(p != null){
               //p.setContentDescriptor(null);
               p.addControllerListener(new controllerUpdate());
               p.configure();      
     class controllerUpdate implements ControllerListener {      
          public synchronized void controllerUpdate(ControllerEvent e) {      
               if(e instanceof ConfigureCompleteEvent) {
                    p.realize();
               if(e instanceof RealizeCompleteEvent) {
                    Component visualArea = p.getVisualComponent();      
                    Component controlPanel = p.getControlPanelComponent();      
                    if(visualArea!= null)      
                         contentPane.add(visualArea, BorderLayout.CENTER);      
                    if(controlPanel != null)      
                         contentPane.add(controlPanel, BorderLayout.SOUTH);      
                    validate();      
                    p.prefetch();
               if(e instanceof PrefetchCompleteEvent) {
                    p.start();
     class myWindowAdapter extends WindowAdapter {
          public void windowClosing(WindowEvent e){
               if(p != null) p.close();
                    System.exit(0);
     class myCustomDataSource extends DataSource {
          MediaLocator ml = null;
          myCustomDataSource(String locator){
               ml = new MediaLocator("file://"+locator);
               super.setLocator(ml);
          public void connect(){}
          public void disconnect(){}
          public void start(){}
          public void stop(){}
          public String getContentType() {
               return ContentDescriptor.CONTENT_UNKNOWN;
          public Object[] getControls() {
              return new Object[0];
          public Object getControl(String type) {
              return null;
          public Time getDuration(){
               return Time.TIME_UNKNOWN;
}

Similar Messages

  • Enable RDA for customized datasource

    Hi
    Please let me know step by step process how to enable RDA for customized datasource ( generic extraction by FM)
    and how tio enable for standard datasource

    Please let me know step by step process how to enable RDA for customized datasource ( generic extraction by FM)
    Re: Real-Time Data Acquisition
    and how to enable for standard datasource
    goto se38 in ECC, and cerate an executable program with the following code
    Tables : ROOSOURCE.
    UPDATE ROOSOURCE set REALTIME = 'X'
    WHERE OLPTSOURCE = "datasource name" and OBJVERS = 'A'.
    when i am creating infopckage check box is disable for real time data?
    U have to create TWO infopackages, one for Initialize Delta Process, and other for Real Time load...
    Tricky thing here is, before creating Real_Time infopackage, u should load data through first infopackage (Initialize Delta Process).... Then only real time check box is enabled

  • Delta Upload for Customized DataSource

    Hello,
    I created a Customized DataSource with Full Upload and replicated DS in BW ,now i want to creat Dalta Upload for the same Data Source is it possible can i do ,is there any method or settings to be done to get Delta upload  update..
    I hope my thread is understandable....
    ifnot get back ....!
    Thanks

    Hi Bhanu,
    What is the Safety Upper & Lower limits you have given for your Generic Delta(RSO2 trans). That also matters.
    Give Safety Upper limit as 0 & Lower Limit as 1, Replicate the DS once in BW & then try to load Delta.
    If possible Delete the Init--> Load the Init again & then try loading Delta after changing the Safety limits & loading INIT.
    Hope it helps you!
    Regards,
    Pavan

  • Records are repeatedly loading for RDA DataSource

    Hi
    Iam trying to load the data for custom datasource into DSO . This datasource is real time enabled one .
    Eventhough there is no new records are created in ECC system , the real time datasource getting the same number of old reocrds dailiy . I mean , the records are repeatedly loading into the DSO object .
    Why the records are repeatedly loading into the DSO object for real time datasource .
    Please let me know
    Regards
    mohammed

    Hi,
    In RSO2 click on a'GENERIC DELTA' and select the Time stamp and give the lower limit and upper limit
    and if you are loading the data into DSO then select the radio button is "New Status of changed record"
    if you are loading the data into CUBE then select the radio button is "Additive Delta".
    Regards,
    Yerrabelli.

  • Select option greyed out for fields of custom DataSource (rso2, rsa6)

    Hi
    Why are several fields, in my custom DataSource (created in rso2) not available for select?
    I do not think this is a permission issue, since several fields are selectable, but not all fields.
    It is not the data type, since I see other custom DataSources that have the same data type, and it is selectable as a select option.
    This is not a DataSource that was provided by SAP, it is completely custom, and uses a custom data definition (defined as a structure via se11), and a custom function.
    I have read the responses to similar questions, but have not found an answer that explains how to make the field selectable for select.
    What determines which fields can be selected for selection, and which fields have this option greyed out (not selectable)?
    I have come across multiple answers, for similar questions, that suggest an abap program to directly update table roosfield.
    Is this safe?
    IF I choose this route will I need to run the update program on production, or will the change it makes to my dataSource transport with my transport?
    (I can test this).
    What I most need to know is If this suggestion is safe, or if it has side effects?
    Thank you

    Hi Eileen,
    In Least case to enable the selection for the fields with the below program:
    Below code is for your reference which will use to unhide objects in RSO2 or RSA6 for Data source( in code for BELNR, KUNNR, VBELN, BUDAT fields are unhiding for 0fi_ar_4 data source selection option) . Still need any clarifications let me know.
    SE38: Create a program for ref below code.
    REPORT ZNP_SELE_DS.
    tables: ROOSFIELD.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND   OBJVERS = 'A' AND FIELD = 'BELNR'.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'KUNNR'.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'VBELN'.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'BUDAT'.
    Thanks & Regards,
    Srinu.Rapolu

  • Procedures for implementing a snapshot scenario with custom DataSources

    Hi Gurus,
    I have checked the How To paper ([How to Handle Inventory Management Scenarios in BW (NW2004)|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]). However, only SAP standard BW objects are mentioned in the paper e.g. InfoCube (0IC_C03), Material Stock InfoSource (2LIS_03_BX), Material movements IS (2LIS_03_BF) and Revaluations IS (0LIS_03_UM).
    On the contrary, I need to handle custom DataSources for the Snapshot scenario. Are there any differences in the implementation methodology? Which additional aspects should I take into consideration? For example, the load sequence, delta type, etc.
    Could you please list out the step-by-step procedures for such an implementation?
    Thanks in advance!
    Regards,
    Meng

    Hi Meng,
    You can approach this in two ways.
    1) If the volume of data is not much, you can derive the balance at query level, as follows.
    User enters the date, based on this restrict your key figure to display all values less than this date.
    2) If the volume of data is high, then you will have issues with performance if you are calculating the balance in the front end. In this case, you can model this with 'Non cumulative' key figure.  Again there are 2 ways of approaching this back end solution based on the volume of data. ( Say in one case you have 2 years of history in your DSO and in the second case, you have  5 years of history ).
    A) For example, If there are only 2 years of history
    Create a non cumulative Key figure 'ZBALANCE' with inflow and outflow, in a cube.
    Map this to your credit and debit as + and - respectively and map the calender day to posting date.
    Just initialise the dataload with data transfer and start loading the delta as normal.
    You will be able to see the balances for each and every calday in your reporting.
    This approach is straight forward and simple.
    Compress the cube for getting the better performance.
    B) If there are 5 years of history and you are not interested in loading all the 5 years data in getting the balance
    Here you want to have the initial balance, continue delta and would like to load 2 years of history.
    The cube and non cumulative KF are created as mentioned above.
    For generating initial balance, you have to create another DSO without calander day and ZBalance mapped to credits and debits in additive mode. Load your DSO data into this new DSO to generate initial balance. This balance will be loaded to your cube as initial balance. ( Like 2LIS_03_BX ).
    You have to compress this request with marker update ( Must ).
    Load your historical data for 2 years from the original DSO. Compress without marker update ( Must ).
    initialise without data transfer from DSO to cube and load deltas normally.
    Compress the delta requests normally for performance reasons.
    Please read the 'Inventory document' in detail.
    Please let me know, if any of the information is still not clear.
    Thanks,
    Krishnan

  • Dump during extraction for the custom datasource (ZFI_GL_14).

    Hello all,
    we are using Ecc 6.0 and we havent installed Enhancement Package 3. However our requirement is to create a custom datasource (ZFI_GL_14) similar to the standard one (0FI_GL_14). Initially we created the custom DS same as the standard one with the extraction method using Function Module. By default custom DS was assigned with extraction method F2. By running a program we changed F2 to F1 to resemble the standard one and made it as delta enabled as specified in the standard extractor.
    when we started extracting the custom DS using RSA3, we encountered so many errors and resolved them. However still we are getting some more errors which requires your help.
    1. While testing One of the function module FAGL_GET_LINE_ITEMS, it throws following ABAP dump.
    Short text                                                                               
    |    A dynamically specified FROM clause has an unexpected format.                              
    |What happened?                                                                               
    |    Error in the ABAP Application Program                                                        
    |                                                                               
    |    The current ABAP program "SAPLYPFI_FAGL_ITEMS_SELECT_BW" had to be terminated                
    |     because it has come across a statement that unfortunately cannot be executed.                               
    |Error analysis                                                                               
    |    An exception occurred that is explained in detail below.                                     
    |    The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SYNTAX', was not               
    |     caught in                                                                               
    |    procedure "YPFI_FAGL_GET_LINE_ITEMS" "(FUNCTION)", nor was it propagated by a                
    |     RAISING clause.                                                                             
    |    Since the caller of the procedure could not have anticipated that the                        
    |    exception would occur, the current program is terminated.                                    
    |    The reason for the exception is:                                                             
    |    The running ABAP program attempted to execute an Open SQL statement in                       
       which a FROM clause was specified dynamically in the field "LD_DBTAB_SYNTAX".                
    |     In this                                                                               
    |    FROM clause, either a table name after a join operator is missing, or an                     
    |     alias name after the key name "AS". The field "LD_DBTAB_SYNTAX" could be empty as well.                                                                               
    |Missing RAISING Clause in Interface                                                              
    |    Program                                 SAPLYPFI_FAGL_ITEMS_SELECT_BW                        
    |    Include                                 LYPFI_FAGL_ITEMS_SELECT_BWU01                        
    |    Row                                     1                                                    
    |    Module type                             (FUNCTION)                                           
    |    Module Name                             YPFI_FAGL_GET_LINE_ITEMS                             
    |Trigger Location of Exception                                                                    
    |    Program                                 SAPLYPFI_FAGL_ITEMS_SELECT_BW                        
    |    Include                                 LYPFI_FAGL_ITEMS_SELECT_BWU01                        
    |    Row                                     353                                                  
    |    Module type                             (FUNCTION)                                           
    |    Module Name                             YPFI_FAGL_GET_LINE_ITEMS                             
    |Source Code Extract                                                                               
    |Line |SourceCde                                                                               
    |  323|                                  lt_fields_flexgl                                         
    |  324|                                  lt_fields_table1                                         
    |  325|                                  lt_fields_table2                                         
    |  326|                                  gv_si_table "erste Tab immer Flexgl?                    
    |  327|                                  gc_bkpf                                                  
    |  328|*                                  ' '                  
    |  329|                                  gc_bkpf_aedat       
    |  330|                                  'X'                                                      
    |  331|                            CHANGING ld_dbtab_syntax                                       
    |  332|                                     lt_fldlist_s                                          
    |  333|                                     lt_where_tab[].                                       
    334
    |  335|*       open cursor                                                                        
    |  336|        DESCRIBE TABLE lt_where_tab LINES ld_lines.                                       
    |  337|        IF ld_lines GT 0.                                                                 
    |  338|          delta_dbcnt          = 0.                                                       
    |  339|          old_dbcnt            = 0.                                                        
    |  340|          flag_cursor_open     = 'X'.                                                     
    |  341|          cursor_flag          = 'X'.                                                      
    342
    |  343|          OPEN CURSOR WITH HOLD i_cursor FOR                                               
    |  344|          SELECT (lt_fldlist_s)                                                            
    |  345|            FROM (ld_dbtab_syntax) CLIENT SPECIFIED                                        
    |  346|             WHERE (lt_where_tab).                                                         
    |  347|        ELSE.                                                                               
    |  348|          delta_dbcnt          = 0.                                                        
    |  349|          old_dbcnt            = 0.                                                        
    |  350|          flag_cursor_open     = 'X'.                                                      
    |  351|          cursor_flag          = 'X'.                                                      
    352
    |>>>>>|          OPEN CURSOR WITH HOLD i_cursor FOR                                               
    |  354|          SELECT (lt_fldlist_s)                                                            
    |  355|            FROM (ld_dbtab_syntax) CLIENT SPECIFIED.                                       
    |  356|        ENDIF.                                                                             
    357
    |  358|        st_selection[]  = lt_selection[].                  
    |  359|        st_fieldlist[]  = lt_fieldlist[].                  
    |  360|        sd_dbtab_syntax = ld_dbtab_syntax.             
    |  361|        st_fldlist_s[]  = lt_fldlist_s[].                
    |  362|        st_where_tab[]  = lt_where_tab[].                
    |  363|        st_seltable2[]  = lt_seltable2[].                 
    364
    |  365|      ENDIF.   "cursor_flag                                                               
    366
    |  367|      lt_selection[]  = st_selection[].                 
    |  368|      lt_fieldlist[]  = st_fieldlist[].                                       
    |  369|      ld_dbtab_syntax = sd_dbtab_syntax.        
    |  370|      lt_fldlist_s[]  = st_fldlist_s[].                 
    |  371|      lt_where_tab[]  = st_where_tab[].              
    |  372|      lt_seltable2[]  = st_seltable2[].                   
    Line 353 contains the error.
    1. L_DBTAB_SYNTAX. As per the statement this field should bring the table name, but it is not bringing any value                          whiledebugging.
    2.also lt_fldlist_s should bring the field names.
    As this is for New GL line item datasource, I am not sure what fields should lt_fldlist_s and what table name , and wheretab value should come , so that the function module can extract the data.
    Kindly help me to get an insight into this issue and to get it resolved.
    thanks,
    Praba...

    Hi Frank,
    yes I agree. That was the first question that came to me in my mind. However, the job was handed over to us, and we were able to exactly create the custom DS , FM and Function groups as similar to the standard one and everthing got activated perfectly. But during extraction, it throws the dump.While debugging, the function module is not able to pick the value for the 3 fileds which I stated above in one of my queries. The main extractor for this Datasource is FAGL_GET_SI_DATA and it uses the extract structure FAGLPOSBW.This Main function module in turn calls one more FM, FAGL_GET_LINE_ITEMS by exporting below parameters.
    CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
              EXPORTING
                i_block_data = 'X'
                i_block_size = sd_max_lines
                i_selection  = lt_select_int
                i_fieldlist  = lt_fields_int
                i_initflag   = i_initflag.
          ELSE.
    From my observation ,  the above statements i_selection  = lt_select_int  and i_fieldlist  = lt_fields_int should contain/pass the value to the line items FM, FAGL_GET_LINE_ITEMS.In the above thread also I mentioned I didnt get the value for ld_dbab_syntax, lt_fieldlst_s and ld_where_tab. I believe it is simply because i_selection and i_fieldlist is not getting the value from lt_select_init and lt_fields_init respectivelyImport parameters for this FM is as below.
    I_BLOCK_DATA     TYPE     C
    I_BLOCK_SIZE     TYPE     SY-TABIX
    I_SELECTION                           TYPE     GUSL_T_SELECTION
    I_FIELDLIST                           TYPE     GUSL_T_FIELDS
    I_INITFLAG                           TYPE     GUSL_BOOL
    I_CHANGED_RECORDS      TYPE     GUSL_BOOL
    export parameter for this FM is as below.
    FLAG_CURSOR_OPEN     TYPE     FLAG
    Changing parameter for this FM is as below
    C_T_FAGLPOSE     TYPE     FAGLPOSE_T
    where FAGLPOSE means Fields for Reading Data: Line Items: New General Ledger.GUSL_T_SELECTION is the same type like DDIC table type FB_T_FIELD_SELECT_OPTIONS which will have Fieldname and selection option range.GUSL_T_SELECTION is created within the type group GUSL as mentioned below.
    TYPES: BEGIN OF GUSL_S_SELECTION,
           FIELDNAME LIKE DFIES-FIELDNAME,
           T_RANGE   TYPE GUSL_T_RANGE,
           END   OF GUSL_S_SELECTION,
           GUSL_T_SELECTION TYPE GUSL_S_SELECTION OCCURS 20.
    wherein
    FIELDNAME LIKE DFIES-FIELDNAME,
    DFIES: --> DD Interface: Table Fields for DDIF_FIELDINFO_GET. Also GUSL_T_FIELDS refers to DFIES.
    Regards,
    Praba..

  • Master Datasource Update for custom fields

    I have a standard master data source for 0customer, I need some custom fields that are enhanced in the same SoURCE TABLE KNA1. please let me know if
    1.  i can create the generic data source Z_DS_CUSTOMER for custom fields only from KNA1
    2. Create transformation 1 to Map the data source Z_DS_CUSTOMER to Ocustomer to load the custom fields only and set no transformation for other standard fields
    3. Create transformation 2 to Map the data source 0customer_attr to same Ocustomer to load the standard fields.set no transformation for other custom fields
    4. Then Load via DTP Standard fields first via transformation 2
    5. Then Load via DTP custom fields first via transformation 1
    Will the above will work fine, and I can avoid any enhancement to master datasource 0customer_attr
    please help me with solution.
    Regards
    Soniya
    null

    Hi all my dear friends,
    I have seen the recommendation by my SAP collegue and Anil
    1. infoobject as Target and
    2. in between Standard DSO
    1 transformations as you mentioned from 1 IS
    3. Common Info source
    2 transformations as you mentioned from 2DS
    4. Datasources (2no's ) as source to splly to data to DSO
    <b>Please tell me what is the need to do all the above why can't I feed directly the Infoobject with the below PLEASE tell me what will be the bad impact on design if I do the below</b>.since my client is asking<b> justification for build of each BI object</b>
    1. infoobject as Target and
    1 transformations as  mentioned from 1 IS
    2. Common Info source
    2 transformations as mentioned from 2DS
    3. Datasources (2no's ) as source to splly to data to DSO
    I am not going for enhancement since it is not populating the datasource in rsa3. if you can correct that it would be great.
    I have the same code for all custom fields none of them is working no records are pulled in RSA3 For custom field ZZSTAT.
    Please help me with this
    Thanks
    Soniya Kapoor
    *data: l_BIW_KNA1_S like BIW_KNA1_S
    *case i_datasource.
    *WHEN ' 0CUSTOMER_ATTR'.
    *loop at C_t_data into l_BIW_KNA1_S
    *l_tabix = sy-tabix.
    *clear  I_KNA1.
    *select single * from KNA1 into i_KNA1 where kunnr = l_BIW_KNA1_S-kunnr.
    *if sy-subrc = 0.
    *l_BIW_KNA1-ZZSTAT = I_KNA1-ZINSTAT.
    *modify C_t_data from l_BIW_KNA1 index l_tabix.
    *endif.
    *endloop.
    *endcase.

  • I want to build a custom flash player for my desktop

    I want to build a custom flash player for my desktop, using C# and Visual Studio 2008. Where do I start? I just want a real simple one to play swf files. Play, stop, loop, full screen, normal size. I'll start there. Where do I go? I've searched the web for an answer, and found several example projects that don't compile, or are incomplete. It's very frustrating. This shouldn't be that difficult.

    I think you started the right way - looking for example programs.
    If they won't compile, then they probably contain errors.  Fix the errors until they compile.  Then develop your own extensions.
    This is one way of developing applications, the other way is starting from scratch.

  • Custom Datasource for infoobject

    Hello Guru
    i have created a custom datasource on a SAP table (custom table) to update data from SAP into an infoobject in BW. Everithing works correclty but when i delete an entry in the custom table and update this in BW the entry in the infoobject is not deleted.
    The infopackage and DTP are FULL.
    How can i fix this problem and have always SAP table alligned with master data in the infoobject (new entry and DELETE entry)?
    thanks
    Boris

    As you have created the generic extractor ans alos you are running
    the full load.
    In case of standard extractor delta will be handeled by the
    extractor itself ,but it is not the same with the custom one.
    We face one scenerio with the generic extractor.
    1.Customer used to craete the notification on some date.
    2.The same notification was deleted on some other day.
    3.As in bw t=we load the previos day data.
    4.So we were facing the problem like notification in
    the r/3 side was deleted but they were still there in the BI side.
    What we did is there is one field ie deletion flag and it set to 'X'
    whenever we delete any record by default it is blank.
    So we included the deletion flag file din the extractor and
    create the same in the BW side.
    At lat we restricted the query by filter "blank'.
    So it was not showing the deleted notification in the report.
    Thanks,
    Saveen

  • Custom DataSource plays in JMStudio, but not in my application

    hello everyone. I need someone to help me out who has played around a lot with DataSources.
    I have been playing around with custom DataSources for a small while and I have not been able to figure out something and its starting to get frustrating.
    First let me tell you what process I exactly follow when I want to create a Custom DataSource (using the "Generating Live Audio/Video Data" datasource code sample as an example - from JMF solutions http://java.sun.com/products/java-media/jmf/2.1.1/solutions/LiveData.html):
    1. Suppose the source files (DataSource.java and LiveStream.java) are lying at C:\customds\.
    I compile the files like this:
    javac -d . DataSource.java LiveStream.java
    As a result this directory is formed C:\customds\jmfsample\media\protocol\live which contains all the compiled (interpreted) files.
    2. Then I register 'jmfsample' in the Protocol Prefix list and commit the changes using the JMFRegistry GUI.
    3. Now if I run JMStudio and enter the URL live: it gives me an error that it can't create a player. I feel this is happening because some classpaths haven't been set correctly. Eventually I figured out that I have to place the \jmfsample\media\protocol\live\ directory inside the <JMF install dir>\lib\. Doing this fixes the problem and now I can go to JMStudio and run the protocol using the 'Open URL'. Giving it 'live://' plays the 'blue screen' like a gem.
    4. But here is the catch now. When I create an application which tries to create a player using live:// as a source, it doesn't run and keeps giving me a noPlayerException, or a noDataSourceException (as the case would apply; code given below).
    The funny part is that i checked the JMStudio source code for the method that is used to 'Open URL'. I haven't found any siginificant change in the way it opens urls.
    I also went a step further and tried to compile and run the JMStudio code myself to trace the code when it is in the process of opening a url. The weird thing is that when I try to do that, giving live:// as a URL gives me the same error that is given by my application. In other words JMStudio when compiled by me gives me same the error of "can't create a player..." when I open the url live://. Has Sun used a JMStudio compiled using a different source file?
    Please please anyone tell me what is wrong here.
    I have basically tried out these two kinds of things in my code, and both give me a noPlayerException error:
    Player guiPlayer = Manager.createRealizedPlayer(new MediaLocator("live://"));and
    DataSource ds = Manager.createDataSource("live://");
    Player guiPlayer = Manager.createRealizedPlayer(ds);Thanking in anticipation.
    regards

    Would it be possible for you to expand on your solution a little bit? I'm trying a similar approach, and having a similar problem to yours. From Googling, it appears as if this is a very common problem, and a lot of people give up before they solve it.
    I'm trying to use jmf.jag (and optionally add fobs4jmf.jar), not compile it from source. But I am trying to compile my own protocol from source and run it in a debugger. I have all the class files going out to the same output directory, and IntelliJ generally adds them all to the CLASSPATH automatically. But I keep getting NoPlayerException. (If I break down the players construction step-by-step, it seems to fail on "Processor ps = Manager.createProcessor(ds);".)
    I'm trying to play a Quicktime movie from memory, and I've confirmed that I'm returning "video.quicktime", that my stream is Seekable and isRandomAccess returns true, my prefix is in the protocol list, and that the package name is correct. I've tried with PLUGIN_PLAYER being true or false, media type being video.quicktime or unknown, and every other permutation I can think of.
    Any help would be greatly appreciated.

  • Playback delay of customized DataSource/Stream

    I have developed a centralized voice chat conferencing program using JMF. The server mixes received streams into a single stream and sends the mixed stream to each client. To make this possible, I have developed my own DataSource and Stream classes. My stream class uses the standard GSM_RTP audio format. When a client receives the mixed stream, the client immediately creates a player for the stream. The player spends about four seconds realizing the stream before playback begins. If I send a non-mixed/non-customized stream to the clients, there is no delay. Any ideas as to why a customized stream would cause the player to delay for so long?

    I found the problem. I had some old code left over from the previous version that was setting the buffer length and threshold for the receive RTPManager. As soon as I removed this code, there was no longer a delay realizing the player.

  • MMAPI: custom DataSource? who?

    Hi all!
    In the doc of javax.microedition.media.Manager you can read the following:
    "Users can also implement a custom DataSource to handle an application-defined protocol. The custom DataSource can be used to create a Player by using the createPlayer method."
    Does anyone know how to do that?
    I thought about overwriting the DataSource class, but I really don't know if this is the right way.
    Or is there a method that returns a DataSource object?
    (something like for the InputStream:
    --->InputStream is = getClass().getResourceAsStream("test.wav");
    I didn't find anything useful about this topic, hope someone has some experiences.
    thanks!
    regards andi.

    All of the documentation says it works with RTSP, and has been tested and shown to be working with a few RTSP servers. Perhaps you could get one of them and see if you can view content that comes from one of the ones that's known to play ball with JMF?

  • Delta question while using 'RSAX_BIW_GET_DATA_SIMPLE for delta datasource

    Hello all,
    we have created a custom datasource using FM and we have written it pretty much as a copy of this FM 'RSAX_BIW_GET_DATA_SIMPLE'.
    we are using this extractor to extract data from one of the HR infotypes. Now how it works with infotypes is suppose you have one record for date 04/01/2011 to 12/31/999 and when you go in to create a new record it will delimit the previous one, so basically if you create a new record today the first record will go as 04/01/2011 to 07/31/2011 and new record will be 08/01/2011 to 12/31/9999.
    Now how I am seeing the delat data comeover is I am getting the new record which is created with new dates of 08/01/2011 to 12/31/9999 but the extractor is not fetching the old/changed record of 04/01/2011 to 07/31/9999 so when i load data in DSO I have two records but both of them end on 12/31/999, I have Valid to as part of data fields in DSO so that it can be overwritten but since I am not getting/collecting the changed record the valid to is not changing.
    Has any one faced this before and knows how to fix this?
    Thanks in advance for your help.

    Hi Cathy
    Check the document for combining two date fields to get the timestamp.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30aefb04-7043-2c10-8e92-941536eebc79
    Now the two dates that you have to consider is the start date(08/01/2011) and the end date (12/31/2011). As per the document the record will be captured based on the change either in start date or end date or both. This way it should capture both records.
    Regards
    Lalit
    Edited by: Lalit Tyagi on Aug 3, 2011 4:41 AM

  • Custom Datasource using View COVJ - R8359 Invalid extract structure

    I'm trying to build a custom datasource so I can get at plan line item data with partner object (I've tried using 0CO_OM_CCA_1 but I dont get the partner object for plan data - no idea why). So I thought if I create a datasource using COVJ I can get it out. However when I try and save the custom datasource (created using RSO2) I get the error R8359 Invalid extract structure: You tried to generate an extract structure with the template structure COVJ. This operation failed, because the template structure quantity fields or currency fields, for example, field WOG001 refer to a different table.
    I saw posts saying when people get this error thye should reference the table these fields come from in the view. So I've talked to our ABAP'er and I asked him to reference the table these fields come from but he said this cant be done because these come from a structure not a table.
    Any ideas?
    Thanks
    Joel

    The WOG* columns in table COEJ, one of the tables contributing to the COVJ view, use CCCUR-CURKY as the reference table-column for those quantities. The ABAPer you spoke to is correct that CCCUR is a structure. View value fields inherit their reference table-column from the source, in this case COEJ, and since this source table is an SAP delivered table it cannot be modified change this reference.
    This means that you're only option for extracting the data out of the COVJ view would be to create a Function Module and use that Function Module as the basis for your DataSource.

Maybe you are looking for

  • I tried "Upgrading" 10.6.8 Server to 10.8 Server. And failed.

    No question here, just a report for others to read. So far I have always succesfully upgraded OS X Server. I started with 10.3 server and (except the PPC to x86) I always 'upgraded' not 'migrated'. But this time, my simple server (AFP (with PHD), DNS

  • Payment Proposal Issue in SAP FICO-Account Payables

    Hi , I am getting issue in Payment Proposal When i am putting some of the values and genrating report for vendors in some of the currency then on doing simulation the complete list is coming in all currencies instead of one currency. How do i sort th

  • Compliments to S.Jobs for IOS4

    i have been using iphone 3gs with ios4 since it's launch, after updating to 4.0.1. its as good as the company said in it's statement that [we are not perfact]. except low sound with ipod playing, there is no problem at all signal bars are full as the

  • Adpatch gives relinking errors

    Hi, I am upgrading from 12.1.1 to 12.1.3 on RHEL 6.3. I have the following error when I ran adpatch for 9239089. Starting  link of product 'ad' on Mon Apr  8 11:37:07 CDT 2013 Current product is  ad Current product _TOP is  $AD_TOP Current prodarea i

  • Coverting Oracle Form to JSP

    Hi, I have one form designed in Oracle Forms 9i, I want to convert it to a .JSP. I believe I can do it using JHeadstart, this is all that I know. Could you please tell me, where can I download it from and once I have it, what steps do I need to follo