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

Data saving from a Z program into a Z table is not getting updated using SM30

Former Member
0 Likes
1,608

Hi Fellow Members,

I have a strange issue as follows.

I am reading data from IDOC (inbound) and updating it into my Z table.

After that when I try to update any value (that is update through the idoc) using SM30 for that Z table the record does not update even after the message Data was Saved.

Has anyone face this before. An old thread is there but this did not help as I have tried everything known to me while creating the TMG.

Also to clarify , I have deleted the TMG and recreated it, I have no events or custom module in the screen events. I have not changed anything in the screen layout or any property of the screen.

Thanks in advance,

Gaurav

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,477

Hello team,

Thanks for the attention.

It was really a silly mistake of the characters getting updated in lower case while the domain does't accept lower case. When changing the data in TMG it was getting translated in upper case and mismatch of key fields avoided the database update.

I am still surprised with the success message after the failed update.

Hope this helps.

7 REPLIES 7
Read only

Former Member
0 Likes
1,477

Hi

Have you checked what's happening in the routine for saving?

Max

Read only

0 Likes
1,477

Hi Max,

Actually everything is passed through the save routines and the message is displayed.

Once I come out of the TMG and check the entries its again same as the old one.

Thanks.

Read only

0 Likes
1,477

Hi

Yes that's ok, but a specific saving routine was generated, the message usually is triggered in that routine, but any validation is done: if that routine is triggered, the message will be raised.

So you should check if the date are really updated,

If you have used the fm group <ZXX> you should have the include L<ZXX>F00 having the form  DB_UPD_<Z-TABLE>, try to check there by debug

Max

Read only

jay_kumar8
Active Participant
0 Likes
1,477

Have you tried SE14...ACTIVATE and ADJUST DATABASE

and again create TMG.

Regards

Raj

Read only

0 Likes
1,477

Hi Raj,

Yes I have tried that too.

Just that I have to try deleting the table and reacreting everything from the scratch only.

But this is strange isn't it.

Thanks

Read only

0 Likes
1,477

I have a small doubt. Any thing is happens to table. or the problem is at Sm30

Can u test it.

Go to Se16n /h Using Variables.

GD-EDIT
GD-SAPEDIT

Try to Add new Entries and update the Existing Rows.

Read only

Former Member
0 Likes
1,478

Hello team,

Thanks for the attention.

It was really a silly mistake of the characters getting updated in lower case while the domain does't accept lower case. When changing the data in TMG it was getting translated in upper case and mismatch of key fields avoided the database update.

I am still surprised with the success message after the failed update.

Hope this helps.