Select all button is not working in vl01n

Dear All,
We are facing a problem at the time of creating delivery through vl01n. At the time of selecting all line items of delivery on item overview screen, we are unable to select all line items. Due to this we have to delete each line item batches separately & to redetermine the batches or we can say select button is not working on item overview screen of vl01n. Also when we redetermine the batch split & return back to item overview screen, select all button works for line items perfectly.
thanks & regards
Deven Sharma

Hi,
In the user command write the code as per the sample given below:
FORM select_all .
  CLEAR v_lisel.
  DO.
    READ LINE sy-index FIELD VALUE v_chk.
    IF sy-subrc NE 0.
      EXIT.
    ENDIF.
    READ LINE sy-index FIELD VALUE sy-lisel INTO v_lisel.
    IF v_lisel+2(1) = ' ' AND sy-index GT 5.
      v_lisel+2(1) = 'X'.
      MODIFY LINE sy-index FIELD VALUE sy-lisel FROM v_lisel.
    ENDIF.
  ENDDO.
ENDFORM.                    " select_all
reward if useful
regards,
ANJI

Similar Messages

  • Select all button is not working in ALV List Display

    Hi All,
    I am displaying output by using lav list display. afer displaying the output iam showing my own pf status here. in my pf status i am havinh one button called 'SELECT ALL' when i click this button it has to select all the checkboxees in my output. but it is not happening like that any body can siggest me what shall i do in this case.
    i am sending my code below.
    type-pools : slis.
    tables : zuser_secobjects.
    data : t_header1 like zuser_secobjects.
    data : begin of it_secobjects occurs 0.
            include structure t_header1.
          end of it_secobjects.
    data : wa_ita like line of it_secobjects.
    *data : it_secobjects like zuser_secobjects occurs 0 with header line.
    data : i_field type slis_t_fieldcat_alv with header line.
    data : w_field like line of i_field.
    data : i_sort type slis_t_sortinfo_alv.
    data : w_sort like line of i_sort.
    data : it_filt1 type slis_t_filter_alv with header line.
    data:
    i_tabname type tabname,
    i_repid like sy-repid,
    is_lout type slis_layout_alv.
    data : chk_box type slis_fieldname.
    selection-screen: begin of block b1 with frame title text-t01.
    parameters : p_appln type zuser_secobjects-appln.
    parameters : p_user type usr02-bname, "zuser_secobjects-appln_user,
    p_partnr type zuser_secobjects-appln_partner,
    p_ptype type zuser_secobjects-partner_type default '02',
    p_upostn type zuser_secobjects-user_position,
    p_sdate like likp-erdat default sy-datum,
    p_edate(10) default '12/31/9999',
    p_revnum type zuser_secobjects-revnum,
    p_cted type zuser_secobjects-created_by,
    p_cdate type zuser_secobjects-creation_date,
    p_ctime type zuser_secobjects-creation_time,
    p_chnby type zuser_secobjects-changed_by,
    p_cdate1 type zuser_secobjects-changed_date,
    p_ctime1 type zuser_secobjects-changed_time.
    selection-screen: end of block b1.
      INCLUDE ZVR_MAHI7_F01                                              *
    form user_command using p_ucomm like sy-ucomm
    rs_selfield type slis_selfield.
    case p_ucomm.
    when 'DELETE_ALL'. " SELALL is the FCODE of ur push button
    loop at it_secobjects into wa_ita.
    wa_ita-checkBOX = 'X'.              "<--  Change this
    modify it_secobjects from wa_ita.
    endloop.
      rs_selfield-refresh = 'X'.   "<-  ADD THIS
    endcase.
    endform.
    *&      Form  delete
    form delete.
    *data: is_secobjects type zuser_secobjects.
      data : begin of is_secobjects occurs 0.
              include structure zuser_secobjects.
      data : checkbox type c.
      data : end of is_secobjects.
    *IF FLAG = 'X'.
      is_secobjects-checkbox = 'X'.
      modify is_secobjects
        from it_secobjects
        transporting checkbox
      where checkbox = 'X'.
    endform.
    *&      Form  get_data
    form get_data.
      select * from zuser_secobjects
      into table it_secobjects.
    endform.                    " get_data
    *&      Form  prepare_fieldcatalog
          text
    -->  p1        text
    <--  p2        text
    form prepare_fieldcatalog.
      clear: w_field,i_field.
      refresh:i_field.
      i_field-key = 'X'.
      i_field-col_pos = 1.
      i_field-ddictxt = 'S'.
      i_field-seltext_s = '@11@'.
      i_field-checkbox = 'X'.
      i_field-input = 'X'.
      i_field-fieldname = 'HEADER'.
      i_field-outputlen = 0.
      append i_field.
      clear i_field.
      w_field-fieldname = 'APPLN'.
      w_field-tabname = 'IT_SECOBJECTS'.
      w_field-seltext_l = text-m01.
      w_field-outputlen = '10'.
      w_field-col_pos = 1.
      append w_field to i_field.
      clear w_field.
      w_field-fieldname = 'APPLN_USER'.
      w_field-tabname = 'IT_SECOBJECTS'.
      w_field-just = 'C'.
      w_field-seltext_l = text-m02.
      w_field-outputlen = '7'.
      w_field-col_pos = 2.
      append w_field to i_field.
      clear w_field.
    endform.                    " prepare_fieldcatalog
    *&      Form  ALV_LIST_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    form alv_list_display.
      i_repid = sy-repid.
      call function 'REUSE_ALV_LIST_DISPLAY'
           exporting
                i_callback_program       = i_repid
                i_callback_pf_status_set = 'PF_STATUS_SET'
                i_callback_user_command  = 'USER_COMMAND'
                is_layout                = is_lout
                it_fieldcat              = i_field[]
           tables
                t_outtab                 = it_secobjects.
    endform.                    " ALV_LIST_DISPLAY
    anybody can modify the code  and resend it to me.
    thanks,
    maheedhar.t

    Hi,
    In the user command write the code as per the sample given below:
    FORM select_all .
      CLEAR v_lisel.
      DO.
        READ LINE sy-index FIELD VALUE v_chk.
        IF sy-subrc NE 0.
          EXIT.
        ENDIF.
        READ LINE sy-index FIELD VALUE sy-lisel INTO v_lisel.
        IF v_lisel+2(1) = ' ' AND sy-index GT 5.
          v_lisel+2(1) = 'X'.
          MODIFY LINE sy-index FIELD VALUE sy-lisel FROM v_lisel.
        ENDIF.
      ENDDO.
    ENDFORM.                    " select_all
    reward if useful
    regards,
    ANJI

  • The select/start button is not working on my Vita?

    as title, anybody face the problems???
    actually, my vita (wifi) freezed last week, PS button blue light, cannot shut down.
    after hold down power button, enter to Safe Mode, and done everything (restore, restart, rebuild, format m.card).
    now, PS button alive, working, but select / start button still not working!!
    HELP HELP HELP.......

    Here Is the Solution see on pictures This Fault Is Caused With Shorted Right Top Button When This shows conductivity few ohm this interfere with the signal line on the pcb.to test it disconnect this button from the socket by lifting up the small lock on amphenol socket.measure the 2 tracks on the foil if its conductive.in most cases will be leave it disconnected turn on the psp vita with some games and test if the start button respond 99% it will be working ok.if yesthen turn off the unit disconnect the main battery to avoid shortage to the motherboard.peel gently off the top right button and replace with new oneiff you cannot get parts then separate the 2 foil and clean the ferrite pad's.cut a thin foil with 2 hole same size as the button conductive pad's this will create bigger gap between these conductive touch pad's and the foil. Warning !!! This guide is for advanced component level engineers not for beginners require esd protection.  

  • Hp 6500 wireless. all buttons flashing not working

    i have a hp 6500 wireless, and it is not working .
    all buttons are flashing and the screen reads, "to avoid damage turn off and then turn back on"
    i tried that but idid not work

    Turn the printer off.  Hold # and 6 keys on the printer while and for a few seconds after turning it back on.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • All Buttons Function Not Working

    Hi to all.   I have a Torch 9860 that i dropped and cracked the digitizer,   but the thing is while the trackpad works pressing any button doesnt work.  so i have been doing alot of searching and reading but no scenerio matched mine, so in last effort i prayed it was a software problem and downgraded the phone all the way to the original os and behold the buttons started working then i thought maybe i can return to the 7.1 os and when i did that the buttons stopped working again.  anyone out there have any idea how i can get back to 7.1 os with my buttons working?  

    sunshinesunshine wrote:
    So basically if a iphone has a fault after the 1 year warranty period is over, there is nothing the consumer can do but purchase a new phone??
    Pretty much. Except that Apple will replace it for a fixed fee that is far less than the cost of a new phone. In the US the replacement cost for an iPhone 4 is $149. It is comparable in the UK. Unless you can prove that the fault was present at the time of purchase. A switch wearing out would probably be considered normal wear and tear, not a "fault".

  • Centre button will not work... again

    i thought it was resolved... and that it was a small glitch... but the centre button is not working again. any suggestions?
    below is my previous post:
    all of a sudden... the centre button on my ipod nano 4th generation device is not working. the updates are up-to-date... and i have since restored the system back to the manufacturers setting... and now i am stuck at the language menu... asking for me to choose a language. but i can't choose anything because the 'select' (centre) button does not work.
    any ideas??

    i did contact apple support and they are sending a replacement... using the serial number on the back.
    though i may have found the culprit. i put my ipod in my friends stereo/ipod player so i can charge up... i left it there for about 30 minutes... and both times when i unplugged it, that the centre button is stuck.
    for both occassions... that i repeatedly pressed the centre button (probably about 50 times) and it finally worked.

  • My "update all" buton will not work in the app store.  It gives me a message saying there is not enough storage to update.. I know i have storage left on the phone.  I even bought more icloud storage.  Any ideas??? Please help??? thanks

    My update all button will not work in the app store.  It keeps giving me a crazy message about not having enough storage to update apps.  Please help? I know i have storgage on icloud and on the phone itself.  Any ideas? Thanks

    Try deleting the old backup.
    Settings>iCloud>Storage & Backup>Manage Storage, tap the device name and on the resulting screen, scroll down and tap on Delete Backup.

  • Find Next button is not working in member selection for Smartview V11.1.2.1

    Hello,
    Quite urgent.
    When group of users select Smartview --> Member Selection --> "FindNext" or "Find" button is not working.
    The same option is working fine with my credentials. But problem exists for set of 3 users.
    Please suggest asap.
    Thanks in Advance,
    Tej

    Hi Iain,
    Thanks for your reply.
    * All 3 users are part of same group.
    * Created user with similar group and checked for member selection option to verify "Find Next" button functionality. It worked fine.
    * Verified filters assigned to this group. No filters are assigned.
    * Checked for version again - Version is V11.1.2.1.00 (Build 271). It is exactly same as other systems where the functionality is working fine.
    * Installation is carried out by company IT team as administrator, so that can not be an issue.
    kindly suggest if you have any other inputs to be verified.
    Best Regards,
    Tej

  • I have bought a IPhone 4 from Malaysia, my home button is not working. I want to replace the phone under warranty but all service centres mention that its country specific and I need to get it replaced only at malaysia. Can anyone guide me what to do????

    I have bought a IPhone 4 from Malaysia, my home button is not working. I want to replace the phone under warranty but all service centres mention that its country specific and I need to get it replaced only at malaysia. Can anyone guide me what to do????

    The iPhone warranty is not international and as you purchased in
    Malaysia the warranty is only valid in Malaysia
    You could try taking to an iPhone Authorised service provider
    in India but there have been many similar posts to yours
    and I am not aware  of them assisting  with an iPhone from
    outside India

  • X230 Trackpoint buttons do not work at all

    Hi,
    i am running Debian Wheezy. The trackpoint buttons of my x230 do not work at all.
    I also tried an actuall Kanotix live distribution. The buttons do not work with Kanotix also.
    Has anybody experienced similar issues, or have an idea, whats wrong?
    The trackpoint itself works fine. Unfortunately i have no windows available to test it with that OS.
    Is it likely a hardware issue? Would it make sense to remove the keyboard to have a closer look at the buttons?
    Thank you very much.

    Hi, Funkwecker
    Hope you are doing well I was wondering if you could give me more information about what you have tried and what version of Debian Wheezy and Kanotix you tried using. Also some general info. about the specs on your computer too would be great! Thanks!
    Did you find a post Awesome? A response just Outstanding? Kudo them!
    Did the post you read answer your question? Did someone help you figure out your problem? Hit Solution Provided and give that person a pat on the back for helping you out!

  • Select button will not work

    My 2gb nano's select button will suddenly not work. The rest of the clickwheel and buttons work find, but not the center select button.
    I restored it to original settings. Then after it restarts, you have to select a language. The select button would still not work, but then I slid the "hold" button back and forth and the select button worked to allow me to chose a language. But at the next screen of options (Music/Photos/Extras, etc.) the select button will again not work. Sliding the hold button back and forth doesn't work. I cannot do a menu+select reset because I can't get the select button to respond.
    I have made sure that I have the most updated softward for the nano.
    Any suggestions?

    My select button has not worked for a loong time.. It will occasionally work if I press for long enough or hard enough.. but not very often. This seems to be a common enough problem so there should be a way to fix it..I hope..

  • All iPad buttons are not working even after resetting it (hard, soft and via iTunes).

    All iPad 2 buttons are not working even after I resetting it. I tried both of the hard and soft reset, and even resetting my iPad via iTunes. 
    The volume buttons work after I tried this method : "hold iPad in landscape mode. Push the home button while rotating it to Portrait mode, release it."

    I have the same issue, nothing I did fixed the problem, I would suggest if you can visit apple store and give us your feedback with them.
    for me I can't go to apple store because I don't have any store near me, I will have to wait for 2 months to travel!

  • My i4s wifi button is not working. when i opened the setting and then wifi the button is greyed out. then i opened general and then about. in the bar of wifi address it is written N/A. what does its mean. i have done all other things like setting general

    my i4s wifi button is not working. when i opened the setting and then wifi the button is greyed out. then i opened general and then about. in the bar of wifi address it is written N/A. what does its mean. i have done all other things like setting >general<reset<reset network setting. but all in vain. tell me the solution

    restore your phone as new through itunes. if the issue persists after a factory restore via itunes, it means you've got a hardware issue and the phone needs to be repaired

  • I have just updated my iPhone to version 5.1, and the camera button next to the "slide to unlock" button does not work at all. It used to function well before the update. Can someone help??

    I have just updated my iPhone to version 5.1. After the update, the camera button next to the "slide to unlock" button does not work at all. It used to function well before the update. It happens to my friends as well. What should I do? Can someone help?? Thanks!!!!

    Slide the camera button up

  • I have an iPhone 4 and suddenly the "slide to unlock" button will not work.  I can not use the phone, answer calls or anything at all. Ideas?

    I have an iPhone 4s. All of a sudden the slide to unlock button does not work. I cannot access the phone, answer phone calls, or do anything with the phone. Anyone have any ideas?

    I was having a similar problem but only when answering calls. A reset seems to have fixed it. http://support.apple.com/kb/HT1430
    If that doesn't do it you may need to contact Apple Care or take it in for repair.

