cancel
Showing results for 
Search instead for 
Did you mean: 

Error in ELSTER on XI

Former Member
0 Kudos

Hi Experts,

we have set up the wage-tax return scenario ELSTER on the XI 7.0 system to replace the communication via Business Connector. We did the configuration following the description from SAP.

The messages are processed apparently fine, but when I look deeper into the monitoring, I see error messages from the modules on the SOAP communication channel:

Error: class com.sap.aii.af.mp.module.ModuleExceptionParseException in Method: MessageProcessorElsterHCMReceiveResponseModule: decodeBase64( byte[] ). Message: Base64 decode( String, boolean )Invalid character: <.. To-String: java.text.ParseException: Base64 decode( String, boolean )Invalid character: <..

Message processing continues afterwards, and the message ist marked as "successful" in the monitoring.

The message payload contains the following text (after the error message from above):

<XML_OUT>&lt;?xml version="1.0"

encoding="ISO-8859-1"?&gt;&lt;Elster xmlns="http://www.elster.de/2002/XMLSchema"&gt;&lt;TransferHeader

version="8"&gt;&lt;Verfahren&gt;ElsterAnmeldung&lt;/Verfahren&gt;&lt;DatenArt&gt;

UPDATE:

There are somme messages that use the same way through XI, but have a slightly different message content. The responses of these messages are processed without any problems.

Is it possible, that the MessageProcessorElsterHCMReceiveResponseModule just tries to decode the incoming message from base64, and if the message is not coded in base64, it is just passed with the error "remark" from above?

(I now noticed, that the "<" character is not part of the base64 code table)

Thanks in advance

dee-cee

Edited by: dee-cee on Mar 30, 2011 1:12 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Experts,

I am stuck now with the same problem for a couple of days. Have you solved this problem?

If I run RPUTX7D0 without an XML file all goes fine and I receive the expected response from the Clearingstelle. But as soon as I upload an XML file generated through PB2A I get the very same error:

Error: class com.sap.aii.af.mp.module.ModuleExceptionParseException in Method: MessageProcessorElsterHCMReceiveResponseModule: decodeBase64( byte[] ). Message: Base64 decode( String, boolean )Invalid character: <.. To-String: java.text.ParseException: Base64 decode( String, boolean )Invalid character: <..

Any help would be very appreciated!

Kamran

stefan_grube
Active Contributor
0 Kudos

It is expected that parts of the ELSTER response message are encrypted.

For example following elements should be base64 encoded:

TransportSchluessel

Datenlieferant

Nutzdaten

Datenteil

When any of this tag exists, it should contain base64 values, otherwise the content of the elements is ignored in processing and returned empty.

Report to SAP

Former Member
0 Kudos

Thanks for the reply, Stefan.

In message monitoring I can see, that the TransportSchluessel element is encoded in base64, but neither of the others you mentioned is (since Nutzdaten is part of the DatenTeil, I can't even imagine how this should work). Those others contain readable data. But actually this doesn't show, in which encoding the data reached the XI system, because I can't reproduce, what exacty the adapter module ElsterHCMReceiveResponseModule did in between and what it possibly has decoded yet.

Is there a way to trace the work of the adapter modules?

Regards

dee-cee