How to delete and refresh the contents of table control..

how to delete particular row in table control .consider we r having three rows i wish to delete the third row.while on debugging the third row gets deleted successfully.but that is displayed in table control.then how to refresh the table control...

hi,
try like this....
USER_COMMAND of PAI
MODULE user_command_9000 INPUT.
  CASE ok_code.
    WHEN 'BACK' OR 'UP' OR 'CANCEL'.
      LEAVE PROGRAM.
    WHEN 'DEL'.
      GET CURSOR LINE lin_no.
      f1 = 1.
   ENDCASE.
ENDMODULE.                 " USER_COMMAND_9000  INPUT
and in Module in which u fetching data in PBO, write like
MODULE get_data OUTPUT.
  IF f1 <> 1.
    SELECT kunnr name1
    INTO CORRESPONDING FIELDS OF TABLE mytab
    FROM kna1.
  ENDIF.
  IF f1 = 1.
    DELETE mytab INDEX lin_no.
    FREE lin_no.
    FREE f1.
  ENDIF.
ENDMODULE.                 " get_data  OUTPUT
reward if useful...

Similar Messages

  • How to delete and add rows in a table control

    Hi
      how to delete rows and add new rows in a tbale control
    Sathya

    Hi,
    In the PAI write this code
    PROCESS AFTER INPUT.
    LOOP AT itab.
    ENDLOOP.
    MODULE MODIFY_TC.
    MODULE MODIFY_TC.
    To add a row
      DESCRIBE TABLE itab LINES tc_tab-lines.
      tc_tab-lines = tc_tab-lines + 1.
    To delete a row if check box is ticked
       DELETE itab WHERE check = c_x.
    To delete a row depending on tabix
       DELETE itab index l_tabix.
    ENDMODULE.
    Make sure that you put a if condition in the above module inorder to ensure addition or deletion of a row.
    Best regards,
    Prashant

  • Deleted and adjusted the Master data table, sid table and text table

    Deleted and adjusted the master data table, sid table and text table of an zinfoobject after removing and adding attributes to that zinfoobject and was trying to activate it and system was giving me messages that cannot activate infoobject something like this.
    So, i deleted and adjusted the master data table, sid table and text table. Since then getting messages right after executing the query because in that query that infoobject is getting used.
    So the messages i am getting is:
    SID 9 for characteristic Zinfoobject could not be converted CL_RSDM_READ_MASTER_DATA->_SIDVAL_DIRECT_READ2
    System error in program SAPLRRK0 and form MEGA_SORT_M_02-02- (see long text)
    Please help me in fixing this whole thing.
    Thanks
    SAPBW

    SAP BW,
    After adjusting your Master Data IOBJ and deleting and reloading the data - run a change run to adjust the references to the SIDs and then see if your query runs - run program RSDDS_AGGREGATES_MAINTAIN from se38 and select your IOBJ in the next screen..
    Arun
    Assign points if useful
    P.S I did notice that in your earlier post for the same topic - you have had 12 answers / suggestions Please maintain only one thread as previously suggested..
    My 0.02
    Message was edited by:
            Arun Varadarajan

  • How to import and make the content of the original PDF document editable and preserves the pdf appearance and retains existing fields and formatting in LiveCycle

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

  • How to delete and create the CCM MASTER CATALOG in Catalog Content?

    Hi All,
    Please provide the solution as we are in real trouble.
    We have to delete master catalog and upload it again. Deletion is done because the mapping and all are being corrupted. SAP has suggested to delete the catalog and again upload it and do all the mapping again related to supplier and procurement catalog
    http://help.sap.com/saphelp_srm50/helpdata/en/7f/9b62405c910272e10000000a155106/frameset.htm.
    In the link above I found information really useful, however according to the document the CCM MASTER CATALOG should be created automatically by the SAP Catalog Authoring Tool, this happens the first time that you are using the system.
    Catalog Creation
    You use this function to create catalogs in SAP Catalog Authoring Tool.
    You can create the following types of catalogs:
    Supplier catalogs
    Procurement catalogs
    Model service catalogs
    Note
    SAP Catalog Authoring Tool creates the master catalog, the SRM product catalog, SRM contract catalogs, and the contract catalog for service specifications automatically.
    When SAP Catalog Authoring Tool is used for the first time, you must open the Edit Catalogs application once, before you create any catalogs. Choosing Edit Catalogs triggers the creation of the master catalog. If you do not do this, SAP Catalog Authoring Tool outputs an error message when you try to create a catalog.
    We have already the Master Schema and we know how to map the CCM MASTER CATALOG to the supplier and procurement catalogs. The main problem is that we need to delete the CCM/MASTERCATALOG and created again.
    1. How delete the CCM/MASTERCATALOG?
    In a Test environment I have delete the CCM/MASTERCATALOG using the "Edit Catalogs" mode then choosing the catalog and confirm the deletion.
    Once this has been done, all the catalogs has been erased including the CCM/MASTERCATALOG, so now we have the system in blank. I am not sure if this is the correct way to delete the catalog or there is an easiest way where the Procurement and supplier catalogs don't disappear once the CCM/MASTERCATALOG is deleted.
    2. Once the CCM/MASTERCATAOG is deleted how to created again?
    According to the instructions the SAP Catalog Authoring Tool should created this automatically when is used for the first time, however how we can created the CCM/MASTERCATALOG again if the SAP Catalog Authoring Tool is not used for the fist time.
    Is there a way where the system can create the CCM/MASTERCATALOG for a second time?
    I follow the steps to create the CCM/MASTERCATALOG for the first time however I didn't get a positive result.
    Any help provided will be really appreciated.

    Hi,
    Generation of the /CCM/MASTER_CATALOG is automatic and does not require any additional effort from a catalog admin other than accessing the CDC (Edit Catalogs).
    If the catalog is not regenerated at this point it is likely that you then receive an error like 'Error reading catalogs, error reading Master Catalog' or something similar which would indicate that the previous deletion of the master from either table /CCM/D_CTLG or /CCM/D_CTLG_REQ was not successfully completed or that the update operation in table /CCM/D_UPD_STATE remained in update status and never for some reason completed (status 03).
    Deletion of the Master catalog should not cause the deletion of any other catalog, unless you have chosen 'delete all catalogs'! Choosing the Master and delete should result in only a deletion request for the master catalog, be aware however that all mapping records between Supplier -> Master -> Procurement catalogs will be destroyed and cannot be 'rejoined' but only rebuilt from scratch. It is also advisable after the Master deletion to chcek with report /CCM/CLEANUP_MAPPING which orphaned items and mapping records require cleanup as it is better to remove these before proceeding with the new mappings.
    Regards,
    Jason

  • How to design and modify the content area in Dsktop Inerpage?

    hello:
         I have created my New Portal Desktop,but I don't know how to modify the content area in Dsktop Inerpage?
       Anyone can help me ?
       Thanks
        lexian

    Hi Le,
    What exactly do you want to modify. The Desktop inner page consists of your detailed navigation and the <b>Content Area</b> iview. The content area iview renders all the iviews, pages and whatever you add to your roles.
    So do you want to change the layout of this section or something else?

  • How to enlarge and centralise the 'Content Area' in an Office 365 webpage

    Hi, I'm relatively new to O365 and I'm working on our webpage
    The issue I have is that you have the Content Area but that seems to be about 1/2 an inch in from the left hand screen and only covers approx. 75% of the screen, what I want is the content area to be about 1000pixels wide and centralised.
    I've tried looking at the CSS style sheet but there doesn't seem to be anything that helps me to do either of the above tasks.
    Any help would greatly be appreciated, thanks.
    Jason

    Hi Jay Dog,
    This questions is definitely not about Office client, if you are customizing your own website, I suggest you post the question in Office 365 Community to get specific support:
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to clear the contents of table control

    Hi All,
              How to clear the contents that are present in a Table control. If there is any code Please Let me know.
    I will assign full marks to the correct code.
    Pradeep Kumar Kota.

    Hi
    U need to clear the contenents of internal table used to store the record displayed by table control.
    Every time the PBO is triggered the table control is automatically cleared, so you need only not to transfer any data from internal table to table control.
    So you should show how your PBO if you want a right answer.
    Max

  • How to delete rows in the SQL Server table based on the contents of Excel file

    Hello, everyone,
    I have an Excel file which contains data for certain dates. I need to load it in a SQL Server table. But before doing that, I need to check if the table already contains data for the dates in the Excel file. If it does, I need to delete those data
    first. Not sure what is the best and efficient way to do this. Your help and guidance would be much appreciated.
    Thank you in advance.

    there are multiple ways of doing this
    Fastest method would be below
    1. Have a data flow task using excel source. Then add a OLEDB destination to dump the data to a staging table
    2. Have a Execute sql task to delete data from your actual table based on staging table data. The query would look like
    DELETE t
    FROM YourTable t
    WHERE EXISTS (SELECT 1
    FROM StagingTable
    WHERE DateField = t.DateField)
    3. Have another execute sql task to do final insert like
    INSERT YourTable (Col1,Col2,...)
    SELECT Col1,Col2,..
    FROM StagingTable
    the above operations will be set based and faster
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to control the display of table control

    hi,
    If I dont find any entry in the internal table to be displayed in table control then I should not display the blank table in the screen.
    I tried using if not itab[] is initial in PBO but there(PBO) 'if' is not recognised and it gives syntax error.
    Even if I tried to put the code of table control 'loop at itab[] into wa_tab contrl....'this part in a module and there to put the If condition it gives error to put where after wa_tab.
    Thanks,
    mohan

    hi,
    As i told i had put the if part in the module but then it is the error with syntax check of table control as shown below
    PBO
    module pbo_100.
    loop at itab into wa with contril Tc cursor tc-lines.
    endloop
    pai
    module pai_100
    but here if i create a new module in PBO say module check_table and put the code for table control as
    if not itab is initial
    loop at itab into wa with contril Tc cursor tc-lines.
    endloop
    endif.
    then here error comed with syntax of loop at itab into wa has to be 'where' condition.
    So the problem is i dont want to display the table control in 1st but after some input on the screen then only the table control is to be displayed .
    Let me know if this is clear.
    thanks,
    mohan

  • I have an IPad with a Restriction code that we cannot remember.  Is it possible to delete and restore the IPad without the code?  If not how do I figure out the code or how t? o remove it?

    I have an IPad with a Restriction code that we cannot remember.  Is it possible to delete and restore the IPad without the code.  If not how do I figure out the code or how to remove it?

    The only option is to wipe the device clean and restore it to factory settings.  Hope you have a backup.
    Follow the instructions in  iOS: How to back up your data and set up your device as a new device http://support.apple.com/kb/HT4137 to restore the device to factory settings.
    Once you have setup the device as a new one, you can then sync it back with your iTunes account and all your music, apps, contacts and any other content sync'ed with iTunes will be loaded on the device. Any content that is stored only on the device and not sync'ed with iTunes, like app logins or data, will be lost during this process. Be forewarned that this is a long process and can take a couple of hours or more to complete. This can be painful, but it is necessarily so to prevent users from working around the security settings. After the restore is complete, you can setup a new Restrictions passcode. Make a note of the passcode to avoid this situation in future.
     Cheers, Tom

  • I am forced to hold shift and refresh the page on 99% of the sites I visit. How do I fix this from happening? If I don't the pages are missing style sheets and etc.

    When ever I go to sites they half load or are missing style sheets. If I view the source for the page and click on a style sheet link I get the following error:
    Content Encoding Error
    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
    If I hold shift and refresh the page loads as normal.
    It's happening on 99% of the sites I visit. I have disabled my plugins and add-ons.
    I do have some add-ons or plugins that I would like to remove completely but there is no uninstall or remove option, neither in regular or safe mode.

    '''I'm NOT buying a backup Computer till, Firefox will Run on Windows 8 !'''

  • When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    Hi,
    I would suggest you to uninstall Adobe Reader using the cleaner tool and then re-install the latest version.
    Adobe Cleaner Tool:- Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs.
    Latest version of Adobe Reader:- http://get.adobe.com/reader/
    If you still experience the same issue, please share the following information:-
    - Screenshot of Adobe Reader showing printer options
    - Screenshot of Microsoft Word showing printer options
    - Screenshot of control panel- Control Panel\All Control Panel Items\Devices and Printers
    Regards,
    Nakul 

  • App store tried to update iBooks app. I can only see Newstand app on my screen and cannot get to bookstore. How can I delete and download the iBooks app again. iBook still appears in the settings menu as version 2.1   Tx iPad 2, iOS 5.0.1, iBooks 2.1

    App store tried to update iBooks app. I can only see Newstand app on my screen and cannot get to bookstore. How can I delete and download the iBooks app again. iBook still appears in the settings menu as version 2.1
    Tx
    iPad 2, iOS 5.0.1, iBooks 2.1

    Hi,
    the settings are gone, i guess. But even worse, I cannot get the iPad2 to play Full HD thru the Apple digital AV adaptor using apps that support  (and advertise this), like AVPlayer HD. This definiteley used to work before one of the last iOS upgrades. (I am now at 5.1.1).

  • In trying to edit a track - I want to "Delete and Move" the track to automatically fill the area that I deleted - However, after selecting a section to delete - the "Delete and Move" option is grayed out. How do I fix this?

    In trying to edit a track - I want to "Delete and Move" the track to automatically fill the area that I deleted - However, after selecting a section to delete - the "Delete and Move" option is grayed out. How do I fix this?

    Thank you for your attempt to help me. I appreciate that.
    I think I figured out how to fix it-
    I found that if I only delete a small amount at the beginning and at the end of the section that I want to remove - and then highlight that section - Then (and only then) does the "Delete and Move" function work to remove the unwanted section and automatically close the gap between the surrounding sections. I was trying to select a whole section and could only delete it - and then manually move it.
    Problem solved.

