<?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: Create Rebate agreements using BAPI:BAPI_AGREEMENTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700564#M1294875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2009 10:13:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-26T10:13:09Z</dc:date>
    <item>
      <title>Create Rebate agreements using BAPI:BAPI_AGREEMENTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700563#M1294874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;My requirement is to create the rebate agreement using BAPI.&lt;/P&gt;&lt;P&gt;For this I am using 'BAPI_AGREEMENTS'.&lt;/P&gt;&lt;P&gt;I am passing the below values to TI_BAPIAGRMNT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*ls_BAPIAGRMNT-OPERATION = .&lt;/P&gt;&lt;P&gt;*ls_BAPIAGRMNT-AGREE_COND =&lt;/P&gt;&lt;P&gt;ls_BAPIAGRMNT-SALES_ORG = 'BIC'.&lt;/P&gt;&lt;P&gt;ls_BAPIAGRMNT-DISTR_CHAN = '02'.&lt;/P&gt;&lt;P&gt;ls_BAPIAGRMNT-DIVISION = '00'.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BAPIAGRMNT.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_AGREEMENTS'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PI_INITIALMODE       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PI_BLOCKNUMBER       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    TI_BAPIAGRMNT        = lTI_BAPIAGRMNT&lt;/P&gt;&lt;P&gt;    TO_BAPIRET2          = lTO_BAPIRET2&lt;/P&gt;&lt;P&gt;    TO_BAPIKNUMAS        = lTO_BAPIKNUMAS&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UPDATE_ERROR         = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS               = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;i am getting the values in lTO_BAPIRET2&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Type: E      &lt;/P&gt;&lt;P&gt;ID:CND_EXCHANGE&lt;/P&gt;&lt;P&gt;Number:156&lt;/P&gt;&lt;P&gt;Message:Record KNUMA = , AG_GUID = 00000000000000000000000000000000: agrmt type  deviates from Customizing&lt;/P&gt;&lt;P&gt;LOG_NO:&lt;/P&gt;&lt;P&gt;LOG_MSG_NO:00000&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;and i am not able to create rebate agreement using this BAPI.If i am passing same values in VBO1 am able to create the agreement.&lt;/P&gt;&lt;P&gt;Let me know what to do. Am i using correct BAPI or not.If it is correct what r the remaining fields need to be passed.If not let me know the correct procedure.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2009 10:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700563#M1294874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-25T10:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rebate agreements using BAPI:BAPI_AGREEMENTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700564#M1294875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 10:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700564#M1294875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T10:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rebate agreements using BAPI:BAPI_AGREEMENTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700565#M1294876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May i know the solution what you had ..... to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am having the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 09:50:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700565#M1294876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T09:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rebate agreements using BAPI:BAPI_AGREEMENTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700566#M1294877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am getting the same problem when trying to create a agreement by using BAPI_AGREEMENTS ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls let me know hw u hav solved the same ??? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds,&lt;/P&gt;&lt;P&gt;S.bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2009 21:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700566#M1294877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-25T21:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rebate agreements using BAPI:BAPI_AGREEMENTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700567#M1294878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please let me know the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am also facing same problem please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 08:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700567#M1294878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T08:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rebate agreements using BAPI:BAPI_AGREEMENTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700568#M1294879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to supply the condition group..it usually is the same as the aggreement type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also do a rebate manually, and then check the data that was posted in the table KONA using se16....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 07:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-rebate-agreements-using-bapi-bapi-agreements/m-p/5700568#M1294879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-17T07:59:04Z</dc:date>
    </item>
  </channel>
</rss>

