‎2006 Dec 06 9:33 AM
Hi friends,
in my select-options ---
select-options s_pygrp for dfkkop-pfgrp.
i want to give default values for first two low value fields in multiple selection through coding.
points will be rewarded for helpful answers.
Regards,
pankaj singh
‎2006 Dec 06 9:35 AM
INITIALIZATION.
s_pygrp-sign = 'I'.
s_pygrp-option = 'EQ'.
s_pygrp-low = '1234'.
s_pygrp-high = ' '.
append s_pygrp.
clear s_pygrp.
s_pygrp-sign = 'I'.
s_pygrp-option = 'EQ'.
s_pygrp-low = '5678'.
s_pygrp-high = ' '.
append s_pygrp.
clear s_pygrp.Message was edited by:
chandrasekhar jagarlamudi
‎2006 Dec 06 9:35 AM
INITIALIZATION.
s_pygrp-sign = 'I'.
s_pygrp-option = 'EQ'.
s_pygrp-low = '1234'.
s_pygrp-high = ' '.
append s_pygrp.
clear s_pygrp.
s_pygrp-sign = 'I'.
s_pygrp-option = 'EQ'.
s_pygrp-low = '5678'.
s_pygrp-high = ' '.
append s_pygrp.
clear s_pygrp.Message was edited by:
chandrasekhar jagarlamudi
‎2006 Dec 06 9:35 AM
initialization.
s_pygrp-low = <defualt value 1>.
s_pygrp-sign = 'I'.
s_pygrp-option = 'EQ'.
append s_pygrp.
clear s_pygrp.
s_pygrp-low = <defualt value 2>.
s_pygrp-sign = 'I'.
s_pygrp-option = 'EQ'.
append s_pygrp.
clear s_pygrp.
‎2006 Dec 06 9:35 AM
Hi Pankaj
We can do that in Initialization event:
Eg:
select-options s_pygrp for dfkkop-pfgrp.
initialization.
s_pygrp-sign = 'I'.
s_pygrp-option = 'EQ'.
s_pygrp-low = 'First Value'.
append s_pygrp.
s_pygrp-low = 'Second Value'.
append s_pygrp.Hope this helps.
Kind Regards
Eswar
‎2006 Dec 06 9:37 AM
Hi,
Initilization block use the following code.
s_pygrp--sign = c_i.
s_pygrp--option = c_eq.
s_pygrp-low = 'VALUE'.
append s_pygrp.
s_pygrp--sign = c_i.
s_pygrp--option = c_eq.
s_pygrp-low = 'VALUE1'.
append s_pygrp.Regards
Bhupal Reddy