01-05-2008 8:06 AM
Hi all
i have thsi statement.I want to take the valus of this statement buit it houldnt be displayed in the input screen.Please help.
SELECT-OPTIONS:p_mcomp FOR S026-MCOMP default '60000000' to '60000063'.
VIjay
01-05-2008 1:44 PM
hi vijay,
at initialization event u can do this.
initialization.
p_mcomp-low = '6000000'.
p_mcomp-high = '6000003'.
p_mcomp-sign = 'I'.
p_mcomp-option = 'BT'.
append p_mcomp.
clear p_mcomp.
2nd way
after doing the above and in at selection screen output try like dis.
at selection-screen output.
select options:p_mcomp for s026-mcomp NO-DISPLAY.
IF HELPFUL REWARD SOME POINTS.
with regards,
Suresh Babu Aluri.
01-05-2008 8:10 AM
u must write code under initialization event.
initialization.
p_mcomp-low = '60000000'.
p_mcomp-high = '60000063'.
append p_mcomp.
clear p_mcomp.
01-05-2008 8:10 AM
Hi,
You can do as below at the initialization event :
initialization.
if p_mcomp[] is initial.
p_mcomp-sign = I'.
p_mcomp-option = 'BT'.
p_mcomp-low = '60000000'.
p_mcomp-high = '60000063'.
append p_mcomp.
clear p_mcomp.
endif.
Thanks,
Sriram Ponna.
01-05-2008 12:21 PM
Hi Vijay,
it is too simple.. just write the below logic in your code..
Hi,
You can do as below at the initialization event :
initialization.
if p_mcomp[] is initial.
p_mcomp-sign = I'.
p_mcomp-option = 'BT'.
p_mcomp-low = '60000000'.
p_mcomp-high = '60000063'.
append p_mcomp.
clear p_mcomp.
endif.
Thanks,
murali
01-05-2008 1:44 PM
hi vijay,
at initialization event u can do this.
initialization.
p_mcomp-low = '6000000'.
p_mcomp-high = '6000003'.
p_mcomp-sign = 'I'.
p_mcomp-option = 'BT'.
append p_mcomp.
clear p_mcomp.
2nd way
after doing the above and in at selection screen output try like dis.
at selection-screen output.
select options:p_mcomp for s026-mcomp NO-DISPLAY.
IF HELPFUL REWARD SOME POINTS.
with regards,
Suresh Babu Aluri.
01-06-2008 10:02 AM
Hi Vijay,
Declare it under initialization event.
initialization.
p_mcomp-low = '6000000'.
p_mcomp-high = '6000003'.
p_mcomp-sign = 'I'.
p_mcomp-option = 'BT'.
append p_mcomp.
clear p_mcomp.
Regards,
Chandru
01-06-2008 11:04 AM
SELECT-OPTIONS:p_mcomp FOR S026-MCOMP no-display default '60000000' to '60000063'.
im not sure whether there is a hiphen in between no display...bu t it wont display this entry in screen but u can get the valu in your code.
01-06-2008 11:07 AM
or try this
SELECT-OPTIONS:p_mcomp FOR S026-MCOMP .
at selection-screen output.
loop at screen.
if screen-name1 = 'P_MCOMP'.
p_mcomp-low = '60000000'.
p_mcomp-high = 60000063'.
append p_mcomp.
screen-input = '0'.
modify screen.
endif.
endloop.