2009 Jan 21 5:43 AM
how to move dynamic values to the output only field so that you can change it and show what y want to show on the screen. how this functionality is implemented in pbo
2009 Jan 21 5:53 AM
if u want to make a display only field as input field ...
den in pbo..
do...
LOOP AT SCREEN.
IF field is initial. "condition
IF screen-name = 'FIELD'. "display only field name.
screen-input = 1.
ENDIF.
endif.
modify screen.
ENDLOOP.
2009 Jan 21 5:53 AM
Hi,
Write your requirement clearly to get it resolved.
based on your condition, set
field = value. (ur dynamic value).
Thanks,
Srilakshmi.
2009 Jan 21 5:59 AM
ia m again reiteterating my requirement
i ahve a screen where i have one field which is output only
now what i want is to show different texts in that field based on the t-code(custom).
for example if i entert-code 'zcreate' that field should show create and if i enter t-code as'zdisplay' that field should show diplay when i call the screen. i want this processing in my pbo
2009 Jan 21 6:04 AM
just pass the value in pbo...
PBO.
MODULE FILL.
MODULE fill.
If tcode = 'ZCREATE'.
v_text = text-001. "Create
elseif tcode = 'ZDISP'
v_text = text-002. "Display
ENDIF.
ENDMODULE.
2009 Jan 21 6:15 AM
what is v_text here my field name is PROCESSK I.E SCREEN-NAME='PROCESSK'
2009 Jan 21 6:24 AM
In pbo, code like below,
loop at screen.
if tcode = 'ZCREATE'.
if screen-name = 'PROCESSK'.
processk = 'Create'.
modify screen.
endif.
elseif tcode = 'ZDISPLAY'.
if screen-name = 'PROCESSK'.
processk = 'Display'.
modify screen.
endif.
endif.
endloop.
Thanks,
Srilakshmi.
2009 Jan 21 6:26 AM
MODULE fill.
If tcode = 'ZCREATE'.
processk = text-001. "Create
elseif tcode = 'ZDISP'
processk = text-002. "Display
ENDIF.
ENDMODULE.
2009 Jan 21 6:35 AM