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

delete particular entry from select option

Former Member
0 Likes
1,399

select-options s_curr FOR tcurr-tcurr

at selection screen i enter ADP to ZRN

but i want to delete where currency is EUR this check is only for EUR .

Please suggest some code .

select-options s_curr FOR tcurr-tcurr

at selection screen i enter ADP to ZRN

but i want to delete where currency is EUR this check is only for EUR .

Please suggest some code .

8 REPLIES 8
Read only

former_member386202
Active Contributor
0 Likes
1,183

Hi,

try like this

delete s_curr where s_curr-low = 'EUR'.

Regards,

Prashant

Read only

former_member386202
Active Contributor
0 Likes
1,183

Hi,

try like this

delete s_curr where s_curr-low = 'EUR'.

Regards,

Prashant

Read only

0 Likes
1,183

Sorry but this will not work.

Read only

Former Member
0 Likes
1,183

Hi,

1. One option is that inside the code where you are selecting some records from database,

you do not select EUR and proceed further.

2. One option is that by code,

you MODIFY the select option

so that it EXCLUDES the value EUR.

eg.

s_curr-sign = 'E'.

s_curr-option = 'EQ'.

s_curr-low = 'EUR'

append s_curr.

The above value will come in EXCLUDE tab (red colured tab) of the select option, and it fundamentally means to exclude EUR.

Hope this helps.

regards,

amit m.

Read only

Former Member
0 Likes
1,183

Hi Gaurav,

You can use Exclude function of Select-option..

If it's static everytime then you can write a code like below...

S_CURR-SIGN = 'E'. " Exclude
S_CURR-OPTION = 'EQ'.
S_CURR-LOW = 'EUR'
APPEND S_CURR.

But if value EUR is not static then Select-Option is having this functionality...

Press the Right Side Arrow Button..

Then use Tabs

Exclude Single values

Exclude Range..

You/User can specify the values you want to exclude here..

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

ilesh Nandaniya

Read only

Former Member
0 Likes
1,183

i got the answer.

thanks to all those who help me .

Read only

Former Member
0 Likes
1,183

i got the answer.

thanks to all those who help me .

Read only

Former Member
0 Likes
1,183

i got the answer.

thanks to all those who help me .