2007 Jan 16 5:25 PM
Hi All,
I got a peculiar problem,
In my dialog screen(ztcode), i have make a field input enable based on machine and position(Ztable). Now my problem is, when this field gets input enabled im getting some value with this(some 30.12), i really dont know where it is comming from. Even i have cleared this field before endmodule (last stmt in PBO).
Now this looks strange when i jus change my code to screen-input = 0 without anyother modification, its coming disabled with value cleared (0.000). I need to get the value cleared when the input is on. Kindly let me know how to solve this.
if zmach = 'TCE1' and zpos = '01'.
loop at screen.
if screen-name = 'BASE_QTY'.
screen-input = 1.
endif.
modify screen.
endloop.
endif.
cleart base_qty.
endmodule.
Plz its urgent.
Will reward u definetly .
Regards,
Senthil
Hi All,
I got a peculiar problem,
In my dialog screen(ztcode), i have make a field input enable based on machine and position(Ztable). Now my problem is, when this field gets input enabled im getting some value with this(some 30.12), i really dont know where it is comming from. Even i have cleared this field before endmodule (last stmt in PBO).
Now this looks strange when i jus change my code to screen-input = 0 without anyother modification, its coming disabled with value cleared (0.000). I need to get the value cleared when the input is on. Kindly let me know how to solve this.
if zmach = 'TCE1' and zpos = '01'.
loop at screen.
if screen-name = 'BASE_QTY'.
screen-input = 1.
endif.
modify screen.
endloop.
endif.
cleart base_qty.
endmodule.
Plz its urgent.
Will reward u definetly .
Regards,
Senthil
2007 Jan 16 5:28 PM
Hi,
Instead of clear you mentioned CLEART..Is this a typo..
Also this code should work..
if zmach = 'TCE1' and zpos = '01'.
loop at screen.
if screen-name = 'BASE_QTY'.
screen-input = 1.
endif.
modify screen.
endloop.
endif.
<b>clear: base_qty</b>.
endmodule.
THanks,
Naren
2007 Jan 16 5:29 PM
2007 Jan 16 5:30 PM
Hi,
It should be cleare when you write the Clear statment in the PBO, it looks strange, just try this one also
if screen-name = 'BASE_QTY'.
screen-input = 1.
<b>Write the Clear statment here</b>
endif.
and write the Clear statment in the PBO, but it should be the first statment, or write the CLEAR in the PAI which executed before that PBO.
Regards
Sudheer
2007 Jan 16 5:32 PM
Hi,
Are you referring the field to any numeric data type?
Check the properties of that field and refer to some other data type.
Regards
Subramanian
2007 Jan 16 5:37 PM
HI,
I have given clear after screen-input, its not getting cleared.
The base_qty type is curr (9).
base_qty like plfh-mgvgw.
Plz help.
Regards,
senthil
2007 Jan 16 5:44 PM
its a typo error. so clear the quanitity in PBO.
It will work fine.
2007 Jan 16 5:49 PM
Plz understand its not a typo error. If it is it will tell syntax error.
Regards,
S
2007 Jan 16 5:58 PM
CHeck the screen attributes
remove the hold data check box.
Vasanth
2007 Jan 16 6:01 PM
2007 Jan 16 6:01 PM
Hi,
Check in the debugging of when is this getting populated..
Steps
/h in the command field..Switch on the debugging..
Create a watch point on the field BASE_QTY.
Then press F8..It will stop where the field is getting modified..
Thanks,
Naren
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |