Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

problems with user fields

Hi, I need some help.

I try to assign a user field from a float var, the problem is, only the entire part was wrote on the field and the decimal part doesn´t appear or it´s lost.

From user field to a var doesn´t have problems.

FoUsrTable.UserFields.Fields.Item(TObject(j)).Value := tobject(fValor);

I need to do something special?

Regards and thanks

Former Member
Former Member replied

Hi Juan Correa

You must make sure that your userfield is of the correct type, make sure it does accept decimal points. Check from the front end of SBO if it is correct. If not, change the type of the field until you get it in the desired format in the UDF definition. Remember that under general settings you can also set the additional decimal points as you please.

If it is still giving you a problem then the way you are placing it in there is causing a problem. Maybe place a small code snippet if you don't come right.

Hope this helps

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question