Skip to Content
0
Former Member
Dec 13, 2007 at 11:36 AM

pls code!!!

22 Views

The following is the program that should add two numbers when pushbutton is clicked. how to disable the input fields..pls fill the at selection-screen output part

REPORT ZR6.

SELECTION-SCREEN BEGIN OF BLOCK b1.

PARAMETERS : P1 TYPE I,

P2 TYPE I,

P3 TYPE I.

SELECTION-SCREEN END OF BLOCK b1.

selection-screen: pushbutton /1(6) text-010 user-command cli1.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

ENDLOOP.

AT SELECTION-SCREEN.

CASE SY-UCOMM.

WHEN 'CLI1'.

P3 = P1 + P2.

ENDCASE.

thanks