KS12 - How to put validity check on Person Responsible Field
I have created a List Variant for KS12 (Mass Cost Center change) Tcode. It includes Person Responsible Field also. However there are some issues when compared to individual processing (KS02).
User enters the employee ID in Person Responsible (PR) field which is validated from TCJ04 table. So it does the following:
- Fetches and populates the PR name from the TCJ04 tbale
- Throws an error if employee ID doesnt exist.
- Doesnt connect with TCJ04 table and saves and populates the Employee ID entered by user. Requirement is that name should be populated.
- Doesnt throw an error if employee ID doesnt exist.
As per my understanding, we need to have some code written to have a validity check with TCJ04.
Could you someone guide how this could be done?
Thank you very much!