2013 Jan 18 7:27 AM
Hi All,
I have one problem how to get the value from text field in module pool programing . means that i want to get the matnr value when
i put the matnr value in defined text box and stored in one variable .
thanks and regards
suraj singh
Moderator Message: very basic, please read module pool basics and SAP help for more details
Message was edited by: Kesavadas Thekkillath
2013 Jan 18 7:35 AM
Use Function Module DYNP_VALUES_UPDATE. hope this will solve the problem.
2013 Jan 18 7:36 AM
Hi Suraj,
Declare a same name variable in the TOP include module program, same as in screen,
you will get the value in the PAI event .
Thanks and regards,
Rajkamal
2013 Jan 18 8:27 AM
did you create custom screen in LAYOUT EDITOR if yes then values from your custom screen to program can be transfer by system automatically you just have to create a variable in your program with same name.
if your screen is selection screen then in your program you can use FM DYNP_VALUES_UPDATE. but this FM mostly used in case when you need to get value for F$ search help
if issue still persist then please elobrate your question
2013 Jan 18 8:45 AM
I have one problem, how could I get the value from a text field in module pool programing. I want to get the matnr value when put the matnr value in defined text box and stored in one variable
Well, not sure to understand your question,
(Read the Rules of Engagement)
Regards,
Raymond
2013 Jan 18 8:47 AM
module pool screen filed and your report filed name(in declaration part) is same then dynamically the value will come in to the filed easily
I think so its Basic question and before posting please do the proper search .
Regards
Mahesh