cancel
Showing results for 
Search instead for 
Did you mean: 

Error for package com.sap.aii.mapping.lookup

Former Member
0 Kudos

Hi All

I am writing a code for the DB lookup. When I import the package in the Message

Mapping (Advance Function) I am getting an Error.

C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:3: package com.sap.aii.mapping.lookup does not exist

import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.sap.aii.mapping.lookup.; ^

C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:57: cannot resolve symbol symbol : class Channel location: class com.sap.xi.tf._MM_File2JMS_ Channel channel = null;

C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:58: cannot resolve symbol symbol : class DataBaseAccessor location: class com.sap.xi.tf._MM_File2JMS_ DataBaseAccessor accessor = null; ^

Thanks

Farooq.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Mazhar,

Just you write java.io.;com.sap.aii.mapping.lookup.; in the imports text box of the function. Dont put anything like package etc. Just import this. Also see this weblog for some help on the database lookup:

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

Regards,

---Satish

Former Member
0 Kudos

Hey satish I am getting same Error:

C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:3: package com.sap.aii.mapping.lookup does not exist import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.sap.aii.mapping.lookup.;import java.io.*; ^ C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:57: cannot resolve symbol symbol : class Channel location: class com.sap.xi.tf._MM_File2JMS_ Channel channel = null; ^ C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:58: cannot resolve symbol symbol : class DataBaseAccessor location: class com.sap.xi.tf._MM_File2JMS_ DataBaseAccessor accessor = null; ^ 3 errors

Former Member
0 Kudos

Also Satish the blog u sent.. itself say import : com.sap.aii.mappin.lookup.*;

<b>;-)</b>

Please look on these Error and let me know if u have any comment on this.

Former Member
0 Kudos

Mazhar,

Yes you need to import only this. You dont need any others. Also please check for any error in your JDBC receiver communicaiton channel of adapter monitoirng. Also please recheck your communication channel name and business service is correct or not (as per your ID) in your lookup.

Regards,

---Satish