03-09-2007 2:38 PM
hi experts,
what is bligatory, i find this in select-options.
thanks in advance,
radhakrishna.
it is very argent.
03-09-2007 2:40 PM
Hello,
OBLIGATORY means<b> mandatory</b> program control will not move until u fill data to that field
If useful reward.
Vasanth
03-09-2007 2:41 PM
obligatory means that filed is mandatory or compulsory....
reward if useful.
03-09-2007 2:44 PM
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
03-09-2007 2:45 PM
hi,
obligatory means mandatory...
U have to enter a value in that particular field in the selection screen.
03-09-2007 2:46 PM
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
03-09-2007 2:48 PM
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.
03-09-2007 2:50 PM
Hi,
The user must enter a value for this selection (in the LOW field).
Regards,
Sreevani
03-09-2007 5:58 PM
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
03-09-2007 2:50 PM
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
03-09-2007 2:50 PM
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.
03-09-2007 2:51 PM
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.