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

Standard Archiving Programs

Former Member
0 Likes
459

Hi All,

I have a requirement where I should clean up the table SGOSHIST on a periodic basis. Is there any standard archiving program to do so? Or, should I manually create a program to this?

Thanks in advance.

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
418

Doesn't look like there is a standard program, but maybe the function module SGOS_HISTORY_GET will give you some ideas of how to go about deleting the data.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
418

Hello,

The options for deleting entries from SGOSHIST depends on what release you are at.

As of 4.6C - no delete options

In 6.10 - you can reorganize and delete object history with report RSSGOSHIRE

In 6.20 and higher - the object history is not logged directly in the database but rather in the SHARED MEMORY. The history is only synchronized into the database when the user logs off from R/3.

This information is from oss note 492756.

Hope this helps.

Regards,

Karin Tillotson