Table Editing

How do I model Table Editing with VC?
I have a Function Module with an Importing Parameter   with a table Type. In VC this is exposed as Input Port where I can add an Input Table. However, the Ouput Port of the Input Table only contains the selected rows of the Input table. But I dont want to select rows. I want to maintain the whole table and wenn I press submit I want the whole table data to be transferred to the function module.
Is this possible?

Hartmut,
Post your email address and I will send you a how-to.
Cheers,
Scott

Similar Messages

  • Record level lock on SAP ABAP table editing

    Hello All,
    I have a requirement wherein I need to give users ability to be able to update contents of a table. Currently, there are using maintenance view on the table for adding/editing contents of this table. However, this prevents other users from being able to enter the table and edit contents of other records within the table.
    Can anybody please guide me how do I go about giving record level edit lock on the table instead of entire table edit lock.
    Appreciate all responses.
    Thanks and Regards,
    Samta.

    Ok
    I  have had a request like yours, i.e the users could manage the same table in the same time.
    The standard behavior avoids it, because a lock of entire table is set.
    This was my solution:
    A) I've created a maintenance view for my table, and I set the attibute S (for subset) for all fields will be the key I want to lock.
    B) I've generated the maintenance table program for the view above.
    In this way if it try to manage the view by SM30, it'll be possible only to indicate the  values of the fields for the subset, so not all data of the table will be loaded, but only the records satisfying  the key.
    C) I've created a program to run SM30 for my view, using the fm VIEW_MAINTENANCE_CALL:
    .CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
           EXPORTING
                action      = 'S'  "Display mode
                view_name   = <table name>
           TABLES
                dba_sellist = tb_sellist
           EXCEPTIONS
                OTHERS      = 14.
    As you can see above, the SM30 is always called for DISPLAY only, in this way no standard lock is set
    D) I've use the event 19 in order to change the mode and set my lock:
    DATA: BEGIN OF MY_LOCK,
              MANDT       TYPE ZPPTA019-MANDT,
              WERKS       TYPE ZPPTA019-WERKS,
              /TRILOG/SE  TYPE ZPPTA019-/TRILOG/SE,
              COD_MOD_TAG TYPE ZPPTA019-COD_MOD_TAG,
            END OF MY_LOCK.
      DATA: W_SEL_LIST TYPE VIMSELLIST.
      DATA: VARKEY TYPE RSTABLE-VARKEY.
      FIELD-SYMBOLS: <MY_KEY> TYPE ANY.
      LOOP AT DBA_SELLIST INTO W_SEL_LIST
        WHERE VIEWFIELD = 'WERKS'
          OR  VIEWFIELD = '/TRILOG/SE'
          OR  VIEWFIELD = 'COD_MOD_TAG'.
        ASSIGN COMPONENT W_SEL_LIST-VIEWFIELD
           OF STRUCTURE MY_LOCK TO <MY_KEY>.
        IF SY-SUBRC = 0.
          MOVE W_SEL_LIST-VALUE TO <MY_KEY>.
        ENDIF.
      ENDLOOP.
      IF SY-SUBRC = 0.
        IF NOT MY_LOCK IS INITIAL.
          MY_LOCK-MANDT = SY-MANDT.
          VARKEY = MY_LOCK.
          CALL FUNCTION 'ENQUEUE_E_TABLEE'
            EXPORTING
              MODE_RSTABLE   = 'E'
              TABNAME        = 'ZPPTA019'
              VARKEY         = VARKEY
            EXCEPTIONS
              FOREIGN_LOCK   = 1
              SYSTEM_FAILURE = 2
              OTHERS         = 3.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ELSE.
            MAINT_MODE = VIEW_ACTION = 'U'.
          ENDIF.
        ENDIF.
      ENDIF.
      CLEAR OLD_019.
    I hope it can help you
    Max

  • InDesign crashes in time of table editing (cell's merge)

    InDesign crashes in time of table editing (cell's merge). Not always, but 1 out of 3 times.

    What version of ID? Is it fully patched? What operating system.

  • DW CS3 fireworks table edit

    DW CS3 fireworks table edit opens Fw, but fw doesn't show the
    .png file correctly.(I can't see the changes on the content areas
    that I made in DW)
    If I attach a behaviour (eg. rollover effect) to the file, it
    works properly in fw. After pressing the "Done" button in fw, it
    closes fw, goes back to DW, but doesn't send the changes to DW.
    Can someone please help me?

    Yep, I had the exact same problem... even the icon didn't
    show correctly in
    the PI.
    I backed up my registry and did a Find for 'Fireworks' and
    deleted all
    references to the old Fireworks versions, even FW8 (I had
    uninstalled it).
    Now I have my icon back and FWs CS3 now works with DW CS3
    I did say, make a backup of the registry before proceeding
    btw :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    "BeardedFlipFlop" <[email protected]> wrote
    in message
    news:f3s6ef$a8h$[email protected]..
    >I created a page from fireworks CS3 opened it up in
    dreamweaver CS3.
    >
    > When I click on the Edit button in fireworks table
    properties, it says
    > "unable
    > to launch c:\program files\macromedia\fireworks mx
    2004\fireworks.exe"
    >
    > I have uninstalled fireworks mx 2004, so I don't
    understand why
    > dreamweaver is
    > still looking for it!!?
    > ( I have pointed fireworks.exe in regedit to 'open' and
    'edit with'
    > fireworks
    > cs3 as PNGs didn't open from windows explorer)
    > Can someone please help me?
    >

  • Create a table editable in Web dynpro

    Hi,
    I want create a Web dynpro in Abap where there is a table editable. I 'm a beginner of web dynpro anyone could tell me how to do?
    Thank you.

    Please check the PDF and Let me know the status.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1
    Kanagarja L

  • How to make a table editable?

    hi all,
    do u know how to make a (ABAP Webdynpro ESS screen)  table editable?
    is it through ALV or Table ?
    thanks

    Hi,
    actually to make the table activated u have to append initial lines to ur table.so first make an internal table like of ur node then append initial lines to this and then bind it to the node.code is given below.in case of further query u can ask me.
    DATA lo_nd_cn_dartdetails TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_dartdetails TYPE REF TO if_wd_context_element.
      DATA ls_cn_dartdetails TYPE wd_this->element_cn_dartdetails.
      DATA lt_table TYPE wd_this->elements_cn_dartdetails.
      DATA ls_table TYPE wd_this->element_cn_dartdetails.
    navigate from <CONTEXT> to <CN_DARTDETAILS> via lead selection
      lo_nd_cn_dartdetails = wd_context->get_child_node( name = wd_this->wdctx_cn_dartdetails ).
      do 5 times."(as many lines u want)
        append ls_table to lt_table.
      enddo.
      lo_nd_cn_dartdetails->bind_table( lt_table ).

  • Table editing listener ?

    Hi,
    I have a table. What I need is to gain the editor component when the table is being edited. Then I want to listen to that editor component (eg. a JTextField) and do some actions if it losts its focus.
    In other words: I need to be informed when the whichever editor component of my table will loose its focus.
    The most suitable solution would be to have some listener there which would notice me if the table editing have started. I've been searching for such listener, but without luck.
    Can you please help me with this? How to be informed when table editing starts?
    Many thanks in advance.
    Miso

    Probably the easiest way is to use a TableModelListener--you won't have to mess with the editor in that case.
    table.getModel().addTableModelListener( ... );You'll get notifications when individual cells change or the structure of the table.

  • Most full featured word processor? (table editing, google docs) and webdav on the ipad

    Hi All,
    So I have had a frustrating time trying to add rows to a table in a word processing document on Google Docs. Are there any word processors that support this? Quickoffice and Documents to Go do not as of this writing. (May 26th, 2011.) at least not that I can determine.
    Does Office2HD support this feature? Do any of the word processors?
    My current thoughts/what Apple needs to do/
    Currently I am thinking about buying Pages and then using Goodreader to open the file in pages, and then saving the pages document to idisk/webdav and then moving it to google docs from idisk/webdav using Goodreader (though it appears you can use Readdledocs too.)
    According to the makers of Docsportal, if Pages supported Open With, I could Open With Docsportal and it would be uploaded. Alternatively, Docsportal could simply add idisk or webdav support, but I can understand why they are waiting for Apple to get their act together.
    Currently, I have discovered that Quickoffice does support mounting quickoffice as a drive as does goodreader. Docs2Go does not support this feature. This is a nice way to get files in and out. The Mac will support WebDAV for the Mac filesystem as of Lion allowing programs like goodreader or readdledocs to connect to it.
    --Sam

    I viewed the Office2HD Help file and it seems to support table creation.
    http://www.bytesquared.com/products/office/ipad/basic.asp?product=office2pro#ins ert_table
    I will post back once I am able to edit a table.
    Office2HD as mentioned elsewhere in this forum supports Google Docs.
    It does also support WebDAV (mounting as an external drive.) The help file mentions that it now allows you to navigate using the cursor or arrow keys.

  • How to identify a Table - Edit or Table Amendment in SAP

    Dear Experts,
    There are two options to edit the data existing in the DB tables in ABAP dictionary.
    1. Through SE16N and entering &SAP_EDIT.But any amendment in SAP data thorugh this step is recorded in tables :
    SE16N_CD_DATA
    SE16N_CD_KEY
    2. Thorugh SE16 and going to ABAP Debugger and going through
    if code = 'SHOW'.
    set titlebar 'TAB' with name 'anzeigen'(100).
    elseif code = 'EDIT'.
    set titlebar 'TAB' with name 'ändern'(101).
    elseif code = 'INSR'.
    set titlebar 'TAB' with name 'einfügen'(102).
    elseif code = 'ANVO'.
    set titlebar 'TAB' with name 'einfügen'(102).
    elseif code = 'DELE'.
    set titlebar 'TAB' with name 'löschen'(103).
    endif.
    and changing the variable CODE to "SHOW" during the debigging.But my question is how to trace these kind of amendments in system?
    If anybody changes these important data thorugh the 2nd step,how to track?
    Regards,
    Soumick

    Restrict the authorisation to &sap_edit.
    Moreover deleting the entires of a table in debugging mode should be totally avoided  because such things can't be tracked ( I think) and leads to inconsistency in the data.I hope none will be having the authorisation to change the values in debugging unlike in Dev and Qaulity servers.
    Thanks,
    K.Kiran.

  • How to make all the rows of a table editable

    I have a table in a view, with visibileRowCount property as 5. The internal table which is bound to the context has 2 rows.
    I want to make all the 5 rows of this table as editable. As of now, as there are just 2 rows in the internal table, only the first 2 rows of the table in the view are editable.
    My idea is to avoid the use of a 'Add row' button for this table. Is it possible to do this?
    Points will be rewarded. thanks.

    hi john....
                just insert 3 more empty records into your internal table... so it becomes editable.
    ---regards,
       alexb justin

  • How to make Row of a table Editable.

    hi Experts,
    I have a table in which i am displaying data. Now in Each Row of table I have an Edit Button.
    I want to make to row that editable for which Edit button is pressed.
    How to proceed for that. ?
    Thanx.

    Hi Sourav,
    Please go thru the code mention below to make a row editable of a table.
    For this just take a attribute of type WDY_Boolean in ur node and bind the attribute to the UI Element Enable property.
    Call this logic on the Action of ur Edit Button
    METHOD onactiononclick .
      DATA lo_nd_node TYPE REF TO if_wd_context_node.
      DATA lo_el_node TYPE REF TO if_wd_context_element.
      DATA lt_node TYPE wd_this->elements_node.
      DATA ls_node LIKE LINE OF lt_node.
      navigate from <CONTEXT> to <NODE> via lead selection
      lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_node ).
      get element via lead selection
      lo_el_node = lo_nd_node->get_element(  ).
      get all declared attributes
      lo_nd_node->get_static_attributes_table(
        IMPORTING
          table = lt_node ).
      DATA: lv_index TYPE i.
      lo_el_node = wdevent->get_context_element( name = 'CONTEXT_ELEMENT'  ).
      lv_index = lo_el_node->get_index( ).
      LOOP AT lt_node INTO ls_node.
        IF sy-tabix = lv_index.
          ls_node-read_only = abap_true.
        ELSE.
          ls_node-read_only = abap_false.
        ENDIF.
        MODIFY lt_node INDEX sy-tabix FROM ls_node TRANSPORTING read_only.
      ENDLOOP.
      CALL METHOD lo_nd_node->bind_table
        EXPORTING
          new_items            = lt_node
          set_initial_elements = abap_true.
    ENDMETHOD.
    Regards
    Manoj Kumar
    Edited by: Manoj Kumar on Feb 17, 2009 1:58 PM

  • UI Table Element vs ALV for Table Edit App

    Iu2019ve coded some of the tutorial examples. Now Iu2019m ready to put together an app.
    I need to present the user with a table of data.  The app allows a user to set a new responsible person based on his pernr (employee number) .  Here's what a record might look like:
    Field1                            r/o
    Field2                            r/o
    Field3                            r/o
    Current Responsible PERNR         r/o      
    Current Responsible NAME          r/o      
    New Responsible PERNR             r/w    (needs a search help as well)
    New Responsible NAME              r/o to user, but app will derive value from NEW pernr and fill it in      
    New Responsible PERNR    and    New Responsible NAME      are initially blank.
    It seems that I can go with a table UI element or ALV.
    It seems that I can set columns read-only or editable in either.
    What do people use?
    Is one preferable to the other?
    Are table UIs  just too 'old school'?
    I welcome comments and opinions from the group.
    ...Mike
    Edited by: Michael McInerney on Nov 20, 2009 2:17 PM

    Hi Michael,
    In my opinion, i would go for ALV because of the following reasons.
    1. Ease of coding, i we have a large number of records, but only a few to update, the code becomes more easier. This is because ALV has a standard functionality which automatically checks which records have been updated and gives us the column and row number for that. We don't need to check for changes in the fields.
    2. Better look and feel compared to UI elements.
    3. Standardized approach...... better to use Standard SAP functionality
    4. More Functionality with minimal coding. eg we can use views, filters and custom views. All are provided and just need to be called.
    Hope that provided some insight into ALV advantages :o)
    Best Regards,
    Mz

  • Table editing causes Keynote '09 to crash

    Hello folks,
    I have experienced on a regular basis crash of Keynote whenever I try to add or edit a table. This happens both with already existing files and working on presentations created by scratch.
    The crash consists in the appearance of a warning message (I have the Italian version of Keynote, I have not idea of the message in English), that informs me that an error occurred in Keynote and that I must close the application and re-open it. Even if I do exactly this, when I try to re-launch the application, a new warning message appears. In this case, I have the possibility to quit, retry or send a report to Apple. If I retry, the application starts loading the default settings (English language). To get the Italian language to work, I have to delete the file "com.apple.iWork.Keynote.plist" in the folder \Library\Preferences.
    I have already installed the most recent upgrade (iWork09Update2.dmg), but this does not solve the problem.
    Did anyone has noticed something of similar?
    Sorry for my poor English.
    vido
    Message was edited by: vido

    Hello, I think I have solved the problem by upgrading to OS X 10.5.7 (Leopard).
    After having completed the update process (including additional on-line updates), Keynote seems to run smoothly.

  • Reg Table edit by default

    Hi Everyone,
                              i have one view with table which has three fields, when i click create button i want table fields to be in editable mode.
    Regards,
    vino.

    hi ,
    create a Action for your Button UI , in the OnAction property . Create a context attribute under the context node
    of type WDY_BOOLEAN .
    Now bind it with the ENABLE property of your field which u want to set in enable mode . Set it to 'X'  to enable the fields ,
    and ' ' ( blank) to disable the field . Go to control wizard (CNTRL+F7) , selct read context node /attribute , select the appropriate
    context attribute using set_attribute method
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
        DATA ls_cn_node TYPE wd_this->element_cn_node .
        DATA lv_attr  LIKE ls_city-ca_attr.
    *   navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
        lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
    *   get element via lead selection
        lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    *   set single attribute
        lo_el_cn_node->set_attribute(
          EXPORTING
            name =  `CA_ATTR`
            value = 'X').
    // attribute CA_ATTR under node CN_NODE set to 'X'
    regards,
    amit

  • Commit Button Still Disabled After Table Edit

    I am using JDeveloper 11.1.1.6.
    I have a table on my page that is clickToEdit.
    I have CreateInsert and Delete buttons.
    I have Commit and Rollback buttons that are initially disabled.
    When I edit the value of an existing field and press Enter, the Commit and Rollbak buttons remain disabled.
    If I add a new record to the table, the Commit and Rollback buttons are enabled (as expected).
    I know I can add a partial trigger to the button with the id of the table, but the final application will have many tables.
    I don't want to add each table id to the partial trigger of the buttons.
    How can I set it up so the Commit and Rollback buttons are enabled after a table modification?
    Thanks,
    Ray

    Arun,
    Thanks for the info, but it looks like this thread has the same problem.
    The thread states "Do not forget to include the 'Commit' button as a PPR target in order the button to be refreshed."
    I assume this means I need to add the control's id to the commit button's Partial Triggers.  This results in the same problem as stated originally.
    Am I missing something?
    Ray

Maybe you are looking for

  • One Itunes Library, 2 external drives in different locations...

    Here's my problem... I go everywhere with my laptop... iphone and ipod... My laptop contains my itunes library.. I connect at work to an external 1tb drive which houses my entire music collection.. My goal is to be able to copy that drive (64,000 son

  • Problem upgrading kernel to level 146.

    I'm going to update my kernel from 92 to 146 but I have problem during startup. My disp+work.exe process go stopped. during upgrade from level 92 to level 146 system shutdown disp+work.exe db2diag.log no entry about error. With level 92 system works

  • Why is "Apply to enclosed items" grayed out?

    There is an archived thread on this issue but with no resolution. When I want to change permissions on the contents of a folder, very often the "Apply to enclosed items" button (in the Get Info Permissions panel) is grayed out. Why? What's the fix? I

  • My iPod Touch in need to enter DFU mode

    My iPod Touch got stuck on the apple logo, and there is no way to get out of that instead of entering DFU mode and restoring my iPod Touch, but my iPod Touch 4th Generation (sleep/wake/power) button is broken and can't enter DFU mode without press th

  • Maintain session in Multiple soap calls

    Hi Experts, We have an requirement which runs 2 synchronous calls. 1st synchronous cal is for validating user credentials and 2nd synchronous call (for successful log in) for uploading data in R/3 system. The main task is to maintain session(ex: time