<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic XML file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/6124313#M1364147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ve a XML file, can I upload it into SAP and get all the tags present in the XML file into one single line.&lt;/P&gt;&lt;P&gt;Eg: If i have 10 tags in 10 different lines, can I do something in SAP to get all the 10 tags into a single line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2009 10:52:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-17T10:52:55Z</dc:date>
    <item>
      <title>XML file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/6124313#M1364147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ve a XML file, can I upload it into SAP and get all the tags present in the XML file into one single line.&lt;/P&gt;&lt;P&gt;Eg: If i have 10 tags in 10 different lines, can I do something in SAP to get all the 10 tags into a single line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 10:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/6124313#M1364147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T10:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: XML file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/6124314#M1364148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: xml_data TYPE xstring,&lt;/P&gt;&lt;P&gt;lt_xml_data TYPE STANDARD TABLE OF xstring.&lt;/P&gt;&lt;P&gt;APPEND xml_data TO lt_xml_data.&lt;/P&gt;&lt;P&gt;lo_pdfobj-&amp;gt;get_data(&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;formdata = xml_data ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert XML data from XSTRING format to STRING format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: lv_xml_data_string TYPE string.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;im_xstring = xml_data&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;ex_string = lv_xml_data_string.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Remove NEW-LINE character from XML data in STRING format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLASS cl_abap_char_utilities DEFINITION LOAD.&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURENCES OF cl_abap_char_utilities=&amp;gt;newline IN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_xml_data_string WITH ''.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Make the XML envelope compliant with identity transform&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;REPLACE '&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;data&amp;gt;'&lt;/P&gt;&lt;P&gt;IN lv_xml_data_string&lt;/P&gt;&lt;P&gt;WITH '&amp;lt;?xml version="1.0" encoding="iso-8859-1"?&amp;gt;&amp;lt;asx:abap xmlns&lt;/P&gt;&lt;P&gt;:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;&amp;lt;asx:values&amp;gt;'.&lt;/P&gt;&lt;P&gt;REPLACE '&amp;lt;/data&amp;gt;'&lt;/P&gt;&lt;P&gt;IN lv_xml_data_string&lt;/P&gt;&lt;P&gt;WITH '&amp;lt;/asx:values&amp;gt;&amp;lt;/asx:abap&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Apply the identity transform and convert XML into ABAP in one step&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: wa_VNDBNK type ZVK_VNDBNK VALUE IS INITIAL,&lt;/P&gt;&lt;P&gt;wa_VENDOR type ZHD_VENDOR value is initial,&lt;/P&gt;&lt;P&gt;lv_subrc TYPE sysubrc VALUE IS INITIAL,&lt;/P&gt;&lt;P&gt;lt_messtab TYPE STANDARD TABLE OF bdcmsgcoll,&lt;/P&gt;&lt;P&gt;l_key type SWR_STRUCT-OBJECT_KEY,&lt;/P&gt;&lt;P&gt;l_pack type zhd_vendor-lifnr.&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION id&lt;/P&gt;&lt;P&gt;SOURCE XML lv_xml_data_string&lt;/P&gt;&lt;P&gt;RESULT Z_VNDBNK = wa_vndbnk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Arunsri on Sep 17, 2009 1:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 11:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/6124314#M1364148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T11:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: XML file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/6124315#M1364149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HeY Arun,&lt;/P&gt;&lt;P&gt;Thanks for your reply. Unfortunately this doesnot seem to work. I getting error 'lo_pdfobj Un´known'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;greg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 12:20:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/6124315#M1364149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T12:20:11Z</dc:date>
    </item>
  </channel>
</rss>

