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: 

Not able to modify Z table entry which was created through ZPgm from SM30

0 Kudos

Hi Folks,


I have created one z table and i have written one program to update that z table


The same entry is not getting updated/modified through SM30 but strange is i was able to delete the same entry which was created through Z program

from sm30 .

I am able to modify the data in SM30 which was manually maintained through SM30  /SE11--create entries.

Can anyone which help me how to resolve this.

Regards

Ravi

1 ACCEPTED SOLUTION

nishantbansal91
Active Contributor
0 Kudos

Dear Ravikumar Billa,

Do one thing out the watchpoing on the update or modify statement and check why system is not updating the thing.

This is the best time to deep dive into SM30 concept.. Because this type of problem occurs very rarely. So debug is the best way.

Thanks

Nishant

19 REPLIES 19

rajkumarnarasimman
Active Contributor
0 Kudos

Hi Ravi,

Key fields are not possible to edit/update in SM30. Kindly make sure whether you are not editing the table key fields.

Regards

Rajkumar Narasimman

0 Kudos

i am editing data for non key fields only  not for key fields. this i am aware with my exp

Former Member
0 Kudos

Hi Ravikumar,

What exactly do you mean by not being able to modify the data?  Do you mean that the input fields are disabled in SM30 for those records, or do you get an error message when you try to save or what?

Jim

0 Kudos

No Jim,

Neither the input fields are not disabled  nor any error message getting while saving data.

I am trying to edit the data in SM30 for the table created in SE11 which was got updated through Z program.

Say i have en entry in Z table

450000000110ABCDqerEFGHI1234125.000008/10/201510/10/201504/01/2015A1 - Importación DefinitivaTP L1232000001IN,

The last entry IN was wrongly entered through program and i have to modify/edit the same and need to save the same but this is not happening.

Some how the editable data is not getting saved in SM30 and same was not getting reflected in SE11/se16 for the Z table.

Regards

Ravi

0 Kudos

Pl. check any TABLE EVENTS are causing this    

0 Kudos

No i did not defined any table events, i have gone through all these whatever was possible to check, still not able to modify/edit/save the data.

0 Kudos

Are you sure you are editing the data as per DATA TYPES.

Just try: You create a same entry as existing (already saved in table) one, but obviously w/ a different key

Quickly create a another Z table as TEMP object, try in that

Try with other user ID, if possible

Log off from SAP and re log in

Activate table in SE11

If you have a transport, regenerate the table via TMG


0 Kudos

Any chance that the 3rd field in your example is part of the key?  I'm wondering if the datatype might be causing a conversion to uppercase during SM30 so that ABCDqer... gets changed to ABCDQER.... and then the update statement would fail.

Maybe start debugger when you hit Save and put a breakpoint on the UPDATE statement to find out if the update is being attempted and may be able to see why it fails.

Jim

0 Kudos

this i tried but not succeeded, anyhow will try again

Former Member
0 Kudos

hi,

please chk the delivery n maintenance property for ur z table,is there in dropdown delivery n maintenance allowed is selected or not

regards,

harish yadav

naveen_inuganti2
Active Contributor
0 Kudos

Hi,

Is it client specific data?

I am wondering if data that you maintained from program and the one that you are trying to edit it not from same clients.

Regards,

Naveen

nishantbansal91
Active Contributor
0 Kudos

Dear Ravikumar Billa,

Do one thing out the watchpoing on the update or modify statement and check why system is not updating the thing.

This is the best time to deep dive into SM30 concept.. Because this type of problem occurs very rarely. So debug is the best way.

Thanks

Nishant

0 Kudos

Hi,

I have debugged and tried to found out the root cause, but unable to get on.

The problem is while debugging the Update entry is correctly getting processed and it correctly gets displayed till the data saved option gets displayed in status bar.

But Once we go to sm30/se11 again the old value is only getting populated.

0 Kudos

Hi ,

Try to update through SE16N .

0 Kudos

Hi,

Please read the requirement first then try to give valuable inputs. My requirement is to update z table with z program and the same need to be editable/modify/update through SM30.

Regards

Ravi

0 Kudos

Hi,

Better you can delete the table maintenance generator and create again.

Lets hope for the best.

Regards

Raj

0 Kudos

sir,

This is also tried so many times.

Still not working.

Regards

Ravi

0 Kudos

Ravi - Just want to make sure that you checked client dependency. The data that you are updating through TMG is not replicated in any other clients of the system. Right?

Regards,

Naveen

0 Kudos

hI Folks,

Thanks for your help.

There was nothing wrong with TMG only the conversion exit was not written in pgm and hence the same entry was not getting updated.

You can refer the below thread for the same

https://scn.sap.com/thread/314338

Regards

Ravi