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

Screen values are getting cleared in Module pool

kamesh_g
Contributor
0 Likes
2,127

Hi

I created one screen and when I give values on screen and press enter the screen values are gettign cleared on screen .

I did not use any clear statement . Please give guidelines to this .

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,431

Hi,

This may be because of following reason.

When ever you take action from module pool screen, your PAI is getting called, Say you fields name is BELNR, during PAI, the fields value transferred from screen variables to program variable. Similarly during PBO, the values getting transferred from program variable to screen variable.

During Enter , check whether your screen value is passed to program variable or not. if not that is the issue.

Second point is, You may use clear in your PAI anywhere.Debug and found that.

Thanks and Regards,

Senthil Kumar Anantham

5 REPLIES 5
Read only

former_member203501
Active Contributor
0 Likes
1,431

Hi,

Then check you are refreshing all the screen values either in PAI or PBO. check refresh or clear statements

Regards,

Venkat Appikonda.

Read only

Former Member
0 Likes
1,431

Hi Kamesh,

Put /h and press enter and see where the values are gettting cleared

i think you wiill solved query on your own once you debug the code.

Thanks and regards

Nilesh Gaikwad

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,431

- Did you write explicit FIELDS statements in PBO or PAI

- Did you define the dynpro fields in the program

answering these questions is going to put you on the way. (especially if answer is NO & NO)

If actual beginner, check [Screen Fields |http://help.sap.com/abapdocu_70/en/ABENABAP_DYNPROS_FIELDS.htm]

Regards,

Raymond

Read only

Former Member
0 Likes
1,432

Hi,

This may be because of following reason.

When ever you take action from module pool screen, your PAI is getting called, Say you fields name is BELNR, during PAI, the fields value transferred from screen variables to program variable. Similarly during PBO, the values getting transferred from program variable to screen variable.

During Enter , check whether your screen value is passed to program variable or not. if not that is the issue.

Second point is, You may use clear in your PAI anywhere.Debug and found that.

Thanks and Regards,

Senthil Kumar Anantham

Read only

kamesh_g
Contributor
0 Likes
1,431

Fixed with some inputs .Thanks for all