Maybe you are looking for

  • Only one line is getting printed in Table in Smartforms (ECC 6.0)

    Hello Sir, I am new in ABAP and doing Smartforms (ECC 6.0) on project from customer side. I have to deliver the object in time and it is already late, please help me. This is my question: Object :  Stock Transport Order. ======================= I hav

  • How to execute the Code-Behind of .aspx linked using XML Data Connection

    I have a dashboard with a live XML Data Connection tied to a Default.aspx file.  That .aspx file has a Default.aspx.vb code-behind file tied to it with some logic in the Page_Load sub routine.  If i open the .aspx on my own in the browser, the code-b

  • Manual migration to analysis authorization-5

    hello BI experts, How works special InfoObject 0TCAIFAREA for external hierarchy characteristic? regards Imberaureus

  • Requirement on payment advise

    Hi All, we have user requirement as follow: 1. we have 2 company code let say A and B 2. Current setting every B payment , go through A company code 3. Now user required additional requirement, they also want to have A company code payment     after

  • ADS Error while calling WebDynpro Abap with Adobe Form

    Hi Experts, I have created an Adobe Form and its interface in Transaction SFP. In a WebDynpro Abap Component I created an UI-element "Interactive Form" with the context of my form. So the WebDynpro Context was created automatically. Then I tried to c