‎2017 Jan 12 5:41 AM
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
‎2017 Jan 12 5:54 AM
using search help in first field that auto value generating in second field..
‎2017 Jan 12 7:08 AM
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
‎2017 Jan 12 3:10 PM
‎2017 Jan 12 3:22 PM
‎2017 Jan 12 3:36 PM
‎2017 Jan 12 9:17 AM
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.
‎2017 Jan 12 9:34 AM
Thanku Sir,
for enter which function code we use and any event required for that like process on value-request...
‎2017 Jan 12 9:44 AM
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.
‎2017 Jan 12 3:06 PM
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.