How we can disable lead selection programitically?

Hello,
I have a standard SAP's WDA and it has a TABLE (not ALV pls.) node, I mean, the node is defined as Cardinality 0...n; Selection 0...n; Lead selection is checked
For some reason, we need to disable/uncheck this Lead seelction so that default lead selection will not occur and user has to explicitly select the row
Pls. let us know how can we achieve our requirement, code snippet pls. if u get a chance
Thank you

Hi,
I agree with Mr. Jozef's suggestion to use CLEAR_SELECTION
You can achieve your requirement as below
Create post exit enhancement for WDDOMODIFYVIEW( ) method
Identify the context node bound for standard table and write the below code
          data lo_node type ref to if_wd_context_node.
         " Clear the selected row(s) only for first time
          if FIRST_TIME eq abap_true.
               lo_node = wd_context->get_child_node( name = wd_this->wdctx_my_node ).
               lo_node->clear_selection( ).
          endif.
Note: Replace 'my_node' with your node name
Hope this helps you.
Regards,
Rama

Similar Messages

  • How i can show the selection screen input field in the top of page in alv

    hi ,
              how i can show the selection screen input field in the top of page in alv  grid output.
    tell me the process

    Hi,
    excample from my program:
    FORM topof_page.
      DATA: l_it_header   TYPE TABLE OF slis_listheader WITH HEADER LINE,
            l_info        LIKE l_it_header-info.
      DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
      DATA: l_key LIKE l_it_textpool-key.
      READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
      DEFINE m_selinfo.
        if not &1 is initial.
          clear l_it_header.
          l_it_header-typ   = 'S'.
          l_key = '&1'.
          translate l_key to upper case.
          read table l_it_textpool with key key = l_key.
          if sy-subrc = 0.
            shift l_it_textpool-entry left deleting leading space.
            l_it_header-key = l_it_textpool-entry  .
          endif.
          loop at &1.
            case &1-option.
              when 'EQ'
                or 'BT'
                or 'CP'.
                write &1-low to l_it_header-info.
              when others.
                write &1-low to l_it_header-info.
                concatenate &1-option
                            l_it_header-info
                       into l_it_header-info
                       separated by space.
            endcase.
            if not &1-high is initial.
              write &1-high to l_info left-justified.
              concatenate l_it_header-info
                          l_info
                     into l_it_header-info
                     separated by space.
            endif.
            if &1-sign = 'E'.
              concatenate ']'
                          l_it_header-info
                     into l_it_header-info.
            endif.
            append l_it_header.
            clear: l_it_header-key,
                   l_it_header-info.
          endloop.
        endif.
      END-OF-DEFINITION.
      m_selinfo: s_trmdat,
                 s_trmext,
                 s_trmint,
                 s_fkdat,
                 s_delno,
                 s_vbeln,
                 s_deact,
                 s_kdmat.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = l_it_header[].
    ENDFORM.
    I hope, this will help you.
    Regards
    Nicole

  • How to read the Lead Selection in Search UIBB

    Hello,
    I have a Search UIBB implementation with the list from Search UIBB.
    When the user double click any line in the List we want to call another program.  Not sure how to read the Lead selection. I see the event ID FPM_RESULT_LEAD_SEL  in Process_Event method and GET_DATA method but not sure how to get the actual line.
    Thanks in advance for any help.
    Regards,
    PK

    Hi ,
    method IF_FPM_GUIBB_SEARCH~PROCESS_EVENT.
    CASE IO_EVENT->MV_EVENT_ID.
    WHEN  IF_FPM_GUIBB_SEARCH=>FPM_RESULT_LEAD_SEL.
      READ TABLE   IT_RESULT_LIST  into  IS_RESULT_LIST index IV_LEAD_INDEX.
    ENDCASE.
    Where  IT_RESULT_LIST -> is the internal table of   ET_RESULT_LIST( This can be declared in attributes section and assigned value in GET_DATA method )
      IS_RESULT_LIST-> is a structure of type  table  IT_RESULT_LIST.
    IV_LEAD_INDEX has to be created at attributes section and the value of the selected row of type I can be assigned in IF_FPM_GUIBB_SEARCH~FLUSH method for the same event.
    Regards,
    Harsha

  • In Lion 10.7.x I cannot disable the Lock documents for 2 weeks in Time Machine! Thus it prevents to change anything else like the system preferences or other settings. How I can disable it?

    Hello, In Lion 10.7.x I cannot disable the Lock documents for 2 weeks in Time Machine! Thus it prevents to change anything else like the system preferences or other settings. All is locked. How I can disable it?

    Do you mean the check box isn't enabled?
    Or you remove the check but it doesn't "stick"?
    Or you remove the box but documents are stil getting locked?
    That setting doesn't apply to other things in System Preferences, just apps that support AutoSave and Versions.  If you're having a problem with System Prefs, please clarify exactly what.

  • When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.

    When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message.  I use Exchange 2010 only local users.

    I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    CRM Advisor

  • How i can disable MONITORING temp tables

    In the Oracle 10 g database stats are gathering using
    Gtaher_stats_job
    current setting is statictics _level =Typical
    i need to disable the monotoring for temp tables
    i try this command it will not change
    ALTER TABLE "RDC"."INV_TEMP"
    NOMONITORING
    How i can disable this , i read some artikel this feature is disabled in oracle 10g
    how i can disable
    tks
    rda

    Justin Note
    I would suggest that this is probably a bad idea, though. If there are no statistics on an object,
    you're basically asking the CBO to work blind. Why not gather statistics after loading a fresh set of data
    into the table?
    I am running stats once a week , so i cannnot gather fresh set of dataNicolas
    setting stats to a given value and lock them (to be not set to 0 by any gather stat process) may help as well.
    Justin
    Nicolas.
    I cannot understand this >>to be not set to 0 by any gather stat processOk my process as follows
    through sqlldr i load a data to temp table , i have a after insert trigger
    once the data insert into temp table it check for some condition and
    fire this trigger and insert into Permanent Table,
    After the process finished the temp table truncated.
    this whole process running every day .
    I already mention stats are collected once a week , no point i keep the stats
    for this temp table and suppose if i keep , it will give wong execution plan
    and insert into this temp tabel will be slow -- am i right in this step
    This is the reason i dont want stats at all in temp table
    Thanks Justin & Nicolas
    Best rds

  • ATG 10.1 How we can create user segment programitically

    Hi,
    I want to create user segment programitically, not through BCC.
    Rule for the segment I will be getting from some third party. I have to create rule for my segment programitically and assign the user segment to a profile group.
    I checked the user properties and got to know as for every profile user segments will be assigned as a dynamic property.
    How I can create the same programitically after getting the rule from third party.
    Thanks in advance
    Agil

    >Why (no body) help me?.
    >Is my question not clear?
    Yes, your question is not clear.
    >
    http://www.libyabuild.com/news1.htm
    Is that one of the pages on your site? Do you just want to
    add a feature that searches your site for relevant content? If so,
    check out
    http://www.wrensoft.com/zoom/support/dreamweaver.html
    So I don't understand why you are asking about a database -
    are you trying generate results that link to other sites?

  • How I can disable unnecessary fonts from the font menu?

    How I can disable unnecessary fonts from the font menu?
    I'm so frustrated to always browse the kilometer-long font menu. There are Chinese, Arabic, Thai, Japan etc. fonts. I will never need these fonts!
    The platform is the iMac and Maverics. Illustrator is a version CS6. All software is the latest version of.
    I get off some of these fonts using Apple's Font Book, but still there will be unnecessary Chinese, Arabic, Thai, Japan etc. fonts.
    I also have Suitcase Fusion 4, but that doesn't help in this case because I can't disable system fonts etc. I also tried the "Monolingual" software. Monolingual is a software for removing unnecessary language resources from OS X. But still I see many foreign language fonts in font menu.

    I could do with an answer to this question too
    The fonts I don't want on my system are these (all Adobe covert additions as far as I can tell):

  • Can anyone advise me how I can disable Connection Logging in Mac mail please it seems to have been added when I changed my internet settings thanks very much

    Can anybody advise me how I can disable "Connection Logging which has set itself up in Mail, when the settings were changed for internet connection I am running OSX mavericks  10.9.3 thanks very much

    I certainaly did not turn connection logging on but the effect was disastrous.  Mail would not respond as long as there was a slow connection. I figured this out through turning off all network connections and watching Mail spring back to life and let me search my messages.
    Normally if a connection is slow to respond, mail just lets the slow connection do it's thing while everything else operates largely unhindered.With connection logging turned on, your Mail app is a slave to the slowest connection to a mail server (I have 8 total)
    I had to crash mail over and over again to do a simple search of my messages until I happen to notice that this connection logging was turned on.  I found this thread, turned it off, now Mail works as well as it ever has (very buggy but usable)
    How dare Apple do that behind my back!?  After all the problems there are Mail, they have the gall to turn on logging and reduce Mail to unusable?
    I also deleted all the logs for a good house keeping seal of approvable.  They were here:
    Some day Apple might consider hiring a test team... instead of relying on all the users.

  • How we can disable access to BOM via the Display Master Recipe (C203)?

    Hi Gurus,
    How we can disable access to BOM via the Display Master Recipe (C203)?
    Thanks!

    Hi Mae Baraquio  
    Have you tried screen variant to make it as display mode.
    please refer below document for your reference.
    Learning SHD0 with Example
    if you find any query kindly revert back.
    Thanks & Regards
    Sandeep Kumar Praharaj

  • Recently bought an Imac desktop and every time i get texts, they also appear on my iMac. I was wondering if anyone can tell me the steps on how i can disable this option.

    Recently bought an Imac desktop and every time i get texts, they also appear on my iMac. I was wondering if anyone can tell me the steps on how i can disable this option.

    Text from where?  Where are they appearing on your iMac?
    http://support.apple.com/kb/HT2477  Mac Basics: The essentials
    New to Macs/My First Mac

  • I need to know how I can disable the automatic updates of Firefox, since I work in a company that is requiring this. Ideally, by group policy or some means to disable all network computers

    I need to know how I can disable the automatic updates of Firefox, since I work in a company that is requiring this.
    Ideally, by group policy or some means to disable all network computers

    Some info here (group policy) --> http://www.unidesk.com/blog/how-disable-firefox-auto-updates<br />
    Above article refers to --> http://sourceforge.net/projects/firefoxadm/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Disable Lead selection for table row cloumn

    HI Team,
    I have table with multiple rows and multiple columns.
    Based on the lead selection of the row we are displaying the some form.
    But in table row there are some columns like enter date, when the user is trying to enter the date, it displaying the form because of lead selection and it is not allowing the user to enter the date.
    So, I want disable the lead selection for some columns.
    How can I do this?
    Regards,
    BAla

    Hi
    I think that you can get  the UI Table in the wdDoModifyView method, and then the UI Column and play with his values, is something like this:
    IWDTable table =(IWDTable)view.getElement( ");
    And then play with the "column" methods.
    Josué Cruz

  • How do I disable auto select for the path selection tool?

    For the move tool you can choose to disable auto selection, auto select a group, or auto select a layer. By default though the path selection tool autoselects a layer. How can I disable autoselection?

    I can’t seem to reproduce what you describe.
    Please elaborate, possibly with the help of some screenshots.

  • How do I disable Item selection?

    I have inside the form three items:
    1. Logo
    2. String item
    3. ChoiceGroup
    By default form selects the first item on the form which is logo � I would like to select the third one which is a choice group and disable selection of first two.
    How can I do this?
    Regards
    Edited by: rejki@optus on Feb 12, 2008 1:41 AM

    Darryl.Burke wrote:
    The documentation for setCurrentItem says: (emphasis added)
    Requests that the Displayable that contains this Item be made current, scrolls the Displayable so that this Item is visible, and possibly assigns the focus to this Item.
    So (1) There is no need to call both setCurrent and setCurrentItem andYes, thats right, you need not call setCurrent. But it also doesn't cause problem if you do.
    (2) calling setCurrentItem does not guarantee that the Item will be focused.But in most of the cases it will do. Is there any other better way? If it is, then please let us know.
    For disabling the selection of the other items, you can programmatically listen for the selection event and disallow the selection if it.What event is that? What Listener is involved? please provide a short sample to demonstrate listening for the "selection event"Sorry for that, there is no focusListener or focusEvent in J2ME. Creating custom item may be a possibility.
    //sumanta
    Edited by: Sumanta679 on Feb 15, 2008 1:39 PM

Maybe you are looking for

  • Need popup box of "add/save bookmark" translated into the desired language

    Hi All, We are doing a global implemenation of BW Web Application Template based reporting and planning solutions in BW. We have a button on the published web report called 'Bookmark", with command "SAVE_BOOKMARK" and when executed in the FR-FR langu

  • IPhone 6 screen broken

    iiphone 6 screen broken how it cost to replace? the phone still functioning the screen only cracked. I am in Malaysia.

  • Serious Problem. Help!!!

    Hi. Im having some serious problems. Some of my programs refuse to load. None of the Microsoft Office programs will open. Omnidisksweeper wont load, nor will Windows Media Player. I used Microsoft Word this morning. Now nothing. I ran Monolingual and

  • Error Messages/Building Plug-ins with Eclipse SDK or VCExpress 2005

    Hi, I am an newbie in building InDesign-Plugins. I have installed the Adobe InDesign Plug-in Editor on my Windows XP PC (InDesign CS3 SDK, Eclipse, JRE 1.5, Visual Studio 2005 (VCExpress Edition for C++)). I tried to build one of the example Plug-ins

  • Elements 10 emailing problem

    I have tried to link my Elements 10 email sharing feature to my email address and keep getting error 530 telling me that Authentication is required.   My address is "[email protected]". I have tried this email under SHARE- ADOBE EMAIL. I have signed