How to clear entries from a table view

Hi All,
  I am using a tableview in a BSP page. I am setting the attribute allrowseditable = 'TRUE'. The internal table I am using for the tableview contains only initial lines. Once the tableview is displayed i am entering some values on the cells. But even after triggering the DO_REQUEST the values i entered in the tableview remains, its not getting cleared eventhough my internal table contains only initial lines. I am not getting back the values from tableview in HANDLE_DATA or EVENT. Can anyone tell me why the cells in tableview is retaining the values. How can i overcome this.
Thanks,
regards
Vishnu Aravind

Hi Sebastian,
  The following is the code of my view
<%@page language="abap"%>
<%@ extension name="bsp" prefix="bsp" %>
<%@ extension name="htmlb" prefix="htmlb" %>
<%@ extension name="xhtmlb" prefix="xhtmlb" %>
<%@ extension name="PlmHelp" prefix="plmhelp" %>
<htmlb:gridLayout columnSize="1"
                  rowSize="2"
                  cellSpacing="10">
<htmlb:gridLayoutCell rowIndex="1"
                      columnIndex="1">
<htmlb:tableView
                    id                     = "attribute1"
                    allRowsEditable        = "X"
                    table                  = "<%= controller->tbl_attributes %>"/>
</htmlb:gridLayoutCell>
</htmlb:gridLayout>

