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

How To Validate Input Fields IN module pool Programming?

Former Member
0 Likes
3,348

Hi Experts,

I need Help Plz Giving me ideas regarding how to validate inputs fields in the module pool programming.

scenario is that there is two input fields, first field contains process type and second field contains process value so at run time while I can Enter Input in first fields it takes corresponding Input value in second field how can i do that.

first field contains :pro1

second will have : val1

Thanks & Regards,

Umesh

9 REPLIES 9
Read only

Former Member
0 Likes
2,431

using search help in first field that auto value generating in second field..

Read only

retired_member
Product and Topic Expert
Product and Topic Expert
2,431

Did you try the documentation? Google for SAP Classical Dynpro Programming and find answers e.g. in Screen Processing, Input Checks under http://help.sap.com/saphelp_nw74/helpdata/en/d5/01fb7d1d574978836b09417434af98/frameset.htm

Read only

0 Likes
2,431

Link was broken for me, Horst.

Read only

2,431

Dang help portal ...

Read only

0 Likes
2,431

Thanks for the correction!

Read only

former_member196331
Active Contributor
0 Likes
2,431

Write the code in Pai. Once press the Enter button pai will be trigger no, Get the input value from pro1 and Get or fetch from the data base or Required table. Now val1 field you are having then fill the Screen painter field of val1. then it display the value.
Hope you understood.

Read only

Former Member
0 Likes
2,431

Thanku Sir,

for enter which function code we use and any event required for that like process on value-request...

Read only

former_member196331
Active Contributor
0 Likes
2,431

I think no event you need, Just Write the code in Pai. After press enter Pai code will be trigger.

DEMO_DYNPRO_INPUT_OUTPUT

Runt above program, and give the input then press enter button then second field i getting automatically. Check it.

Read only

Former Member
0 Likes
2,431

That's right sir actually I have used process_on_value_request event but your idea is good bcoz that is Simple way we can validate inputs.

Thanku.