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: 

obligatory

Former Member
0 Kudos

hi experts,

what is bligatory, i find this in select-options.

thanks in advance,

radhakrishna.

it is very argent.

11 REPLIES 11

Former Member
0 Kudos

Hello,

OBLIGATORY means<b> mandatory</b> program control will not move until u fill data to that field

If useful reward.

Vasanth

Former Member
0 Kudos

obligatory means that filed is mandatory or compulsory....

reward if useful.

Former Member
0 Kudos

select-options : s_marnr for mara-matr obligatory.

Here you have to enter the matnr , or else it will not allow you to proceed further

Former Member
0 Kudos

hi,

obligatory means mandatory...

U have to enter a value in that particular field in the selection screen.

Former Member
0 Kudos

Hi Radha,

OBLIGATORY in SELECT-OPTIONS means mandatory entry for that field.

If you didnt give value to this field and try to execute the report, it will throw you error stating that field is required and input needed.

It wont execute until you give value to this field.

SELECT-OPTIONS: S_MATNR FOR MARA-MATNR OBLIGATORY. -> Input required

Check this link to know more about SELECT-OPTIONS

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/select_o.htm

Thanks,

Vinay

Former Member
0 Kudos

Hi Radhakrishna,

Obligatory implies that the select option on the selection screen is mandatory , the control will not proceed further until that particular field is filled.

Regards,

Sowmya.

former_member635028
Active Participant
0 Kudos

Hi,

The user must enter a value for this selection (in the LOW field).

Regards,

Sreevani

0 Kudos

hi Sreevani / ALL

as u said in ur answer that low value in the selection screen field should be filled but my question is i dont want this low value in the selection screen field to be made mandatory instead i want high value to be made mandatory. how do i do it.

can any one help me pl.

Regards

fareed

Former Member
0 Kudos

hi radha

obligatory is used in select option to enter data mandatory in to that field,here is sample code

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

SELECT-OPTIONS: s_matnr FOR marc-matnr.

PARAMETER : p_werks LIKE marc-werks <b>OBLIGATORY</b>.

SELECT-OPTIONS: s_lgort FOR mard-lgort,

s_dispo FOR marc-dispo.

SELECTION-SCREEN END OF BLOCK b1.

regards

satya

Former Member
0 Kudos

u defined a field on the selection-screen, user should compulsorly enter data in this field, without this he should not move further. For this requirement we can use obligatory

data: w_matnr type mara-matnr.

select-options: s_matnr for w_matnr.

Former Member
0 Kudos

u defined a field on the selection-screen, user should compulsorly enter data in this field, without this he should not move further. For this requirement we can use obligatory

data: w_matnr type mara-matnr.

select-options: s_matnr for w_matnr obligatory.