<?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: a problem when using a data element in BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894592#M934963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  Can you give the importing and exporting parametes of your FM so that we can check it . &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;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jun 2008 02:45:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-12T02:45:32Z</dc:date>
    <item>
      <title>a problem when using a data element in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894587#M934958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I build a function module, and want to use it as a BAPI. But when I add the function module as a method of a BAPI object, it gives me the following error: data type xxxxx cannot be used for methods. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the problem happens because of the type of data element I used for the input parameter of the function module. Thus I tried many other data elements, but I keep getting the same error. I am really out of the game. Could anyone tell me which data element I should use for the input parameter of the function module? The function module has only one input parameter, which should be a string with length less than 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2008 20:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894587#M934958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-01T20:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: a problem when using a data element in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894588#M934959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could anybody help me with this question? Any comments or suggestions are sincerely appreciated!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 18:05:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894588#M934959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T18:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: a problem when using a data element in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894589#M934960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hope when you are creating the FM the parameter is set to TYPE and not LIKE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 18:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894589#M934960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T18:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: a problem when using a data element in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894590#M934961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much for the reply. I used "TYPE".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 20:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894590#M934961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T20:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: a problem when using a data element in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894591#M934962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still can't solve this problem. Could anyone help me with that? Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 02:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894591#M934962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T02:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: a problem when using a data element in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894592#M934963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  Can you give the importing and exporting parametes of your FM so that we can check it . &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;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 02:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894592#M934963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T02:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: a problem when using a data element in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894593#M934964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function module has only one input parameter, which should be a string with length less than 256. (I tried many predefined data element like RPLM_STRING, but when I tried to add the function module as a method of BAPI, the SAP always gave me the error: data type xxxxx cannot be used for methods)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only has one output parameter: RETURN (associated type: BAPIRETURN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really not familiar with ABAP program, let alone BAPIs. Any suggestions would be very helpful to me. I sincerely appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 04:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894593#M934964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T04:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: a problem when using a data element in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894594#M934965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Noyan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try this: Create a New Structure in SE11 Say ZBAPITEST. In that Structure create a field with length of type CHAR256 say ZZ_STRING. Now In the BAPI Interface, For the Input parameter Specigy the typeas  ZBAPITEST-ZZ_STRING. Hope this Works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure that you check the 'Pass By Value flag' and your FM has attibutes as 'RFC Enabled'.&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;&lt;/P&gt;&lt;P&gt;Saket Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 05:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894594#M934965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T05:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: a problem when using a data element in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894595#M934966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. I get this problem solved!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 06:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-when-using-a-data-element-in-bapi/m-p/3894595#M934966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T06:43:28Z</dc:date>
    </item>
  </channel>
</rss>

