cancel
Showing results for 
Search instead for 
Did you mean: 

Message deletion of JAVA stack

Former Member
0 Kudos

Hi Experts,

There are many number of error messages in JAVA stack as status "System Error" and "Canceled with Error" .

How to delete those messages from JAVA stack....

Thanks in advance.

Regards,

Amit Mandal

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI,

Go throgh this document to archive the messages from IS & IE

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c...

Regards

Goli Sridhar

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

Use this thread to delete or Archive message periodically

Former Member
0 Kudos

hi,

go to sxmb_admin Tcode ---> define interface for archiving and retension period.

now give the interface name for which u want to delete the message -


select the entries from multiple selection tab----> click on retention period and give the period in on of days.

regards, navneet

Former Member
0 Kudos

Hi,

Thanks for your response.

But this is to delete the messages from ABAP stack with status "Successful".

I want to delete messages from JAVA stack with status "System Error" and "Canceled with Error".

Regards,

Amit

SudhirT
Active Contributor
0 Kudos

Hi Amit,

The data shown in RWB accesses the same table as on ABAP stack and once you are able to delete the messages in abap stack, there wont be system error/cancelled with error messages any more in RWB.

if you want to check or verify then you can check it in SM50 while displaying the data in RWB the table will be SXMSPMAST.

Try to first set the interfaces for archiving and then archive them and delete them in SXMB_ADMIN by scheduling the jobs.

Thanks!

Edited by: Sudhir Tiwari on Dec 1, 2008 6:46 AM

Former Member
0 Kudos

Hi Sudhir,

Thanks for your response.

I have file to RFC scenario. Where the mapping is executed successfully.

In this case the message are deleted from ABAP stack due to successful mapping by scheduled archiving job

But in Adapter Engine the message is stuck due to output value of Mapping or connection error.In JAVA stack the message is in error status.

My question is how to delete this error messages from JAVA stack.

Regards,

Amit

SudhirT
Active Contributor
0 Kudos

Hi Amit,

If the message is not processed completely then it should throw error in SXMB_MONI also. To delete them run the job RSXMB_CANCEL_MESSAGES first and then try to delete them.

Thanks!

Former Member
0 Kudos

Hi,

In File to RFC scenario the error message will not come in SXMB_MONI but it may come in Adapter Engine if the output of mapping is wrong or sever down.

Regards,

Amit

SudhirT
Active Contributor
0 Kudos

Hi Amit,

If the error is in output of mapping then it will throw Runtime Message mapping exception in Moni or if server is down(considering the target system) then the error will be shown in SM58.

Thanks!