Maybe you are looking for

  • Java totally not working

    I created a topic on here earlier about not being able to run javac on some of my java files, but it turns out I cant use java at all. I have many programs I have made, and before the weekend I have been able to run them, and now whenever I try to ru

  • Airport connection drops when using external monitor

    I just bought a new monitor to use as a 2nd display for my Macbook. Problem is, as soon as I plug it in, my wireless connection just kills over and dies a horrible death, but as soon as I unplug my MiniDisplay to DVI adapter, it works great. I've bee

  • Creating & posting the incoming invoice (MIRO) using BAPI

    Hi, We used to give , Document Date = current date Delivery Note    = EX1 Select the vendor Once we select the vendor the following data gets populated automatically such as, Item,Amount,Quantity,UOM and so on. For my data I get tax_code as V5. When

  • BSM / audit_syslog ... how to get command line parameters in syslog?

    Hi All! I have been experimenting with Sun Basic Security Module (BSM) and was trying to send audit data via syslog to a central logging server like so: # cat /etc/security/audit_startup /usr/sbin/auditconfig -setpolicy +argv,arge # cat /etc/security

  • Problem about the GeoRaster demo files

    Hi there! The document "Oracle Spatial GeoRaster 10g Release 1 (10.1)" says I could find the demo files under the installation directory "$ORACLE_HOME/md/demos/georaster/plsql",but I cannot find the "demos" folder under the "md" directory.If you inst