2010 Jun 29 8:32 AM
i have 2 fields here,
p_1 and p_2, for input and for display, respectively.
now when i put value in p_1, and press enter the value corresponding to that should be displayed in p_2.
any idea?
thanks, aud...
i have 2 fields here,
p_1 and p_2, for input and for display, respectively.
now when i put value in p_1, and press enter the value corresponding to that should be displayed in p_2.
any idea?
thanks, aud...
2010 Jun 29 8:42 AM
Heys ,
I hope p1 and p2 are parameters.
You can achieve this
selection screen output.
loop at screen
if screen-name = p1.
p2 = p1.
modify screen
endif.
endloop.
Regards,
Uma Dave
2010 Jun 29 8:55 AM
Sounds like there is some catch behind it you didn't tell us about If not I think all you need is
PARAMETERS: pa1(4) TYPE c,
pa2(4) TYPE c.
AT SELECTION-SCREEN.
pa2 = pa1.
Regards
Marcin
2010 Jun 29 9:41 AM
Hi,,
Follow the procedure, u can get..
parameters : p1(4) type c .
parameters : p2(4) type c.
at selection-screen output.
loop at screen.
if p1 is not initial.
p2 = p1.
clear p1.
modify screen.
endif.
endloop.
2010 Jun 29 10:10 AM
Hi..
Try using this code..This will copy the value in parameter P1 to P2 and make it input disabled as well.
PARAMETERS : p1 TYPE char2 ,
p2 TYPE char2 MODIF ID mi1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p1 IS NOT INITIAL.
p2 = p1.
CLEAR p1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
LOOP AT SCREEN.
IF p1 IS INITIAL AND p2 IS NOT INITIAL.
IF screen-group1 = 'MI1'.
screen-active = '1'.
screen-input = 'X'.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
Regards,
Karthik
2010 Jun 29 10:25 AM
Too basic, please invest a minimum of own research before posting.
Thread locked.
Thomas
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |