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

Module Pool

Former Member
0 Likes
719

Hi All,

This is a requirement in Module pool programming. I have a screen with a table control in which a range (specified by user) of document numbers are diaplayed.

Now when multiple document numbers in this table control are selected and the 'DISPLAY ITEM' button is clicked, the details of the selected document numbers need to be display in another table control.

How do i achieve this..please help.

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
697

First u need to capture the document numbers selected...

for this case define one more field in table control as a check box

and validate this ( tablecontrol is nothing but internal table in pai module ) checkbox field in pai module ...

if it is selected read the corresponding document numbers and select u r data for these corresponding doc numbers and move into one more internal table ...

first do this one.

Best Regds,

kiran.M

6 REPLIES 6
Read only

Former Member
0 Likes
698

First u need to capture the document numbers selected...

for this case define one more field in table control as a check box

and validate this ( tablecontrol is nothing but internal table in pai module ) checkbox field in pai module ...

if it is selected read the corresponding document numbers and select u r data for these corresponding doc numbers and move into one more internal table ...

first do this one.

Best Regds,

kiran.M

Read only

Former Member
0 Likes
697

Thanks for the reply Kiran.

Is there no way that i do not add this checkbox and achieve this?

Read only

0 Likes
697

tell me one thing if check boxes not exist

how u r selecting multiple document columns in a table control

Best Regds,

kiran.M

Read only

0 Likes
697

Hi,

You can aceive it by selcting the push button column of the table control.

Refer to the following link for more details,

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm

Reward if helpful.

Read only

0 Likes
697

Hi

check the table control attributes in screen painter whether multiple colmns selected check box is selected or not

Read only

Former Member
0 Likes
697

Hi Yes u can do it without check boxes

in the screen just select ur table control then dbl clk on it to go to properties of TC.

Now there is one checkbox right at the bottom which looks like

w/selcolumn

just select this and the box next to the checkboz will get activated and give the name to the checkbox .

MAke appt settings in the above radio buttons

and include field in ur itab in this way u will b able to select multiple columns

thnks

Sahil