‎2006 Mar 08 10:24 PM
Hi all,
I have to create a Function module to get XML byte string.The internal table is dynamic coloums based on how many data selected as a importparameter.from the internal; table data I have to create a XML byte string as a output.Pl help me to proceed further.
Thanks in Advance.
Ram
‎2006 Mar 09 1:10 AM
If i have your question right you need to convert an internal table of unknown type to an xml string then to a byte string.
data xmlString type string.
data xmlXString type xstring.
call transformation id
source
table = internalTableYouWantToExport
result
xml xmlString.
export xmlString to data buffer xmlXString.
xmlString has the xml of the table and xmlXString contains the byte representation of the string.
‎2006 Mar 09 5:07 AM
Hi,
Try FMs
RSWAD_TABLECONTENT_TO_XML
SMUM_XML_CREATE
SAP_CONVERT_TO_XML_FORMAT
CRM_BSP_DESIG_XML_CREATE
Hope it helps...
Lokesh