Application Development 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: 

selection screen regarding

Former Member
0 Kudos

hi all,

there is a selection screen

Number of storage occupied

and the criterial should be less than, more than, different

can any one help me with this

thanks

anupama

4 REPLIES 4

Former Member
0 Kudos

Hi Deep,

The below links could be of help:

https://forums.sdn.sap.com/click.jspa?searchID=10308531&messageID=4671952

https://forums.sdn.sap.com/click.jspa?searchID=10308531&messageID=4826989

Kindly Reward Points If You Found The Reply Helpful,

Cheers,

Chaitanya.

venkat_o
Active Contributor
0 Kudos

Hi Anupama,

Please try to explain clearly what you need exactly.

Please go through the following link.

[Selection-screen.|http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm]

Regards,

Venkat.O

Former Member
0 Kudos

hi venkat,

my requirement is like i have a selecttion screen

no of storage bins and there should be a option for this for user to enter gt lt or bt it if user enter a value in this field then the record from the internal table has to be fetched (final data is in the internal table) it should fetch data based on this

help req

\

thanks

anupama

Former Member
0 Kudos

Hi,

try this value-options

SELECT-OPTIONS - value_options

Syntax

... [DEFAULT val1 [TO val2] [OPTION opt] [SIGN sign]]

[LOWER CASE]

[MATCHCODE OBJECT search_help]

[MEMORY ID pid] ... .

Extras:

1. ... DEFAULT val1 [TO val2] [OPTION opt] [SIGN sign]

2. ... LOWER CASE

3. ... MATCHCODE OBJECT search_help

4. ... MEMORY ID pid

Effect

These additions allow you to specify a start value, allow lower case, and integrate a search help or a SET/GET parameter.

Addition 1

... DEFAULT val1 [TO val2] [OPTION opt] [SIGN sign]

Effect

This addition defines start values for the columns in the first line of the selection table . Without the addition DEFAULT, initial values of the corresponding type are used as start values.

val1 and val2 are used to define start values for columns low and high. These start values can either be specified as literals or as previously defined data objects. If the data type of the specified start values does not match the data type of the columns, these are converted according to the conversion rules.

The addition OPTION is used to define the start value for the option column. If the addition TO is not specified, you must specify one of the expressions eq, ne, ge, gt, le, lt, cp, or np directly for opt. If the addition TO is specified, you must either specify bt or nb. If the addition OPTION is not used, the content of the option column is set to "EQ" or "BT". If you specify cp or np, the start value in val1 must contain at least one of the wildcard characters "" oder "+" when data transfer takes place to the selection table, otherwise the program terminates.*

The addition SIGN is used to define the start value for the sign column. You must either specify i or e directly for sign. If the addition SIGN is not used, the content of column sign is changed to "I".

The times at which the start values are transferred to the first position in the selection table are processed in the same way as with the addition DEFAULT to the PARAMETERS statement. If the selection table is not empty when the transfer takes place, the start values are not transferred to the first position. Only the header line in the selection table is filled with these values, which does not influence the selection criterion.

Note

The corresponding input fields on the selection screen are only filled with the start values if the first line in the selection table is not changed before the selection screen is sent. The system displays the value contained in the selection table when the event AT SELECTION-SCREEN OUTPUT has been processed. Start values for multiple selection can only be defined by inserting lines in the selection table.

Addition 2

... LOWER CASE

Effect

This addition prevents the content of character-like fields from being converted to block capitals when the data is transported from the input fields on the selection screen to the selection table.

Addition 3

... MATCHCODE OBJECT search_help

Effect

This addition links the input fields for the selection criterion to a search help search_help from the ABAP Dictionary. You must specify the name of the search help directly. The addition has the same effect on the input fields as when it is used with a PARAMETERS statement for an input field for a parameter.

Addition 4

... MEMORY ID pid

Effect

This addition links the first input field to a SET/GET parameter in the SAP Memory. You must specify the name of the SET/GET parameter directly and it can only contain a maximum of 20 characters. The addition has the same effect on the first input field as when it is used with a PARAMETERS statement for an input field for a parameter.

reward if helpful

Edited by: Ashish Paliwal on Apr 2, 2008 12:52 PM