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

Default Value in List box

Former Member
0 Likes
749

Hi all.

I created a Language Field with List box and i need to update default value Ducth to it.

after the screen processing i will change the Field value to another language English.

As after the PAI it will go to PBO, then the changes to the Language are not ignored and the same default value is showing ducth,

How to maintain the Cahnge value into List box.

Regards,

Madhavi

Hi all.

I created a Language Field with List box and i need to update default value Ducth to it.

after the screen processing i will change the Field value to another language English.

As after the PAI it will go to PBO, then the changes to the Language are not ignored and the same default value is showing ducth,

How to maintain the Cahnge value into List box.

Regards,

Madhavi

4 REPLIES 4
Read only

MarcinPciak
Active Contributor
0 Likes
686

Hi,

Where fo you assing your default value, in PBO? If so move it to INITAILIZATION.


PARAMETERS listbox TYPE t002-spras AS LISTBOX VISIBLE LENGTH 10.

INITIALIZATION.
listbox = 'NL'.

or simply define your listbox with default value


PARAMETERS listbox TYPE t002-spras AS LISTBOX VISIBLE LENGTH 10 DEFAULT 'NL'.

Now all changes in listbox are visible in PAI.

Regards

Marcin

Read only

Former Member
0 Likes
686

hi,

Store default value into variable of listbox and use INITIALIZE event to store the value.

Read only

Former Member
0 Likes
686

hi,

i think you can use default key word and assign a value to the parameter at run time in the INITIALIZATION EVENT.

Read only

Former Member
0 Likes
686

thanks