Validate partner number
i have a selection screen with partner role and partner number fields.
now my query is how to validate the partner number against partner role entered.
For example, 832000 is Holding Customer. However, system is accepting it with the Partner Function 1B which is for Reporting Customer.
Can anyone tell how to validate this condition or is there any fm to validate the same.