05-07-2011 9:57 PM
Hi,
I have generated a maintenance dialog for a custom table. When the "new entries" button is pressed the table control is cleared, becomes editable and data can be pasted from the clipboard. So far so good. The problem is that the number of editable lines in the table control is limted to 29. After that, scrolling down shows that the remaining rows are greyed out. I need to paste large amounts of data (200 - 300 rows) from the clipboard and save. Currently, only the first 29 rows are copied. Can the number of editable rows in the table control be set to a sufficiently high number (or better yet, unlimited) for this purpose? Help is appreciated, thanks.
Regards
05-08-2011 9:20 PM
Hi Khan Awkhan,
maintenance dialogs are not meant to do mass updates. You may use batch input to do it if you really need, but 200 or 300 rows is quickly done manually.
BR
Sandra
05-08-2011 9:40 AM
05-08-2011 9:20 PM
Hi Khan Awkhan,
maintenance dialogs are not meant to do mass updates. You may use batch input to do it if you really need, but 200 or 300 rows is quickly done manually.
BR
Sandra
05-09-2011 3:57 PM
Hey Sandra,
Thanks for your suggestion. There is already an upload program for this. However, pasting from the clipboard would be a nice to have feature. If there is a constraint on the size of the table control, there must be an upper limit. What would that be and can it be changed, and if so, how? Thanks!
Regards
05-09-2011 4:53 PM
Hi Khan Awkhan,
I know that the screen height is 200 rows maximum (7.0), I guess the table control height is allowed to go up to that size (less the fixed rows above and below). Just give it a try, you'll have the answer immediately.
Best regards,
Sandra
05-09-2011 12:27 PM
Hi,
The all table control's rows must be editable until you make it non-editable. You can set number of line for table control like below.
<tab_ctrl>-lines = <Num of lines in itab>.
05-10-2011 1:30 PM
Hi,
First of all for setting up line in table control use
TC-lines = <No of lines> you want to put editable,
For Paste from clip boar create 1 button(Like Paste) ,
while pressing this button event in PAI import data from clipboard(CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_IMPORT)
Regards,
Alpesh
05-10-2011 3:05 PM
It seems that the number of editable lines increases dynamically by a fixed amount each time data is pasted from the clipboard. The only problem is that I am only allowed to paste up to 29 rows at a time. For really large amounts of data, I'll just use the upload program then. Thanks for the replies everyone!
05-10-2011 8:43 PM
Hi Khan Awkhan,
I had no difficulty to extend the maintenance dialog screen height to 200 and table control height to 199 (1 row is reserved to the position field at the bottom), unset the vertical resizing checkbox, and the save was successful.
BR
Sandra