RSXMB_CANCEL_NO_ COMMIT_MSG: Cancel Processing of Messages Without COMMIT WORK by Application

You can use thereport RSXMB_CANCEL_NO_COMMIT_MSG to cancel the processing of PI messages for which a COMMIT WORK has not been executed in the application. In an application system, PI messages are created in the application, scheduled for processing, and persisted in the database. The messages are displayed in the monitor with a white flag “Message recorded (commit missing)”.

If the application now executes the command COMMIT WORK, the status of the messages in the database changes (green flag “Recorded”) and processing by the qRFC starts.

If a COMMIT WORK is not executed because of an error in the application, the messages continue to be displayed in the database with a white flag “Message recorded (commit missing)”. The messages cannot be processed and you must change the status of the messages to “Ended manually” with this report. You must also find out why the application did not execute a COMMIT WORK and resolve the problem.

Messages that have been ended manually usually have to be archived.

Execution

The interface of the report consists of the following blocks:

Messages

You have the following options when selecting messages:

  • Check All Messages
    • All messages in the specified pipeline of the logon client are checked.
  • Check Messages in Search Period
    • If you select this option, a frame opens where you enter the date and time. These entries reflect the time zone of the user. All messages in the specified pipeline of the logon client that are processed in the specified time period are checked.
  • Only Check Specified Messages
    • If you select this option, a frame opens where you enter the message IDs. The messages specified that are in the specified pipeline of the logon client are checked.

Optional Block

This provides the checkboxes Test Run and Display Log.

  • If the Test Run checkbox is selected, the report does not make any changes to the messages in the database.
  • If the Display Log checkbox is selected, the report logs each processed message in the output.

Both checkboxes are selected by default. To actually cancel message processing, you have to deselect the Test Run checkbox. If the report starts with restricted functionality, the Test Run checkbox is inactive and cannot be deselected.

Result

The comment field on the output screen displays the input data and the number of processed messages. If the Display Log checkbox is selected, each processed message is displayed. If you have deselected the Test Run checkbox, the report outputs the result of processing as well as the status of the message. You can choose the Details icon to display the results of the individual processing steps.

Messages whose processing was canceled by this report usually have to be archived. Archiving can only be prevented in non-productive system clients by setting the configuration parameter ARCHIVE – PERSIST_ARCH_MANUAL_CHANGES to the value ‘0’ before the report is executed.

You May Also Like

Leave a Reply?