‎2007 Sep 10 5:45 AM
hi to all experts.
i want given some value at selection-screen field.
while the exection of program default value showing at
selection-screen field .then i want to do this field
in decable mode that cause no budy can change at selection
screen.
thanks in advance and reward also.
regard : deep.
‎2007 Sep 10 5:50 AM
hi,
try like this in pbo module
parameter: p_matnr like mara-matnr default '100-100'.
loop at screen.
if screen-name = 'p_matnr'.
screen-input = 0.
modify screen.
endif.
endloop.
if helpful reward some points.
with regards,
Suresh Aluri.
‎2007 Sep 10 5:51 AM
hi deep,
try to to use loop at screen.....endloop.
and in selection screen add modif id....
this will work....
please rewad,
prashant
‎2007 Sep 10 5:54 AM
LOOP at screen will help you, try to make the screen input false.
Regards,
SaiRam
‎2007 Sep 10 5:56 AM
Hi Deep Try like this
PARAMETERS: po_vkorg TYPE vbak-vkorg DEFAULT 'ZDST'.
LOOP AT screen.
IF screen-name = 'PO_VKORG'.
screen input = 0.
exit.
ENDIF.
ENDLOOP.
If it is select option do the same for both LOW and HIGH values.
Thanks,
Vinod.
‎2007 Sep 10 5:57 AM
‎2007 Sep 10 6:04 AM
Hi,
Screen is a internal table which is used to change the screen attributes dynamically.
screen has a field called input, output, modif id etc.
There is a modif ID provided to each field on the selection-screen.
If you add input eq 0 for a given modif id. The screen field would be grayed out, where you cannot eneter any values.
Regards,
Rama Murthy.P
‎2007 Sep 10 6:12 AM
hello deep,
This is the code you need to have in your program.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'MYSELFLD'.
SCREEN-INPUT = 0.
MODIFY-SCREEN.
ENDIF.
ENDLOOP.
regards,
anuj
‎2007 Sep 10 6:20 AM
hi,
the up all works which think.
and try this easy for more than one ID
parameter: p_matnr like mara-matnr default '100-100' modif id GD,
p1 type c default 'A' modif id GD.
AT SELECTION-SCREEN OUTPUT.
loop at screen.
if screen-group1 = 'GD'.
screen-input = 0.
modify screen.
endif.
endloop.
regards