Unload different component types w/i swf container

Okay, I'm newbiesh but please bear with me.
Into one swf I am loading two kinds of external media at the
click of each media's respective button. Half of the media is to be
loaded into the FLV player component, and the other half into a
MediaPlayer. The FLV media are external FLV's. The MediaPlayer
media are external jpgs. (I didn't load them into the same player
as I can't figure out to have elegant video controls in the same
kind of player that would load more simple media like jpgs... maybe
this is where the solution to my problem lies...?)
The instance of the FLVPlayer is called 'flv_play'. The
instance of the MediaPlayer is called 'wed_1'.
If you click on a button to invoke video loading into the FLV
player, this is the code:
on (release) {
unloadMovie(wed_1);
import mx.video.*;
flv_play.contentPath =
"weddings/wedding1/videos/large/vid1.flv";
var listenerObject:Object = new Object();
listenerObject.metadataReceived =
function(eventObject:Object):Void {
flv_play.setSize(flv_play.preferredWidth,
flv_play.preferredHeight);
flv_play.addEventListener("metadataReceived",
listenerObject);
If you click on a button to invoke jpgs loading into the
MediaPlayer, this is the code:
on (release) {
unloadMovie(flv_play);
wed_1.loadMovie("weddings/wedding1/photos/large/6.jpg");
If I click the FLV player button invocation first, the movie
plays. Then I if I click the mediaplayer/jpg button next, the jpg
shows. This is good. Then, if I click back to the FLV player
invocation again, nothing happens. Then, continuing this sequence
of clicking... if I click back on the mediaplayer/jpg button the
jpg shows.
Thoughts? I feel like I've tried every theory and executed
every hint from google research thus far with no result. This site
is due Friday!!!!! And this is the main glitch preventing me from
developing/replicating a template further!
Any help would be most appreciated... of course!
Cara Mia

Hi,
I tried the example and got some weird error messages as follows:
********* error messages*********
ShowComponent.java:90: cannot resolve symbol
symbol : method getName ()
location: class javax.swing.UIManager.LookAndFeelInfo[]
{ String plafName = plafs.getName();
^
ShowComponent.java:91: cannot resolve symbol
symbol : method getClassName ()
location: class javax.swing.UIManager.LookAndFeelInfo[]
final String plafClassName = plafs.getClassName();
^
ShowComponent.java:139: cannot resolve symbol
symbol : method indexOf (char)
location: class java.lang.String[]
int equalsPos = args.indexOf('=');
^
ShowComponent.java:143: cannot resolve symbol
symbol : method forName (java.lang.String[])
location: class java.lang.Class
Class componentClass = Class.forName(args);
^
ShowComponent.java:161: cannot resolve symbol
symbol : method substring (int,int)
location: class java.lang.String[]
String name = args.substring(0, equalsPos); //property name
^
ShowComponent.java:162: cannot resolve symbol
symbol : method substring (int)
location: class java.lang.String[]
String value = args.substring(equalsPos+1); //property value
^
6 errors.
*****end of error messages*****
I use jdk1.3 and Win2000. Can anybody tell me how to delete above error messages?
Thanks a lot.
Li

Similar Messages

  • What is the different between component and component type in extract struc

    Hi All,
    What is the different between component and component type in the Extract Structure?
    I used them, but I never really know the different between them yet.
    Thanks,
    Grace

    The difference between Component and Component Type are:
    Component This is essentially the field name in the extraction structure. These can either be SAP delivered field names or custom field names (e.g. Y* or Z*).
    Component Type This defines the data definition for the field, along with associated attrributes and descriptions for anything using that Component Type, to define the corresponding Component. If you double-click on any Component Type in an extraction structure, it will show you the definitions that have been setup for that Component Type (will display as Data Element but it's essentially synonymous - Component Type refers to structures and Data Elements refer to tables).

  • Same Input name with different data type cause the reflection exception

    I have a proxy contains couple RFCs. Two RFCs contain an argument named IN_COMPANY_CODE with data type of ZTRE_FX_BUKRSTable. Another RFC contains the same argument name of IN_COMPANY_CODE but hold different data type (String). All RFCs are in the same proxy. Complie and build the application with no issue.
    But when I ran the RFC, it generates the reflection exception below:
    Method SAPProxy1.Z_F_Tre_R_Pre_Trade_Fx can not be reflected. --> There was an error reflecting 'In_Company_Code'. > The XML element named 'IN_5fCOMPANY_--5fCODE' from namespace '' references distinct types System.String and MSTRFOREX.ZTRE_FX_BUKRSTable. Use XML attributes to specify another XML name or namespace for the element or types.
    I realize the conflict introduced by the same name with difference data type. But I would like to know if this is fixable as a bug or if there is any best practice and/or some manual intervention to make it work.

    Please install fix from OSS note 506603. After this, right-click .sapwsdl file and select "Run custom tool".

  • Dynamic Table UI Element with different data type for each cell

    Hi Experts,
    I have a problem with a dynamic Table UI Element in Web Dynpro ABAP. I have the following coding:
    METHOD set_col_row .
      TYPE-POOLS: icon.
      DATA:
        lv_node         TYPE REF TO if_wd_context_node,
        lv_node_info    TYPE REF TO if_wd_context_node_info,
        lv_element      TYPE REF TO if_wd_context_element,
        lt_attributes   TYPE wdr_context_attr_info_map,
        lv_table        TYPE REF TO cl_wd_table,
        lv_table_column TYPE REF TO cl_wd_table_column,
        lv_text_view    TYPE REF TO cl_wd_text_view,
        lv_image TYPE REF TO cl_wd_image,
        lv_text_edit TYPE REF TO cl_wd_text_edit,
        lv_header       TYPE REF TO cl_wd_caption,
        attribute       LIKE LINE OF lt_attributes,
        lv_index       TYPE string,
        lv_cur_row         TYPE i,
        path            TYPE string,
        lv_value           TYPE string,
        attr_name       TYPE string,
        l_trc_point_id  TYPE string,
        l_num_cols      TYPE string,
        l_num_rows      TYPE string,
        lv_text         TYPE string,
        lv_index2 TYPE i,
        lr_ress_selections TYPE REF TO /its/di_2_cpr_ress_selections,
        lt_comp_tab TYPE cl_abap_structdescr=>component_table,
        ls_comp_tab LIKE LINE OF lt_comp_tab,
        lv_count TYPE i,
        lv_col_count TYPE i,
        lv_col_count_read TYPE i,
        lv_index_read TYPE i,
        lv_num_cols_minus_1 TYPE i,
        lv_bind_lv_value TYPE string,
        wd_standard_cell TYPE REF TO cl_wd_table_standard_cell,
        lv_data_count TYPE i,
        lv_data_count_str TYPE string,
        wd_table_column TYPE REF TO cl_wd_table_column,
        lv_column_id TYPE string.
      FIELD-SYMBOLS:
         TYPE ANY.
    Instanz der Klasse /ITS/DI_2_CPR_RESS_SELECTIONS
      lr_ress_selections = /its/di_2_cpr_ress_selections=>factory( ).
      ASSIGN lr_ress_selections->gr_table->* TO gt_comp_tab.
      ls_comp_tab-name = 'SUMME'.
    APPEND ls_comp_tab TO lt_comp_tab.
    ls_comp_tab-name = 'CELL_VARIANT'.
      APPEND ls_comp_tab TO lt_comp_tab.
      CLEAR ls_comp_tab.
      l_num_rows = num_rows + 1.
      CONDENSE l_num_rows.
      l_num_cols = num_columns + 1.
      CONDENSE l_num_cols.
    UI-Element 'TABLE'
      lv_table ?= wd_this->m_view->get_element( 'TBL_TABLE' ).
      lv_table->remove_all_columns( ).
    Kontext-Knoten 'TABLE'
      lv_node = wd_context->get_child_node( 'TABLE' ).
      lv_node_info = lv_node->get_node_info( ).
      lv_node_info->remove_dynamic_attributes( ).
      attribute-type_name = 'STRING'.
      lv_num_cols_minus_1 = num_columns - 1.
    Für jede Spalte einmal tun
      DO lv_num_cols_minus_1 TIMES.
        lv_index = sy-index + 1.
        CONDENSE lv_index.
        lv_table_column = cl_wd_table_column=>new_table_column( ).
        lv_column_id = lv_table_column->id.
    Spaltenüberschriften setzen
        IF lv_index EQ 1. "Beim ersten Durchlauf --> erste Spalte = "Ressourcen"
          lv_text = text-010.
          sy-index = 0.
        ELSE. "Danach für jede weitere Spalte eine Zeile aus der gt_comp_tab nehmen
          lv_index_read = lv_index - 1.
          READ TABLE lt_comp_tab INDEX lv_index_read INTO ls_comp_tab.
          lv_text = ls_comp_tab-name.
          lv_header = cl_wd_caption=>new_caption( text = lv_text ).
          lv_table_column->set_header( lv_header ).
        ENDIF.
        CONCATENATE 'TABLE.A' lv_index INTO path.
        lv_text_view = cl_wd_text_view=>new_text_view( bind_text = path ).
        lv_table_column->set_table_cell_editor( lv_text_view ).
        lv_table_column->bind_selected_cell_variant( 'TABLE.CELL_VARIANT' ).
        lv_table->add_column( lv_table_column ).
        wd_table_column ?= wd_this->m_view->get_element( lv_column_id ).
    *****************Test Cell Variant*************************************************
        IF lv_index GT 1.
          LOOP AT .
              IF sy-tabix EQ lv_cur_row.
              Name zuweisen
                ASSIGN COMPONENT 'NAME' OF STRUCTURE .
              Zuweisen ob Blatt oder nicht
                lv_element->set_attribute( name = 'NAME' value = lv_value ).
                ASSIGN COMPONENT 'IS_LEAF' OF STRUCTURE set_attribute( name = attr_name value = lv_value ).
              ENDIF.
        ENDLOOP.
    Now my problem is, that I need for every ROW of my table UI Element a different cell editor. I know how to change it for the column. But is not my issue. I want to have images (traffic lights red and green) in some rows. The other rows should have numbers. The coding works, so that I have all the data at the right place in my table, only the images are shown as a string, because the cells of these rows have the cell editor Text_View. I tried something with cell variants (with cl_wd_table_standard_cell), but it was not possible for me to get a cell variant "image" in these cells/rows were I need it. 
    I hope you understand my problem and now what to do here.
    Thanks a lot in advance.
    Best Regards,
    Ingmar

    Hi Experts, I have a problem with a dynamic Table UI Element in Web Dynpro ABAP. I have the following coding: METHOD set_col_row . TYPE-POOLS: icon. DATA: lv_node TYPE REF TO if_wd_context_node, lv_node_info TYPE REF TO if_wd_context_node_info, lv_element TYPE REF TO if_wd_context_element, lt_attributes TYPE wdr_context_attr_info_map, lv_table TYPE REF TO cl_wd_table, lv_table_column TYPE REF TO cl_wd_table_column, lv_text_view TYPE REF TO cl_wd_text_view, lv_image TYPE REF TO cl_wd_image, lv_text_edit TYPE REF TO cl_wd_text_edit, lv_header TYPE REF TO cl_wd_caption, attribute LIKE LINE OF lt_attributes, lv_index TYPE string, lv_cur_row TYPE i, path TYPE string, lv_value TYPE string, attr_name TYPE string, l_trc_point_id TYPE string, l_num_cols TYPE string, l_num_rows TYPE string, lv_text TYPE string, lv_index2 TYPE i, lr_ress_selections TYPE REF TO /its/di_2_cpr_ress_selections, lt_comp_tab TYPE cl_abap_structdescr=>component_table, ls_comp_tab LIKE LINE OF lt_comp_tab, lv_count TYPE i, lv_col_count TYPE i, lv_col_count_read TYPE i, lv_index_read TYPE i, lv_num_cols_minus_1 TYPE i, lv_bind_lv_value TYPE string, wd_standard_cell TYPE REF TO cl_wd_table_standard_cell, lv_data_count TYPE i, lv_data_count_str TYPE string, wd_table_column TYPE REF TO cl_wd_table_column, lv_column_id TYPE string. FIELD-SYMBOLS:  LIKE LINE OF lt_attributes,  TYPE ANY TABLE,  TYPE ANY,  TYPE ANY,  TYPE ANY. * Instanz der Klasse /ITS/DI_2_CPR_RESS_SELECTIONS lr_ress_selections = /its/di_2_cpr_ress_selections=>factory( ). ASSIGN lr_ress_selections->gr_table->* TO . lt_comp_tab = lr_ress_selections->gt_comp_tab. ls_comp_tab-name = 'SUMME'. * APPEND ls_comp_tab TO lt_comp_tab. * ls_comp_tab-name = 'CELL_VARIANT'. APPEND ls_comp_tab TO lt_comp_tab. CLEAR ls_comp_tab. l_num_rows = num_rows + 1. CONDENSE l_num_rows. l_num_cols = num_columns + 1. CONDENSE l_num_cols. * UI-Element 'TABLE' lv_table ?= wd_this->m_view->get_element( 'TBL_TABLE' ). lv_table->remove_all_columns( ). * Kontext-Knoten 'TABLE' lv_node = wd_context->get_child_node( 'TABLE' ). lv_node_info = lv_node->get_node_info( ). lv_node_info->remove_dynamic_attributes( ). attribute-type_name = 'STRING'. lv_num_cols_minus_1 = num_columns - 1. * Für jede Spalte einmal tun DO lv_num_cols_minus_1 TIMES. lv_index = sy-index + 1. CONDENSE lv_index. lv_table_column = cl_wd_table_column=>new_table_column( ). lv_column_id = lv_table_column->id. * Spaltenüberschriften setzen IF lv_index EQ 1. "Beim ersten Durchlauf --> erste Spalte = "Ressourcen" lv_text = text-010. sy-index = 0. ELSE. "Danach für jede weitere Spalte eine Zeile aus der gt_comp_tab nehmen lv_index_read = lv_index - 1. READ TABLE lt_comp_tab INDEX lv_index_read INTO ls_comp_tab. lv_text = ls_comp_tab-name. lv_header = cl_wd_caption=>new_caption( text = lv_text ). lv_table_column->set_header( lv_header ). ENDIF. CONCATENATE 'TABLE.A' lv_index INTO path. lv_text_view = cl_wd_text_view=>new_text_view( bind_text = path ). lv_table_column->set_table_cell_editor( lv_text_view ). lv_table_column->bind_selected_cell_variant( 'TABLE.CELL_VARIANT' ). lv_table->add_column( lv_table_column ). wd_table_column ?= wd_this->m_view->get_element( lv_column_id ). ******************Test Cell Variant************************************************** IF lv_index GT 1. LOOP AT  ASSIGNING . ASSIGN COMPONENT 'TYPE' OF STRUCTURE  TO . ADD 1 TO lv_data_count. lv_data_count_str = lv_data_count. CONCATENATE 'A' lv_index lv_data_count_str INTO path. wd_standard_cell = cl_wd_table_standard_cell=>new_table_standard_cell( view = wd_this->m_view variant_key = 'FLDATE' ). IF  = '01' OR  = '04'. lv_image = cl_wd_image=>new_image( bind_source = path view = wd_this->m_view ). wd_standard_cell->set_editor( lv_image ). wd_standard_cell->set_cell_design( '01' ). ELSE. lv_text_view = cl_wd_text_view=>new_text_view( bind_text = path view = wd_this->m_view ). wd_standard_cell->set_editor( lv_text_view ). wd_standard_cell->set_cell_design( '02' ). ENDIF. wd_table_column->add_cell_variant( wd_standard_cell ). ENDLOOP. ENDIF. ************************************************************************************* CONCATENATE 'A' lv_index INTO attribute-name. lv_node_info->add_attribute( attribute ). ENDDO. DO num_rows TIMES." Für jede Zeile einmal tun lv_cur_row = sy-index. lv_element = lv_node->create_element( ). lv_node->bind_element( new_item = lv_element set_initial_elements = abap_false ). DO l_num_cols TIMES. ADD 1 TO lv_col_count. IF lv_count LT 1. LOOP AT  ASSIGNING . IF sy-tabix EQ lv_cur_row. * Name zuweisen ASSIGN COMPONENT 'NAME' OF STRUCTURE  TO . "NAME lv_value = . * Zuweisen ob Blatt oder nicht lv_element->set_attribute( name = 'NAME' value = lv_value ). ASSIGN COMPONENT 'IS_LEAF' OF STRUCTURE  TO . "NAME lv_value = . lv_element->set_attribute( name = 'IS_LEAF' value = lv_value ). ENDIF. ENDLOOP. ENDIF. IF lv_count GT 0. lv_col_count_read = lv_col_count - 1. lv_index = sy-index. LOOP AT  ASSIGNING . IF sy-tabix EQ lv_cur_row. CLEAR ls_comp_tab. READ TABLE lt_comp_tab INDEX lv_col_count_read INTO ls_comp_tab. ASSIGN COMPONENT ls_comp_tab-name OF STRUCTURE  TO . lv_value = . CONDENSE lv_index. CONCATENATE 'A' lv_index INTO attr_name. lv_element->set_attribute( name = attr_name value = lv_value ). ENDIF. ENDLOOP. ENDIF. lv_count = lv_count + 1. ENDDO. CLEAR lv_col_count. CLEAR lv_count. ENDDO. ENDMETHOD. I definied my table in Layout Tab of the View and create here in thos method dynamicly my columns. lv_table_column = cl_wd_table_column=>new_table_column( ). . . lv_table->add_column( lv_table_column ). In  I have my data that should be shown later in my table. So I create for each row in this fieldsymbol in a loop: lv_element = lv_node->create_element( ). lv_node->bind_element( new_item = lv_element set_initial_elements = abap_false ). Later I fill every cell in my table with a different value with this loop: LOOP AT  ASSIGNING . IF sy-tabix EQ lv_cur_row. CLEAR ls_comp_tab. READ TABLE lt_comp_tab INDEX lv_col_count_read INTO ls_comp_tab. ASSIGN COMPONENT ls_comp_tab-name OF STRUCTURE  TO . lv_value = . CONDENSE lv_index. CONCATENATE 'A' lv_index INTO attr_name. lv_element->set_attribute( name = attr_name value = lv_value ). ENDIF. ENDLOOP. Now my problem is, that I need for every ROW of my table UI Element a different cell editor. I know how to change it for the column. But is not my issue. I want to have images (traffic lights red and green) in some rows. The other rows should have numbers. The coding works, so that I have all the data at the right place in my table, only the images are shown as a string, because the cells of these rows have the cell editor Text_View. I tried something with cell variants (with cl_wd_table_standard_cell), but it was not possible for me to get a cell variant "image" in these cells/rows were I need it. I hope you understand my problem and now what to do here. Thanks a lot in advance. Best Regards, Ingmar

  • StarOffice 8 - finding all different font types in a Writer file

    Hello,
    I am currently using StarOffice 8 on a Windows XP system.
    I frequently transfer a large Writer (.odt) file between different computer systems as I constantly update the file with new information. As part of the updates, I use different fonts. As I install a particular font on one machine, this font may not be installed on another machine when I add new information to the file on that particular machine.
    When I open the Writer file on a machine that has some font not installed, the WYSIWYG appears incorrectly (since the proper font is not installed on that computer, of course) but if you highlight the incorrectly-displayed info, it says what the font type should be (ie, "WP Hebrew David" font). I then go online to download that specific font type for this the computer. Then the data is displayed correctly.
    When you have many, many different font types used in a file, it is hard to keep track of all different fonts used. Before anyone questions me on using so many different fonts in a file, it is important for my file to visually display the correct data, and this means using a quantity of fonts.
    What I am wondering is the following:
    Is there a way from within StarOffice 8 to scan a particular file and then let the user know every different font name used in that file?
    That way, if the file contains a font which was used on another machine but not currently installed on the current machine -- when I am updating information in the file -- I can then see a list of fonts used and then install new fonts accordingly after checking to see if they are installed (by checking the Fonts folder in C:/Windows)
    I hope this makes sense, or is it "clear as mud"?
    Please excuse my bad English grammar as I am not a native English speaker, but have picked it up living in Canada for the last 20 years :-)
    Cheers & thanks in advance for any help !
    David
    Edited by: Broad_Arrow on May 18, 2009 11:18 PM

    May 20 2009
    There is a Fonts Used macro writer_printAllFonts.sxw Further checking this is the wrong StarBasic macro. The one I use came from an OOo forum I think. I use it with SO7, SO8 and SO9.
    It is at the end of this message. To install it:
    [1] Copy the macro below to the clipboard
    [2] Go to Tools>Macros>Organize Macros>Basic>Standard
    Select New. Highlight what is there, paste, and close.
    [3] Go to Tools>Customize>Menus>Tools
    Highlight Word Count, then go to Add>Macros>My Macros>Standard>Module1
    Highlight FontsUsed, Click Add, Close, Ok
    Phil
    REM ***** BASIC *****
    Sub Main
    End Sub
    Sub FontsUsed 'Version 1 John Vigor 4/25/06
    'List fonts used in Writer document. Appears to work in normal text,
    'Sections, normal Tables, and Frames. Will currently crash on a Table
    'within a Table.
    oDoc = ThisComponent
    Dim fonts as Integer: Dim aFonts(1)
    oTC = oDoc.Text.createTextCursor
    oTC.goRight(1,true) : CurrentFont = oTC.charFontName
    fonts = fonts + 1 : aFonts(fonts) = CurrentFont
    REM Do "normal" text.
    partEnum = oDoc.Text.createEnumeration
    PartEnumerator(partEnum,CurrentFont,fonts,aFonts())
    REM Do Frames.
    oFrames = oDoc.getTextFrames
    If oFrames.Count > 0 then
    fonts = fonts + 1 : ReDim Preserve aFonts(fonts)
    aFonts(fonts) = "NEW FONTS, IF ANY, FOUND IN FRAMES:"
    For I = 0 to oFrames.Count - 1
    thisFrame = oFrames.getByIndex(I)
    partEnum = thisFrame.createEnumeration
    PartEnumerator(partEnum,CurrentFont,fonts,aFonts())
    Next
    EndIf
    REM Prepare list.
    For I = 1 to fonts
    s = s & aFonts(I) & Chr(10)
    Next
    iAns = MsgBox(s,4,"FONTS FOUND. Create font list document?")
    If iAns = 7 then
    End
    Else
    NewDoc = StarDesktop.loadComponentFromURL("private:factory/swriter"," blank",O,Array())
    oVC = NewDoc.CurrentController.getViewCursor
    oVC.String = s : oVC.collapseToEnd
    EndIf
    End Sub
    Sub PartEnumerator(partEnum,CurrentFont,fonts,aFonts())
    While partEnum.hasMoreElements
    thisElement = partEnum.nextElement
    If thisElement.supportsService("com.sun.star.text.Paragraph") then
    portionEnum = thisElement.createEnumeration
    PortionEnumerator(portionEnum,CurrentFont,fonts,aFonts())
    ElseIf thisElement. supportsService ("com.sun.star.text.TextTab le") then
    Cols = thisElement.getColumns.Count - 1
    Rows = thisElement.getRows.Count - 1
    For C = 0 to Cols
    For R = 0 to Rows
    thisCell = thisElement.getCellByPosition(C,R)
    cellEnum = thisCell.createEnumeration
    While cellEnum.hasMoreElements
    thisPara = cellEnum.nextElement
    portionEnum = thisPara.createEnumeration
    PortionEnumerator(portionEnum,CurrentFont,fonts,aFonts())
    Wend
    Next
    Next
    EndIf
    Wend
    End Sub
    Sub PortionEnumerator(portionEnum,CurrentFont,fonts,aFonts())
    Dim found as Boolean
    While portionEnum.hasMoreElements
    thisPortion = portionEnum.nextElement
    thisFont = thisPortion.charFontName
    If thisFont <> CurrentFont then
    For I = 1 to fonts
    If aFonts(I) = thisFont then found = true: Exit For
    Next
    If found then
    CurrentFont = thisFont : found = false Else
    fonts = fonts + 1 : ReDim Preserve aFonts(fonts)
    aFonts(fonts) = thisFont : CurrentFont = thisFont
    EndIF
    EndIf
    Wend
    End Sub

  • Reading Component Type in ABAP

    hi
    Given a table name, is it possible to identify its 'Component type' <b>programmatically</b>
    for example VBAK has the following Application/Component hierarchy:
    SD - Sales and Distribution
           SD-SLS - Sales
                 VA -  Application development R/3 Sales
                        <b>VBAK</b> - Sales Document: Header Data
    So, is it possible to read this hierarchy in an ABAP program?

    Hi
    From the table description and the Dev class attached to it, and from the fields description we will come to know the component types of that table
    all these are stored in different tables with respect to that table
    check the tables
    TADIR,DD03L, TDEVC etc to get all the above linked things of a table
    Reward points for useful Answers
    Regards
    Anji

  • Software Component does not support selected Development Component Type...

    Hi,
    I have a problem, i want create a new project of Mobile Service Component, but, when i want select MyComponents [demo.sap.com], in the top appear:
    "Software Component does not support selected Development Component Type. Required DCs are located in an SC that is not visible from the selected SC "
    Why?
    Thanks in advance,
    Regards,

    Hi Victor,
    the issue is that the archive pool in your NWDS is not set up properly. Could you check the configuration of the development configuration? I guess you are developing in Local Development, right? Please check in the "Component Browser" that the two Software Components "NWMCLIENT" and "XOCA" are present and contain some DCs inside them. If this is not true, than something went wrong with your setup of the IDE. The modifications of the default.confdef are most likely not right.
    Please come back to me if you don´t know how to proceed.
    Regards,
    Stefan

  • Component type in property tree

    Hi Experts,
    Can you please provide me the details about what is the component type in a property tree of a specification and how can we find which component type is assigned to a specification property  tree.
    Thanks in Advance
    Regards
    Kapil

    Dear Kapil
    you misinterpret the data model of EHS. The "Component type" is just "customizing". This customizing is used in any !! value assignmen type C (composition); We have may be 50 (or more; I do not have counted them) value assignment type of type C in STANDARD tree; so there is no answer to your question possible as component type can be used very often in different contexts
    C.B.

  • Creating component types in N1sps

    First, I have created a simple base type called wfbSimpleBase. The contents of which are the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- generated by N1 SPS -->
    <component modifier='ABSTRACT' installPath=':[installPath]' xmlns='http://www.sun.com/schema/SPS' name='wfbSimpleBase' version='5.1' description='Wells Fargo Simple Base type' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' author='system' softwareVendor='WellsWare' xsi:schemaLocation='http://www.sun.com/schema/SPS component.xsd'>
         <varList>
              <var name='installName' default=':[sys.name]'></var>
              <var name='installPath' default=':[container:installPath]'></var>
              <var name='installUser' default=''></var>
              <var name='installGroup' default=''></var>
              <var name='installPermissions' default=''></var>
              <var name='installDeployMode' default='REPLACE'></var>
              <var name='installDiffDeploy' default='TRUE'></var>
              <var name='overrideRsrcInstallPath' default=''></var>
         </varList>
         <resourceRef modifier='ABSTRACT'>
              <installSpec deployMode=':[installDeployMode]' permissions=':[installPermissions]' name=':[installName]' user=':[installUser]' diffDeploy=':[installDiffDeploy]' path=':[overrideRsrcInstallPath]' group=':[installGroup]'></installSpec>
         </resourceRef>
         <installList>
              <installSteps name='default'>
                   <deployResource></deployResource>
              </installSteps>
              <installSteps name='markOnly'></installSteps>
         </installList>
         <uninstallList>
              <uninstallSteps name='default'>
                   <undeployResource></undeployResource>
              </uninstallSteps>
              <uninstallSteps name='markOnly'></uninstallSteps>
         </uninstallList>
         <snapshotList>
              <snapshot name='default'>
                   <capture>
                        <addResource></addResource>
                   </capture>
              </snapshot>
         </snapshotList>
    </component>
    This step went smoothly.
    Next I tried to extend a new abstract type from it called: wfb_ct. The content of which is the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- generated by N1 SPS -->
    <component xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' name='wfb_ct' version='5.1' xsi:schemaLocation='http://www.sun.com/schema/SPS component.xsd' xmlns='http://www.sun.com/schema/SPS' path='/wfbTypes'>
         <extends>
              <type name='system#container'></type>
         </extends>
    </component>
    When I try to change the name attribute of the type element of the extends to wfbSimpleBase as in the following:
         <extends>
              <type name='wfbSimpleBase'></type>
         </extends>
    I get the error:
    Unable to check in component
    Unable to find component type with name "wfbSimpleBase". (023061)
    It does not matter where I move wfbSimpleBase in the folder tree within the N1 repository N1 is simply unable to associate the wfbSimpleBase as the parent type for wfb_ct. When I try to supply a folder path in the name attribute I get a name format error. The only information that I have found in the 5.1 Schema reference that appears to be associated with this is:
    <type> Element
    The <type> element names the base component type of this component. This element is a child of the <extends>, <componentRefList>, and <componentRef> elements.
    The <type> element has one required attribute of type systemName, name, which is the name of the system type component that serves as the base type. If the specified type is one that is defined by a plug-in, pluginName must be prefixed to the type name, such as pluginName#typeName.
    This seems to imply that the name attribute of the type element must be a systemName? If this is true how do I get the system to recognize/honor the wfbSimpleBase as a systemName appropriate to extend to a child component?
    John Seiberling

    Hi,
    It is very much possible to plan Non-Stock & stok items & also services in a single work order. Even you can plan stock & non-stock items for a single operation also by providing Item categories L: Stock Item & N: Non- Stock item.
    Yatharth

  • Opening different file types

    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Hi
    How can you open different file types saved in the database as BLOBs using Webutil? I am capturing the filename and extension as well.
    The file types are: Excel Spreadsheets, MS Word, PDF, Mail Attachments (outlook)
    I am aware of web.show_document but using that, don't the files need to be on a server?
    I don't want to use javabeans, if that helps.
    thanks

    Hello,
    Webutil is enough ;-)
    <p>Replace the OLE Container C/S functionality with the Webutil library</p>
    Francois

  • Will app store approve an app to load external swf containing actionscript code in it?

    Will app store approve an app to load external swf containing actionscript code in it?

    Hi...It is not in the application bundle...it will be hosted on a server and from there it will be loaded in the application. I had created one sample application where it is loading a swf which is hosted on different server. This swf contained some actionscript code on its timeline. This app was working on ipad. I just wanted to know whether App Store will approve this.

  • Different reference type passed to SubVI

    Hi all,
    I use a subVi to access some properties of an XY graph (scale, offset ...) that's why I use a reference to the graph and give it to the subVI.
    Now I would like to use the same subVI in order to modify the same properties but for an intensity graph.
    Of course when I connect the intensity graph reference to the subVI, the wire gives an error related to incompatible reference type.
    Could someone tell me how I could proceed to connect different reference types to the same subVI input?
    I tried to use "to more generic class" component but I'm not able to find how to use it in this case.
    Thanks in advance for your help

    Hi Fabrice,
    You could place a Case Statement indexed by the type of graph whose properties you want to access / modify, etc.  The reason for mentioning that is the fact that you may not be able to use the same property node for both types of graphs, especuially if you access properties that are not common between the two. 
    There may be tricks that you could try, but as far as using the component "to more generic class", it would have to be located in the calling vi and not the sub-vi.  That is so the same (sub-vi) Terminal can be used.
    However, I am not sure that it would work...  I think I understand what you are trying to do...  I'm not sure if you'll be successful due to the reference types (might be worth a try)..  Nevertheless, if you simply wish to use the same sub-vi for two different graph types, then using the Case Statement will be the quickest solution to implement.
    RayR

  • Join columns of different data types

    Can i join two columns of different data types in a single statement. Is there any cast or convert statement
    SELECT B~PARTNER AS RESP_GROUP
    FROM BUT000 AS B
    INNER JOIN CRMV_LINKPARTNER AS C ON BPARTNER_GUID = CPARTNER_NO.
    Here PARTNER_GUID is Raw 16 and PARTNER_NO is Char 32, the query is not returning any rows.
    Thanks
    Akila.R

    Hi!
    Basically we can say, you can't join them, but you might try this way:
    SELECT B~PARTNER AS RESP_GROUP
    FROM BUT000 AS B
    INNER JOIN CRMV_LINKPARTNER AS C ON BPARTNER_GUID = CPARTNER_NO(16).   "add
    (16)
    Or an other version
    C~PARTNER_NO+16(16)   "depends on, where is the real number stored
    Regards
    Tamá

  • Saving cluster of different data types to a file

    Hi,
    I use LV 8.6 SDK. I need to save clusters of different data types to a file on a disk, row by row.
    To be specific: I have a program that performs various investigations on a signal collected by DAQmx. Each time the quality of the signal is not in a specified boundaries, i get an indication. It is a cluster of time stamp, string, dbl, and Boolean. The program is supposed to run for few weeks in a row so there can be a lot of these indications. I expect to have around 200 000 rows a week (Altogether, divided into several groups).  
    I thought about TDMS but I am not able to save such a cluster. And I would like to save it as tdms cause i could divide the data to different groups. I also thought about data base but that would be the first time i use db and I really do not  have time to learn that now.
    I know it is possible to change some of the data types to others, ex Boolean to 0-1, but i need a string and a time stamp there. 
    Can someone advise me which data format should I use? Which one is the best one in this situation?
    Thanks in advance
    handre

    If you do not need to access data from another application (other than Labview) you can just save it as a binary file.
    It is the best choice (for me).
    I made an example with one cluster. You can replace that with an array of clusters, of that data type.
    Attachments:
    Example_VI_BD.png ‏2 KB

  • Store values of different data types into single database field

    Hi Friends,
      I  have to store values of different data types(character, numeric, date, time,  text, etc) into a single database field(Char 80). Then read the same values and display it into ABAP Webdynpro report. 
    Appreciate any ideas, examples, suggestions.
    Thanks
    JB

    Hi,
    Try like this:
    data: txt1 type string,
          var1(1) type c,
          var2(1) type n,
          var3 like sy-datum,
          var4 like sy-uzeit.
    parameters: a type c,
                b type n,
                c like sy-datum,
                d like sy-uzeit.
    concatenate a b c d into txt1.
    write txt1.
    var1 = txt1+0(1).
    var2 = txt1+1(1).
    var3 = txt1+2(8).
    var4 = txt1+8(8).
    write: / var1,
           / var2,
           / var3,
           / var4.
    Regards,
    Bhaskar

Maybe you are looking for

  • How do I use Airport and Uverse?

    I've got a Mac Mini connected to the internet via Uverse and on board airport.  I also just connected an iPad to the same Uverse router.  I have an unused Airport Extreme that I bought before I found out I couldn't use it with the printers I had then

  • BW SEM-BPS API functions from a Web Dynpro project in Netweaver

    Hi, Rather than using the standard Web Interface Builder in BW SEM-BPS (3.1B), we have to use SAP Netweaver to create a Web Dynpro project which accesses all the API_SEMBPS functions, such as GETDATA, SETDATA, FUNCTION_EXECUTE etc. Has anyone done th

  • Dynamic lookup in OWB

    Hello All, Is there any dynamic lookup in OWB, if so, please let me know how to implement the same OWB. awaiting for your reply......

  • I am trying to download a copy of Elements from my past orders

    Windows 8 deleted many of my applications (##!!!%%% Microsoft) and now Adobe downloader will not work with the IE on Windows 8.  I have tried doing all recomemnded fixes still no joy. Any suggestions.

  • Removing empty text frames

    trying to remove any text frames with empty content but it doesn't seem to be removing correct textFrame layers, any idea what I might be doing wrong? var numberOfEmptyTextBoxes = 0; var layersWithNoText = new Array(); if ( app.documents.length > 0 )