<?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: Read Data-Structure via RFC for external c-code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-structure-via-rfc-for-external-c-code/m-p/1099683#M103148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hellp Konrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you might use the function modules:&lt;/P&gt;&lt;P&gt;RFC_GET_FUNCTION_INTERFACE&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;RFC_GET_STRUCTURE_DEFINITION&lt;/P&gt;&lt;P&gt;to create an dynamic RFC interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find my answer useful, please don't forget the reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Juergen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Oct 2005 06:59:00 GMT</pubDate>
    <dc:creator>former_member225448</dc:creator>
    <dc:date>2005-10-17T06:59:00Z</dc:date>
    <item>
      <title>Read Data-Structure via RFC for external c-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-structure-via-rfc-for-external-c-code/m-p/1099682#M103147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Is there a way to read the data structure from a BAPI via RFC. My Problem is, that some of our customers have extended some functions in SAP and these extensions are somewhere in the middle of the structure. So, if I call the function from a C-Program the structure is different to my defined structure and I get wrong values. So I need a way to read the structure dynamically to make sure that I use the right structure definition!&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>Mon, 17 Oct 2005 06:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-structure-via-rfc-for-external-c-code/m-p/1099682#M103147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-17T06:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Read Data-Structure via RFC for external c-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-structure-via-rfc-for-external-c-code/m-p/1099683#M103148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hellp Konrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you might use the function modules:&lt;/P&gt;&lt;P&gt;RFC_GET_FUNCTION_INTERFACE&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;RFC_GET_STRUCTURE_DEFINITION&lt;/P&gt;&lt;P&gt;to create an dynamic RFC interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find my answer useful, please don't forget the reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Juergen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 06:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-structure-via-rfc-for-external-c-code/m-p/1099683#M103148</guid>
      <dc:creator>former_member225448</dc:creator>
      <dc:date>2005-10-17T06:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Read Data-Structure via RFC for external c-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-structure-via-rfc-for-external-c-code/m-p/1099684#M103149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use RFC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDL_FUNCTION_INTERFACE_GET to get the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 07:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-structure-via-rfc-for-external-c-code/m-p/1099684#M103149</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-10-17T07:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Read Data-Structure via RFC for external c-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-structure-via-rfc-for-external-c-code/m-p/1099685#M103150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the same problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used the function modules:&lt;/P&gt;&lt;P&gt;RFC_GET_FUNCTION_INTERFACE&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;RFC_GET_STRUCTURE_DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, i can not predefine the structure ,after call rfccallreceive, i can not use this format:&lt;/P&gt;&lt;P&gt;(structure*)ItGetLine(itab,i);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, i used this format:&lt;/P&gt;&lt;P&gt;(unsigned char*)ItGetLine(itab,i);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ths size of typedef structure{} format is not same the size of sum of structure's element size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i make the late bound c++ program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 11:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-structure-via-rfc-for-external-c-code/m-p/1099685#M103150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T11:12:13Z</dc:date>
    </item>
  </channel>
</rss>

