Application Development and Automation 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: 
Read only

Table Control

Former Member
0 Likes
500

Hi Friends,

In the table control, i am getting all the records from the database table automatically. (The table control is made through wizard)

But, I would like to know the following :

1. How to enter the additional records. (The system takes all the rows from the database table and displays them in the rows automatically. After the last row is displayed, it is not allowing to extend the rows further for any new entries).

2. How to save the new entries.

Kindly provide a complete document on the above, as I am new to this topic.

Thanks in advance,

Mark K.

4 REPLIES 4
Read only

Former Member
0 Likes
450

Hi Mark you can refer the programs:

RSDEMO_TABLE_CONTROL

DEMO_DYNPRO_TABLE_CONTROL_2

DEMO_DYNPRO_TABLE_CONTROL_1

Regards,

Ravi

Read only

0 Likes
450

Hi Ravi,

Not clear with these two programs. They are not allowing to make any new entries.

Kindly give some other document.

Regards,

Read only

0 Likes
450

hi

why dont u try with table control wizards in se51...that will help u i guess!!

reward points if it helps

regards

Gunjan

Read only

0 Likes
450

Hi Mark

The field <TABLE CONTROLS>-LINES defines the number of rows can be listed in table control.

If you've designed the tc by wizard, probably you should have a piece of code sets the value in that field.

There are many ways to do what you need, but perhaps the easier ways is to add pushbutton in status GUI to insert an empty row:

CASE OK_CODE.

WHEN 'NEW'.

APPEND INITIAL LINE TO ITAB.

<TABLE CONTROLS>-LINES = <TABLE CONTROLS>-LINES + 1.

Max