on 06-18-2007 3:18 PM
hi,
i m using table control in module pool and in 1 of the table control fields i m using user defined F4 help which is getting filled from a internal table. if the user enters anything apart from the contents in my F4 help the record should not get saved and system should return error . how and where to put this validation?
please help.
thank you.
validation is not neccessary u make the field list box.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
DO like this.
In screen flow logic.
loop at itab.
module validate.
endloop.
In se38.
module validate.
read table f4_tab with key field = itab-field. " Here f4_tab is ur Search help table.
if sy-subrc ne 0.
error message.
endif.
endmodule validate.
Vasanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Write the code in PROCESS ON VALUE REQUEST in the Module pool Program ....
PROCESS ON VALUE REQUEST
FIELD <Field_name> MODULE <Module_name> ..
Double click on this field then write the function moduel to get the Internal table values when the user press F4 on that field, after completing this check by pressing the F4, if it working fine then the Validation is automatically done by this POV ..
if the USer enters other than the internal table values then the Error message will raised at that stage
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.