Similar Messages

  • How to read specific entry in standard table view :

    Hi Friends,
    Can anybody please give me code on how to read a record in table view having 5 records.
    I have a requirement on how to read the specific address out of 5.
    I tried doing in ON_NEW_FOCUS method.
    Thanks,
    Chitrakant

    Hello,
    Try to do it in the DO_PREPARE_OUTPUT mathod before calling super->do_prepare_output( ). What we need to do is,
    1. get the collection from context node ( get_collection_wrapper )..
    2. filter the entity based on the value ( using iterator !!! )
    3. set back to context node
    4. call super->do_prepare_output.
    Hope it helps.
    Regards,
    Sandeep Kumar B

  • Deleting entries from a Standard View

    Hi,
         How do I delete duplicate entries from an Standard View in an Abap Code?
    Thanks,
    Pravs

    Then it becomes complicated. Are you trying to delete the duplicates from a view? Then look at your view definition and see if you can avoid duplicates by changing its selection criteria. Also take note of Rob's comment.
    If you are trying to delete from a database table as opposed to a view, then I don't know how you achieved the feat of having duplicate entries as any duplicate inserts with same key fields would have resulted in dump. Can you please clarify?

  • How to select data from cluster table

    hi experts,
                   I have a report which picks data from bseg (cluster table ) for a month report it is taking around 4 minutes to process.I feel it is not good when take the report after some months.
    how to select data from these table???how to declare itab for these cluster tables????can we include any search condition or any other kind of internal table???
    please advice.
    mani

    Hi Manikandan,
    The following code may be helpful to understand how to select the data from cluster table.
    Types: Begin of ty_kna1,
    Kunnr type kna1-kunnr,
    adrnr type kna1-adrnr,
    end of ty_kna1,
    begin of ty_bseg,
    belnr type bseg-belnr,
    kunnr type bseg-kunnr,
    end of ty_bseg,
    begin of ty_final,
    belnr type bseg-belnr,
    kunnr type kna1-kunnr,
    adrnr type kna1-adrnr,
    end of ty_final.
    Data: it_kna1 type table of ty_kna1,
    wa_kna1 type ty_kna1,
    it_bseg type table of ty_bseg,
    wa_bseg type ty_bseg,
    it_final type table of ty_final,
    wa_final type ty_final.
    Select kunnr adrnr from kna1 into table it_kna1 where....
    if sy-subrc = 0.
    select belnr kunnr into table it_bseg for all entries in it_kna1 where kunnr = it_kna1-kunnr.
    endif.
    sort it_kna1 by kunnr.
    Loop at it_bseg into wa_bseg.
    move wa_bseg-belnr to wa_final-belnr.
    read table it_kna1 into wa_kna1 with kunnr = wa_bseg-kunnr binary search.
    if sy-subrc = 0.
    move: wa_kna1-kunnr to wa_final-kunnr,
    wa_kna1-belnr to wa_final-belnr.
    endif.
    append wa_final to it_final.
    clear wa_final.
    endloop.
    Loop at it_final into wa_final.
    write: / wa_final-belnr, wa_final-kunnr, wa_final-adrnr.
    endloop.
    Reward if useful.
    Thankyou,
    Regards.

  • How to select data from a table using a date field in the where condition?

    How to select data from a table using a date field in the where condition?
    For eg:
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
                                                      and bdatu = '31129999'.
    thanks.

    Hi Ramesh,
    Specify the date format as YYYYMMDD in where condition.
    Dates are internally stored in SAP as YYYYMMDD only.
    Change your date format in WHERE condition as follows.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and bdatu = <b>'99991231'.</b>
    I doubt check your data base table EQUK on this date for the existince of data.
    Otherwise, just change the conidition on BDATU like below to see all entries prior to this date.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and <b> bdatu <= '99991231'.</b>
    Thanks,
    Vinay
    Thanks,
    Vinay

  • How to select data from a table by passing document number from another tab

    How to select data from a table by passing document number from another table.
    for eg:-
    I want to display name, adres, region from ADRC table
    by using field delivery document number
    Kind Regards,
    Shanbagavalli.S

    Hi Shanbagavalli,
    There are multiple solutions to this questions a few i will try to answer and then you can take the best required for your requirements.
    **Consider that you have a Internal table having document number from other table..
    SELECT NAME ADRES REGION FROM ADRC
           INTO IT_ADRC
           FOR ALL ENTRIES IN IT_DOC
           WHERE DOCUMENT_NO = IT_DOC-DOCUMENT_NO.
    **Consider that you have 1 document number then
    SELECT NAME ADRES REGION FROM ADRC
         INTO IT_ADRC
         WHERE DOCUMENT_NO = W_DOCUMENT_NO.
    Hope this solves your problem.
    Regards,
    Kunjal

  • Going from one table view to another

    Hey there,
    I am new to creating apps and have a minor problem.
    I have my table view controller attached to my nav bar and it displays data from an array and has a detail disclosure indicator for 3 rows.
    I don't know what code to put in the prepare for segue function cause I want it to goto the next view controller which is a table view controller that also reads from an array.
    so 2 table views, both with arrays, how do I display the 2nd table view controller from the first, as I DON'T need to pass any data.
    Thanks in advance!

    I don't know what code to put in the prepare for segue function cause I want it to goto the next view controller which is a table view controller that also reads from an array.
    The 2nd table view controller should be the destination view controller of the push segue.  You do not need to override prepareForSegue unless you want to set properties on the destination view controller before it is loaded (i.e. pass data).

  • I have cleared all my music from my iPhone. I have "Sync music" unchecked on iTunes, but some songs are still on "on this phone" in itunes, how to clear it from itunes "on this phone" ?

    iOS 8.0
    I have "Sync music" unchecked on iTunes and I have cleared all my music from my iPhone.
    On my Mac, on itunes (version 11.4) if you click on "on this phone", there are still remaining 70 songs...
    how to clear it from itunes "on this phone" ?

    What you have on your computer is your iTunes library, not an iTunes "account."  The account that is related to iTunes is your Apple ID, which you use to sign in to the iTunes Store and make purchases.  It is also used with iCloud.  iPods (that are not iPod touch) are associated with your iTunes library, not to your Apple ID.
    So, I think you probably just need to set up (or update) automatic syncing for the iPod.  If it's not set up to sync those new songs, iTunes still syncs the iPod, but it syncs nothing
    In iTunes, if the sidebar (along left side of iTunes window) is hidden, from the menu bar, under View, select Show Sidebar.  In the sidebar, the iPod appears under DEVICES, when it is connected.
    Select the iPod in iTunes.  There is a row of buttons, starting with Summary.  Click on Music next to Summary.  This is the iPod's Music screen, where you tell iTunes how to sync songs to the iPod.
    Check the box for Sync Music (if it's not already checked).  If your iTunes music library fits completely on the iPod, you can choose to sync Entire music library.  Otherwise, you can choose to sync Selected playlists, artists, albums, and genres.  On the lists below, checkmark the playlists, artists, albums, and/or genres that you want on the iPod.  When you click Apply, the songs from your selection sync to the iPod.
    One convenient way to set this up (if you can't sync the entire iTunes music library) is to create a new playlist in your iTunes library.  Name it "iPod Songs" (or whatever you want).  Put ALL songs that you want on the iPod on this playlist, including those new songs.  Back on the iPod's Music screen in iTunes, select this playlist under Playlists.  Going forward, to update songs on the iPod, just update that playlist in your iTunes library (add/remove songs).  The next time you connect the iPod (or click the Sync button), iTunes automatically syncs the same changes to the iPod.

  • Removal of  Developer Key entry from DEVACCESS Table.

    Hi,
    On table DEVACCESS, in QTY/DEV/Prod there is one person with Developer Key listed that I would like to remove,  User is no more working and now we want to delete the entry from this table which has the User name followed by the Developer key assigned.
    Could any one guide me in deleting the Developer Key access from the DEVACCESS table.
    Satish.

    Another alternative is to use SE11 to create a maintenance view (ex: ZV_DEVACCESS).  Secure the maintenance view with a custom authorization group.  With the maintenance view you have the ability to use SM30 to maintain the DEVACCESS data.
    That keeps the DEVACCESS table from changing and thus no need to register the change with SAP.
    Cheers,
    Brian

  • Delete entry from Database table

    Hi,
    I configured one PCR scenerio in SPRO node -> business Packakes/ funtional packages-> Manager self service-> Personal Change request -> Group Change request scenerio.
    later I deleted that entry in backend, but still the same entry exist in db table "TWPC_PCR_Groups" .
    How can we delete that entry?
    thanks

    Hi,
    If you just want to delete a single entry from database table then you have to it in debug mode .
    go to se11->Give table name->Press F7( ie: display table entries)-> Goto the table contents (CTRLSHIFTF10)->Select the entry you want to delete->Give /H in the command bar ->enter into debug mode-> Give code as DELE -> save it. and press enter. Your entry will be deleted from database.
    Hope this helps..

  • How to fetch data from cluster tables

    hi
    i need to know  how to fetch data from cluster tables please update me if any
    i know that we cannot use joins in cluster table we use view etc
    but i need detailed inforation on methods for fetching data from cluster tables
    regards
    Nishant

    Hi,
        Check the following links
    http://fuller.mit.edu/hr/cluster_tables.html
    The specified item was not found.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33

  • How to send data from internal table to the shared folder in ABAP

    Hi experts,
             My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is  "
    xxx\y\z....".
    I do not have any idea on how to send data from internal table to the shared folder path.
    can anybody please help me out how to do this?
    Thanks & Regards
    Sireesha.

    Where that folder is located, its on presentation server i.e. desktop or application server.
    If its on presentation server, use FM GUI_UPLOAD.
    If its on application server, then use DATASET functions. Have a look at below link.
    [File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
    I hope it helps.
    Thanks,
    Vibha
    Please mark all the useful answers

  • How can I exit from full-screen View?

    On the View menu, I clicked "Full screen View", but then I couldn't find any way back to normal view. I had to Force-Quit Firefox to escape.
    How do you exit from Full Screen View?
    (I tried Esc, Ctrl-C, and many other key combinations)
    Thanks, PeterR

    Try F11.

  • Send data from 2 table view to a RFC

    Hi All,
    What I try to do is following:
    I have two table view A and B, which contain data, which I need both for the RFC. Now I can Toolbar for one of the tables and connect both tables to the RFC, both with the action caused by the button.
    But only the data from the table view with the button is sent to the RFC.
    Has anyone an idea what I could do?
    BR Matthias

    Hi Matthias,
    have you defined an action like 'submit' and declared the events in the transition like '*submit'?
    Best Regards,
    Marcel

  • How to clear entries in a Recon GL account?

    How to clear entries in Recon GL account. When we try to post using f-03, open items does not become visible and We can not go for open item management for particular GL. Please tell me the alternatives for this process.

    The forum [FPM - General|Enterprise Performance Management (SAP EPM); in which you originally posted your question deals mainly with the financial performance applications otherwise known as Enterprise Performance Management (EPM) carrying the BusinessObjects brand.   Your question pertains to SAP [ERP Financials|SAP ERP Financials; which is covered by another forum.  Therefore your message has been moved.  Please adjust any bookmarks you might have and post to the appropriate area in the future, that way you are assured you will have the right audience reading your posts.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP Labs, LLC
    BusinessObjects Division
    Americas Customer Solutions Adoption (CSA) team

Maybe you are looking for

  • Acrobat 9 automatically converts .TIFF files to .PDF - how do I disable?

    Why is Acrobat 9 opening .TIFF files as a .PDF? I would like it to remain a .TIFF instead of autmoatcailly converting to a .PDF. This happens when I click on .TIFF images on the web, or save them as a .TIFF locally. I've not found an option under pre

  • I can't get Creative Cloud Desktop installed on my new iMac

    I bought a new iMac. It's running Mac OS X 10.9.2. 1. I backed up everything on the old mac. 2. I uninstalled all Adobe Creative Cloud apps on the old mac. 3. I used Apple Migration Assistant to transfer all data from the old mac to the new mac. 4. I

  • Populate & Retrieve in one Select - problems !!!

    Hi There. What I would like to be able to do is populate a row in a table (via a function) and retrieve that row all in one Select statement. Unfortunately I don't get any data returned from the Select. I have in mind something like the following:- S

  • Why can't I get this website to load properly?

    www.wzzm13.com A local news website. I can access it with Internet explorer, or my android tablet with no problem. I cannot access it with Firefox, (32) or Nightly (64) and I have removed both, wiped out everything to do with them, reinstalled them w

  • S.o.s. how to set a memory usage limit in flash cs4?

    flash is using 1 200 000 k. and i cant work in this situation. i know that i can limit the usage of memory in ps cs4. but i dont know how i do it in flash. is there a way of limiting the memory usage or making flash use memory as much as this?