Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

modify screen

Former Member
0 Kudos
102

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.

4 REPLIES 4

Former Member
0 Kudos
72

Hi,

Use LOOP AT SCREEN. in PBO or SELECTION-SCREEN OUTPUT events.

Reward if useful!

Former Member
0 Kudos
72

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

Former Member
0 Kudos
72

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

kesavadas_thekkillath
Active Contributor
0 Kudos
72

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