Application Development and Automation 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: 
Read only

select-options

Former Member
0 Likes
491

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
467
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

4 REPLIES 4
Read only

Former Member
0 Likes
468
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

Read only

Former Member
0 Likes
467

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.

Read only

Former Member
0 Likes
467

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

Read only

Former Member
0 Likes
467

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