‎2006 Jun 30 12:07 PM
Can anybody give me a link for tutorial of XML?
Regards,
Subhasish
‎2006 Jun 30 12:20 PM
‎2006 Jun 30 12:11 PM
http://www.xml.com/pub/a/98/10/guide0.html
regards,
Ravi
Note : Please close the thread if the issue is resolved
Message was edited by: Ravikumar Allampallam
‎2006 Jun 30 12:14 PM
Hi,
http://www.w3schools.com/xml/default.asp
http://www.stylusstudio.com/learn_xml.html
http://xmlfiles.com/xml/xml_usedfor.asp
http://www.xml.com/pub/a/98/10/guide0.html
some of them seem to be willing to profit, so be careful.
this one in case you understand german
‎2006 Jun 30 12:20 PM
‎2006 Jun 30 12:26 PM
Hi subhasish,
1. itab --- > xml
xml ---> itab.
2. This program will do both.
(just copy paste in new program)
3.
REPORT abc.
*----
DATA
DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
DATA : BEGIN OF itab OCCURS 0,
a(100) TYPE c,
END OF itab.
DATA: xml_out TYPE string .
DATA : BEGIN OF upl OCCURS 0,
f(255) TYPE c,
END OF upl.
DATA: xmlupl TYPE string .
FIRST PHASE
FIRST PHASE
FIRST PHASE
*----
Fetch Data
SELECT * FROM t001 INTO TABLE t001.
*----
XML
CALL TRANSFORMATION ('ID')
SOURCE tab = t001[]
RESULT XML xml_out.
*----
Convert to TABLE
CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'
EXPORTING
i_string = xml_out
i_tabline_length = 100
TABLES
et_table = itab.
*----
Download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filetype = 'BIN'
filename = 'd:\xx.xml'
TABLES
data_tab = itab.
SECOND PHASE
SECOND PHASE
SECOND PHASE
BREAK-POINT.
REFRESH t001.
CLEAR t001.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'D:\XX.XML'
filetype = 'BIN'
TABLES
data_tab = upl.
LOOP AT upl.
CONCATENATE xmlupl upl-f INTO xmlupl.
ENDLOOP.
*----
XML
CALL TRANSFORMATION ('ID')
SOURCE XML xmlupl
RESULT tab = t001[]
.
BREAK-POINT.
regards,
amit m.
‎2006 Jun 30 12:54 PM
Hi,
For details on SAP and XML integration, refer the below good links-
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://www.topxml.com/sap/default.asp
http://www.topxml.com/sap/sap_idoc_xml.asp
http://ifr.sap.com/home/Documents/ABAP_Serialization.htm
http://xml.coverpages.org/xml-rpc.html
http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/content.htm.
/people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach
/people/r.eijpe/blog/2005/11/10/xml-dom-processing-in-abap-part-i--convert-an-abap-table-into-xml-file-using-sap-dom-approach
/people/sap.user72/blog/2006/01/19/upload-data-from-multiple-worksheets-within-a-single-excel-file-into-internal-table-from-abap
http://help.sap.com/saphelp_erp2005/helpdata/en/42/930690a5051d6be10000000a1553f6/frameset.htm
Mark useful answers.
Regards,
Tanuja.