BCALV_EDIT_03 - Need the table update function

I am fairly new to OO programming and have worked through the various sample programs. I am currently using BCALV_EDIT_03 and _04 to write a table maintenance program.
I kind of have figured out how the delete and insert function works but unfortunately in sample program _03 the final table update function is missing.
What I am after is that I get all the changed records from the grid and update the external table just with those records.
Could somebody post some sample update code that I could check out?
Thanks in advance.
Gerd

Table update as in, database table update or ALV table update ?
ALV Table update will be done automatically, in case you have used the method : set_table_for_first_display
As you also quote that you are checking out BCALV_<b>EDIT</b>_03, I will just clarify this point, all changes made to the table are triggered by the EVENT DATA_CHANGED and this event has the necessary fields, from which you can come to know which rows and what values have changed. You need to use this DATA_CHANGED event and update your internal table. This is then shown in SET_TABLE_FOR_FIRST_DISPLAY in PBO.
In case you are talking about database update and if it is a custom table, then you have to use the direct update.
In case it is a SAP table, you might let us know which table it is, and probably some of the experts here can let you know the Function Module, BAPI or any method of a class to use.
In case you need a good tutorial help, you can find it in Serdar Simsekler's
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an easy reference for alv grid control.pdf
Let me know if I am way tangent here or I could be of help to you.
Regards,
Subramanian V.

