Start of Content Area

Procedure documentation Editing Messages  Locate the document in its SAP Library structure

Use

You usually edit a message when errors occurred during its processing and it is possible to restart the message.

You use the message editor to edit a message. You can use the message editor to edit the attributes (header data) and the payload of a message. You can save changed messages and process them again.

Note

Once you have edited a message, the mapping of this message is determined again:

       If you change the header data of the message, the mapping can result from another interface determination. If no interface determination has been configured for the changed header data, there is no mapping. Therefore, a changed message should always have a configuration.

       Changes to the payload can also influence which mapping is used, since the determination of the mapping can depend on conditions.

Prerequisites

You are in the Message Monitoring of SAP NetWeaver Administrator and have  opened a message to display the versions of the message that are available. You can edit and resend individual versions from here.

Procedure

You can use the message editor to edit the following data:

      Header data

If you change the header data of a message, note that this changes the entire message processing.

Note

You cannot change the header data of messages in the Adapter Engine and Business Process Engine.

      Message Attribute

You can create adapter-specific message attributes and change or delete existing attributes.

      Message Payload

The payload of a message is loaded with the character format Auto as standard. Auto means that the message editor automatically recognizes the character format, then uses this character format to load the message, and then displays the payload accordingly.

If you want to load the payload in another character format, you must select this beforehand in the Character Format field. The character format None loads the payload as a simple byte stream.

Note

You can only edit the payload of XI messages and not the payload of Web service messages.

The message is locked for other users while you are editing it. You can delete the corresponding lock entries from the database.

Once you have edited and saved the message, you must refresh the display to reload it in the message editor.

Note

Edited messages are not deleted and must therefore be archived.

Editing Header Data

To edit the header data, proceed as follows:

...

       1.      Select the message version required.

       2.      Choose Edit and on the Message Header tab page, change the required header data in the relevant input fields.

       3.      Save the message with the changed data.

Editing Message Attributes

To edit the message attributes, proceed as follows:

...

       1.      Select the required message version.

       2.      Choose Edit and on the Message Attributes tab page e

       3.      Save the message with the changed data.

Editing the Payload in the Message Editor

The payload of the message is displayed with specifications on its character format, the content type, and the payload size. To edit the payload, proceed as follows:

...

       1.      Select the required message version.

       2.      Choose Edit and edit the payload in the Payload tab page or load the payload into a separate editor (as described below).

       3.      If you want to save the payload in another character format, select the required character format before you save the message.

       4.      Save the message.

If you have selected another character format, the payload is converted accordingly when the message is saved.

Editing the Payload in a Separate Editor

You can also use a separate editor to edit the payload. This is the case, for example, if:

      The payload is too large for the message editor.

      The character format of the payload is not supported.

      The payload does not contain any displayable characters.

      You prefer the user view of another editor.

Proceed as follows:

...

       1.      To load the message payload in a separate editor, choose Download and then Open.

       2.      Edit the payload in the selected editor.

       3.      Save the payload in your file system.

       4.      To localize the changed payload in your file system, choose Browse in the message editor.

       5.      To upload the payload to the message editor, choose Upload.

       6.      Save the message.

Result

After editing the payload you can restart the message, if you want.

 

End of Content Area