‎2008 Jan 11 10:56 AM
Hi Guys,
need help here. I have a form. But before calling the form, there must be a validation. Ths validation checks a particular field in a table. Basically if the field is 'x' then we show the form. Otherwise, a message box appear..How can i do this? Thanks
‎2008 Jan 11 11:13 AM
hi Nahoj,
i think you should perform validation before calling form,
as follow.
select single field_name
from table_name
where field _name = 'X'.
if sy-subrc <0>.
message***********
else.
*****
(call form. here)
******
endif.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jan 11, 2008 5:42 PM
‎2008 Jan 11 10:58 AM
‎2008 Jan 11 11:09 AM
hi Nahoj,
i think you should perform validation before calling form,
as follow.
select single field_name
from table_name
where field _name = 'X'.
if sy-subrc <0>.
message***********
else.
*****
(call form. here)
******
endif.
<REMOVED BY MODERATOR>
Sandeep
Edited by: Alvaro Tejada Galindo on Jan 11, 2008 5:41 PM
‎2008 Jan 11 11:13 AM
hi Nahoj,
i think you should perform validation before calling form,
as follow.
select single field_name
from table_name
where field _name = 'X'.
if sy-subrc <0>.
message***********
else.
*****
(call form. here)
******
endif.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jan 11, 2008 5:42 PM