<?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 Re: Generate XML/XSD from BAPI using ABAP code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-xml-xsd-from-bapi-using-abap-code/m-p/11419587#M1926494</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;Thanks for your answer. I already found these function modules but I do not know how to use them. How can I get the XSD lets say as a string which I can then write to disc or give back to the calling function?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried e. g. SDIXML_FULI_TO_SCHEMA with BAPI_MATERIAL_GETALL as input but I cannot use the exports "ELEMENT" and "ELEMENTS" as I'm used to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an example for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Dec 2015 14:12:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-12-08T14:12:35Z</dc:date>
    <item>
      <title>Generate XML/XSD from BAPI using ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-xml-xsd-from-bapi-using-abap-code/m-p/11419585#M1926492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to generate XSDs describing an ABAP function (the interface) using ABAP code. The output should be a valid XSD document containing all the parameters (input, export, ...) including the data types (string, integer, ...). Is there anything available which I can use or do I need to write everything from scratch?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 12:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-xml-xsd-from-bapi-using-abap-code/m-p/11419585#M1926492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-08T12:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Generate XML/XSD from BAPI using ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-xml-xsd-from-bapi-using-abap-code/m-p/11419586#M1926493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to explore FMs under Function group SDIXML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP uses SDIXML_IDOC_TO_SCHEMA to generate the xsd for Idoc . Your requirement might be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look specially SDIXML_SCHEMA_CREATE and&amp;nbsp; SDIXML_SCHEMA_ELEMENT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 13:49:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-xml-xsd-from-bapi-using-abap-code/m-p/11419586#M1926493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-08T13:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generate XML/XSD from BAPI using ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-xml-xsd-from-bapi-using-abap-code/m-p/11419587#M1926494</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;Thanks for your answer. I already found these function modules but I do not know how to use them. How can I get the XSD lets say as a string which I can then write to disc or give back to the calling function?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried e. g. SDIXML_FULI_TO_SCHEMA with BAPI_MATERIAL_GETALL as input but I cannot use the exports "ELEMENT" and "ELEMENTS" as I'm used to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an example for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 14:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-xml-xsd-from-bapi-using-abap-code/m-p/11419587#M1926494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-08T14:12:35Z</dc:date>
    </item>
  </channel>
</rss>

