<?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: API Method in object type in SWO1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-method-in-object-type-in-swo1/m-p/10109383#M1815942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Feb 2014 07:08:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-13T07:08:21Z</dc:date>
    <item>
      <title>API Method in object type in SWO1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-method-in-object-type-in-swo1/m-p/10109382#M1815941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am adding API Method in Object Type created in SWO1 ,which is a RFC (don't having any string as&amp;nbsp; BAPI in naming convention). but&amp;nbsp; its giving error name does not begin with BAPI (shown in first screen shot ) .&lt;/P&gt;&lt;P&gt;Is it necessary to give RFC in API method begin with BAPI .&lt;/P&gt;&lt;P&gt;How I can resolve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I proceed further I get error as ' Method does not define a RETURN parameter(shown in second screen shot).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 05:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-method-in-object-type-in-swo1/m-p/10109382#M1815941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-13T05:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: API Method in object type in SWO1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-method-in-object-type-in-swo1/m-p/10109383#M1815942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 07:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-method-in-object-type-in-swo1/m-p/10109383#M1815942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-13T07:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: API Method in object type in SWO1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-method-in-object-type-in-swo1/m-p/10109384#M1815943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;rules : 1. all parameters you define in export and import should be pass by value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. all&amp;nbsp; custom BAPI should starts with BAPI_XXX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. all BAPI are RFC enabled..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. do use table name in associated type, use always a BAPI structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5. after create the BAPI fucntion modules release the BAPI function modules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6. in the exporting tab use return parameter and pass the structure BAPIRET2.&lt;/P&gt;&lt;P&gt;once u did all this things&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; go to the T-CODE SWO1.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; create the object,by default two methods will be there one is display and and add ur custom BAPI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as a method insde the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;RV karthikeyan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Feb 2014 14:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-method-in-object-type-in-swo1/m-p/10109384#M1815943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-16T14:16:19Z</dc:date>
    </item>
  </channel>
</rss>

