Start of Content Area

Procedure documentation Adding TextCodepageConversionBean in the Module Processor  Locate the document in its SAP Library structure

Use

If a receiver uses a different code page to the one specified in the XI payload, you can use this module to swap the code page of the main payload of the XI message and convert the content.

The original code page is taken from the charset parameter of the content type of the payload. If no value is set, the local code page is used.

The module only converts payloads with MIME type text, such as text/html or text/plain. Any additional encoding information in the document is ignored.

You can use the module in any adapter that can be extended.

Prerequisites

You have configured a communication channel and are on the Module tab page in change mode.

Procedure

Add the Module in the Processing Sequence

...

       1.      Enter the module name AF_Modules/TextCodepageConversionBean before the module name of the adapter.

For information about where to insert the module, see: Extending the Module Chain in the Module Processor

       2.      The Module Type is Local Enterprise Bean.

The system proposes a Module Key.

Add Parameters in the Module Configuration

       3.      Under Parameter Name, enter Conversion.charset.

       4.      Under Parameter Value, enter the name of the code page.

For example, enter utf-8 as the Parameter Value.

 

End of Content Area