on 08-24-2009 9:32 PM
Hi,
I'm doing RFC lookup using RFC_READ_TABLE to read data from table "LIPS". I am getting the following error with the XML signature
DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapb16b89b090ec11debb52001e0b450820/source/com/sap/xi/tf/_MM_GetCompanyDetails_.java:72: ';' expected String rfcXML = "<?xml version="1.0" encoding="UTF-8"?><ns0:RFC_READ_TABLE xmlns:ns0="urn:sap-com:document:sap:rfc:functions"><QUERY_TABLE>"+ DBTABLE + "</QUERY_TABLE><DATA></DATA><FIELDS><item><FIELDNAME>"+ FIELDS "</FIELDNAME></item></FIELDS><OPTIONS><item><TEXT>" WHERE_CLAUSE +"</TEXT></item></OPTIONS></ns0:RFC_READ_TABLE>" ; ^ 1 error.
Please let me know how this works
Regards,
Ravi
Hi Ravi,
This seems to me like a syntax error. Fix that and it should work fine.
Regards,
Neetesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use \" wherever you have " in the tags within your String variable.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe you are missing ";" somewhere in the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.