‎2010 Jan 15 12:34 PM
Hi,
I have to put a condition in custom program that ~
For a plant in the selection screen field which is does not lie in the table for T001K for company code u20181000u2019 and in the table T001W for the Node Type entered on the selection screen field there should be a error message that 'For company code 1000 only Chilled DSD plants with a node type of DSD should be enteredu201D.
How to validate this condition in my Program by code.
Please suggest.
Thanks
‎2010 Jan 15 12:49 PM
Hi
In Initialization,
1.Get data from table T001K and T001W into 2 different internal tables based on Company code and sort them by key values.
Now in Selection-screen Validations: You can read these 2 internal tables and accordingly issue the error message.
Regards
Raj
‎2010 Jan 15 2:32 PM
Moderator message - Please do not ask or answer basic questions - thread locked
Rob