cancel
Showing results for 
Search instead for 
Did you mean: 

Error When reading Archived XML Message

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

I am having the next issue reading the archived messages (error msg: Could not find message in archive).

can anybody help me.

my problem is the same that this topic.

Any suguest please?

Regards

RP.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello ,

when I click "fill structure", it jump a "NO_DDIC_TYPE" execption, It is really wired.

dhagigeorgiou
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ghen,

I am having the same problem.

Did you manage to find a solution?

Dimitris

Former Member
0 Kudos

Guys! To read the archived XML messages, the archiving infostructure SAP_BC_XMB must be activated.

More information on http://help.sap.com/saphelp_erp2004/helpdata/en/0e/80553b4d53273de10000000a114084/content.htm

dhagigeorgiou
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

It is active!

What else can be wrong?

Thanks,

Dimitris

Former Member
0 Kudos

Hi

Go to transaction SXMB_SARA

Click "Information System" button

Click "Status" button

Type "BC_XMB" in the Archiving Object field

Click "Status Per Archive" button (or "Status Per Infostructure", I'm not sure)

Finally, click "Fill structure" button.

Hope this helps you

Julio

dhagigeorgiou
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks for the reply,

When i click on either of the buttons i get the following message

"There are no analyzable archives".

The object is active.

The background job that runs to delete the archived records is canceled (RAISE_EXCEPTION).

Dimitris

Former Member
0 Kudos

Hi RP -

For a given archiving procedure run, there should be two "sub" jobs that should execute to complete the archiving process:

- a job for writing messages to the archive

- a job for deleting the archived messages

There is a completely separate job that corresponds to the procedure for deleting messages.

Did both of these jobs complete successfully? It is common for the job that write messages to be scheduled, but the delete job (for the archiving) often gets missed. You can confirm this by looking in the SM37 job selection screen and look for the following two jobs:

ARV_BC_XMB_WRP<date> (writing to archive)

ARV_BC_XMB_DEL<date> (deletion of archived XML messages)

If you don't have the deletion sub-job going or completing succesfully, then this could be your problem. These get spawned from the main archiving job (SAP_BC_XMB_ARCHIVE<CLIENT>) you schedule from SXMB_ADM -->Schedule Archiving Job.

Regards,

Jin

Former Member
0 Kudos

Hi,

I am also facing the same issue.

I find the Archived File and i am able to see the Archived Messages and Statistics shows the number of Archived and deleted files. But cannot view the Archived XML Messages.

@Jin,

For an Archiving session, I find two jobs

ARV_BC_XMB_DEL<Date>

ARV_BC_XMB_WRP<Date>

As far as timing Delete job executes after Archiving job.

But still I am getting the same error.

Are there any other jobs that need to be scheduled.

Regards,

Sudharshan

Former Member
0 Kudos

Same for me.

After each archiving job the delete job runs and deletes all the archived message.

Now I have two problems. First one is that I cannot read the archived messages. Every time when I click on them I get a message "Could not find message in archive".

Second problem is that it only archives messages which are manually ended but not the successfully processed ones.

I have flagged the interface for archiving but nothing happens.

Hope someone can help.

Cheers

Cornelius

Former Member
0 Kudos

Hi eveyone,

I hope you all have find the solutiuon for this issue.

If not then here is the procedure.(assuming everything else is working)

1. Run SXMB_ADM

2. choose Schedule archving jobs

3. click "Archive management"

4. Click "Information System"

5. Click "Customizing"

6. Choose "Archive Infostrcure" for Object "BC_XMB" and activate it by clicking on "Activate" button.

7.Go back and click on "Status".

8. click on "Status per Infostructure"

9. Select your object "SAP_BC_XMB" and click "Fill Structures"

10. Run it in the background.

when the background jon is done. Try to Read your archive messages again.

Happy Archiving.

Best of Luck.

Arundeep Singh

7.

Former Member
0 Kudos

Hi Arundeep,

it worked perfectly. Now I am able to see my archived messages. Unfortunately it is not my thread so I cannot award points but I hope Rodrigo can give you full points on my behalf.

Cheers Cornelius

Former Member
0 Kudos

Hi,

I totally agree with Cornelius.

Arundeep, your suggestion solved the problem. Amazing!!!!

Could u please give us some idea on the process.

Regards,

Sudharshan

Former Member
0 Kudos

Hi Sudharshan/Cornelius,

Thanks for your support. I am glad that my inputs were helpful.

Shudarshan, what do you mean by the process?

If you are talking about the arhiving process, then it is very huge topic

in itself. You can find that in help.sap.com.

But in this specifc case, what happens is that to made archiving possible,

there are different objects involved. e.g Archiving object, read write methods, Infostructures etc. In our case, the infostructure objects is in "inactive" state. Which seems to be a mistake from the SAP side. All we need to do is activate that object. And we are done.

Actually I also had the same issue, and I found this thread with few threads with no answer :-(. Then I just went deep into it and I found this "mistake"

It is just yesterday, when I cracked this issue by myself. I decided to put in the thread.

again I am happy my efforts were useful to you people.

Thanks and Regards,

Arundeep Singh

001-416-828-1307

Former Member
0 Kudos

Hi Arundeep,

Thanks for ur explanation.Good Work.

Regards,

Sudharshan

Former Member
0 Kudos

hey,

Did u get any solution for this? we are stuck on it as well. If you have solved it, kindly let us know as well because its an issue which SAP should help ppl but unfortunatly they dont.

Regards,

Farrukh