Skip to Content
0
Former Member
Feb 21, 2007 at 11:28 AM

JCO Call to Unicode R3 System

15 Views

Hi,

I'm trying to get the data from SAP and save it as a PDF file.I'm able to get the data by using the below code but i'm not able to get the image data which is comingalong with the data coming from SAP

My code goes as follows:

stringReader = new StringReader(new String(tabList.getString("ZLINE").getBytes("UTF-16LE")));
int charInt;
while ((charInt = stringReader.read()) != -1)
       pwriter.write(charInt);

With this code as i said i'm able to generate the PDF file from the unicode data coming from SAP but i'm not able to process the image data ..

Please help me in this regard

Thanks in advance

Satya