‎2008 Apr 03 5:38 PM
Hi!
I'm beginning with ALV's and i have a problem when saving the content of a grid to a Z table that i built.
So...i have one collum that is of type mseg-menge ( i declared like this: zfield like mseg-menge). When i fill in the ALV this cell (for example, with the number 10000) and then hit the save button (wich i control at user_command) it changes that value to 10,000 and saves to the Z table like '*00'.
Does anybody knows how can i solve this problem?
Regards,
RT.
‎2008 Apr 03 8:07 PM
‎2008 Apr 03 5:44 PM
Why don't you see if the following code in the field catalog (assume structure is wa) does what you want. It suppresses the conversion exit.
wa-no_convext = abap_true.Your target field may also be too narrow. You should make sure it is wide enough.
‎2008 Apr 03 6:06 PM
I there.
I copied the line of code that you posted butt it stayed the same thing. It noticed that is saving the 10000 like *01.
‎2008 Apr 03 8:03 PM
Hi,
When you save your data in the internal table, try using the TRANSLATE command, or maybe you can change the type of your ALV field to string!
Best Regards
Erick
‎2008 Apr 03 8:07 PM
‎2008 Apr 04 6:42 PM