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

selection screen

Former Member
0 Likes
749

Hi,

How to code in this case if the field to be entered is "single entry only" and single range.Please help

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
732

Hi,

use addition

no-interval

and no-extension

for detail syntax check

http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dba76d35c111d1829f0000e829fbfe/content.htm

regards,

anirban

8 REPLIES 8
Read only

Former Member
0 Likes
733

Hi,

use addition

no-interval

and no-extension

for detail syntax check

http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dba76d35c111d1829f0000e829fbfe/content.htm

regards,

anirban

Read only

GauthamV
Active Contributor
0 Likes
732

hi,

use this.

select-options: s_matnr for mara-matnr no intervals no extension.

Read only

Former Member
0 Likes
732

Hi,

Try using this -

PARAMETERS : p_num TYPE i DEFAULT 10.

DATA spfli_wa TYPE spfli.

SELECT-OPTIONS s_carrid FOR spfli_wa-carrid no intervals.

OR

SELECT-OPTIONS s_carrid FOR spfli_wa-carrid no intervals no database selection no-extension.

Hope this helps.

Regds

Seema

Read only

Former Member
0 Likes
732

Hi ,

You have two ways .

1 .Paramter : P1 like mara-matnr

2 .Select-options : s_option for mara-matnr no-extension no intervals.

Read only

Former Member
0 Likes
732

Hi,

To allow the user to process only single fields on the selection screen, you use :

SELECT-OPTIONS meins FOR mara-meins NO INTERVALS
                                           NO-EXTENSION

thanx.

Read only

naveen_inuganti2
Active Contributor
0 Likes
732

Hi.. Saranya...

Make that element with that entry as default if parameter or default between A and B if selectoption.

or..

Do validation for that entry in AT SELECTION-SCREEN event.

Thanks,

Naveen.I

Read only

Former Member
0 Likes
732

Hi,

u can use "no intervals no-extension"

for eg: select-options s_vbeln for vbak-vbeln no intervals no-extension

u can also use "parameter"

for eg: Parameter p_id like <table name>-<field name>.

Read only

Former Member
0 Likes
732

hi,

SELECT-OPTIONS <seltab> FOR <f> ..... NO INTERVALS .......

u just give the inbound range but dont put the outbound so that it ll give u a single value entry not ranges.

thanx