Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update internal table data from table control

Former Member
0 Likes
497

Hi GURUS,

I need help regarding one of my requirement.

I need to display data from the internal table on the screen and when the user selects a record/multiple records from screen and clicks on approve button i need to update one of the field from N to Y in the corresponding Ztable. Once the record is updated from Ztable , that should no longer be visible for the user on the screen.

I am using table control wizard to display data. I am able to update the Ztable, but that record is not refreshing from the user screen. Any suggestions would be approved.

Also please let me know if table control is the best way to do this/ alv grid control??

4 REPLIES 4
Read only

Former Member
0 Likes
456

for tables we use <b>commit work</b> after inserting values into table.

Read only

0 Likes
456

I am not worrying about ztable/table commit.. It is updating correctly..

Once the record is updated , after PAI i should refresh the displayed table control records to removed the updated record from this screen..

I would reward points for helpful solution....

Read only

0 Likes
456

hi

REFRESH CONTROL Control-Name FROM SCREEN '0100' -> use this command to refresh the table control

to know more, read into

https://forums.sdn.sap.com/click.jspa?searchID=2934287&messageID=673474

if helpful, reward

Sathish. R

Read only

0 Likes
456

Hi,

Can you please let me know where i need to put this statement to refresh the screen...I am new to module pool programming