‎2011 Oct 01 12:22 PM
Hi
i have a little problem while converting the string XML data
I am getting the XML data in a string variable
---now i am calling FM.......SMUM_XML_PARSE
But i getting an error saying that TYPE CONFLICT.....
since the input data type for the above FM is XSTRING and my data is only STRING...
how to resolve this !!!!!!!!!!!!!
Regards
Albert
‎2011 Oct 01 1:09 PM
Hi Albert,
Just conversion with another fm.I think u r uploading first from gui_upload then file is ready.Then use fm SCMS_BINARY_TO_XSTRING this will covert then use SMUM_XML_PARSE.This will work and your issue will be resolved.
Regards,
Madhu.
‎2011 Oct 01 1:18 PM
HI
thanks for your reply....
i am getting the data from a FM SXPG_COMMAND_EXECUTE
Where you can see the output in a table format of type XSTRING
Now my task is to process that Xstring to get the output as internal table........
waiting for your kind reply..
Regards
Albert
‎2011 Oct 01 1:52 PM
Hi Albert,
1) SMUM_XML_PARSE
Since the input data type for the above FM is XSTRING and my data is only STRING
2) FM SXPG_COMMAND_EXECUTE
Where you can see the output in a table format of type XSTRING.Now my task is to process that Xstring to get the output as internal table
I think the problem with conversion into string and xstring .You can check with SCMS_BINARY_TO_STRING,SCMS_BINARY_TO_XSTRING.
Regards,
Madhu.
‎2011 Oct 02 7:36 AM
Can you try using FM "LXE_COMMON_XSTRING_TO_STRING" or "ECATT_CONV_XSTRING_TO_STRING" to convert xstring to String?
Regards,
Indranil