Skip to Content
avatar image
Former Member

Editable table pop-in

Hello,

I have a table pop-in . I want to edit few records & add few records in a table popin . Is it possible?I searched through the SCN but could not find any posts regarding editing the table pop-in. Please help.

Thanks,

Vaishnavi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Apr 30, 2012 at 04:55 AM

    Hi Vaishnavi,

    You just insert InputField UI elements instead of TextView ui elements, it will allow you to edit whenever the PopIn opens, it functions as WD with respect of Actions / Events etc.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 30, 2012 at 09:51 AM

    Hii vaishnavi...

    for editing table pop-in... first of we have to display the data in table pop-in.

    then,

    for editing...1) we have to get the configuration settings using get model ,

    2) then make the table as editable using table settings-read_only = false..

    3) get the edited coloumns using GET_COLUMNS and make whatever columns u want to edit mention the field name.

    4) get the instance of edited columns..

    5) create a event handler method for checking the data is edited or not ,then save the edited data..(using standard event on_data_check)

    here..

    get the edited data using parameters(r_params)...

    copy the changed data into temporary internal table and modify the standard data from the temporary changed data..

    pls let me know if u need any clarifications..

    THANKS AND REGARDS ..

    LOKESWAR REDDY BYNI

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello,

      Thanks to both of you for your inputs. DO you have any sample code to ahcieve this? I have done the same on ALV but in table popin i am getting confused as to how achieve this functionality.

      Thanks.