Application Development 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: 

adding new blank row to a table control

Former Member
0 Kudos

Hi friends,

can any one please help me adding new blank row to the existing table control. please send me your valuable suggestions preferably with code if u have, as this is the showstopper.

thanks in advance.

swapna

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Swapna,

I think you can append a blank entry into the internal table of the table control.I would prefer to add another field as flag in the internal table and append that table with only this field entry as 'X'.This is wud give a blank entry .

Hope this helps.

Regards

Abhishek.

9 REPLIES 9

Former Member
0 Kudos

Hi Swapna,

I think you can append a blank entry into the internal table of the table control.I would prefer to add another field as flag in the internal table and append that table with only this field entry as 'X'.This is wud give a blank entry .

Hope this helps.

Regards

Abhishek.

0 Kudos

hi abhishek,

the logic was ok but when i did the same it is not updating when debugged it i saw other rows of the internal table have the flag column empty. ofcourse this may not be the issue but some how i could not update the row. rehan logic also not working when i tried in PAI

do u have any code which u did earlier.

thanks and regards,

swapna

0 Kudos

Hi,

Generally you should add new line to internal table which you are using to store data for table control and then adjust number of lines in table control using for example following code:

DESCRIBE TABLE INT_TAB LINES TAB_CTRL-LINES.

where INT_TAB is your internal table and TAB_CTRL is your table control name.

Krzys

0 Kudos

Try to add new line into internal table used with table control. After this, into the dynpro PBO, call the command "REFRESH CONTROL ctrlname FROM SCREEN scr",

Gianluca

0 Kudos

thanks Krzys,

it worked.

thanks and regards,

swapna

0 Kudos

please can any one tell me how to award award points.

thanks and regards,

swapna

0 Kudos

Hi,

I never asked at forums so I didn't have posibilities to give someone points. But I think that it shouldn't be difficult.

You should mark posts as "problem solved", "helpful answer" and do on.

regards

Krzys

Former Member
0 Kudos

TCL-lines is the field for total number of lines in Table control. Increment the lines in the PAI event.

Thanks,

Rehan.

0 Kudos

Hi,

I am facing problem in Module Pool..I want one more line for Input under my table control..

Here I am giving the brief desc. of my problem :

Suppose, Initially in my table control there is 10 lines when user enters data for all 10 lines and still want to enter 1 more line then I have to insert (append) one more line at last under Table Control when User presses enter key

so kindly send me your valuable comments regarding that issue, your efforts will be highly appreciable.

Thanx and regards,

Pawan