Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

To Validate a condition in program

Former Member
0 Likes
421

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

2 REPLIES 2
Read only

Former Member
0 Likes
386

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

Read only

Former Member
0 Likes
386

Moderator message - Please do not ask or answer basic questions - thread locked

Rob