<?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: RFC_GET_FUNCTION_INTERFACE_P in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-get-function-interface-p/m-p/969048#M69249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not SAP insider. So, I'm not aware of possible pitfalls, sorry. Typical C-Java guy think that in &amp;amp;#1057; you can not ask function signatures in run-time, in Java, you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How is this implemented in SAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If my external RFC server registers function using RfcInstallFunction(), how RFC_GET_FUNCTION_INTERFACE_P would know its signature?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Calling RFC_GET_FUNCTION_INTERFACE_P for itself in QEC (non Unicode) expose extra parameter &amp;lt;b&amp;gt;NONE_UNICODE_LENGTH&amp;lt;/b&amp;gt; in my RFC application (Unicode) but do not expose it in my SAPGUI (non Unicode?). Where can I read about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. What about Unicode and RFC_GET_STRUCTURE_DEFINITION_P?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for too many questions - expect many bonus points! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2005 21:52:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-02T21:52:35Z</dc:date>
    <item>
      <title>RFC_GET_FUNCTION_INTERFACE_P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-get-function-interface-p/m-p/969046#M69247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the following statement true or false?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"For every RFC function that you can call,&lt;/P&gt;&lt;P&gt;you can also access its signature&lt;/P&gt;&lt;P&gt;(using RFC_GET_FUNCTION_INTERFACE_P)"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 19:48:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-get-function-interface-p/m-p/969046#M69247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-02T19:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_GET_FUNCTION_INTERFACE_P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-get-function-interface-p/m-p/969047#M69248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure......why?  You got an argument against that statement?  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002 .


data: signature type table of rfc_fint_p with header line.


parameters: p_func type tfdir-funcname.


call function 'RFC_GET_FUNCTION_INTERFACE_P'
  exporting
    funcname            = p_func
*   LANGUAGE            = SY-LANGU
  tables
    params_p            = signature
* EXCEPTIONS
*   FU_NOT_FOUND        = 1
*   NAMETAB_FAULT       = 2
*   OTHERS              = 3
          .
if sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.


loop at signature.

  write:/ signature-paramclass,
  signature-parameter,
  signature-tabname,
  signature-fieldname,
  signature-exid,
  signature-position,
  signature-offset,
  signature-intlength,
  signature-decimals,
  signature-default,
  signature-paramtext,
  signature-optional.


endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 20:11:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-get-function-interface-p/m-p/969047#M69248</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-02T20:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_GET_FUNCTION_INTERFACE_P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-get-function-interface-p/m-p/969048#M69249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not SAP insider. So, I'm not aware of possible pitfalls, sorry. Typical C-Java guy think that in &amp;amp;#1057; you can not ask function signatures in run-time, in Java, you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How is this implemented in SAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If my external RFC server registers function using RfcInstallFunction(), how RFC_GET_FUNCTION_INTERFACE_P would know its signature?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Calling RFC_GET_FUNCTION_INTERFACE_P for itself in QEC (non Unicode) expose extra parameter &amp;lt;b&amp;gt;NONE_UNICODE_LENGTH&amp;lt;/b&amp;gt; in my RFC application (Unicode) but do not expose it in my SAPGUI (non Unicode?). Where can I read about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. What about Unicode and RFC_GET_STRUCTURE_DEFINITION_P?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for too many questions - expect many bonus points! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 21:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-get-function-interface-p/m-p/969048#M69249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-02T21:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_GET_FUNCTION_INTERFACE_P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-get-function-interface-p/m-p/969049#M69250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how to answer your questions.   RFC_GET_FUNCTION_INTERFACE_P just gives you the import/export/tables parameters of the function module that specified thru its own IMPORT parameter.  It returns a list of the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the above ABAP code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 22:22:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-get-function-interface-p/m-p/969049#M69250</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-02T22:22:09Z</dc:date>
    </item>
  </channel>
</rss>

