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: 

Table Control

Former Member
0 Kudos

Hi ,

I have a table control , which contains a range of Purchase document number, my requirement is on slecting a few PO's , in the next table control the details of the po must be displayed.

Regards

Arun

3 REPLIES 3

Former Member
0 Kudos

Hi Arun,

I shall try to give you a lead to go ahead with your requirement -

1. What you need is a function code to be triggerred when you select a line in the table control. I don't think you can use the line selction column for this purpose, since a function code cannot be assigned to it.

2. So have a checkbox in the first column of the table control. Assign a function code to this checkbox-column.

3. Capture this fucntion code in your PAI processing and populate the second table control with the PO details.

Hope I have understood your requirement and this explanation is in line with your needs.

Regards,

Anand Mandalika.

Former Member
0 Kudos

Hi Arun,

If you use a checkbox as the first column and assign a function code to it, the PAI will be triggered after your each selection. if you want to show details of more than one POs in your next table control, you can just add a pushbutton on your table control to show your next table control for PO details and use normal line selection process of table controls.

Kind Regards,

Sükrü

Former Member
0 Kudos

Hi ,

There is an option to choose whether you want to have table control with selection column or not in the attribute window (w/SelCol).Choose that option..You will get Selection Column at the left end..after that you can get info regarding the rows selected using fields that are present in the internal table that would get generated dynamically with the name of the table control that you hav created...

For Example..if u hav placed a table control of name TAB_CTRL ,then after activating ,an internal table of name TAB_CTRL will be created.

You can see the names of this internal table using 'Get Dict/program fields' option available in the screen painter.

Some of the fields are line_sel_mode,top_line,lines,col_sel_mode,fixed_cols,invisible,...etc.

Hope U hav got the answer....

Expecting Ur reply