How to code-select subitems in TreeView CS3

Hi,
I have a treeview listing all system fonts, grouped in families (being nodes). Now I try to programmatically expand a given family (this works fine through setting the '.expanded' property) and then select an item within an expanded group. This gives me a hard time. To no avail did I try various methods, such as setting the '.selected' or 'expanded' (a desperate attempt ;-) properties, as well as setting the '.selection' property of the treeview control.
The UI stops at expanding and selecting the node, failing to dig into its interior.
When I looked into the reflection properties, the item has a "parent" property, being the index of the parent node, but this knowledge leads me to nowhere, as the control doesn't seem to be able to access the subitems.
Can this be done at all? Anyone been through this?
(I'm on CS3, which may matter in such subtle cases.)
cheers,
moniuch

Hi,
Save this select statement as sql script.
Create a shell script and set environment for sqlplus (Oracle home/SID)
call sqlplus  passing  the sql script (shedule script in crontab)
HowTo: Use Oracle / MySQL SQL Commands In UNIX Shell Scripts
This may also be of interest Oracle Scheduler Concepts
Regards
Yoonas
Message was edited by: yoonas

Similar Messages

  • How to do selective delete of the GL a/c, BA and Co Code from the BWrequest

    Hi,
    How to do selective delete of the GL a/c, BA and Co Code from the BW request ??
    Regards,
    Vivek

    Cube or DSO?
    Cube - manage - notedown the req number - selective deletion - enter req number at REQ ID and give the selection parameters as you need(GL a/c, BA and Co Code ) and execute.
    For DSo you can't do selective deletion on request id basis

  • How to modify an existing Match code selection for Vehicles

    Hello,
    In vehicle master Change or Display (T-code: O4V2 or O4V3) we eneter TD vehicle no. (OIGV-
    VEHICLE). Here when we take a drop down - F4 (Match Code selection) and various options are available like
    1). Vehicle Number and Description
    2). General Data
    3). Vehicle weights
    4). Vehicle type  etc
    In Vehicle master under 'Communication Data' we have one field called 'Call Sign' (OIGV-VHCLSIGN). We would like to have this field in drop down selection / Match code selection for Vehicle on any of the above mentioned tab page in Match code selection (e.g. Say under 'General Data'). How do we add the same or how do I do this modification of existing matcode selection?
    For Customer master we can maintain Match code selection in SPRO (Maintain Matchcodes for Customers) which I am aware of. I am looking for something similar for Vehicles or may be some direct development.
    Can anyone please guide me in this?
    Thanks & Regards,
    Aniruddha.

    Hi Anirudhdha,
    Unlike customer match code there is no customising option for vehicles. But conceptually the same thing can be done. Create a single search help with the criteria you need. Add it to the collective search help OIGV (like we do for DEBI in customer master).
    Regards,
    Ashutosh

  • CS3 - Place Word document: How can I select the current preset?

    Hi
    In my Plugin I like to place a word document into a text frame. To do this I want select a defined preset before.
    How can I do that?
    How can I select the current preset for the placement (import)?
    Thanks for the support
    Hans

    Hi,
    I had posted a similar query few days back to place excel file in text frame. And I found out that, it is not possible to specify formatting option for any of microsoft document when using Indesign SDK.
    But we can do this by running script.
    If you are able to specify the formatting option through script, write code to get script object & execute this script through Indesign SDK.
    I was able to specify formatting option, sheet number, range etc through this.
    Hope this helps.
    Rajani

  • How do you select special media tray from Adobe Photoshop CS3 on the Mac?

    I can select the special media tray (HP Photosmart Pro 9180) from Word for Mac and Illustrator CS3 for the Mac, but I don't know how to select it from Photoshop CS3 for the Mac.

    rebel1568,
    All Photoshop versions through CS6 came with platform-specific licenses, either Windows or PC.  You could get a cross-grade of platform swap at a nominal cost but not for older versions, only for whatever Photoshop versions was current at the time.
    CS3 is totally out of the upgrade or cross-grade loop.  You'd have to buy a new license for CS6 Mac or subscribe to Photoshop CC, as Trevor points out.
    Curt Y is correct in that CS2 will not run on current Mac-Intel machines.  You would need a used Mac G5 or G4 with a PowerPC (IBM) CPU, which have been obsolete since mid 2006.
    Of course, you could run your Windows  on your Mac if you installed and ran BootCamp or Parallells.

  • How: PO company code selection?

    Hi together,
    when creating a PO it is not mandatory to specify the company code explicitly (at least in the environment I work with). SAP somehow determines the company code from the po data (plant? account assignment?).
    Is anybody able to explain to me the exact way how SAP does select the company code for the PO? I guess how it might be done but I would really like to understand the details.
    Thanks to your efforts!
    kind regards,
    Florian

    hi,
    Normally, system doesn't allow to do the PO w/o co. code....
    But in you case,I think it would be coming from Vendor master data....because few of the data in it are stored at co. code level only...Other than this i don't see any other master data or ref. data which has the co. company code already defined in itself...
    This you can recheck via entering the vendor ...and then enter the porg...then check whether the same co .code is flowing or not...
    Hope it helps..
    Regards
    Priyanka.P

  • How to code for select all& deselect all?using menu buttons

    hai,
    i have generated a report with a single field from a database table and
    i have a checkbox for each record/item in the report.
    i need help in the following ..
    now that i have menu buttons say "select all" and "deselect all"..
    if select all is clicked then all checkboxes should be selected.
    if deselect all is clicked, then all checkboxes should be deselected
    i know that we have to use functional code and use case sy-ucomm etc.
    when "selectall"  etc..
    can someone help me how to code for this to work exactly?

    it did not work for the code u had suggested...
    plz check it out and send me the exact working code..
    REPORT  ZINTRACTIVE_PROJ                        .
    TABLES : SFLIGHT.
    DATA : BEGIN OF IT OCCURS 0,
           CARRID LIKE SFLIGHT-CARRID, FLDATE LIKE SFLIGHT-FLDATE,
           END OF IT.
    DATA : BOX TYPE C,
           LINE TYPE I.
    SELECT CARRID FLDATE FROM SFLIGHT INTO TABLE IT.
    LOOP AT IT.
    WRITE : / BOX AS CHECKBOX, IT-CARRID.
    ENDLOOP.
    LINE = SY-LINNO .
    SET PF-STATUS 'SELECT'.
    AT USER-COMMAND.
    CASE SY-UCOMM.
      WHEN 'SELECT'.
          DO LINE TIMES.
            READ LINE SY-INDEX FIELD VALUE BOX.
            IF BOX = 'X'.
               NEW-PAGE.
               WRITE : / IT-FLDATE.
            ENDIF.
          ENDDO.
      <b>WHEN 'SELECTALL'.
          LOOP AT IT.
            IT-CARRID = 'X'.
            MODIFY IT TRANSPORTING CARRID WHERE CARRID = IT-CARRID.
            EXIT.
          ENDLOOP.
      WHEN 'DESELECTALL'.
          LOOP AT IT.
            IT-CARRID = ''.
            MODIFY IT TRANSPORTING CARRID WHERE CARRID = 'X'.
            EXIT.
          ENDLOOP.</b>ENDCASE.

  • How to use Select in nested Else if statement.

    Hi ,
    I am validating a file . for that I placed conditions through Nested ELSEIF statment.
    Some fields in the file need to validate against a table.
    Can some one help me how to organise my below code so that I can validate the file using all my conditions.
    CALL FUNCTION 'RH_EXIST_OBJECT'
           EXPORTING
             plvar     = '01'
             otype     = wa_1000-otype
             objid     = wa_1000-objid
           EXCEPTIONS
             not_found = 1
             OTHERS    = 2.
         IF sy-subrc <> 0.
           wa_error-reason = 'Object does not exist '.
           APPEND wa_error TO it_error.
           APPEND wa_file  TO it_1000.
         ELSEIF wa_file-endda IS INITIAL.
           wa_error-reason = 'End date missing'.
           APPEND wa_error TO it_error.
         ELSEIF wa_file-infty IS INITIAL.
           wa_error-reason = 'Infotype Missing'.
           APPEND wa_error TO it_error.
         ELSEIF wa_file-begda IS INITIAL.
           wa_error-reason = 'Begin date missing'.
           APPEND wa_error TO it_error.
         ELSEIF ( wa_file-sclas IS NOT INITIAL
          OR wa_file-sobid IS NOT INITIAL )
        AND  wa_file-infty <> const_infty_1001.    " Cosk Centre
           wa_error-reason = 'Enter a valid infotype'.
           APPEND wa_error TO it_error.
         ELSEIF ( wa_file-persg  IS NOT INITIAL
               OR wa_file-persk  IS NOT INITIAL )
             AND  wa_file-infty <> const_infty_1013.   " Employee Group
           wa_error-reason = 'Enter a valid infotype'.
           APPEND wa_error TO it_error.
          SELECT SINGLE *  FROM t501 INTO wa_501 WHERE persg = wa_file-persg.
          IF sy-subrc NE 0.
            wa_error-reason = 'Invalid Employee Group'.
            APPEND wa_error TO it_error.
            ADD 1 TO gv_error.
            gv_error_flag = 'X'.
          ENDIF.
          SELECT SINGLE *  FROM t503 WHERE persk = wa_file-persk.
          IF sy-subrc NE 0.
            wa_error-reason = 'Invalid Employee SubGroup'.
            APPEND wa_error TO it_error.
          ENDIF.
         ELSEIF ( wa_file-bukrs IS NOT INITIAL
               OR wa_file-persa  IS NOT INITIAL
               OR wa_file-btrtl IS NOT INITIAL )
             AND  wa_file-infty <> const_infty_1008.    " Company Code
           wa_error-reason = 'Enter a valid infotype'.
           APPEND wa_error TO it_error.
          SELECT SINGLE *  FROM t500p WHERE persa = wa_file-persa.
          IF sy-subrc NE 0.
            wa_error-reason = 'Invalid Personnel Area'.
            APPEND wa_error TO it_error.
          ENDIF.
         ELSEIF wa_file-build IS NOT INITIAL
           AND  wa_file-infty <> const_infty_1028.    " Building
           wa_error-reason = 'Enter a valid infotype'.
           APPEND wa_error TO it_error.
         ELSEIF ( wa_file-trfar IS NOT INITIAL
             OR wa_file-trfgb IS NOT INITIAL
             OR wa_file-trfg1 IS NOT INITIAL
             OR wa_file-trfs1 IS NOT INITIAL
             OR wa_file-indda IS NOT INITIAL
             OR wa_file-trfkz IS NOT INITIAL
             OR wa_file-molga_pg IS NOT INITIAL )
           AND  wa_file-infty <> const_infty_1005.   " Pay Scale
    Endif.

    hi,
    here is what you need.
    LOOP AT itab INTO wa_itab.
      SELECT maktx
        APPENDING CORRESPONDING FIELDS OF TABLE it_makt
        FROM makt
       WHERE matnr eq wa_itab-matnr
    ENDLOOP.
    note: performance-wise, it is better to use FOR ALL ENTRIES that SELECT inside a LOOP.
    here is a sample code
    SELECT maktx
      INTO CORRESPONDING FIELDS OF TABLE it_makt
      FROM makt
       FOR ALL ENTRIES IN itab
    WHERE matnr EQ itab-matnr.
    regards,
    Peter

  • Forms: How do we select two diffrent lov for two seperate conditons

    DECLARE
         a_value_chosen BOOLEAN;
    BEGIN
         if :reports.report in('OQ29','OQ25','OQ22') then
                   a_value_chosen := Show_Lov('lov_agen');
                   if :reports.office_id is not null then
                   a_value_chosen := Show_Lov('lov_agent');
              if a_value_chosen then
         :reports.office_name := null;
         :reports.county_id := null;
         :reports.county_name := null;
         :reports.region_id := null;
         :reports.region_name := null;
                   end if;
                   END if;
                   if :reports.category = 'PERFORMANCE' AND
                   :reports.SUPERVISOR_ID IS NOT NULL AND
                   :reports.SUPERVISOR_ID>0 then
              a_value_chosen := Show_Lov('LOV_YPR_AGENT');
              END IF;
    if a_value_chosen then
         :reports.office_name := null;
         :reports.county_id := null;
         :reports.county_name := null;
         :reports.region_id := null;
         :reports.region_name := null;
         end if;
         END IF;
    This is the actual code what i want is that when the reports.report is in (OQ29, OQ25, OQ22) it should select the lov_agen an if the reports.office_id is null then it should select lov_agent but some how it is selecting both the lov_agen first if you don't select anything for that condition then it is going to the next lov to satisfy the next condition. Can anyone able to help me out.
    Thanks
    Message was edited by:
    user506476

    The problem is that it is picking the lov specified but it is not picking the lov in the order of the condition. Say if condition one says to pick lov_agen and if second condition says to pick LOV_AGENT it should pick in that order. But what it is doing is that if i select for condition two it is picking both the lov's in the order of the lov's specified.
    Thanks
    Suresh

  • How to get selected values from selectManyCheckbox ?

    Hi,
    I am a SOA developer and using 'Auto generated adf form' of Human Task. I did some customization in the form. I need to show one dynamic list (contains multiple string values) on a form, from which user will select desired values. For this I have used <af:selectManyCheckbox> adf component.
    It has generated code as follows...
    <af:selectManyCheckbox value="#{bindings.Response.inputValue}"
                                             label="#{bindings.Response.label}"
                                             id="smc1">
                        <f:selectItems value="#{bindings.Response.items}" id="si9"/>
    </af:selectManyCheckbox>
    I am able to show list on a form and can select multiple values also.
    Now, I want the multiple selected values back in my BPEL process. I need only those values which are selected by user.
    Currently I am getting complete list as it is back in BPEL process.
    Please help me out..!
    Thanks..
    Suraj

    Unwinding ADF: How to retrieve Selected Items from selectManyCheckbox using ValueChnageListener

  • SRM 7.0 company code selection for manual PO

    Dear All,
    We use SRM 7.0 and I have created a purchasing group under a central purchasing organization. This purchasing group is responsible from procurement of  two different Company Codes. I did all the assignments in responsibility tab and attributes tab under PPOMA_BBP.
    When i try to create a manual PO, I don't see any option to select the company code, either in "Overview" tab , nor in "Header" tab.
    Does anybody know or help me how to select/enable company code selection for manual PO creation ?
    Thanks in advance,
    Best regards,

    Dear Kumar,
    Thanks for the info. In my organization, there are two company codes and apart from them there is a Purchasing Org.
    All the attribute settings are done for these company codes. While creating a PO, as there is no field for Company code, system determines the company code automatically in background. (let's say Company code X). But I'm trying to create a PO for company code Y.  When I enter the cost center, I got the error "Cannot purchase between company codes".
    So how am i going to select company code Y ? How the system will determine company code Y ? Can you please give in details what must i do ??
    Thanks in advance,
    Best regards,

  • How do I select the entire text when the focus is moved to one TextBox?

    How do I select the entire text when the focus is moved to one TextBox?
    There are three TextBoxes.  I use <TextBox TabIndex="1"/> to set the order they are selected.  When I enter one specific TextBox, I would like to have the entire text selected ... one key stroke removes all of the text in that TextBox.
    bhs67

    I do it the following way:
    1.  Override the OnStartup for the application.  Use the following code: (VB.NET)
    EventManager.RegisterClassHandler(GetType(TextBox), TextBox.GotFocusEvent, New RoutedEventHandler(AddressOf TextBox_GotFocus))
    2.  In the event handler use this code (again VB.NET)
    Private Sub TextBox_GotFocus(ByVal sender As Object, ByVal e As RoutedEventArgs)
    _theTextBox = CType(sender, TextBox)
    If setFocusTimer IsNot Nothing Then
    RemoveHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    End If
    setFocusTimer = New DispatcherTimer
    setFocusTimer.Interval = TimeSpan.FromMilliseconds(10)
    AddHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    setFocusTimer.Start()
    End Sub
    Private Sub setFocusTimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs)
    setFocusTimer.Stop()
    _theTextBox.SelectAll()
    End Sub
    What this does is register a handler for every textbox in your application.  This will execute when the GotFocus event is raised and will allow you to do whatever (in this case select all) you want.  A great way of handling things at the application
    level.
    Lloyd Sheen

  • How can i select view attribute in a method

    hi how can i select view attribute in method and pass that attribute to procedure
        public void DeleteAgr(Integer agrid) {
                     ViewObject svo = this.findViewObject("AGR");
                     //select current view id from agr and link id with agrid          
                    callPerformSdmsLogon("SMS_FORM_TO_ADf.delete_agr(?)", new Object[] { agrid });
    }Edited by: Tshifhiwa on 2012/06/30 1:01 PM
    Edited by: Tshifhiwa on 2012/06/30 1:22 PM
    Edited by: Tshifhiwa on 2012/06/30 1:24 PM

    hi i use your sample but now am geting this errror (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    ----- Level 1: Detail 0 -----
    (java.lang.NullPointerException) null check the code below
                              public String getCurrentagrid(String currentagrId) {
                            if (currentagrId != null && currentagrId.length() > 0) {
                                ViewObjectImpl agrVO =
                                    this.getAGR1();
                                if (agrVO != null) {
                                    Key key = new Key(new Object[] { currentagrId });
                                    //Searching for the row with key
                                    //getRow(key) will search in the cache which contain atmost
                                    //2000 records Becoz the MaxFetchSize of EmpVO is 2000
                                    AGRRow agrRow =
                                        (AGRRow)agrVO.getRow(key);
                                    //if the record with key is not present in the cache
                                    if (agrRow == null) {
                                        //Searching for the row with key in the DataBase
                                        //findByKey() searches in DB
                                        Row[] agrRows = agrVO.findByKey(key, 1);
                                        if (agrRows != null && agrRows.length != 0) {
                                            //agrRows = (AGRRow)agrRows[0];
                                    if (agrRow  != null) {
                                        //currentagrId = (String)agrRow.getAttribute("id");
                                        //agrVO.executeQuery();
                                        //agrRow = agrVO.first();
                                        callPerformSdmsLogon("SMS_FORM_TO_ADf.delete_agr(?)", new  Object[] { currentagrId });
                            return currentagrId ;
                        }Edited by: Tshifhiwa on 2012/07/01 10:51 AM
    Edited by: Tshifhiwa on 2012/07/01 11:38 AM

  • How to get selected  row index  of a Table ?

    hi gurus,I'm new  to Webdynpro for abap
    I'm displaying    just Flight details in a Table  so
    how to get selected  row index  of a  Table  and need  to be display in Message manager.

    Hi,
    For getting the row index use the following code.
    DATA lo_nd_node TYPE REF TO if_wd_context_node.
      DATA lo_el_node TYPE REF TO if_wd_context_element.
      DATA index TYPE i.
    * navigate from <CONTEXT> to <NODE> via lead selection
      lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_node ).
      lo_el_node = lo_nd_node->get_lead_selection(  ).
      index = lo_el_node->get_index( ).
    node is the name of the node which is binded to the table.
    For printing the message u can use code wizard.
    Press ctrl-F7. Now Select generate message.
    IN this select the method  REPORT_SUCCESS
    In the code now u can give index to Message text Exporting parameter. Comment receiving parameter.
    Write the whole code in onLeadSelect of the table.
    Regards,
    Pankaj Aggarwal

  • Using usb to serial adaptor , how do I select this port from within labview

    Hi
    I am using a usb to rs232 adaptor , how can I select this port within labview as all I can see is the com 0, com 1, lpt ports .
    Any help appreciated
    Brett
    Snr Mining Engineering Technician
    Western Australian School of Mines
    Curtin University of Technology,
    Locked Bag 22, Kalgoorlie Western Australia 6430
    Ph: 08 90886159 Fax: 08 9088 6151 Mobile: 0407441251
    Web http://research.wasm.curtin.edu.au/

    vicky wrote:
    Hi Brett,
    yeah its easier tohandle and i think cheaper also,i found it easier to install also,so better go in for the USB stuff.
    cheers
    vicky
    While the many USB adapters seem to be easier to handle, we have had some bad experiences. Their stability is not always up to the task for industrial applications. This might not be an issue when you only use them to control your RS-232 lab equipment for manual experiments, but in our case we have fully automated lab systems running, where LabVIEW controls sometimes up to 8 serial devices and those applications are supposed to run day and night, if possible for many days in a row without interruption. With many of those noname USB-RS232 adapters we noticed various kind of problems. It could range from intermittent communication errors (which could be handled by additional code in our software to retry communication on such errors) to complete failure of the RS-232 port after some time, which could only got back online by unplugging and replugging the USB adapter.
    For our purpose this was completely unacceptable and we ended up using ENET-RS232 devices instead which are working fine for months in a row.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • "HP laserjet professional utility" does not work in osx 10 (Yosemite)

    All the major functions of this printer work fine in Yosemite, but not the "HP laserjet professional utility"The driver shown in System Preferences/Printer for my Laserjet P1606dn is version 6.9 (I am unable to knowif this is the version provided by

  • Company data missed in SAP IDES system

    Hi friends, In our SAP IDES ECC 6.0 EHP 5 system some data had missed(some plants had missed) in 800 client, I checked 000 client here also no data..we don't have any backup. If I download the IDES from market place, then is it possible to get entire

  • Has anyone ever tried to manually install and OOTB connector?

    I am looking to automate the installation of some OOTB connectors in OIM 11gr2(11.1.2.1) with the OUD and AD connectors.  Near as I can tell, most of the connector installation can be done with Deployment manager. I just need to figure out the right

  • Why do some videos not copy from iphone to pc?

    I don't understand why some videos will not copy from my iphone 4s to my pc (win xp) when I connect iphone usb to pc using "scanner and camera wizard"? Just some of them. It doesn't matter if its 2min or 2 sec long. Just randomly says it can't copy t

  • Change in IP address of OIM servers

    Hi All, During one activity IP addresses of my OIM servers will get change. All other things like hostname will remain unchanged. Where all I should be making the change? I guess changing the IP addresses of the machine in weblogic consoles should be