validation for partner number
i have a selection screen with partner function and partner number.
not i need to validate the partner no against the entered partner function and partner number need not be a customer only so i cannot validate it from table kna1.
Can anyone tell me how to validate the partner no in such case or is there any FM to validate the same.
any pointers will be highly appreciated.