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 Wizard

maltesh0188
Participant
0 Likes
554

Hi Experts, I have struck up in generating item no and saving data.

Can any one tell me how to store the data from table wizard to a database table in a modulepool. and is it possible to generate the line item no like 10 20 30... in the first column as item no. and which shold be taken automatically when i press enter after entering some data in the row.

Thanks in Adv

3 REPLIES 3
Read only

Former Member
0 Likes
518

HI,

Every thing you have said can be done very easily and very much possibal. Look for any simple document on table control. If you know how table control worl you can easily do it.

Just a way to move forward.

LOOP WITH CONTROL tab_con.

MODULE fill_tab_con.

ENDLOOP.

In every loop pass one line of control is read.

and to populate new entry with counter pouplate tab_con-counter field with desigre value.then call same loop in PBO

see this link for more help.

[http://sap.niraj.tripod.com/id29.html]

Edited by: Anurag_n on Apr 8, 2010 11:06 AM

Read only

0 Likes
518

but the thing is that i have to get the item no as soon as i press ENTER KEY and the data has to be save to the database table when i press save on the application tool bar

Read only

0 Likes
518

Update the serial number field in PAI of screen

loop with control <control name>
  <modify the srno field>.
endloop.

Regards

Vinod