on 01-09-2008 10:14 AM
Dear experts,
I have recently started the archiving on the XI server here. And this works fine for the defined interfaces. The rights interfaces are archived and deleted from the database.
However, from the same interface I have some old messages in the database, which were sent before the archiving started. These messages are either in status System Error or Cancelled Manually.
How can I delete these message from the database, as they will not be archived or deleted with the archiving procedures?
Thanks in advance.
Hi A. Schotanus,
I also have the same requirement as yours. I want to archiving/delete some old error messages which processed before I setup archiving job. Do you have already find the way to make it?
Thank you in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear A. Schotanus,
in general a check is performed for each message that has been canceled. Depending on
the configurational settings (see below) which are active right at the moment when the
message is canceled it will
- remain flagged for deletion OR
- get flagged for archiving
As per configuration you have the following options:
option 1. choose whether you want to archive a canceled message or not (yes / no)
If you decide to archive these message (=yes for option 1):
option 2. choose which versions are to be archived (only first verion / all versions)
There is one very important exception for productive systems. If a system is productive
(no DEV or QA system) canceled messages are ALWAYS archived. Ie. 'yes' for option 1
is hard coded and cannot be changed per configuration. Thus, in productive system you
can only decide on option 2. This is due to legal reasons in order to permanently document
the violation of the Exactly Once protocol in productive environments.
The configuration is done within the archiving section of the Integration Server or Integration
Engine. Run transaction SXMB_ADM -> Configuration -> Integration Engine configuration,
category=ARCHIVE.
The related parameters are:
option 1: ARCHIVE - PERSIST_ARCH_MANUAL_CHANGES,
the default value for this parameter is '1'
option 2: ARCHIVE - PERSIST_ARCH_MANUAL_CHANGES - ONLY_FIRST_VERSION
the default value for this parameter is '0'
You might also have a look at the documentation of these parameters which is available directly
in the maintenance view.
With respect to your scenario this means that the above mentioned options have been checked
right when the cancelation took place. In case you did not do any configurational changes to the
related parameters, their defaults became active; ie. these message have been flagged to be
archived completely (all versions). Because of that you might want to run archiving once to get rid
of these messages.
Best Regards,
Harald Keimer
XI Development Support
SAP AG, Walldorf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you are looking for this
/people/gourav.khare2/blog/2007/12/21/mass-cancellation-of-error-messages--xi
Regards,
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have cancelled the error messages, these will be removed during the next archiving job very similar to the sucess messages.
The only difference may be you got to check the Executed Until date/ time for these messages. You need to archive the messages until the date you find here.
Regards,
Jai shankar
I really have not done archiving on XI server. So I cant comment on that.
I beleive when you set a archiving job, you will be able to set the date / time before which all success / cancelled messages to be archived. If you restart a error message you can see that Executed from and executed until dates are different in SXMB_MONI. You need to specify a date after this Executed Until date in the archive job.
Regards,
Jai Shankar
Messages might be stored in some table right?
just write a DELETE statement on the table and provide correct where conditions.
in your case message createtion date before your Archving start date.
this DELETE statement u might have writeen in a SE38 program. execute it once and see..
there might some UI to do that, if u don't find any UI then do the above step.
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.