In wendynpro,  i need to delete unwanted columns in ALV..

Hi experts,
   In Webdynpro, I have selected some fields in context node through dictionary structure and to display those fields in ALV . Im getting the values for corresponding fields which i have selected but im  also getting other fields of the database dictionary structure in ALV.. Can anyone help me to delete  other fileds in it..
Thanks in advance..
Edited by: sivaprasath sekar on May 28, 2009 11:22 AM

Hi,
Use following code to delete the column from ALV.
Here we are using config. model of ALV to delete the column.
DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
lo_interfacecontroller =   wd_this->wd_cpifc_alv( ).
  DATA lv_value TYPE REF TO cl_salv_wd_config_table.
  lv_value = lo_interfacecontroller->get_model(
CALL METHOD lv_value->if_salv_wd_column_settings~delete_column
  EXPORTING
    id     = 'CARRID'
Instead of carrid you can pass your cotext_attribute which needs to be deleted.
Thanks,
Rahul
Edited by: Rahul Yadav on May 28, 2009 11:30 AM

Similar Messages

  • How to delete unwanted columns in bi apps rpd

    Hi All ,
    we are using obia 7.9.6.3 and we have eight subject areas , question is i want to delete other subject areas but i am not sure will the columns get effected or not . not many reports are built but we have some segments are built for campaign purpose.
    Thanks in advance ...
    Edited by: user13081091 on Oct 20, 2012 7:48 PM

    Try to import those 8 subject areas into another rod file that would be the best way.
    Use options to enable import from repository option.
    Pls mark correct/helpful

  • Need to delete unwanted shared user

    Tonight I found a shared user who doesn't belong on my computer. When I select it, the option to delete it (drag it to the trash) is grayed out. How do I get rid of this?

    What do you mean by "Shared User?"
    Do you mean the folder called Shared in the /Users folder? If so, this it not a user...but nothing more than a folder that allows shared access between all other users on the computer.

  • Hide or Delete Empty columns in dynamic internal table

    Hi,
                                I am having an dynamic internal table which contains more than 100 columns.
             I need to delete empty column from that table, can any one help this.

    Hello,
    If you are talking about ALV then you can just the the table for empty columns before populating fieldcataloge and hide the columns.
    If your query is still not answered please provide a detail requirement.

  • HT2237 I am trying to delete unwanted files from an external drive and am getting error code -50.  What do I need to do to clear this and delete the files?

    Can someone tell me how to clear this error.  I am trying to delete unwanted files from an external drive and get error code -50.  How do I clear this so I can delete these files?  Thanks.

    Re: Error Code-50 when trying to copy or delete files on external hard drive

  • Why does Mail refuse to delete unwanted email?

    it would appear that in the dumbing down of Mail (part of the mixing of OS and iOS probably), that Mail is not doing what i want
    i am running OS10.9.5
    and for the last couple of years i have been noticing errant behaviour from what used to be a good app
    if i delete email, i find it has not gone to the Trash but disappears for a minute only to reappear in the Inbox, i believe this is something to do with linking it to the Cloud, which personally i do not want nor need
    the result is if i look for some specific email in the search box i find 100's of emails, some Junk that i deleted months before, coming up
    what is going on?
    i read recently that there was no need to file email in Folders anymore, just use Spotlight, or the Search box to find whatever you require
    well i have developed a great folder system, it has taken me years, and i still put emails in their relevant folders .... that is the way i want it, not the lazy Apple way
    so......... how can i prevent Apple from dominating Mail?
    how can i get it to work like it did, which suits me perfectly
    and to stop preventing me from deleting unwanted mail
    btw i have just reached 90,000 emails in Mail, so when all those previously deleted mails come up, THEY REALLY DO NOT HELP!!!!!!!!!

        I apologize for this inconvenience, annoyedguy. I want to ensure you are able to make the necessary payment to close your account. You can make an online payment for a disconnected account here: http://bit.ly/1aV37w6
    AndreaS_VZW
    Follow us on Twitter @VZWSupport

  • How do I find 'Other' when it comes to my hard drive so I can delete unwanted files?

    Can someone please help me with this problem?
    When pulling up my system profiler, the catagories under storage are:
    Audio
    Movies
    Photos
    Apps
    Backups
    Other
    How do I find where the files that are located in the 'Other' group. So I can delete unwanted files from there?
    It seems to be taking up a lot of space on my hard drive, so I would like to know whats in it?
    My computer is a 2010 MacBook Pro 15" 2.4GHz Core i5, 64GBSSD, OSX Lion, let me know if you need more information than this?
    Thank you so much to anyone that can help me please.
    Scott

    Download OmniDiskSweeper from the Internet (free) and open it.  It will produce a display i a sequential format showing what you have on your MBP and the space each item is taking.  This should assist you in identifying all of your disk space 'hogs'.
    Ciao.

  • I deleted unwanted photos from my iPhoto library, emptied iPhoto trash & Finder trash... this did not free up disk space. please help!

    I deleted unwanted photos from my iPhoto library, emptied iPhoto trash & Finder trash... this did not free up disk space. please help!
    I have a 15-inch MacBook Pro (Late 2011) with OS X Mavericks 10.9.5
    Last week, my 500 GB Harddrive had 120 GB free space. I was feeling crumby and decided to make productive use of taking a day off to lounge around. I snuggled up with my laptop and dedicated hours to meticulously combing through my iPhoto Library. I had 13,000 pictures, and I got rid of those I didn't want. Having said "sayōnara" to about 6,500 pictures, I then emptied the iPhoto trash and the Finder trash. I took delight in the iconic paper crumpling sound of them vanishing into the digital void.
    Everything seemed perfect: the photos I loved were still there, the photos I loathed were gone, both trashes were beautifully empty. Having thrown away all of those awful, boring, and unflattering images of poorly light lunches and selfies gone wrong, my iPhoto library was half the size as before! I felt renewed, a little lighter, somehow more free, and I expected my hard drive to be a bit different to.
    I eagerly checked my storage stats. My heart sank to see that my 120 GB of free space, was still only 120 GB of free space. I restarted my MacBook; this did not help. I restarted it the next day; this also did not help. It's been 5 days and the hard drive still has 120 GB free space. This is not an emergency and it will probably be a good while before I clutter my laptop to the brim. Yet while I am glad I don't have to see cringeworthy pictures of my ex's unmentionables every time I'm showing off things I do want to remember, I'm still disappointed and now obsessed with solving this mystery.
    What is going on? I don't see them, so where are they hiding? How do I get the free space I should have earned from throwing away 1,000's of photos?!

    Thank you, Terence!
    Yes, I only emptied the trash when it was really full, once I waited until the trash cans contained 2,600 photos and then I emptied them - Oooops! In the future, I'll keep in mind your suggestion of deleting less than 100 photos at a time.
    I downloaded the iPhoto Library Manager and used it to rebuild my iPhoto. After a few hours of rebuilding, it generated a new copy of my iPhoto Library. This versions was nearly identical to the original (it was missing 5 photos and was therefore only 5 mb smaller). I guess my Library wasn't defective.
    I checked my storage stats, and interestingly, using iPhoto Library Manager did help with the problem that developed after I re-indexed my hard drive. My hard drive is able to properly recognize data categories again, instead of listing almost everything as "Other". Understandably, my free disk space changed from 120 GB to about 60 GB, because my hard drive now contained a second copy of my iPhoto Library as well as iPhoto Library Manager. It seemed like all I needed to do was throw these away, but when I emptied the trash, my problem was not solved. My Hard drive now looked like this:
    It appears to me that when I empty the trash, the things I throw away are just hanging around as backups instead of leaving! I went into System Preferences and turned of my time machine OFF. Now my hard drive looks likes this:
    The back ups of the iPhoto files, and the program which I deleted, are still on my hard drive some where but now they are listed as "Other" instead of "Backups". Do you know where they might be and how I can delete them for good?

  • Will deleting a column at logical schema delete the same at physical level by DDL Sync?

    Will deleting a column at logical schema delete the same at physical level by DDL Sync?

    Hi David,
    First of all thanks for your quick response and for your help logging the enhancement request,
    I am testing more or less your suggestion but I  am not sure if I understood exactly what you mean,
    1)I imported from data dictionary in a new model and into the options menu on the schema select screen I un-ckecked partitions and triggers,
    I guessed that the import should not get from the data dictionary the information about the partitions but the result is that the tables partitioned (by list in this case) are partitioned by range without fields into the physical model on SDDM,
    2)I select one of the tables modify a NO partitioned option and propagate the option for the rest of the tables
    3) I imported again from data dictionary but this time I included the partitions into the option menu on select schema screen,
    into tabular view on compare models screen I can select all the tables with different partitioned option, also I can change for "list partitions" and select only the partitions that I want to import.
    So I have a solution for my problem, thanks a lot for your suggestion
    The second step I'm not sure is needed or maybe I can avoid the step with some configuration setting in any of the preferences screen,
    if not, I think the options to not include partitions into select schema screen are not so clear, at least for me,
    please, could you confirm me if a way to avoid the second step exists or if I misunderstood this option?
    thanks in advance

  • Deleting unwanted web images from hard drive

    I discussed with a friend that my computer got up to 70 GB full, and even when I took most of my photos off it, the memory did not increase much. He told me I needed to delete all the unwanted web images which I would have been downloading over the last few years. Could someone please tell me how to do this. Thank you

    Hello Annabel,
    You can empty your web browser's cache. This will delete a lot of accumulated stuff from visited sites.
    If you are using Safari, from the top menu bar under Safari you should see this option. ( This could vary depending on which version of browser you are using but you get the idea I hope.)
    As to your deleting photos, note that after you delete photos etc, you need to _empty the trash_ to recover that disk space again.
    If you delete photos from within iPhoto, these images are held in the iPhoto application and the trash has to be deleted from within there to recover the space, rather than Finder.
    Message was edited by: roam

  • I was able finally to delete unwanted text boxes in my document; however, now my second page is missing and there are several following pages in a language that appears to be Latin.  What sin have I committed and how do I atone to get my second page back?

    I was able finally to delete unwanted text boxes in my Pages document; howver, the result is that the 2nd page of my document is missing and there are now several following pages in a language that appears to be latin.  What sin have I committed and how do I atone?

    10 marks for recognising the Latin (sort of) that is the placeholder text in your template.
    You are using a Word Processing template. WP templates have content flowing from page to page. As one page fills up, a new one is created. If some of that text is deleted or displaced the pages retract.
    When you combine text, invisibles like word spaces, returns, tabs, page breaks etc with objects that have text wrap set, the mix can behave in an apparent odd fashion.
    Start with showing where everything is:
    Menu > View > Show Layout/Invisibles
    Start with getting rid of any excess returns you may have used to "position" things. Next cut and paste objects like textboxes, shapes, charts and tables "Inline" ie in as part of the text. If necessary also turn off text wrap on objects or minimise it so that doesn't push text completely out of the way.
    Insert Section breaks in the Text where you want fixed breaks in the layout these will provide separation between layout on different pages.
    Basically you need to clean up your layout or think about doing it another way.
    If there is a lot of layout, you will need to learn Pages methods for doing this in a WP template or do it in a Layout template where each page is individual and all objects are floating with no default text area.
    Peter

  • Deleting a column in a text file using LabVIEW

    Hello all,
    I'm trying to delete the first column of my tab delimited text file using LabVIEW and then save it under the same file name.  Can someone show me a quick way to perform this operation.  Is this even possible with LabVIEW?  Any help would be much appreciated.
    My purpose is to automate this operation for hundreds of daily text files containing data that needs processing.  I'm currently using LabVIEW 8.2.
    Thanks!
    -noviceLabVIEWuser

    If the file is relatively small:
    Read the file using the Read from Spreadsheet File VI to get 2D array.
    Remove the column from the 2D array.
    Write out new 2D array to new file using Write to Spreadsheet File VI.
    If the file is relatively large then you will likely run into memory issues. In this case you will need to read the file in chunks. You can decide how many lines to read at a time. Use a for-loop that's set to run for the number of chunks to read (based on the total number of lines and the number of lines you want to read at a time). Hint: Quotient & Remainder function. In the loop use the Read Text File VI to read your set number of lines. Convert the lines to a 2D array delete your column, and write out that chunk of data to the new file. Rinse and repeat.

  • Bad performance when deleting report column in webi(with "Design – Structure only")

    Hi all,
    One of our customer has recently upgraded from BO XI to BO4.1. In the new BO 4.1, they encountered a bad performance issue when they were deleting a column in Webi(using "Design – Structure only" mode).
    With “Design – Structure only" mode,  it took webi about 10 seconds to complete after the customer right-clicked a report column and clicked the "delete".  The customer said that they only need to wait for less than 1 second when they did the same in BO XI old version.
    The new BO version used is 4.1SP02, installed in Windows Server 2008 R2. (Server with 32 core CPU, 32G memory)
    This bad performance happened in both Webi web and Rich Client. (in Webi Rich Client, the performance is a little bit better. The 'delete column' action takes about 8 seconds to complete).
    Do anyone know how to tune this performance in webi?  Thank you.
    Besides, it seems that each time we are making change in the webi report structure in IE or Rich Client, webi need to interact with Server site to upload the changes. Is there any option to change this behavior?  Say, do not upload change to Server for when 'deleting report column', only trigger the upload after a set of actions(e.g. trigger when click the "Save" button).
    Thank you.
    Regards,
    Eton.

    Hi all,
    Could anyone help me on this?  Thanks!
    What customer concerns now is that when they did the same 'column editing' action in BO XI R2 for the same report, they did not need to wait.  And they need to wait for at least 7-8 second in the BO 4.1SP02 environment for this action to complete.(data already purged, in structure-only mode)
    One more information about the webi report being editing is: there are many sheets in the report(about 6~10 sheets in one report). Customer don't want to separate these sheet into different reports  as it will increase the effort of their end users to locate similar report sheets.
    Regards,
    Eton.

  • Need to delete blank rows from various worksheets in same workbook-reg

    Hi Team,
    I am searching for a macro to delete the blank rows from my worksheets.
    Sub testIt()
    Dim r As Long, endRow As Long, pasteRowIndex As Long, Worksheet As Object
    Application.ScreenUpdating = False
    endRow = 1000
    pasteRowIndex = 1
    For r = 1 To endRow
        If Cells(r, Columns("A").Column).Value = "12345" Then
                Rows(r).Select
                Selection.Copy
                Sheets("12345").Select
                Rows(pasteRowIndex).Select
                ActiveSheet.Paste
                CutCopyMode = False
                pasteRowIndex = pasteRowIndex + 1
                Sheets("NORMAL").Select
    End If
        If Cells(r, Columns("A").Column).Value = "45678" Then
                Rows(r).Select
                Selection.Copy
                Sheets("45678").Select
                Rows(pasteRowIndex).Select
                ActiveSheet.Paste
                pasteRowIndex = pasteRowIndex + 1
                Sheets("NORMAL").Select
        End If
        If Cells(r, Columns("A").Column).Value = "36925" Then
                Rows(r).Select
                Selection.Copy
                Sheets("36925").Select
                Rows(pasteRowIndex).Select
                ActiveSheet.Paste
                pasteRowIndex = pasteRowIndex + 1
                Sheets("NORMAL").Select
        End If
         If Cells(r, Columns("A").Column).Value = "789456" Then
                Rows(r).Select
                Selection.Copy
                Sheets("789456").Select
                Rows(pasteRowIndex).Select
                ActiveSheet.Paste
                pasteRowIndex = pasteRowIndex + 1
                Sheets("NORMAL").Select
    next r
    end sub()
    the above code searches for the value "12345" "45678" "36925" "789456" if found in worksheet (normal) then it picks the value and paste it in new corresponding worksheet with sheet number (12345). while pasting like
    this it has some blank rows so it need to delete the rows help me out of this problem. thanks in advance

    Hi vigneshvicky,
    This code snippet works fine to delete the blank rows, please try it:
    ActiveSheet.UsedRange.Select
    'Deletes the entire row within the selection if the ENTIRE row contains no data.
    Dim i As Long
    'Turn off calculation and screenupdating to speed up the macro.
    With Application
    .Calculation = xlCalculationManual
    .ScreenUpdating = False
    'Work backwards because we are deleting rows.
    For i = Selection.Rows.Count To 1 Step -1
    If WorksheetFunction.CountA(Selection.Rows(i)) = 0 Then
    Selection.Rows(i).EntireRow.Delete
    End If
    Next i
    .Calculation = xlCalculationAutomatic
    .ScreenUpdating = True
    End With
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to delete unwanted microsoft word files...PLEASE!

    I would love to know how to delete files in microsoft word that are saved under my documents. The only way I can delete a saved word documsnet is when it has ONLY been saved to the desktop, then I drag it to the trash. When it has been saved to my documents or on the harddrive anywhere, there is no way I can find to delete it. And since I want to clean up my word documents I need to delete the files I no longer use.
    Does anyone know how to do this?
    I know microsoft word is not an "apple software" but it did come on my mac, and when I had a PC (a compaq) it was easy to delete fiels I no longer used. So I thoguht the best way to get an answer for this would be to contact apple support.
    Please someone answer, I have been trying to find this answer for months! Thanks!

    Late post for the archives--another fix:
    I'm guessing the problem is trying to use File | Open to bring up a window that shows files, and delete from there. This works in Windows, but not on the Mac (true for any program, not just Word).
    On the Mac, you have to delete files from within the Finder (the equivalent of Windows Explorer). Go to the desktop and hit apple-N (cmd-N) to bring up a Finder window. Set it to Column View. Now you can browse to any location on your harddrive and drag a file to the trash.

Maybe you are looking for