10-07-2008 2:45 PM
Hi Experts,
Could you please advice me in making a screen field as mandatory input field in module pool programming.
Thanks in advance.
10-07-2008 2:46 PM
double click screen element to open its propertes
select input required in its properties in program tab
done!!!
Edited by: Amit Gupta on Oct 7, 2008 3:47 PM
10-07-2008 2:46 PM
double click screen element to open its propertes
select input required in its properties in program tab
done!!!
Edited by: Amit Gupta on Oct 7, 2008 3:47 PM
10-07-2008 2:49 PM
Hi,
Goto the screen element attributes by double clicking on the screen field.
and select the Input required check box.
With Regards,
Dwaraka.S
10-07-2008 2:49 PM
in the screen attributes of the field you can see the option to make it mandatory .
in the popup go to Program Tab , in the Input Drop down list choose Required
10-07-2008 2:51 PM
Or you could add a check in a PAI module to check if there is some value, if not give error message.
module check_value.
if lv_value is initial.
message e001(00) with 'Enter a value'.
endif.
endmodule
In the PAI screen flow logic...
Process after input.
field lv_value module check_value.
Regards,
Rich Heilman
10-07-2008 2:55 PM
Hi,
You can check Input field check box from Element list of your scrren.
and define the field like this in your screen
FIELD: ztest_mat_no,
call this logic in forms include.
IF zarc_detl_str-ztest_mat_no = 'M'.
wa_output_detl-job_type = text-101.
ENDIF.
text-101 is the message.
Thanks,
Sree.