2006 Feb 26 5:22 PM
Hi,
I have to process a XLM file data from the application server. Could anyone give me any idea how to put the XML file from application server into an internal table in a proper way? I know there is a class CL_XML_DOCUMENT, but I have never handled a XML file before.If anyone could give me a sample code (my id is [email protected]), that would be very helpful.
Hi,
Thanks! Only thing is my file is in app server?will this way be applicable for that too? and could you please let me know how to develop a XLST program? IF you could provide me a sample code on this approach that will be very helpful.
2006 Feb 26 6:05 PM
2006 Feb 26 6:21 PM
Those seem to be something for processing of BDC session. Are they for XML data? I didn't get it properly then.
2006 Feb 26 8:51 PM
2006 Feb 27 8:13 PM
Thanks! I am now trying to figure out how to develop a XLST program.
2006 Feb 28 8:46 AM
check out this weblog where in the code sample i am showing how a xml file can be converted to itab using XSLT (XSLT code is also given)
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
Usefule linkg for learning XSLT
http://help.sap.com/saphelp_erp2005/helpdata/en/a8/824c3c66177414e10000000a114084/frameset.htm
also check out these packages from txn se80
SXSLT
SXSLT_APP
SXSLT_COMP
SXSLT_COMPMSG
SXSLT_DEBUGGER
SXSLT_DEMO
SXSLT_TEST
SXSLT_TOOL
SXSLT_TRAINING
Regards
Raja
Reward the helpful answers by clicking the radiobutton and if you question is answered mark it as answered
2006 Mar 01 7:41 PM
2006 Feb 27 4:49 AM
<i>any idea how to put the XML file from application server into an internal table in a proper way</i>
do you mean reading the values from the xmlfile (node values) and use that to populate itab fields.
you can use CALL TRANSFORMATION for this case. and you have to develop a XLST program to convert the XML into your itab.
Do let me know if you need further help on this.
Regards
Raja
2006 Feb 27 7:40 PM
Hi,
Thanks! Only thing is my file is in app server?will this way be applicable for that too? and could you please let me know how to develop a XLST program? IF you could provide me a sample code on this approach that will be very helpful.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |