<?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 BAPI ERROR... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/7557413#M1564033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create bapi in swo1 , I am getting error given below when am giving function module name  in Utilities-&amp;gt;API .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data type: ZBAPI_BUKRS cannot be used for methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here zbapi_bukrs is data element which is given in import parameter of function module and one more thing when am giving standard data element name bukrs then also same error is coming. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;rsandhosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines for your posts.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Jan 6, 2011 2:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jan 2011 12:58:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-06T12:58:38Z</dc:date>
    <item>
      <title>BAPI ERROR...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/7557413#M1564033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create bapi in swo1 , I am getting error given below when am giving function module name  in Utilities-&amp;gt;API .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data type: ZBAPI_BUKRS cannot be used for methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here zbapi_bukrs is data element which is given in import parameter of function module and one more thing when am giving standard data element name bukrs then also same error is coming. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;rsandhosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines for your posts.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Jan 6, 2011 2:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 12:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/7557413#M1564033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-06T12:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI ERROR...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/7557414#M1564034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every parameter of a BAPI must belong to a &amp;lt;namespace&amp;gt;BAPI&amp;lt;name&amp;gt; structure, so don't use a TYPE ZBAPIelement but refer to a ZBAPIstructure-fieldname element. Create ZBAPI structure for structure (parameter and table) and another structure for single parameter definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check [Actions in the ABAP Dictionary |http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/43/b46c3953c111d395fa00a0c94260a5/frameset.htm] in [BAPI Programming Guide (CA-BFA)|http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at SAP standard BAPI to get a better idea.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*"  IMPORTING
*"     VALUE(PARAMETER1) LIKE  ZBAPISTRUCTURE1-FIELD1
*"     VALUE(STRUCTURE1) LIKE  ZBAPISTRUCTURE2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 14:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/7557414#M1564034</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-01-06T14:46:28Z</dc:date>
    </item>
  </channel>
</rss>

