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

Changing Table control Layout

Hi,

How to change the Table control layout in hte program.

Regards,

kiran

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 26, 2008 at 11:56 AM

    hi kiran,

    i can'nt got ur problem?

    can you give me full detail what you want to do?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      first I have to display Four fields on the Table control.

      depending upon the condition i have to display three fields only.

      Instead of creating another screen and table control with three fields

      i wanted to know how to change the table control prperties in the program.

      Regards,

      kiran

  • author's profile photo Former Member
    Former Member
    Posted on May 30, 2008 at 10:55 AM

    use this code below

    data: ls_admn_part LIKE LINE OF tc-cols.

    LOOP AT tc INTO ls .

    IF sy-tabix EQ 4.

    ls-invisible = 1.

    MODIFY tc-cols FROM ls TRANSPORTING invisible .

    ENDIF.

    CLEAR ls.

    ENDLOOP.

    Reward if useful.

    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.