Similar Messages

  • HT1338 The Software Update function on my iMac mid 2007 with OS X 10.8.2 fails to see new software

    The Software Update function on my iMac mid 2007 with OS X 10.8.2 fails to see new software ,not with /Apple/Software Update or /About this Mac or /System Preference/Software Update, the problem started already with 10.8 and I had to download the 10.8.2 Combo manualy, installation was succesful, but since iPhoto11 (9.4) is now available my existing iPhoto11 (9.3.2) will not detect updates using AppStore or all the other ways, Any idee is welcome.

    Glad you got your Mac fixed. But I hope you realize that an update can always go awry; corrupted download, stray voltage spike in your AC power, even a bug in the Installer of the Update. That's why it's never a good idea to update anything that affects your business for at least a week or even two AFTER the update comes out.
    And this applies not just to the OS Update, it may be even more important with an update to one of the apps you need for your business! 8-| There's hardly ever a valid reason to make an Update while working on a clients task. Certainly no reason to make an Update during the work week. That's what Week Ends are for! LOL!
    Basic rule for the OS Update, for me, anyway, is to NEVER use the Software Update version. I ALWAYS go to the Apple site and download the Combo Updater. It's often much larger, but it's never failed me. Maybe just that fewer people are hitting that server! Who knows? Who cares?
    Second basic rule, WAIT a few weeks to see if there are problems associated with any update. What's the advantage of being the first one on the block with a problem?!
    Third basic rule, try the download a second time. Bits/electrons are very slippery! Some have been known to fall out of the Internet "tubes!"

  • What is the table contains Function module include program name

    Hi,
    What is the table contains Function module include program name
    Regards,
    Raja

    Try this FUNCTION_INCLUDE_INFO to get the include number to which function module belongs to.From this u ll get only the particular include name.
    or
    if u need the all the includes used in the function group u have use INNER JOIN on TFDIR and D010INC table
    <b>Select binclude into itab from trdir as a inner join d010inc as b on apname = bmaster where apname = fmodname.</b>
    I hope this will help u.
    Thanks & Regards
    Santhosh
    Message was edited by:
            santhosh ds

  • How to capture the table update

    How to capture the table update.Suppose I delete a enrtry from the table or mofying any entry in a table is there way to capture that update in SAP?

    hi ,
    follow these steps:
    1. After you selecte the search help for New Responislbe person, domodify gets triggered.
    2. In the wddomodify, get the value of New Responsible person by reading the attribute binded to it.
    3. Now if Value entered is not initial, write a selecte query to fetch the name based on pernr no.
    4. Finally bind the name fetched with the attribute binded to New Responsible person name.
    Wdomodify :
    ************* *Read the New REsponsible person Pernr* ***********
      DATA lo_nd_cn_sflight TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_sflight TYPE REF TO if_wd_context_element.
      DATA ls_cn_sflight TYPE wd_this->element_cn_sflight.
      DATA lv_carrid LIKE ls_cn_sflight-carrid.
    * navigate from <CONTEXT> to <CN_SFLIGHT> via lead selection
      lo_nd_cn_sflight = wd_context->get_child_node( name = wd_this->wdctx_cn_sflight ).
    * get element via lead selection
      lo_el_cn_sflight = lo_nd_cn_sflight->get_element(  ).
    * get single attribute
      lo_el_cn_sflight->get_attribute(
        EXPORTING
          name =  `PERNR`
        IMPORTING
          value = lv_carrid ).
    ****** *Check whethre a value has been entered in PERNR* *************
    if lv_carrid is not initial.
    *************Select Name based on pernr entered* ***********
    select ename from pa001 into lv_ename where pernr = lv_carrid.
    *******Set the Name atttribute with the ename value fetched* *****
      lo_el_cn_sflight->set_attribute(
          name =  `NAME`
          value = lv_cename ).
    endif.

  • I NEED THE TABLE NAME FOR THE  FIELD DESCRIPTION GIVEN!

    I NEED THE TABLE NAME FOR THE  FIELD DESCRIPTION GIVEN!
    Partner Type
    Partner Type Desc
    Partner no
    Partner Name
    Partner Address 1
    Partner Address 2
    Partner Address 3
    Partner Address 4

    Hi Jyotirmoy ,
                        You can get all partners and their type in table EDPP1, depending of the partner type you need to go to specific table for address and other details, like for partner type KU(customer) goto KNA1,etc for partner type LI(vendor) goto LFA1 etc for partner type B(bank) goto BNKA etc ....
    Sirish

  • Which are the tables updated in SRM and R/3 System for SC created?

    Hi,
    I want to know which are the tables updated in SRM system and also in R/3 system, when a Shopping Cart is created. Also how do i get the PO number for the Shopping Cart created.
    Thanks.
    Regards.
    Rahul

    Hello Rahul,
    All list of tables for eg. SC You can find in transaction BBP_PD on SRM side.
    These tables are (SRM):
    - CRMD_ORDERADM_H - for Header (Business Transactions Header)
    - BBP_PDHGP - Business Transaction Purchasing Information
    - CRMD_ORDERADM_I - for Item - Business Transaction Item
    - BBP_PDIGP - Business transaction item-Purchasing information
    - BBP_PDBEI - Backend Specific Item Data
    On R/3 side:
    EBAN - purchase requisition
    EBKN - purch. req. account assignment
    Regards,
    Marcin Gajewski
    please reward points for helpful answer

  • I need the latest update, how do i get it??

    i need the latest update, how do i get it for the Adobe version i have?

    Hi sherryruhanen,
    Thank You for posting on the forums. You can go to help menu of the application and check for updates.
    Please check the screen shot for the same.
    Thanks,
    Vikrantt Singh

  • Need the TABLE where SALES TEXT of a material is stored

    I need the table where the sales text of a material is stored. This can be onbtained from MM03 --> SALES TEXT. Here we can pick it up from the language.I need the table where it is stored.

    Hi Gurpreet
    Please follow the below steps:
    1. Go to MM02.
    2. Select View: <b>Sales Text</b>
    3. When you are in the editor, use menupath: Goto->Header
    Here we can get the details of Text-ID, Text Name, Language, Text Object.
    Use these details for FM: READ_TEXT.
    We can retreive all text in the output of the FM.
    Hope this helps you.
    Kind Regards
    Eswar

  • How to know whether the tables in function module is importing or exporting parameter?

    Hi guys,
    Why the tables are used in function modules, I knw it transfers internal tables, but thing is that how would i know instantly that whether table is getting imported or exported to the funtion module? Do i need to go through program flow or can we know just by seeing the function module?

    Hi anjali,
                   Tables are like multi line containers ,which can act as both import and export parameters .
                   means,the data in the table can be used by the function module during  its execution and the                same table can be populated with result after the fm execution .
      you can also refer :http://help.sap.com/saphelp_erp60_sp/helpdata/en/d1/801ece454211d189710000e8322d00/content.htm 
    Regards,
    Krishna.

  • How to tcack the table update event in sap for all tables by use of single

    Hello,
         I want to store the list of all OM,HR tables in a file which are updated after perticular date. For that i tried TRIGGER but i can write only one trigger for one table, i want such a that  i have to write only one trigger which will be invoked affter update operation on every HR,OM tables and i store information in a file  regarding which rows are updated and external application can use it.
    Thanks in advance,     
    SANDIP

    hi all the log for the change of any thing will be available in the tables DBTABLOG..REPOSRC ....
    regards,
    venkat.

  • What are all the tables updates..

    Hello experts,
         Do we have any option provided by SAP to find , what are all the tables get updates when we run a transaction (ex: VA01)..
    Thanks & Regards,
    Prakash Reddy .S

    >
    Naveen Inuganti wrote:
    But please dont under estimate my answer as it deffenately meets all the angles of that question.
    The problem is with you answer, that it requires lots of manual work and that will bring lots of possible errors as well (and in case of transactions like VA01, "lots of" has to be understood as "LOTS OF")
    >
    Naveen Inuganti wrote:
    Ex: If you not having authorization or correct inputs or Dont know the screen sequences for VA01, then how can you people can analize it from ST05?
    St05 will only give you a list of DB tables, you don't have to be aware of screen sequences (I believe 99% of developers are not). And if you don't have authorizations, than you have to ask for it
    (My original concern was, if someone searches SCN and finds this thread will think the most points were given to the best answer, but the point assignment was changed meanwhile.)

  • Does Lion need the Terminal to function properly?

    Is the Terminal a tool for the user, or something the system needs to work/update/etcetera?

    A Tool for the user

  • Need the iPod Updater file

    With iTunes 7.0.4, it appears that the only way to get my iPod Shuffle 512GB updated is through iTunes.
    I simply can't. My system does not support having, on USB ports, an external hard drive, my iPod (and iTunes) and Internet access at the same time: it freezes hard.
    I need to get the iPod Updater file before starting iTunes to update my iPod (unless I can update without iTunes). It used to work like this before :-/
    I tried the different solutions proposed on the Apple site like cleaning up the system to no avail. My situation is not specificaly documented.
    Any help on this?
    TIA

    I worked around by bowworing an Ethernet PCMCIA card from the office. I then could access Internet and connect my iPod without freezing the laptop. I managed to upgrade the iPod! To bad there isn't a way to get the updater though.

  • What are the tables updated by transaction PP01?

    HI,
    Can anyone help me out finding tables updated by PP01 transaction.
    Thanks,
    Anil.

    Hi
    1) The Data Base trace: before you enter in the option that will read the data you want, open a new section and run transaction ST05. Press start trace 'Trace On'. Go back to the other section and proceed with the action. When the data you want appear in the screen, go back to the sectio where the ST05 is on and press 'Trace Off' and 'Trace List'. You will have a list of all tables read by R/3.
    2) If you know the the program name where the data you want is used, you can use the SE38 transaction. It will show all tables read and updated/used by the program
    For PP01 program is  SAPMH5A0.
    With Regards
    Nikunj shah

  • HT4623 I have a ipad2 wifi and do not have the software update function, how do I update this unit?

    I have a ipad2 and do not have the software update, I need to update this unit.

    The option to update without the computer (Over the air) was made available with iOS 5. If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
    http://support.apple.com/kb/HT4972

