SAP R/3 screens

How will you develop a table control having 3 columns with only one editable?

Questions by anish_libra   answers by anish_libra

Showing Answers 1 - 6 of 6 Answers

meghag_24

  • Jun 7th, 2008
 

hii...

we can develop it by giving the code in PBO (process before output) giving tablecontrol line = 3. it will give only 3 lines and we can make 2 lines disable in screen painter options available in table control

  Was this answer useful?  Yes

abaper2007

  • Jun 12th, 2008
 

Hi sapiens,

    We can make only one column editable in the table control by using below code:

    s1: In one of the module in the PBO event

    s2: Write beloe code :
         
            LOOP AT SCREEN.
                CASE SCREEN-NAME.

                  WHEN 'IG_ITAB-VBELN'.
                    SCREEN-INPUT = '0'.
                    MODIFY SCREEN.

                  WHEN 'IG_ITAB-ERDAT'.
                    SCREEN-INPUT = '0'.
                    MODIFY SCREEN.

                ENDCASE.
              ENDLOOP.

    s3: Where in the above code, the fields "vbeln & erdat" are two columns which we cant edit in the table control... likewise you can make a column  non- editable  .

All the best .... Bye from abaper2007

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions