cancel
Showing results for 
Search instead for 
Did you mean: 

Call reprocess function of Message Monitor in own BLS

Former Member
0 Kudos

Hi,

is there a possibility to call the "reprocess" function of the MII Message Monitor in a BLS, e.g. using a URL service call?

Background: For monitoring reasons I have implemented a new Monitor with enhanced search options and a content hint of the messages. This is very useful if we are searching specific messages.

Sometimes it would be nice to reprocess messages from this new Monitor view.

Michael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Change the message status using the update message action in your BLT.

Former Member
0 Kudos

Christian,

that's it, thanks!

Here is how it works:

- open the update message action from Message Services

- fill MessageID you want to set

- fill MessageStatus 1 in the link editor (or select "Received" from the configuration)

- fill MessageStatusText with any text

Then the Status is reset to "Received" and the message reprocessed. If you do not fill the MessageStatusText, an error occurs ("Cannot assign an empty string to host variable 2..") and the status is not set.

Michael

Former Member
0 Kudos

Hi Michael,

I am calling the another transaction to Changes the Status for Re-processing. From Error "E" to "R" reprocess. Then the Orignical transaction pick the records where status is "R" and start reprocessing. But here i am getting error.

This transaction is not working for the type of message where status is "R".

I am trying to Re-process the Message but not able to reprocess. MII version 12.1.8.20. I am using the 1.StockingMessageWMTrx for Processing and reprocessing. I am calling dynamically another transaction 2. WMConfiguration Transaction.

Transaction second is working fine because this is using while processing first time and this is working fine. Secondly I have tested this by executing directly (Hard coded input XML) then working fine.

In the First transaction I am just sending the XML(for reprocessing) using the repeater into the second trx. And this XML is passing properly into the second Trx as per the Display input Tracer.

LOGu2026..

u2022[INFO] [Tracer_0]

u2022[INFO] [Tracer_3] 20111101085426 201111012008 121 IN 01 RVLE RP 00526651 40 4311 2300318775 4311 2300319588 20111101 2 aa13413 40 CT020

u2022[INFO] [WMConfirmationTrx_Test] [DisplayInputXMLmessage] 20111101085426 201111012008 121 IN 01 RVLE RP 00526651 40 4311 2300318775 4311 2300319588 20111101 2 aa13413 40 CT0205

u2022[INFO] [WMConfirmationTrx_Test] [InsertMessageRecordsTrx_test] Statistics [Load = 0 ms msec, Parse = 1 ms, Execution = 52 ms, Total = 59 ms]

u2022[INFO] [WMConfirmationTrx_Test] [BAPI_output]Pallet no. 000000000000 Invalid RFC type! Invalid RFC transaction type! Lable Number is missing!

u2022[INFO] [WMConfirmationTrx_Test] Statistics [Load = 25 ms msec, Parse = 24 ms, Execution = 225 ms, Total = 257 ms]

u2022[INFO] Statistics [Load = 42 ms msec, Parse = 43 ms, Execution = 476 ms, Total = 525 ms]

I am not able to understand where could be the Problem? Please suggest me the needful on this?

Your answer will be highly rewarded.

Regards,

Narpal Singh

Answers (0)