2010 Dec 30 4:42 AM
Hello gurus.
I have problem with table Control.
I have put all Entries in Table control, but when I Press Enter or Vertical scroll bar.
The table Control Become blank.
I am waiting your reply.
Regards
Riten patel
Hello gurus.
I have problem with table Control.
I have put all Entries in Table control, but when I Press Enter or Vertical scroll bar.
The table Control Become blank.
I am waiting your reply.
Regards
Riten patel
2010 Dec 30 4:46 AM
Hi,
clear the ok_code or SY-UCOMM value..When you press Enter or vertical scroll bar PAI event is triggering...In PAI again call PBO event to populate values.
Regrads,
Suvajit.
2010 Dec 30 4:47 AM
Are you doing any processing the Enter command in PAI or refreshing the records by mistake ?
2010 Dec 30 4:55 AM
Hi Riten,
You might be refreshing the internal table which is used to update value in table control.
Hoping this helps.
Thanks & Regards,
Komal
2010 Dec 30 4:54 AM
hi
first check if you have applied loop through the table in both PBO and PAI events.
it should be like:
process before output.
module status_9000.
loop at itab into wa_itab with control tab_cntrl.
endloop.
process after input.
module user_command_9000.
loop at itab ."WITH CONTROL TAB_CNTRL.
endloop.
the above code should be present in your flow logic of the screen.
Then in your driver program you should select the data in PBO and then capture the appropriate OKCODE in PAI event.
clear the okcode after the case or if endif statement.
it might be possible that you have not applied the loop through the table in PAI of the screen
that why when you press enter the data gets cleared.
Try this and let me know.
thanks
Lalit
2010 Dec 30 4:56 AM
Hi,
In the PAI have you writen the code to modify the table control ?
Write this in the PAI flow logic --
Loop at it.
module modify.
endloop.
MOdule modify.
modify it index tc-current_line.
if sy-subrc ne 0.
apend it.
Endif.
endmodule.Regards,
Madhukar Shetty
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |