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: 

Screen field previous value not going in module pool

Former Member
0 Kudos

Hi all,

I am working on a module pool report which was developed by some other person.

The problem I am facing is that in one screen field the value which was enter in a previous transaction is not getting cleared.

for exa: I executed the report once with screen field - MBLNR = 420001. and saved the data.

Now if I am executing the report again the value for MBLNR still appears (420001).

I have cleared all the data on screen's PAI and PBO but its still not working.


Pls advice the solution.



Thanks,

Vishal.

1 ACCEPTED SOLUTION

former_member196651
Contributor
0 Kudos

Hi Vishal,

This is due to setting of the parameter ID 'MBN'. Do one thing. Instead of clearing, in PBO you try the following code.

SET PARAMETER ID MBN FIELD space.

I think this will solve your issue.

Regards,

Abijith

3 REPLIES 3

former_member196651
Contributor
0 Kudos

Hi Vishal,

This is due to setting of the parameter ID 'MBN'. Do one thing. Instead of clearing, in PBO you try the following code.

SET PARAMETER ID MBN FIELD space.

I think this will solve your issue.

Regards,

Abijith

lijisusan_mathews
Active Contributor
0 Kudos

Your issue could be because the Parameter ID for your field is set.

Check your screen field attributes  to confirm if any Parameter ID is set over there there will be a field for parameter Id and below 2 check boxes for SET and GET ..

If it is set locally, you can just remove it.. otherwise use SET PARAMATER ID 'ID' field SPACE.

Regards,

Suzie

raymond_giuseppi
Active Contributor
0 Kudos

As already written, you could clear the parameter id value in memory, but you could also detach it in from field in your dynpro if you never want this value.

(Remove Parameter ID or unckeck GET parameter box)

Regards,

Raymond