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

Refresh data in Table Maintenance view

Former Member
0 Likes
1,385

Hi,

I have created a table maintenance view for db table A and added my function button to this view. When I click the button I append a few records to the table A from table B. But this recoreds are not displaied in the view.

If I rerun the view I can see added records.

How I have to refresh the view to display added records?

Regards,

Ilya

2 REPLIES 2
Read only

0 Likes
848

Hi Malnor

Try to use a COMMIT WORK after the INSERT statement.

Regards

Jesus Martinez

Read only

0 Likes
848

Hi Jesus,

COMMIT WORK isn't help me.

I found that I have to use TOTAL and EXTRACT structures to modify data in maintenance view.

It's fine. I do something like this in my FM

MODULE 9CUSTOM_PF_BUTTON INPUT.

...

lt_total[] = total[].

lt_extract[] = extract[].

CASE function.

WHEN '9DOWNSH'.

.......

modify lt_total from wa_total.

modify lt_extract from wa_extract

ENDCASE.

total[] = lt_total[].

extract[] = lt_extract[].

ENDMODULE. " 9CUSTOM_PF_BUTTON INPUT

But TOTL and EXTRACT tables contain data of the current maintenance view.

I work with a view cluster and I have to append or delete records from one view if I do something in other view.

How I can modify data one view from another maintenance view?

If I have modified database tables directly I don't see changes in the view cluster.

Regards,

Malnor

Edited by: Malnor on Nov 23, 2010 9:19 AM

Edited by: Malnor on Nov 23, 2010 9:38 AM