Dear Experts,
I created one ALV Report with push buttons. User can select multiple line. After select the lines, when user clicks push button in ALV, then am calling POPUP screen 1100 with save and cancel button. which ever line user selected in ALV, that will appear in the POPUP screen 1100 with table control view.
issue :
Ex :
In ALV user selected 3 lines , that appeared in POPUP screen 1100 table control view. Now user wants to select some more line in ALV. so user clicked cancel and reached ALV screen. user selected 2 more line in ALV (total 5 lines). Again user clicked same push button in ALV, But now same 3 lines (old record) are appearing in POPUP screen 1100, new records (5 lines) are not appearing.
Code :
My PBO internal table is having 5 records. but in table control only 3 records are appearing.
***********************************************
PROCESS BEFORE OUTPUT.
MODULE status_1100.
LOOP AT git_prq_items1 INTO gwa_prq_items1
WITH CONTROL ctl_pr_items.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE user_command_1100.
LOOP AT git_prq_items1.
MODULE read_table_control. " if any changes happened in table control - read table control.
ENDLOOP.
********************************************
MODULE status_1100 OUTPUT.
SET PF-STATUS ''.
ENDMODULE. " status_1100 OUTPUT
********************************************
git_prq_items1 - this internal table is having 5 records.
Please suggest where should i correct.
Regards
chessleo.
Edited by: sapleo on May 6, 2011 9:59 AM
Hi.,
Clear the records and populate new records., also use refresh table display if u are using oo alv.
check BCALV_GRID_05 report.,
Hope this helps u.,
Thanks & Regards
Kiran
Add a comment