Maybe you are looking for

  • Creating sales order using ' BAPI_SALESORDER_CREATEFROMDAT1'

    Hi , i have a problem in creating sales order using ' BAPI_SALESORDER_CREATEFROMDAT1 '  . order number is created and every thing unless the order quantity isn't created for material item . my inputs are . in "ORDER_HEADER_IN" (DOC_TYPE , SALES_ORG ,

  • Upgrade to 5.1 Won't Open

    Greetings. I own a G5 1.8 GHz PowerPC, 3 GB sdram running OS X 10.4.10. Yeah, it's an older model. This morning I attempted to upgrade my FCP 4.5 to 5.1. The installation appeared to be successful, but the software does not run whatsoever. It "unexpe

  • HANA on SLES 11 SP3 for SAP software selection

    Hi, We are planning to install HANA SPS8 on a Vitual Machine with SLES 11 SP3 for SAP. ABAP 7.4 and HANA on the Same virtual Machine During the Installation of SUSE in the software selection screen, we found the options as - SAP Netweaver Server Base

  • Changing default icons

    I fully accept as I write this that I'll be considered seriously dim bearing in mind the involved and important technical issues that are resolved in the community but I'd appreciate the help! I've downloaded an icon set called "Glass Icons" and woul

  • Changing remote site definition

    I am changing the domain name of my site but keeping my sites design completely the same. After I buy the new the domain name, how do I Change the Remote site definition in Dreamweaver 8 to use a new site's connection info?? Can someone give me the s