Skip to Content
-2

How To Validate Input Fields IN module pool Programming?

Jan 12, 2017 at 05:41 AM

172

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded

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.

0
Former Member
Kali Charan

Thanku Sir,

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

0

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.

0
Former Member
Kali Charan

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.

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Horst Keller
Jan 12, 2017 at 07:08 AM
2

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

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Link was broken for me, Horst.

0

Dang help portal ...

1

Thanks for the correction!

0
avatar image
Former Member Jan 12, 2017 at 05:54 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded