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

Automatically refreshing a list

Former Member
0 Likes
864

Experts

Transaction IW39 is used to display the Plant Maintenance Orders .

Output will be IN ALV . List displayed in the output screen should be refreshed automatically without any manual intervention at regular time interval .

Kindly suggest ...

Regards

Durai

4 REPLIES 4
Read only

Former Member
0 Likes
637

Hi,

You can use the method check_changed_data:

CALL METHOD alv_instance->check_changed_data

IMPORTING

E_VALID = l_valid.

The flag l_valid indicates if there is a change in the internal table used to display the data in the ALV.If the flag is checked,then you can call the method REFRESH_TABLE_DISPLAY.

CALL METHOD alv_instance->REFRESH_TABLE_DISPLAY

...

...

Hope this helps.

Regards,

Beejal

**Reward if helpful

Read only

0 Likes
637

Hi Rawal ,

Could you provide me an sample code or sample program where SAP usses this functionality

Read only

0 Likes
637

Hello Durai,

The methods that I have mentioned can be used in your program for a similar requirement(where you went ALV data to be refreshed).However,the transaction IW39 uses a standard report.No changes can be made to this particular transaction.You can refresh the contents in this case only by using the refresh icon provided in the tool bar(the 3rd icon).

Regards,

Beejal

Read only

Former Member
0 Likes
637

hi

it is a standard report you can not change the same.

Thanks

Shiva