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

table contol

hi,

I want to set condition in my table control at row level that

whichever rows contains scheme field = 'U' then particular fields get disable.

otherwise user can enter data.

regards

raj

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 16, 2006 at 09:53 AM

    <b>Defien the screen group for the fields in ur internal table of table control.</b>

    can you explain to me this in detail.

    in table control with internal table how to define group.

    thanks

    raj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 16, 2006 at 09:37 AM

    in PBO section.

    loop at itab with control.....

    module display.

    endloop.

    module display.

    if itab-scheme = 'U'.

    loop at screen.

    if screen-group = <Screen group for al the fields in the TC>.

    screen-input = 0.

    modify screen.

    endif.

    endloop.

    endif.

    endmodule.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 16, 2006 at 09:42 AM

    Hi,

    Defien the screen group for the fields in ur internal table of table control.

    Use the code below in PBO.

    loop at itab_screen with control.

    module disable.

    endloop.

    module disable.

    if itab_screen-scheme = 'U'.

    loop at screen.

    if screen-group = 'ITAB_SCREEN-<fieldname>'

    screen-input = 0.

    screen-active = 1.

    modify screen.

    endif.

    endloop.

    endif.

    endmodule.

    Hope it would solve the purpose kindly rewards the points...

    regards

    manish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 16, 2006 at 10:38 AM

    I tried to group from edit->grouping->step loop->define.

    but it is giving me error that not enough space for step loop.

    regards,

    raj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 16, 2006 at 10:44 AM

    thanks ravi yogendra v.s.n.a. - points for all

    problem is solved

    raj

    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.