Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Make input possible when a button is clicked

bzakaria
Participant
0 Likes
2,061

Hello,

In a dynpro I have a input/output field (input not possible) and a pushbutton.

I want to make input possible in theinput/output field after a user click on the pushbutton.

Regards,

1 ACCEPTED SOLUTION
Read only

venkateswaran_k
Active Contributor
1,853

Hi

AT SELECTION-SCREEN.
  CASE SY-UCOMM.
    WHEN 'b1'. <your button user-command>
      loop at screen.
        if screen-name = <your inputfield name>
          screen-active = 1.
          screen-input = 1.
        endif.
      endloop.
  ENDCASE.
5 REPLIES 5
Read only

venkateswaran_k
Active Contributor
0 Likes
1,853

Hi

You asking for webdynpro or ABAP?

Read only

bzakaria
Participant
0 Likes
1,853

venkateswaran.k ABAP.

Read only

venkateswaran_k
Active Contributor
1,854

Hi

AT SELECTION-SCREEN.
  CASE SY-UCOMM.
    WHEN 'b1'. <your button user-command>
      loop at screen.
        if screen-name = <your inputfield name>
          screen-active = 1.
          screen-input = 1.
        endif.
      endloop.
  ENDCASE.
Read only

1,853

venkateswaran.k Thanks. You are only missing in your code "MODIFY SCREEN."