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

Field Mandatory

Former Member
0 Likes
887

Hi,

How to make a filed mandatory on the selection screen?

Regards

Sha

Hi,

How to make a filed mandatory on the selection screen?

Regards

Sha

7 REPLIES 7
Read only

Former Member
0 Likes
845

Select-option: matnr for mara obligatory.

Put the word Obligatory, then its become Mandatory.

Akshitha.

Read only

Former Member
0 Likes
845

tables : kna1.

select-options : s_field for kna1-kunnr OBLIGATORY.

Read only

Former Member
0 Likes
845

You can make Parameters and Select-Options mandatory

Parameters: p_matnr type matnr obligatory.

Read only

Former Member
0 Likes
845

Hi.

OBLIGATORY

Effect

This addition defines the first input field for the selection criterion on the selection screen as a required field. If this field is blank, the user cannot exit display of the selection screen using the Execute function (F8), but only using the functions Back, Exit, or Cancel.

<REMOVED BY MODERATOR>

Regards.

Jay

Edited by: Alvaro Tejada Galindo on Jun 3, 2008 6:19 PM

Read only

Former Member
0 Likes
845

Hi,

You can use the OBLIGATORY addition to the PARAMETERS statement to make the parameter a required field on the screen on which it is defined. You can set this attribute (or remove it, using OBLIGATORY OFF) for each copy of the parameter. If you do not use either of the additions, the attribute is derived from the 'original' parameter definition.

for example

PARAMETERS f1(10) TYPE C OBLIGATORY.

here f1 is the mandatory parameter.so u should fill the value for this parameter.

thanks.

regards,

dhaya.

Read only

Former Member
0 Likes
845

hi,

parameters: testchar type string obligatory.

this way u can make the field oblagatory.

Read only

Former Member
0 Likes
845

thanks for the help