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

Screen- Table Control.

Former Member
0 Likes
819

Hi Gurus,

I have a Table control on Screen.

It has 3 columns.

Col 1 = MEINH

Col 2 = LABST

Col 3 = Character6 field

When I run the transaction I am getting a DUMP.

There was a conversion error in the output of fields to the screen.

The formats of the ABAP output field and the screen field may not match.

Some field types require more space on the screen than in the ABAP program. For example, a date output field on the screen requires two more characters than the corresponding field in the ABAP program. When the date is displayed on the screen, an error occurs resulting in this error message.

Please help me to solve this.

Regards

Avi......

6 REPLIES 6
Read only

Former Member
0 Likes
796

Hi

You are getting the DUMP because the data type of the fields declared in program does not match with that of Screen Fields. Goto Layout editor, double click on the field of table control, you will get a separate box at the right corner, where you can set the attributes, types etc. Set the correct type here so as to match the one declared in program.

Thanks

Vijay

PLZ reward points if helpful

Read only

Former Member
0 Likes
796

hi,

Try to increase the length of the fields in the screen.

i.e, the column length

Regards,

Arunsri

Read only

Former Member
0 Likes
796

Hi Avi,

Check the attribute of the column. Now you have a decimal quantity field LABST being displayed.

Double click ont he corresponding column for LABST field in table control. In the Attributes section in the pop up, check the Format value for the column. It should be QUAN.

If it is not, make it QUAN and then check again.

Cheers,

Aditya

Read only

0 Likes
796

Hi Aditya,

When I put QUAN its giving me Error message - ZLE1_ITST-LABST , the currency field is not Specified.

Regards

Avi...

Read only

0 Likes
796

Hi,

Good, this is expected, and sorry for not telling you earlier.

Assuming ZLE1_ITST is your work area and MEINH the unit field, put ZLE1_ITST-MEINH in the "Ref. Field" in the same area where you selected QUAN (approx. four rows below).

Cheers,

Aditya

Read only

0 Likes
796

Hi Aditya,

I got it solved . I need to click on "With Sign" in the attributes section. Now its working fine for me.

Regards,

Avi..