05-15-2015 11:18 AM
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
05-16-2015 7:21 AM
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
05-15-2015 11:24 AM
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
05-15-2015 1:27 PM
i am editing data for non key fields only not for key fields. this i am aware with my exp
05-15-2015 1:31 PM
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
05-15-2015 1:44 PM
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
4500000001 | 10 | ABCDqerEFGHI1234 | 125.000 | 0 | 08/10/2015 | 10/10/2015 | 04/01/2015 | A1 - Importación Definitiva | TP L | 123 | 2000001 | IN, |
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
05-15-2015 1:47 PM
05-15-2015 1:56 PM
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.
05-15-2015 2:28 PM
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
05-15-2015 2:36 PM
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
05-15-2015 3:08 PM
05-16-2015 6:37 AM
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
05-16-2015 7:15 AM
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
05-16-2015 7:21 AM
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
05-19-2015 10:28 AM
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.
05-19-2015 12:54 PM
05-19-2015 1:08 PM
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
05-19-2015 1:12 PM
Hi,
Better you can delete the table maintenance generator and create again.
Lets hope for the best.
Regards
Raj
05-19-2015 1:28 PM
sir,
This is also tried so many times.
Still not working.
Regards
Ravi
05-19-2015 1:32 PM
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
05-19-2015 1:59 PM
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