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

Module Pool Programing

Former Member
0 Likes
645

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

5 REPLIES 5
Read only

former_member195270
Active Participant
0 Likes
613

Use Function Module DYNP_VALUES_UPDATE. hope this will solve the problem.

Read only

0 Likes
613

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

Read only

Former Member
0 Likes
613

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

Read only

RaymondGiuseppi
Active Contributor
0 Likes
613

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,

  • WHAT - are you speaking of a single input field or a class-driven control like CL_GUI_TEXTEDIT, CL_GUI_SAPSCRIPT_EDITOR ?
  • WHEN - do you want to get the data in PAI, in POV (F4) ?

(Read the Rules of Engagement)

Regards,

Raymond

Read only

Former Member
0 Likes
613

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