2007 Apr 05 12:15 PM
Hello All,
i am using a this statement
CALL TRANSFORMATION z_sundeep_order
SOURCE XML xml_string
RESULT root = result.
where z_sundeep_orders is the structure of the xml file which i get but some time in the file the xml structure is different there is some data missing.
so i am not able to process the file.
and my probelm is if i get a file with 10 orders only for one order the data is missing then how can i process the file .
regards...
sundeep
Hello All,
i am using a this statement
CALL TRANSFORMATION z_sundeep_order
SOURCE XML xml_string
RESULT root = result.
where z_sundeep_orders is the structure of the xml file which i get but some time in the file the xml structure is different there is some data missing.
so i am not able to process the file.
and my probelm is if i get a file with 10 orders only for one order the data is missing then how can i process the file .
regards...
sundeep
2007 Apr 05 12:21 PM
Hi,
After calling the CALL TRANSFORMATION, you will get the results in RESULTS table, then loop this nad display the results, so that the user come to know that there is a faield record in the XML file
http://help.sap.com/saphelp_nw04/helpdata/en/a8/824c3c66177414e10000000a114084/content.htm
Regards
Sudheer
2007 Apr 05 12:31 PM
Hi sundeep,
check this links if helpful,
/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/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/horst.keller/blog/2004/10/27/abap-and-xml--introducing-st
/people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1
/people/tobias.trapp/blog/2005/05/17/xml-processing-in-abap-part-2
/people/tobias.trapp/blog/2005/05/20/xml-processing-in-abap-part-3
/people/tobias.trapp/blog/2005/05/27/xml-processing-in-abap-part-4
/people/tobias.trapp/blog/2005/06/15/xml-processing-in-abap--part-5
/people/tobias.trapp/blog/2005/12/08/xml-processing-in-abap--part-6
Thanks & Regards,
Mahendar.
2007 Apr 10 1:31 PM