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

Add fields in table control

Hi Experts,

I wanted to add one more field in table control (i.e. one more column).

How I can add the desired field??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 04:58 AM

    Hi

    JUST CHECK THE LINKS BELOW

    adding-dynamic-columns-in-table-control

    adding-dynamic-columns-in-table-control

    adding-dynamic-columns-in-table-control

    could-anyone-tell-me-how-can-i-add-columns-in-a-in

    dynamic-table-control

    How do I hide a column in a table control at runtime? 1. define group name(s) for the columns to be hidden

    2. Add the following code...

    (define)

    controls tbl_ctrl type tableview ...

    wa like tbl_ctrl-cols.

    loop at tbl_ctrl-cols into wa.

    if wa-screen-group1 = <group defined for the column>

    wa-invisible = 1.

    modify tbl_ctrl-cols from wa

    endif

    endloop

    How do I change attributes of an item in a screen and in a table control at runtime?

    add the following code in PBO

    loop at screen.

    if screen-name = 'NAME_OF_FIELD_HERE_IN_CAPS'.

    set attributes of screen such as REQUIRED, INPUT, OUTPUT, INTENSIFIED, INVISIBLE, ACTIVE, DISPLAY_3D, VALUE_HELP to 1(ON) or 0(OFF)

    e.g. screen-output = 1.

    modify screen.

    endif.

    endloop

    if the field is part of a table control, put the above code within the the loop...endloop of the table control in PBO

    You can add a coloumn to table control by simply dragging i/o field to the table control and set the name for it.For header u have to drag label box on to the top of that coloumn.

    if u find useful award some points

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:23 AM

    Hi,

    please check this , it may help you out.

    Select the desired field name from the dictionary/program fields button or press f6.

    you can choose the field name and then just drag and drop the filed name in the desired column of the tablecontrol.then give header by using a text field..

    Rgards,

    Soumya

    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.