Application Development 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: 

Error when displaying a field on Screen with Table Control

Former Member
0 Kudos

Hi,

It is going to 'Dump' when I am trying to display data on the screen with the help of Table Control. From the dump, What I have observed is , there is a field 'ZTSV_FSRDATA-ANZFEHLER'. If this field has negative value, then it is going to 'Dump' saying that the length is not enough. If it has a positive value then it is working fine. But the type of the field in the Internal table & on the screen are same.

Please help me to resolve this error.

I am posting here the Dump message also:

A conversion error occurred while the program was trying todisplay data on the screen.

The ABAP output field and the screen field may not have the same format.

Some field types require more characters on the screen thanin the ABAP program. For example, a date field on a screen needstwo characters more than it would in the program. When attempting to display the date on the screen, an error will occur that triggers the error message.

Thanks,

Sreenivas Reddy Maddi.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Sreenivas,

Refer this thread:

Regards,

Sampath

3 REPLIES 3

Former Member
0 Kudos

Hi Sreenivas,

Can you tell us what is the type of field 'ZTSV_FSRDATA-ANZFEHLER' because if it is amount field then i don't think it will take negative values.

regards,

vicky

Former Member
0 Kudos

Hi Sreenivas,

look at the first thread in the forum with keyword search 'negative values in table control'. If you follow this thread, I am sure that your problem will be solved.

Regards,

Vicky

Former Member
0 Kudos

Hi Sreenivas,

Refer this thread:

Regards,

Sampath