cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Grid in Edit mode

Former Member
0 Kudos

Dear all,

I would like to do a refresh of the ALV GRID table display in event "handle_data_changed_finished".

"refresh_table_display" is NOT working.

I obviously need to go through PAI & PBO to refresh the table display.

Is there something to syncronize the data?

There must be an easy solution...

bye

Niko

---

Niko Prindesis

Itelligence AG

Accepted Solutions (1)

Accepted Solutions (1)

andreas_mann3
Active Contributor
0 Kudos

Hi Niko,

try fm SAPGUI_SET_FUNCTIONCODE at PAI

regards Andreas

Former Member
0 Kudos

Dear Andreas,

thank you!

If I call "SAPGUI_SET_FUNCTIONCODE" in "handle_data_changed_finished", I can trigger the PAI/PBO.

So this solves my problem!

But ...

... isn't there a solution without going through PAI/PBO???

I want to stay in the ALVGrid control!

bye

Niko

Former Member
0 Kudos

Hi Niko,

I used the method REFRESH_TABLE_DISPLAY in a form routine in the main program and it worked.

Greets,

Lars

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, if you want to trigger the event "handle_data_changed_finished", you should call this method

CALL METHOD V_GRID->REGISTER_EDIT_EVENT

EXPORTING

I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_ENTER.

Hope it will be helpful.