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

Query

Former Member
0 Likes
795

Suppose user wants one of the select-options or parameters in the selection screen as mandatary element i.e., without giving value to the element,the report output cannot be displayed.Is there any keyword has to be assigned to the element declaration??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
776

Sir, aye, Sir, the Key word is "Obligatory"

8 REPLIES 8
Read only

Former Member
0 Likes
777

Sir, aye, Sir, the Key word is "Obligatory"

Read only

0 Likes
776

Can you plz explain in brief about this keyword??

Read only

0 Likes
776

well the word obligatory is quite self explaining...

but still it means exactly the same as mandatory in this scenario ...

so if you make a parameter or a Select option obligatory, you make it mandatory (means user HAS TO provide a value for it).

Message was edited by:

Florian Kemmer

Read only

Former Member
0 Likes
776

Hi vijay,

Welcome to SDN.

1. we can use the syntax OBLIGATORY while declaring the parameter.

eg.

PARAMETERS : A(10) TYPE C <b>OBLIGATORY</b>.

regards,

amit m.

Read only

0 Likes
776

Ya its working fine....thank you

Read only

Former Member
0 Likes
776

Hi,

Please try with the keyword OBLIGATORY after the select options declarations.

Hope it will work.

Thanks,

Sandeep.

Read only

Former Member
0 Likes
776

YES

OBLIGATORY is the keyword for this

EX: SELECT-OPTIONS : EBELN FOR EKKO-EBELN OBLIGATORY .

EX: PARAMETERS : EBELN LIKE EKKO-EBELN OBLIGATORY

<u>OBLIGATORY</u>

This addition defines the input field of the parameter on the selection screen as a required field. If no entry is made in this field, the user cannot use the Execute function (F8) to exit the selection screen, they can only use the functions Back, Exit, or Cancel.

Read only

Former Member
0 Likes
776

Hi,

OBLIGATORY.

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.

Thanks,

Sandeep.