<?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 Problems at calling RFC through Visual Basic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-at-calling-rfc-through-visual-basic/m-p/978416#M71377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm connecting to SAP in Visual Basic and i calling a RFC with this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Sub cmdFunction_Click()&lt;/P&gt;&lt;P&gt;    Set dieFunc = FunctionCtrl.Add("KNA1_READ")&lt;/P&gt;&lt;P&gt;    dieFunc.Exports("PI_CUSTOMER") = txtcliente.Text  &lt;/P&gt;&lt;P&gt;    If dieFunc.Call = True Then&lt;/P&gt;&lt;P&gt;'Mostrar resutado&lt;/P&gt;&lt;P&gt;      lblSalida.Caption = dieFunc.Imports("PE_KNA1")&lt;/P&gt;&lt;P&gt;    Else&lt;/P&gt;&lt;P&gt;       MsgBox "Error when accessing function in R/3!"&lt;/P&gt;&lt;P&gt;       Screen.MousePointer = vbDefault&lt;/P&gt;&lt;P&gt;       Exit Sub&lt;/P&gt;&lt;P&gt;    End If&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and diefunc.call always is false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laura Zaragoza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Sep 2005 19:37:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-23T19:37:40Z</dc:date>
    <item>
      <title>Problems at calling RFC through Visual Basic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-at-calling-rfc-through-visual-basic/m-p/978416#M71377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm connecting to SAP in Visual Basic and i calling a RFC with this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Sub cmdFunction_Click()&lt;/P&gt;&lt;P&gt;    Set dieFunc = FunctionCtrl.Add("KNA1_READ")&lt;/P&gt;&lt;P&gt;    dieFunc.Exports("PI_CUSTOMER") = txtcliente.Text  &lt;/P&gt;&lt;P&gt;    If dieFunc.Call = True Then&lt;/P&gt;&lt;P&gt;'Mostrar resutado&lt;/P&gt;&lt;P&gt;      lblSalida.Caption = dieFunc.Imports("PE_KNA1")&lt;/P&gt;&lt;P&gt;    Else&lt;/P&gt;&lt;P&gt;       MsgBox "Error when accessing function in R/3!"&lt;/P&gt;&lt;P&gt;       Screen.MousePointer = vbDefault&lt;/P&gt;&lt;P&gt;       Exit Sub&lt;/P&gt;&lt;P&gt;    End If&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and diefunc.call always is false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laura Zaragoza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 19:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-at-calling-rfc-through-visual-basic/m-p/978416#M71377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T19:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems at calling RFC through Visual Basic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-at-calling-rfc-through-visual-basic/m-p/978417#M71378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a rcent SAPGui (6.20 at least I think), try the External Debugging (Utilities -&amp;gt; Settings -&amp;gt; Debugging) and set a breakpoint (select External).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 21:57:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-at-calling-rfc-through-visual-basic/m-p/978417#M71378</guid>
      <dc:creator>guillaume-hrc</dc:creator>
      <dc:date>2005-09-23T21:57:15Z</dc:date>
    </item>
  </channel>
</rss>

