2010 Dec 23 12:28 PM
Hello,
I'm having a problem with a field in a screen,
I have one field zmmtnfw7-vlr_fornec with the type J_1BNETPRI.
When I do zmmtnfw7-vlr_fornec = i_1bnflin-netpr i receive a erro in a screen with Insert a numeric value.
The value is 900.000,000000 but in the screen appears *0000,000000
So my table zmmtnfw7 has other field with the same type zmmtnfw7-vlr_orig
IF I put this field in a screen and refer to the dictionary this problem don't occur!
The booth field are the same type and the same configuration and receive the same value but one works and other isn't!
I try using write i_1bnflin-netpr TO zmmtnfw7-vlr_fornec. OR move i_1bnflin-netpr TO zmmtnfw7-vlr_fornec, but the error occur again!
Why I can do?
Hi,
The problem is with the ',' coma in the value. Remove the coma from the amount and pass the value.
Regards,
Srini.
2010 Dec 23 12:38 PM
HI,
It may happen because you move 900.000,000000 but you have to move 900.000000000.
So ' , ' must not move.
Try it.
2010 Dec 23 12:38 PM
Hi,
The problem is with the ',' coma in the value. Remove the coma from the amount and pass the value.
Regards,
Srini.
2010 Dec 23 12:46 PM
Guys,
I will try, but, this value was in the table like i wrote here.
If I do zmmtnfw7-vlr_orig = j_1bnflin-netpr. I don't have the problem with the same value and with ",".
And the problam isn't the coma because the coma was a mask in the screen! the problam is the character "*" but i don't now where they appears!
2010 Dec 23 12:58 PM
Hi,
Please check fields vlr_fornec and vlr_orig, both domain are same or not.
2010 Dec 23 1:06 PM
Are a module pool.
And the fields are the same domain because uising the stardant field type J_1BNETPRI.
2010 Dec 23 1:28 PM
Please try to add an output mask to your screen field like
_.___.___.___,______Go to the screen field attributes and insert it in there.
2010 Dec 23 1:35 PM
2010 Dec 23 1:38 PM
Hi,
Please check does it transfer write value.
Because look at the code----
data: i type netpr value '12369.87'.
data: k type J_1BNETPRI.
move i to k.
write: k, i.
The output is:
k = 1.236987
i = 12,369.87
2010 Dec 23 2:56 PM
I can't know what it works when a use the fild vlr_orig and why is it not work when a using vlr_fornec? the both are de same type, the same configuration at screen i just change the name, in the table the same configuration too!
2010 Dec 23 12:49 PM
2011 Jan 20 1:36 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |