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 : No-Display?

Former Member
0 Likes
13,514

Hi Experts,

One simple doubt, pls. clarify that,

Wht is the practical use of NO-DISPLAY in SELECT-OPTIONS(I gone thru SAP help, but did not get any!)? like,

<b>p_vprsv like mbew-vprsv no-display.</b>

thanq.

1 ACCEPTED SOLUTION
Read only

Former Member
6,556

Hi Srikhar,

The NO-DISPLAY is used for not displaying the parameter/select-option on the selection screen.

When you execute the program stand alone, that time the use of not displayed parameter is only like a normal work area..

But we use them when we call this program from another program using SUBMIT REPORT statment. This time we can pass a value to this parameter..

So, see if u want to build an application, such that when u execute it stand alone, it should give one result and when you call this from another program, it should give some other result..

This can be acheived by use of NO-DISPLAY parameter.

Thanks and Best Regards,

Vikas Bittera.

**Points for useful answers**

Hi Experts,

One simple doubt, pls. clarify that,

Wht is the practical use of NO-DISPLAY in SELECT-OPTIONS(I gone thru SAP help, but did not get any!)? like,

<b>p_vprsv like mbew-vprsv no-display.</b>

thanq.

6 REPLIES 6
Read only

Former Member
0 Likes
6,556

Hi,

NO-DISPLAY means the parametr/Select-option will not display in the selection screen, but you can use the paramter/Select-option in the program

Regards

Sudheer

Read only

Former Member
0 Likes
6,556

Hi,

By using NO-DISPLAY for select-options is kind of parameter, but apart from this u can enter multiple single values into this field. And you cannot enter ranges of values by using NO-DISPLAY.

To avoid using ranges and able to enter multiple single values.

thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
6,556

hi,

in output of the report u wont get the parameter which gave as no-display. for such parameters u should give only default values.

if helpful reward some points.

with regards,

Suresh Aluri.

Read only

Former Member
6,557

Hi Srikhar,

The NO-DISPLAY is used for not displaying the parameter/select-option on the selection screen.

When you execute the program stand alone, that time the use of not displayed parameter is only like a normal work area..

But we use them when we call this program from another program using SUBMIT REPORT statment. This time we can pass a value to this parameter..

So, see if u want to build an application, such that when u execute it stand alone, it should give one result and when you call this from another program, it should give some other result..

This can be acheived by use of NO-DISPLAY parameter.

Thanks and Best Regards,

Vikas Bittera.

**Points for useful answers**

Read only

Former Member
0 Likes
6,556

The LOW and HIGH fields of a selection option are displayed in a length up to 18 bytes long (scrollable up to 45 bytes). If you define a length longer than 45, fields are truncated on the selection screen after the 45th character. This affects the first line of the SELECT-OPTIONS table. You can, however, pass longer selection options to a report if they are specified with the addition NO-DISPLAY and thus do not appear on the selection screen. Without NO-DISPLAY , the fields are then truncated whenever the selection screen is processed in the background (SUBMIT without VIA SELECTION-SCREEN ).

... NO-DISPLAY

Effect

Does not display the selection on the selection screen. Creates the internal table sel as with 'normal' selection options and you can then transfer the selection option with SUBMIT .

These selection options represent a part of the interface which the user does not see on the selection screen. You can set the values either internally (through the routine INIT in SAPDBldb or INITIALIZATION in the report) or with SUBMIT . These selection options are also stored for variants.

Sometimes, (e.g. when the user has entered particular values for other selection options or parameters ), you may want to display these undisplayed selection options on the screen so that the user can enter values. You can do this in the routine PAI of the database program SAPDBldb (for database-specific selection options) or under AT SELECTION SCREEN (for report-specific selection options) by calling a function module (see CALL FUNCTION ) or your own screen (CALL SCREEN .

also refer this

http://www.erpgenie.com/phpBB2/viewtopic.php?p=16454&sid=74b2d670b72ac27732cbee2f97d51098

regards,

srinivas

<b>*reward for useful answers*</b>

Read only

varma_narayana
Active Contributor
0 Likes
6,556

Hi..

In this case the SELECT-OPTIONS or the Parameters Variable is Created in the Memory but It is not displayed in the Output..

But if you want to Display it dynamically based on selection of a Radio button or Checkbox

you can display it in the Event AT SELECTION-SCREEN OUTPUT.

Eg; Try this code.........

PARAMETERS: P_MTART TYPE MARA-MTART DEFAULE 'ROH'.

PARAMETERS: P_ROWS AS CHECKBOX USER-COMMAND CH. "Enter rows

SELECT-OPTIONS: S_ROWNO FOR I NO-DISPLAY.

AT SELECTION-SCREEN OUTPUT.

IF P_ROWS = 'X'.

LOOP AT SCREEN.

IF SCREEN-NAME = 'S_ROWNO-LOW'

OR SCREEN-NAME = 'S_ROWNO-HIGH'.

SCREEN-INVISIBLE = 0.

SCREEN-ACTIVE = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ELSE.

LOOP AT SCREEN.

IF SCREEN-NAME = 'S_ROWNO-LOW'

OR SCREEN-NAME = 'S_ROWNO-HIGH'.

SCREEN-INVISIBLE = 1.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

<b>Reward if Helpful</b>