cancel
Showing results for 
Search instead for 
Did you mean: 

Delete - archive messages

Former Member
0 Kudos

Hi All,

I am working with SOLMAN 4.0 and I am facing the problem to delete/archive messages.

I have already successfully implemented note 566225. All the notifications are deleted, but when I try to execute the report CRM_ORDER_DELETE no CRM documents are deleted.

The message is: 'Not possible to delete, a reference exists to a subsequent document', but the notification does not exist in table DNOD_NOTIF.

I have also tried to archive the messages with SARA but it doesn't work!

Do you have any ideas, how to achieve this?

Best regards,

Roula

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I have solved my problem!!!!

I couldn't delete the documents because there are two tables: SRRELROLES and CRMD_BINREL which include the interlinkage between CRM Objects.

So, we have created a program which deletes the data from these two tables and then the report CRM_ORDER_DELETE works fine.

The first step that should be executed before the above implementation is to implement note 566225.

Best regards,

Roula

Former Member
0 Kudos

Hi All,

We have send a message to SAP, because our solution was not a standard solution. The right way to delete/archive messages is described below (reply from SAP):

To keep the system consistent, the ABA notification AND the assigned CRMmessage have to be removed from the system.

To delete the ABA notification the note 566225 that you used is the

right one.

The deletion of CRM messages (e.g. with CRM_ORDER_DELETE) is not

possible anymore (as of note 845433).

The CRM message only can be archived. To archive the CRM message with

transaction SARA the archiving object CRM_SERORD is the correct one.

Archiving object CRM_SERORD has the following archiving programs that

have to be processed one after the other:

Program Name Function

CRM_ARC_SERORD_CHECK Check program

CRM_ARC_SERORD_SAVE Write program

CRM_ARC_SERORD_DELETE Delete program

CRM_ARC_SERORD_READ Read program

In order to be able to create the archiving file, the CRM transactions

need to have the system status I1005 (Completed).--> please make sure

that the transactions that you want to archive have this status.

Also the different customizing settings (SARA - Goto - Customizing) as

e.g. the residence time, the Recurrence After No. of Days, ... have an

influence if an object can be archived.

General information about archiving with transaction SARA are to find inthe Online Documentation under 'Archiving Procedure'.

Best Regards,

Roula

former_member209575
Contributor
0 Kudos

Hello Roula Lazaridou,

We have requirement from our client to delete the Service / Support desk messages from data base. I was going through your message and found useful.

I have few more queries on your message.

1. What are ABA notifications?

2. customizing settings (SARA - Goto - Customizing) what are these settings?

3. How did u set the message status (system status I1005 ) "COmpleted" , is there any standard program available for the same?

4. Where to set path to store the achived messages.

Thanks in advance.