Skip to Content
0
Former Member
Nov 07, 2012 at 06:23 PM

Error mapping message from JDBC to RFC

27 Views

Hi,

I've come across an unusual error trying to connect the database (JDBC Adapter) to SAP (RFC Adapter).

This error occurs at the mapping (Message Mapping & XSL Mapping):

"...: NullPointerException: while trying to invoke the method javax.xml.stream.XMLEventWriter.close() of an object loaded from local variable 'writer"

My scenario is as follows:

Fetch of multiple rows database table, multiple mapping, each row will be a RFC call, the RFC function has the same input parameters as the columns of the row.

Additional Information:

I managed to do this with a mapping for a single row and single RFC call with XSL (only). For the same scenario using message mapping the value arrive blank at SAP.

If at message mapping i give constant values to the target message insted of mapping from the source message, the values arrive right at SAP.

Regards,

Diogo Silva.