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

maintenance screen

Former Member
0 Likes
4,244

Hi fellow developers,

I recently tried to create a table with a field for a large message (CHAR255).

No problems there, but when I create the table maintenance (using transaction SE56) I get the message that the input box for this field was reduced to size 132. Also, when I try to adapt the size in the Screen Painter, it keeps saying this is the maximum size. Consequence: when I use SM30 to update the table, the input field is too short for my message.

Any ideas how to circumvent this problem? (using SE16 to make an entry is not an option at this project)

Thx a lot

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,118

When you create the maintenance view, the width will default to a size that will not fit in 255 characters, but it will allow you to input values with more characters than could be viewed in the table control.

In your case, if it is not allowing you to use more than 132 characters, then likely you need to regenerate your maintenance table (this could be because you initially declared your field as 132 and then changed to 255 without rebuilding).

1) open your customizing table using se11.

2) utilities->table maintenance generator

3) generated objects->change

4) select all the items, and in the next screen select all items.

this will rebuild your maintenance screen that you see in sm30.

You can also change your screen layout in sm30 screen to increase the width. To do this, go to the table maintenance generator view in se11 goto Environment->modification->maintenance screens. (make sure to first exit out of the se11/maintenance generator if you are in change mode).

Goodluck

4 REPLIES 4
Read only

Former Member
0 Likes
2,119

When you create the maintenance view, the width will default to a size that will not fit in 255 characters, but it will allow you to input values with more characters than could be viewed in the table control.

In your case, if it is not allowing you to use more than 132 characters, then likely you need to regenerate your maintenance table (this could be because you initially declared your field as 132 and then changed to 255 without rebuilding).

1) open your customizing table using se11.

2) utilities->table maintenance generator

3) generated objects->change

4) select all the items, and in the next screen select all items.

this will rebuild your maintenance screen that you see in sm30.

You can also change your screen layout in sm30 screen to increase the width. To do this, go to the table maintenance generator view in se11 goto Environment->modification->maintenance screens. (make sure to first exit out of the se11/maintenance generator if you are in change mode).

Goodluck

Read only

Former Member
0 Likes
2,118

HI,

Only the display size would be reduced not the actual length of the field.

What you have done is correct.

Regards

Subramanian

Read only

Former Member
0 Likes
2,118

Hi Dieter,

Add the New field with Data element is CHAR255.

Save, Check & Activate.

Next do the following Steps.

1) goto Utilities>Table Maintenance Generator>save it.

2)Goto Generated Objects-->Change

Select all the Check boxes and Click on Continue button.

in the Maintenece Screen Tab Select the

Check the Overview Screen Check Box

in the Field Type/Sec.Tab Tab Select the

Check the Normal Field

Click on Continue Button

It shows the maintanance Screen is deleted and Re-Creating

Again save the table Maintenece Generator.

Next

3) Take the Function Group Name and

Goto SE80 and select Function Group and give the above Function group name

and press enter.

after that you will select the function group name and right click on that click

on activate button.

the goto Tcode SM30 and go to new Entries.

give some values

save and come back.

go to se11 tcode and open the data records

click on the just done entry you will find the 255 char value

Regards

Sreeni

Read only

Former Member
0 Likes
2,118

Thank you for your answers, but no matter how many times I rebuild my maintenance table or table maintenance generator, the length of the data element on the screen still gets cut off to length 132. The help procedure only says to change the length of the table field to 132 to prevent data loss.

And maybe the actual field length is larger than the display length but even if I type more than the display length, this gets cut off too. My SAP version is R/3 release 4.6C, maybe this is fixed in later versions...

I'll guess I'll have to find another solution, thanks anyway people

Dieter