<?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 question about write BAPI with delphi~ in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write-bapi-with-delphi/m-p/2983529#M704460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P_MATNR's type is MATNR,&lt;/P&gt;&lt;P&gt;you can not pass value as Funct.exports('P_MATNR'):= 'ABS00221+GPG00103' ,&lt;/P&gt;&lt;P&gt;because of that it show an error and say "Type is not match."&amp;amp;#31867;&amp;amp;#22411;&amp;amp;#19981;&amp;amp;#21305;&amp;amp;#37197;&amp;amp;#12290;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because of type mismatch, we need to pass same value as the type declare &lt;/P&gt;&lt;P&gt;Here you need to pass value as CHAR18 only and you are passing more than that value so you are getting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple thing you can do goto SE11 check in MARA table for value of MATNR&lt;/P&gt;&lt;P&gt;and then pass the same value to P_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will work out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2007 03:03:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-13T03:03:12Z</dc:date>
    <item>
      <title>A question about write BAPI with delphi~</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write-bapi-with-delphi/m-p/2983528#M704459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear gulus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I have declare a function in SAP, the function have a import parameters:P_MATNR, and the P_MATNR's type is MATNR,&lt;/P&gt;&lt;P&gt;when i call the function in delphi, &lt;/P&gt;&lt;P&gt;and export the parameters like following code:&lt;/P&gt;&lt;P&gt;Funct.exports('P_MATNR'):= 'ABS00221+GPG00103' ,&lt;/P&gt;&lt;P&gt;when i run the code, it show an error and say "Type is not match."&amp;amp;#31867;&amp;amp;#22411;&amp;amp;#19981;&amp;amp;#21305;&amp;amp;#37197;&amp;amp;#12290;&lt;/P&gt;&lt;P&gt;why? who can help me ? thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 01:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write-bapi-with-delphi/m-p/2983528#M704459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T01:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: A question about write BAPI with delphi~</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write-bapi-with-delphi/m-p/2983529#M704460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P_MATNR's type is MATNR,&lt;/P&gt;&lt;P&gt;you can not pass value as Funct.exports('P_MATNR'):= 'ABS00221+GPG00103' ,&lt;/P&gt;&lt;P&gt;because of that it show an error and say "Type is not match."&amp;amp;#31867;&amp;amp;#22411;&amp;amp;#19981;&amp;amp;#21305;&amp;amp;#37197;&amp;amp;#12290;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because of type mismatch, we need to pass same value as the type declare &lt;/P&gt;&lt;P&gt;Here you need to pass value as CHAR18 only and you are passing more than that value so you are getting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple thing you can do goto SE11 check in MARA table for value of MATNR&lt;/P&gt;&lt;P&gt;and then pass the same value to P_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will work out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 03:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write-bapi-with-delphi/m-p/2983529#M704460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T03:03:12Z</dc:date>
    </item>
  </channel>
</rss>

