Skip to Content
author's profile photo Former Member
Former Member

Table Control

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 12, 2005 at 09:03 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 12, 2005 at 11:06 AM

    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ü

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2005 at 11:20 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.