cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC to JDBC scenario error

Former Member
0 Kudos

Hi techies,

Iam trying out the scenario JDBC to JDBC.

Iam having my message mapping programme sucessful.

While checking my configuration it is giving the error at inetrface mapping

com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_mm_mapping_: Parsing an empty source. Root element expected!

Interface mapping test tab XML format is

Sender

<?xml version="1.0" encoding="UTF-8"?>

<ns0:mt_sender xmlns:ns0="http://jdbc_2_jdbc">

<row>

<NAME/>

<ID/>

<ADDRESS/>

<FLAG/>

</row>

</ns0:mt_sender>

Reciver

<?xml version="1.0" encoding="UTF-8"?>

<ns0:mt_reciver xmlns:ns0="http://jdbc_2_jdbc"><STATEMENT><ROW><action>Insert</action><TABLE>LIBRARY</TABLE><access><LIBID>123456</LIBID><LIBNAME>msc kiran</LIBNAME><LIBADDRESS>kiran2</LIBADDRESS></access></ROW></STATEMENT></ns0:mt_reciver>

in communication channel CC_jdbc_Sender

Document name is resultset

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I would Suggest You to check three things .:-

Clearly Problem is You Sender MT is not getting polulated with Data.

1.

So That Document Name Should be your MessageType name

Document Namespace is that Message Type Namespace.,

2. Check your Query .

It Shoule be like this .

Select NAME, ID, ADDRESS, FLAG from <Tablename> where clause .

3. On your Reciever DT . check for action created as attribute to ROW.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

What previous responses said, They are correct,

Your document name should be "your Source message type name" .

Regards.

Sateesh

RKothari
Contributor
0 Kudos

>in communication channel CC_jdbc_Sender

>Document name is resultset

I guess the document name should be mt_sender.

Please refer:

http://help.sap.com/saphelp_nwpi711/helpdata/en/44/7b67fffde93673e10000000a114a6b/frameset.htm