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

screen based on a table

Former Member
0 Likes
728

hi

i have created a screen based on a table and unter the part process before output in module status_2001 i want to add a selection into the fileds in the screen i created which are in the same names as in the table

i wrote:

module status_2001 output.

select single *

from (table name)

into corresponding fileds of (?????).

endmodule,

what do i need to write insted of '????' that it will show on the screen.

ami .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
691

Try this:

in top include define a "tables" statement.

tables: <table name>.

select single *

from <table name>

into <table name>.

Regards,

JOy.

7 REPLIES 7
Read only

Former Member
0 Likes
692

Try this:

in top include define a "tables" statement.

tables: <table name>.

select single *

from <table name>

into <table name>.

Regards,

JOy.

Read only

0 Likes
691

Joy,

tables: <table name>.

select single *
from <table name>
into <table name>.

it is same as

tables: <table name
select single *
from <table name>."no into cluse

Read only

0 Likes
691

Yes u r right ..I have to give endselect here like:

tables: mara.

select * from mara

into mara

where matnr = '000000000000000001'.

endselect.

Regards,

Joy.

Edited by: Joyjit Ghosh on Aug 4, 2008 2:54 PM

Read only

0 Likes
691

Yup ;-0

Read only

naveen_inuganti2
Active Contributor
0 Likes
691

Hi....Ami...

Make clear that your screen contains table control or not....!

If not.... as you know we can display one entry in the fields at a time.... so which entry o fthe table you wnat to display in your screen...

Thanks,

Naveen Inuganti.

Read only

Former Member
0 Likes
691

hi,

Mention the variables which you have defined in the layout.

Read only

Former Member
0 Likes
691

R u using a table control. if yes u link the fields of table control with the dictionary fields