To delete the row for the corresponding checked rows in alv

hi,
i have a alv report with check boxes,
can any one say how to delete the row for the corresponding checked rows.

hi
give In REUSE_ALV_LIST_DISPLAY
I_CALLBACK_USER_COMMAND  = P_USER_COMMAND
FORM F_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                          RS_SELFIELD TYPE SLIS_SELFIELD.
IF R_UCOMM = C_DELETE. where CONSTANTS : C_DELETE(6) TYPE C VALUE 'DELETE',
  READ TABLE IT_ITAB WITH KEY REC_SEL = C_X.
LOOP AT IT_MARA WHERE REC_SEL = 'X'.
        MOVE-CORRESPONDING IT_ITAB TO IT_TEMP.
        APPEND IT_TEMP.
        CLEAR IT_TEMP.
      ENDLOOP.
where it_temp IT_TEMP TYPE STANDARD TABLE OF itab WITH HEADER LINE,
DELETE ITAB FROM TABLE IT_TEMP.
HOPE THIS HELPS
PRIYA

Similar Messages

  • Deleting derivation rule for the existing characteristic in operating conce

    Hi all
       My customer has two characteristics" Billing Doc(VBELN)" and" Warranty status" in the development and testing client and not in the production now.
    Option 1 : Is to delete them but as the data is already posted for the same in the test and development client,it is lot more complex( involves  implementation of OSS notes-SAPNET note 21207) .
    Option 2: If we decide to keep them for now:These two have a derivation rules too. So  can we simply delete the derivation rules so that data will not get posted to them( So will not effect the PSG i.e ce4xxxx table in production once the same transport is moved to production). There are no dependencies on this derivation rule.
    Option 3: Can we also remove them from segment level characteristics?
    Please let me know pros and cons ?
    I really appreciate your time and effort.
    Thanks & Regards
    Sri

    Hi,
       If the characteristics have not been transported to production then why don't you delete them in the dev/test system ? Here you can take the risk.
    To delete characteristics or value fields, perform the following
    activities:
    1. Delete the corresponding characteristics and value fields from Customizing in all clients (this includes forms, reports, planning
    layouts, and so forth). To locate characteristics and value fields, use the appropriate where-used list in the Customizing Monitor. You can access it by choosing Tools -> Analysis -> Check Customizing Settings (TA KECM).
    You can jump directly from the where-used list to the relevant Customizing transaction and then delete the appropriate field there.
    2. Switch to the screen for maintaining the data structure of an operating concern (Maintain operating concern).
    3. If you need to effect other changes to the datastucture for the operating concern before making any deletions, effect those changes and save the data structure.
    4. In order to be able to select the fields of the data structure, choose Extras -> Characteristics (or Value fields) -> Unlock.
    5. Select the characteristics and value fields to be deleted and remove them from the data structure with the "Reset fields" function.
    6. Reactivate the operating concern. The system starts by checking whether the operating concern contains any data and whether the fields to be deleted are still being used in any Customizing settings.
    7. If none of the fields are still in use, the system then starts the re-activation. If the operating concern does not contain any data or does not require the database system to be converted, the tables are activated. You are then able to activate the environment for the operating concern. In this case, the following activities no longer apply.
    If the operating concern already contains data, a system message tells you that the database needs to be converted. If you proceed, an activation log appears (at the top of the list).
    8. Analyze the activation log. If it only contains error messages telling you to convert the tables, proceed with the next activity.
    You must otherwise remove the cause of the errors before the tables can be converted. In this case, you should answer "No" to the next prompt, which asks whether the conversion transaction should start.
    9. If you still only receive error messages telling you to convert the tables, choose "Back" and start the conversion.
    10. Plan a job for the conversion. A list of the tables to be converted is shown for this. If the tables only contain a small amount of data (less than 10 000 records), then all the tables can be converted in one job. In that case, you can select all the tables.
    For larger tables, conversion should take place in several jobs.
    However, you should ensure that table CE4xxxx (where xxxx = operating concern) is the last table to be converted.
    Warning. No other changes can be made to the operating concern during the conversion.
    A copy of the table is generated during the conversion. The database system should have sufficient memory available for this copy.
    To schedule conversion as a job, use the "Schedule selections" function.
    You can display the current status of the conversion by selecting the "Refresh" icon. Tables disappear from the list once they have been converted sucessfully. If a conversion is taking a while, it is also possible to leave the transaction. You can then continue the conversion using DB requests -> Mass processing in one of the following ways:
    With the job overview. You access this by choosing System -> Services ->Jobs.
    Using the database utility transaction. You access this by choosing Utilities -> Database Utility in the ABAP Dictionary menu.
    You can use the status function to call up the status of the operating concern during operating concern maintenance. You need to activate all tables after conversion.
    11. To analyze errors that have occurred during the conversion, you can use the database utility transaction by choosing Extras -> Logs. The log has the same name as the conversion job: TBATG-date. You can also restart the conversion with this transaction.
    For more information on the database utility, choose Help -> Application help while still in the above transaction.
    12. Once you have activated all the tables in the operating concern, generate the operating concern environment from within operating concern maintenance.
    You can then use the operating concern again.
    Please, refer to the IMG documentation under Controlling ->Profitability Analysis -> Structures -> Define operating concern
    -> Maintain operating concern, for further details.
    regards
    Waman

  • Maintain the variants for the deletion progError while using object W_SOR

    Dear Experts ,
    While running the archival using object W_SOR , I am getting the error " Maintain the variants for the deletion program first"
    I have checked Customizing -> Archiving Object-Specific Customizing: Technical Settings) , In that std variants already exist .
    Please tell me what is the setting that could be missing .
    I am not getting the same error  in development client , but getting it in the production client .
    Is there anything else to be done ?
    regards
    Anis

    tcode OMBT..
    click on display groups (F5) & select the check box wich includes WA (the Number Range Object Material document Grouping)
    copy the entry for 2005, but do not assign any current number.

  • I want to upgrade my old airport express to the new express. Can I just switch out the old for the new or must I delete the old network first and start from scratch with the new express?

    I want to upgrade my old airport express to the new express. Can I just switch out the old for the new or must I delete the old network first and start from scratch with the new express?

    It is not necessary to delete your old wireless networks first, but doing so may eliminate confusion. If you wish to do that, open System Preferences > Network, and select Wi-Fi from the left column. Click the Advanced... button, then select your old wireless networks and delete them with the "–" (minus) button. Make sure the "Remember networks this computer has joined" remains checked.
    OK then Apply.
    This prevents your Mac from searching for your previous network which will no longer exist.
    A new Express creates an open wireless network that you must select before you can configure it. It appears in your Wi-Fi menu like this:
    Select it. AirPort Utility will load and walk you through its configuration.
    Edit: If you are really using OS X 10.5.1 as shown in your profile, the above screenshot is not applicable. Instead, select the network called "Apple network nnnnnn" and then launch AirPort Utility.

  • Can somebody give me the formula for the balance column in a check register please? I am trying to setup like sample in iWork but am missing something.

    Can somebody give me the formula for the balance column in a check register please? I am setting the register up like the sample in iWork 09 but I seem to be missing something in the formula.

    OM,
    The way the checking account balance column works is to designate one cell for the starting balance, indicate income with positive figures and outgo with negative figures, summing the transactions and adding the sum to the starting figure.
    The formula used, =$F$1+SUM(OFFSET(F3,3-ROW(),-1,ROW()-2)), is not too difficult to understand if you study the syntax for Offset. The author of this template didn't do us any favors because the expression could have been written more clearly, in my opinion. I'll explain how it's done in the template, and then how I would have written it. With the two approaches you may be able to see what it's all about.
    $F$1 is the starting balance.
    SUM requires a Range specification.
    Offset provides the range specification. The syntax for Offset is as follows:
    Base Cell. In this case it is F3, the cell the expression is written in.
    Row Offset. In this case the author takes the current row number and subtracts the starting row from it. For the first balance the offset will be zero since the first balance is in row 3. For all the subsequent balances, the offset will be negative, meaning that the offset will point to a row above the current row.
    Column Offset. In this case the column offset is 0. That means that it is pointing 1 column to the left, Column E.
    Rows. This parameter sets the length of the range, in rows. Subtracting 2 from the current row number means that the range will be 1 for the first balance and will grow by 1 for each entry down the list.
    Taking all this into account, the range for the Sum function will always be Column E from Row 2 to the current Row.
    How I would have written the balance expression:
    =F$1+SUM(OFFSET(E$3,0,0,ROW()-2))
    I believe it's easier to follow.
    The starting balance is still in F1, but only the row needs to be absolute - a fine point, I know.
    In my expression the base cell for the Offset function is the first entry cell of the transactions, E3. The row needs to be absolute, there is no reason for the base cell to move about as it does in the author's version.
    In my approach, both the row and column offsets are zero. We always start at E3.
    In my approach, the number of rows in the range is the current row number minus 2, just as in the author's expression. That means we include all rows from Row 3 to the current row.
    I'd be happy to answer any other questions about the specifics, but you need to be specific about what you don't get.
    Jerry

  • On my iphone 5 ios8, i have an apple id for App store and a defferent id for Icloude. i forgot the pw for the icloude id. how can i reset or delete icloude ?

    on my iphone 5 ios8, i have an apple id for App store and a defferent id for Icloude. i forgot the pw for the icloude id. how can i reset or delete icloude ?

    Greetings chaimba216,
    After reviewing your post, I located an article that can help with resetting your iCloud password:
    iCloud: Change your iCloud password
    Your iCloud password protects the privacy of the information (such as your email) stored in iCloud. Your password also protects your ability to locate or remotely erase your device using Find My iPhone. You should regularly change your iCloud password to protect your information. Your iCloud password is the password for the Apple IDyou use to sign in to iCloud.
    Important: If you use the same Apple ID for iCloud as you do with other Apple services such as the Apple Online Store, iTunes Store, App Store, or to purchase products in iPhoto or Aperture, changing your iCloud password also changes your password for these services. Make sure you sign in to those locations using your new password.
    Go to the My Apple ID website (appleid.apple.com) and follow the instructions to reset your Apple ID password.
    For more information, see the Apple Support article Apple ID: Changing your password.
    After changing your iCloud password, make sure you update it on all your devices and in any email apps you use to get your iCloud email.
    On your iPhone, iPad, or iPod touch: Go to Settings > iCloud, then tap your iCloud account.
    On a Mac: Choose Apple menu > System Preferences, then click iCloud.
    On a Windows computer: Open iCloud for Windows.
    In your email apps: Check the help provided for the email apps you’re using.
    If you set up iCloud on your iPhone, iPad, or iPod touch, make sure to set up a passcode lock on your device for added security. (Go to Settings > Passcode or Touch ID & Passcode.)
    Thank you for contributing to Apple Support Communities.
    Best,
    Bobby_D

  • How to delete the index for the business object BUS0033

    Hi to all experts,
    I'm applying note 1349496 the error here is no records with F4 help for the funds center .
    solution from the note
    Implement the attached program corrections. Then, in the transaction, delete the index for the business object BUS0033, reactivate it, and start the indexing in the indexing mode "Full". The system then displays the data correctly in the F4 search help.
    how to do the second part i have already applied the note .

    any help

  • So my sister created an iCloud account for me but she has forgotten the password...she has also forgotten the password for the associated email such that I can't retrieve the password for that account...how do I delete the account ?

    so my sister created an iCloud account for me but she has forgotten the password...she has also forgotten the password for the associated email such that I can't retrieve my password....how do I delete the old account so that I can create a new one???

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with one Apple ID with a new Apple ID.

  • I changed my user name and password in Itunes, when I use my phone or Ipad, it askes for the password for the old username password it says it's invalid. I try to delete the Icloud account but it won't let me- Help

    I changed my username and Password in Itunes on my computer. Now when I use my Iphone, Ipad, it asks for the password for the old username. when I type the password for that old user name, it says it's invalid. I figured I needed to delete the old Icloud account from my Iphone and Ipad, but they ask for the old password for the Old username. I type it in and it says invalid. As of now, I can't use Icloud or Itunes on either the Ipad or Iphone.... Help!
    <Edited by Host>

    If the old ID ("username") is an earlier version of your current ID, temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Display the total number of rows for the report in OBIEE 11g

    Hi, In obiee 11g, the pagination will be 1-25. Is there any possiblity in obiee to show the total rows count next to pagination. Ex: if the result contains 120 rows. it should display after the pagination
    Records 1-25. Total of Records : 120
    Is there any way we can display the total number of rows for the report.
    Kindly help me.. Its very urgent requirement.
    MAny Thank in advacne

    Check this http://obiee100.blogspot.com/2011/07/display-total-number-of-records-in.html
    and
    http://docs.oracle.com/cd/E28280_01/bi.1111/e10544/appsql.htm#CHDCDIDA
    You have to go something like as suggested in previous link.
    Mark as correct/helpful

  • This is an error from my HP scanner. How can I fix the problem? An error has occurred saving the file because it could not be written to. Check the properties for the file to make sure it is not read-only.

    I recently uploaded the Maverick operating system. I wanted to scan some things on my HP Printer/Scanner and could not . This is the error message I received: An  error has occurred saving the file because it could not be written to.   Check the properties for the file to make sure it is not read-only. I am a novice with the computer and have no one to help. I hope someone knows an easy fix.
    Thank you

    This worked for me:
    "Although it is not a 'fix' for the HP issue, I did find a workaround that helped me. In the Preferences Panel in MacOS X you can pull up the Printer/Scanner preferences and scan directly from OS X. I'd not known of this prior to posting here and it worked like a charm."
    "Of course, HP should still update their software, but it's good to know that Apple has it covered for them."
    I found it here:
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/MAVERICKS-WONT-SCAN-HP-C3 09A/td-p/3052105

  • I plugged my ipad 2 into the computer for the first time and all the music from the itunes converted on however now it wont delete it comes up with 'ping' next to the song

    i plugged my ipad 2 into the computer for the first time and all the music from the itunes converted on however now it wont delete it comes up with 'ping' next to the song

    Have you carefully worked through each and every single suggestion in this Apple support document?
    iPod not recognized in 'My Computer' and in iTunes for Windows
    B-rock

  • The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    What program are you using?  And what version?

  • I have Maverick 10.9.1 installed I scanned a photo on my HA D 110 series but it won't let me print or save it: An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.

    I have Maverick 10.9.1 installed I scanned a photo on my HP D 110 series but it won't let me print or save it: An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.

    Read the user manual that came w/the scanner and/or contact HP Support.
    http://support.apple.com/kb/PH14141 OS X Mavericks: Reset the printing system 
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download 
    A scanner driver you may wish to consider:  VueScan Scanner Software

  • How to do CHECK IN the files for the document?

    Hi ,
    By using BAPI_DOCUMENT_CHECKIN2 Function module I am uploading the Files for the Document number.
    My problem is - After uploading the files to the document number the files are not in check in status.
    I want the files to be checked in after uploading the from the FM.
    Can anyone tell me what I am missing ? How to do check in the files.
    I am passing the following values to FM.
          ls_files-SOURCEDATACARRIER = ls_file-DATA_CARRIER.
          ls_files-WSAPPLICATION     = ls_file-application.
          ls_files-DESCRIPTION       = ls_file-file_desc.
          ls_files-STORAGECATEGORY   = ls_file-category.
          ls_files-DOCFILE           = ls_file-doc_path.
          ls_files-CHECKEDIN         = 'X'.
        CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
          EXPORTING
            DOCUMENTTYPE            = ls_file_data-dokar
            DOCUMENTNUMBER          = ls_file_data-doknr
            DOCUMENTPART            = ls_file_data-doktl
            DOCUMENTVERSION         = ls_file_data-dokvr
          IMPORTING
            RETURN                  =  ls_return
          TABLES
            DOCUMENTFILES           =  lt_files
        COMPONENTS              =
        DOCUMENTSTRUCTURE       =
    I appriciate you response on this.
    Thanks in advance.

    Hi,
    Check the values you are passing into ls_files .
    you dont need to pass checkedin = 'X'.
    and check the storagecategory field - this should not be blnak.
    files-SOURCEDATACARRIER = lsfile-DATA_CARRIER.
    ls_files-WSAPPLICATION = ls_file-application.
    ls_files-DESCRIPTION = ls_file-file_desc.
    ls_files-STORAGECATEGORY = ls_file-category.
    ls_files-DOCFILE = ls_file-doc_path.
    ls_files-CHECKEDIN = 'X'.
    This FM will work. No issues just check the values you are psssing into this LS_FILES structure.
    Rest of the fields are corect.
    Thanks,
    Murali.

Maybe you are looking for