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

Custom table modify problem

Former Member
0 Likes
2,307

Hello,

I am trying to update a Z* table through SM30 but a certain field can not be updated or modified. All other fields can be changed but this certain field does not accept entries. In SM30 everything seems ok and I can save but when I run SM30 or SE16 to view table the entry is gone. I have tried also SE16 and tried to change the related field but received error 'Unable to write database record'. Is there a way to lock update to specific fields in data dictionary which prevents me from updating this field? Where should I check?

Thx in advance,

Ali

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
1,395

Is it really a table or rather a view, joining several tables?

What is the data type of this field, and which value are you trying to enter?

What is the message class and number of the error you get in SE16, does it have an explanatory long text?

Might have something to do with related check or text tables...

Thomas

4 REPLIES 4
Read only

ThomasZloch
Active Contributor
0 Likes
1,396

Is it really a table or rather a view, joining several tables?

What is the data type of this field, and which value are you trying to enter?

What is the message class and number of the error you get in SE16, does it have an explanatory long text?

Might have something to do with related check or text tables...

Thomas

Read only

former_member214857
Contributor
0 Likes
1,395

Hi Ali

If you need block some specific fields in SM30 transaction when editing entries for Z-tables you can edit object Maintenance view and enabled disable this field directly in the screen.. You can use transaction SM31 to do that.

Kind regards

Read only

Marcel_Wahl
Product and Topic Expert
Product and Topic Expert
0 Likes
1,395

Hi Ali,

try the following sequence:

1) If the field is greyed out - check setupm in SM31

2) If field is enabled

Put in the value

- Doesit directly refuse the value with an e-message?

-> then you value violated a domain or foreign key

- does it not directly complain - try to save

-> if you now get an message it might be either

+ you violated a secondary unique index on the table ( check indexes in SE11 )

+ There might be an "exit implementation" before saving if it is a

generated maintenenance view or view cluster

-> check the view in SE11 and search the menu for "exits"

Hope that helps,

Marcel

Edited by: Marcel Wahl on May 29, 2010 4:28 AM

Read only

Former Member
0 Likes
1,395

Hi,

Thx for the answers. Originally this table did not have a maintenance view. I created one and it works but this certain field does not accept entries. When I select the relevant line and enter a value to this BELNR field I save and receive no error message. But when I rerun SM30 the previous data I typed in is gone!!

Thx again,

Ali