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

Checking different ALVs at one OKCODE

Former Member
0 Likes
839

Hello @all,

I have a tabstrip with four tabs. On each tab there is a ALV-Grid in its own container. All ALV-Grids are editable.

When I press the SAVE-Button, I have to check all ALVs and save their data in different tables. How can I do this? I registered the event Changed_data, but is only raised for the last active ALV.

Thanks for your tips.

Bye

Thomas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
749

Hi Thomas,

I hope you are referring to the SAVE button on the Standard Toolbar. Now when you come on to the final tabl of the tabstrip after navigating through the others, isn't the data for all the other ALV Grids available in their corresponding internal tables ?

Regards,

Anand Mandalika.

7 REPLIES 7
Read only

Former Member
0 Likes
750

Hi Thomas,

I hope you are referring to the SAVE button on the Standard Toolbar. Now when you come on to the final tabl of the tabstrip after navigating through the others, isn't the data for all the other ALV Grids available in their corresponding internal tables ?

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
749

Hello Thomas,

is it not possible to update the internal table, that is connected with the active ALV-Grid-Control, when the

user changes the active tabstrip?

Regards

Peter

Read only

Former Member
0 Likes
749

Hello,

I already had that ideas... but ...

I would do. But as far as I know, my changed/new values are only in the Data_change_protocol object. I found that I can acces this via the event Data_changed. But this event isn't raised, when I only change the tabstrip.

What am I doing wrong? Do anyone have a similar example?

Thanks a lot.

Bye

Thomas

Read only

0 Likes
749

Hi Thomas,

do you use the method CHECK_CHANGED_DATA of class CL_GUI_ALV_GRID? This method will fire the event DATA_CHANGED.

Regards

Peter

Message was edited by: Peter Langmeier

Message was edited by: Peter Langmeier

Read only

0 Likes
749

Also,

make sure that the instances are still alive and use set handler for all instances.

Christian

Read only

Former Member
0 Likes
749

Hi Thomas

Can you guide me how to put ALV on Tabstrip.I have three tabs and have to have diffeent FieldCat for different tabs.

Rgrds,

Vijay

Read only

0 Likes
749

Hi,

Open this as a different thread as a question, also i have contributed a code sample for TABSTRIP using ALV in ABAP.

See to that and give suggestions.

Thanks & Regards,

Judith.