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: 

Save Changes logged in SM35

Former Member
0 Kudos

Hello everyone,

I have to store the changes done to a table (changes done via sm35) in either SAP tables (CDHDR, CDPOS) or in a new custom table.

As i saw in SDN forums , if I have to save changes done via a report program, i have to goto SCDO, create a Change Document and calli the FM from 'Generation Update Program' just before/after updating the table .

But where should I call this FM if a table is updated in SM35 ?

Thanks in advance.

1 ACCEPTED SOLUTION

brad_bohn
Active Contributor
0 Kudos

In the source code of the transaction that is being called from SM35...

4 REPLIES 4

brad_bohn
Active Contributor
0 Kudos

In the source code of the transaction that is being called from SM35...

Former Member
0 Kudos

thanks for the response.

when i am calling the function , though it is updating rest of the fields , the fields where old and new values are stored are blank,

(i have checked the 'log table' option in my tables.)

also utime and udate are storing the current date and time, and not the date and time that i give ..

Please let me know where shud i review the code.

thanks

Edited by: shalaxy s on Sep 9, 2009 6:53 PM

brad_bohn
Active Contributor
0 Kudos

Yes, it would be no different than the standard change document write functions. They generally have multiple import structures and table parameters, most of which are optional and not provided for each call. Only the data that is being changed is provided.

Former Member
0 Kudos

Thanks Again.

Edited by: shalaxy s on Sep 9, 2009 10:23 PM