2014 Aug 13 7:03 AM
Hi All,
I have developed a report program in which I am displaying table data in display mode
on screen 1001. and on click of EDIT button it will call SCREEN 1002 in edit mode.
User can edit and delete the records and on click of SAVE button , records are getting updated in table.
and going to SCREEN 1001 again. but SCREEN 1001 is not showing updated data.
I am using LEAVE TO SCREEN 0.
Thanks,
Arpita
Hi All,
I have developed a report program in which I am displaying table data in display mode
on screen 1001. and on click of EDIT button it will call SCREEN 1002 in edit mode.
User can edit and delete the records and on click of SAVE button , records are getting updated in table.
and going to SCREEN 1001 again. but SCREEN 1001 is not showing updated data.
I am using LEAVE TO SCREEN 0.
Thanks,
Arpita
2014 Aug 13 7:08 AM
hi arpita,
please provide your code written in the PBO of screen 1001.
regards
ashwin kv
2014 Aug 13 7:15 AM
There are 2 possibilites here :
(1) Data is not updated in internal table for display
It is possible that the the internal table used to display data in screen 1001 does not have the data updated.Check if the table contains latest data
(2) Updated data has not reached the screen for display
If you are using an ALV, remember to refresh the ALV using proper refresh methods.If not,check if the structure used to display data differs from the main data table...and update accordingly.
Regards.
2014 Aug 13 7:15 AM
Hi Arpita,
You need to read the Database update made in screen 1002 again. Else there is know way you can see the updated data in Screeen 1001.
So,just write your code for fetching updated data from Database Table.
Thanks.
Regards
Vijay Singh
2014 Aug 13 7:23 AM
Hi Arpita,
Please use same internal table on screen 1001 that you are using for change and update in 1002.
If you are doing everything right in screen 1002 then, by using same internal table you can achieve your requiired result.
thanks,
vidyasagar
2014 Aug 13 8:28 AM
Make a call to CL_GUI_ALV_GRID's REFRESH_TABLE_DISPLAY method.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |