Application Development 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: 

Value getting cleared on pressing enter in module pool in QM01

sunisonu
Explorer
0 Kudos
180

Hi experts,


I created a custom field in QM01 screen but it is getting cleared on pressing enter , i checked the code in debugging the value is reatined in pbo and pai and till end of debugging the value is there in the field but in screen it is getting cleared . Even in screen attributes i have given the field as both input/output field.


please require your help ASAP.


thanks in advance

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos
145

How is the data passed from program to dynpro (PBO) and back (PAI)

  • Same field name is used in global data of dynpro program using DATA (not main program of transaction ) or shared in program group using TABLES statement than on screen dynpro definition (required for PBO)
  • In PAI a FIELD statement can change logic
  • Pressing Enter trigger a PAI/PBO cycle

In debug look at global data or shared variables, not some local variable.