12-19-2006 3:47 AM
Dear all experts,
in the selection-screen,user need to key in the vendor consignment code ( vdrcsg for mslb-lifnr ) some user key in storage location ( mseg-lgort ) in this field. Is there anyway tat i can do verification before procees to the start-of-selection? how to check if the user key in correct data type to the selection screen? thanks
12-19-2006 3:53 AM
12-19-2006 3:56 AM
how to check ya? i mean errm..wat syntax to use for checking the input type?
thx
12-19-2006 3:56 AM
Hi ,
You can use the event at selection-screen on field_name.
since your field in selection screen is vdrcsg (the parameter name)
so the statement would be
AT SELECTION-SCREEN ON vdrcsg.
select * from lfa1
where lifnr = vdrcsg.
if sy-subrc <> 0.
"error message.
endif.
Similarly write the code for tour storage location , comparing the entered value with values in table T001L.
Regards
Arun
12-19-2006 3:58 AM
12-19-2006 4:02 AM