‎2010 May 28 7:29 AM
Hi experts,
Suppose in an RFC i have some data in the internal table. Can I convert this data to an xml string and return this xml string to the people who call this RFC .
Regards,
Sanath.
‎2010 May 28 11:48 PM
Yes you can.
[Asking Good Questions in the Forums to get Good Answers|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/17662] [original link is broken] [original link is broken] [original link is broken];
Cheers
Graham Robbo
‎2010 May 29 3:41 AM
Hi Sanath,
Hope you read the thread about "good questions"... - What is the question in there?
Basically you can transform any serialzable*1 abap variable into an xml stream
using statement CALL TRANSFORMATION ID SOURCE lt_my_table RESULT XML lv_xml.
It can be re-transformed as:
CALL TRANSFORMATION ID SOURCE XML lv_my_xml RESULT lt_my_table.
Just use the help on this statement
*1 serializable means the data objects must not contain any object references anywhere.
additionally it is not recommended to have string or any x-type values in there.
Regards, M.
‎2010 May 29 7:53 AM
Hi,
Convert Internal table data to PDF and then to Binary.
Regards
Shruti
‎2010 May 29 9:17 AM