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

Field problems in a screen

Former Member
0 Likes
1,268

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?

Are a module pool.

And the fields are the same domain because uising the stardant field type J_1BNETPRI.

11 REPLIES 11
Read only

anjan_paul
Active Contributor
0 Likes
1,236

HI,

It may happen because you move 900.000,000000 but you have to move 900.000000000.

So ' , ' must not move.

Try it.

Read only

Former Member
0 Likes
1,236

Hi,

The problem is with the ',' coma in the value. Remove the coma from the amount and pass the value.

Regards,

Srini.

Read only

0 Likes
1,236

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!

Read only

0 Likes
1,236

Hi,

Please check fields vlr_fornec and vlr_orig, both domain are same or not.

Read only

0 Likes
1,236

Are a module pool.

And the fields are the same domain because uising the stardant field type J_1BNETPRI.

Read only

0 Likes
1,236

Please try to add an output mask to your screen field like

_.___.___.___,______

Go to the screen field attributes and insert it in there.

Read only

0 Likes
1,236

I did, but isn't works.

Read only

0 Likes
1,236

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

Read only

0 Likes
1,236

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!

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,236

Is it a module pool ?

Read only

Former Member
0 Likes
1,236

The problem was in a batch input