<?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>Question Re: Function module to read meta data / signature of function module in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/function-module-to-read-meta-data-signature-of-function-module/qaa-p/12494850#M4682045</link>
    <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt;  Thank you Sandra, thats exactly what we have been looking for! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2022 13:17:17 GMT</pubDate>
    <dc:creator>martin_reichenecker</dc:creator>
    <dc:date>2022-04-13T13:17:17Z</dc:date>
    <item>
      <title>Function module to read meta data / signature of function module</title>
      <link>https://community.sap.com/t5/technology-q-a/function-module-to-read-meta-data-signature-of-function-module/qaq-p/12494848</link>
      <description>&lt;P&gt;Hello fellows, &lt;/P&gt;
  &lt;P&gt;Besides implementing interfaces with OData, we still need to provide interfaces via RFC. To do this, function modules are implemented, which are then converted into a RESTful service by our middleware WSO2.&lt;/P&gt;
  &lt;P&gt;We currently have to read out the signature of a function module manually and make it available to our integration colleagues, what means a lot of manual effort. &lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Example: A function module with the following signature:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;Import&lt;/P&gt;
  &lt;P&gt;- MATERIAL_NR TYPE MATNR&lt;/P&gt;
  &lt;P&gt;Export&lt;/P&gt;
  &lt;P&gt;-RETURN TYPE BAPIRET2&lt;/P&gt;
  &lt;P&gt;tables&lt;/P&gt;
  &lt;P&gt;-VBAK TYPE VBAK&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;These would then have to be translated into:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;Import&lt;/P&gt;
  &lt;P&gt;- MATERIAL_NO --&amp;gt; CHAR 18&lt;/P&gt;
  &lt;P&gt;Export&lt;/P&gt;
  &lt;P&gt;-BACK --&amp;gt;&lt;/P&gt;
  &lt;P&gt;{&lt;/P&gt;
  &lt;P&gt;TYPE SIGN 1&lt;/P&gt;
  &lt;P&gt;ID SIGN 20&lt;/P&gt;
  &lt;P&gt;NUMBER DEC 3&lt;/P&gt;
  &lt;P&gt;MESSAGE SIGN 220&lt;/P&gt;
  &lt;P&gt;LOG_NO CHAR 20&lt;/P&gt;
  &lt;P&gt;LOG_MSG_NO CHAR 6&lt;/P&gt;
  &lt;P&gt;MESSAGE_V1 CHARACTER 50&lt;/P&gt;
  &lt;P&gt;MESSAGE_V2 CHARACTER 50&lt;/P&gt;
  &lt;P&gt;MESSAGE_V3 CHARACTER 50&lt;/P&gt;
  &lt;P&gt;MESSAGE_V4 CHARACTER 50&lt;/P&gt;
  &lt;P&gt;PARAMETERS CHAR 32&lt;/P&gt;
  &lt;P&gt;DEC 10 SERIES&lt;/P&gt;
  &lt;P&gt;FIELD SIGN 30&lt;/P&gt;
  &lt;P&gt;SYSTEM CHARACTER 10&lt;/P&gt;
  &lt;P&gt;}&lt;/P&gt;
  &lt;P&gt;tables&lt;/P&gt;
  &lt;P&gt;-VBAK--&amp;gt;&lt;/P&gt;
  &lt;P&gt;[{&lt;/P&gt;
  &lt;P&gt;MANDT SIGN 3&lt;/P&gt;
  &lt;P&gt;VBELN SIGN 10&lt;/P&gt;
  &lt;P&gt;ERDAT SIGN 8&lt;/P&gt;
  &lt;P&gt;ORE CHAR 6&lt;/P&gt;
  &lt;P&gt;ERNAM CHAR 12&lt;/P&gt;
  &lt;P&gt;ANGDT SIGN 8&lt;/P&gt;
  &lt;P&gt;BNDDT SIGN 8&lt;/P&gt;
  &lt;P&gt;AUDAT SIGN 8&lt;/P&gt;
  &lt;P&gt;VBTYPE CHARACTER 1&lt;/P&gt;
  &lt;P&gt;TRVOG SIGN 1&lt;/P&gt;
  &lt;P&gt;}]&lt;/P&gt;
  &lt;P&gt;To speed that up: &lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Is there a function module / class to read out the signature of a function module?&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;The Fubas RFC_GET_FUNCTION_INTERFACE, FUNCTION_IMPORT_INTERFACE, BDL_FUNCTION_INTERFACE_GET are already known, but not sufficient. Unfortunately, it only supplies the highest layer of the function module siganture.&lt;/P&gt;
  &lt;P&gt;I have seen that there is a way to read the meta data in other middleware system like SAP PI/PO, MuleSoft or IBM WebSphere. I was wondering if they deliver their own interfaces to read this or is there a SAP standard module?&lt;/P&gt;
  &lt;P&gt;Thank you in advance.&lt;/P&gt;
  &lt;P&gt;Kind regards, &lt;/P&gt;
  &lt;P&gt;Martin &lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 08:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/function-module-to-read-meta-data-signature-of-function-module/qaq-p/12494848</guid>
      <dc:creator>martin_reichenecker</dc:creator>
      <dc:date>2022-04-13T08:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read meta data / signature of function module</title>
      <link>https://community.sap.com/t5/technology-q-a/function-module-to-read-meta-data-signature-of-function-module/qaa-p/12494849#M4682044</link>
      <description>&lt;P&gt;The one which is used implicitly by the RFC Libraries is RFC_METADATA_GET. It gives all information.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 09:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/function-module-to-read-meta-data-signature-of-function-module/qaa-p/12494849#M4682044</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-04-13T09:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read meta data / signature of function module</title>
      <link>https://community.sap.com/t5/technology-q-a/function-module-to-read-meta-data-signature-of-function-module/qaa-p/12494850#M4682045</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt;  Thank you Sandra, thats exactly what we have been looking for! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 13:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/function-module-to-read-meta-data-signature-of-function-module/qaa-p/12494850#M4682045</guid>
      <dc:creator>martin_reichenecker</dc:creator>
      <dc:date>2022-04-13T13:17:17Z</dc:date>
    </item>
  </channel>
</rss>

