<?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: Whats Wrong with this Code Or Function Call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-wrong-with-this-code-or-function-call/m-p/1994214#M405244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you given the destination name in upper case??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;rfcdest = 'SERVER1'. &amp;lt;------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2007 11:51:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-19T11:51:33Z</dc:date>
    <item>
      <title>Whats Wrong with this Code Or Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-wrong-with-this-code-or-function-call/m-p/1994213#M405243</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;Can you please once go through this small peace of code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I test the below function module in SE37  &lt;/P&gt;&lt;P&gt;BAPI_STDMATERIAL_GETINTNUMBER&lt;/P&gt;&lt;P&gt;it works perfectly with RFC destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However It gives me a short dump when I call the BAPI in a report with RFC Destination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one  throw some light on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : l_return LIKE bapireturn1,&lt;/P&gt;&lt;P&gt;it_matnr LIKE  bapimatinr OCCURS 0&lt;/P&gt;&lt;P&gt;        WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : rfcdest TYPE rfcdest.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;rfcdest = 'server1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_STDMATERIAL_GETINTNUMBER'&lt;/P&gt;&lt;P&gt;  DESTINATION 'SERVER1'                                    &lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    material_type    = 'PLEL'&lt;/P&gt;&lt;P&gt;    industry_sector  = 'M'&lt;/P&gt;&lt;P&gt;    required_numbers = '1'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    return           = l_return&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    material_number  = it_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 11:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-wrong-with-this-code-or-function-call/m-p/1994213#M405243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T11:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Whats Wrong with this Code Or Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-wrong-with-this-code-or-function-call/m-p/1994214#M405244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you given the destination name in upper case??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;rfcdest = 'SERVER1'. &amp;lt;------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 11:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-wrong-with-this-code-or-function-call/m-p/1994214#M405244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T11:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Whats Wrong with this Code Or Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-wrong-with-this-code-or-function-call/m-p/1994215#M405245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes I have given the RFC destination in UPPER CASE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 11:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-wrong-with-this-code-or-function-call/m-p/1994215#M405245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T11:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Whats Wrong with this Code Or Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-wrong-with-this-code-or-function-call/m-p/1994216#M405246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this line in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rfcdest = 'server1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change this 'server1'. to SERVER1, and give rfcdest to the destination.&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balaji E.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 12:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-wrong-with-this-code-or-function-call/m-p/1994216#M405246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T12:08:08Z</dc:date>
    </item>
  </channel>
</rss>

