2007 Jul 23 10:47 AM
hi guru's,
i have select-options like this.
cno for kna1-kunnr modif id abc,
sno for vbak-vbeln modif id bcd,
date for vbak-erdat modif id cde,
sarea for vbak-vkgrp modif id def,
mete for vbap-matnr modif id efg.
what i want is after entering input values in cno only remaining options will be enabled. otherwise these will be in disable mode.
help me.
thanks in advance.
2007 Jul 23 10:48 AM
Hi,
Use LOOP AT SCREEN. in PBO or SELECTION-SCREEN OUTPUT events.
Reward if useful!
2007 Jul 23 10:50 AM
AT SLECTION-SCREEN OUTPUT,
loop at screen.
IF SCREEN-GROUP = 'ABC'.
SCREEN-ACTIVE = '1'.
MODIFY SCREEN.
ENDIF.
endloop.
Message was edited by:
Vara Prasad Kunathi
2007 Jul 23 10:51 AM
HI,
Put in loop for CNO in Selection Screen at the Value request. IF user entered anything then only enable the other fields.
It will work.
Rewards points if useful.
Regards,
Kinjal
2007 Jul 23 11:27 AM
report a.
tables: kna1,vbak,vbap.
selection-screen begin of block b1 with frame title a.
select-options:
cno for kna1-kunnr modif id abc,
sno for vbak-vbeln modif id bcd,
date for vbak-erdat modif id cde,
sarea for vbak-vkgrp modif id def,
mete for vbap-matnr modif id efg.
selection-screen end of block b1.
at selection-screen output.
if cno is initial.
loop at screen.
if screen-group1 = 'BCD' or screen-group1 = 'CDE'
or screen-group1 = 'DEF' or screen-group1 = 'EFG' .
screen-input = '0'.
clear: sno,date,sarea,mete.
modify screen.
endif.
endloop.
endif.
Reward if useful