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

Subscreen problem

Hi All ,

I have made a subscreen with 8 fields

my requirement is out of 8 fields only 1 should be be a input field ,rest all should be disabled.

Can anybody help me with how to go about this ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2009 at 11:53 AM

    Hi Bhanu,

    use the screen table

    try this code

    
        LOOP AT SCREEN.
          IF screen-group1 = "field1". "field1.   "what ever you want to show
            screen-invisible = c_0.                              "'0'.
            screen-output   = c_1.                              "'1'.
            screen-input    = c_0.                              "'0'.
            MODIFY SCREEN.
          ELSE.                                            "For the remaining fileds to disaper
            screen-invisible = c_1.                              "'1'.
            screen-output   = c_0.                              "0'.
            screen-input    = c_0.                              "'0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
    

    usee this code in your PBO

    Thanks!

    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.