<?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: Generate settlement rules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154891#M118590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you set an external breakpoint? And did you turn 'update debugging' in the debugger settings on?&lt;/P&gt;&lt;P&gt;Then it should stop in the user-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2014 12:21:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-10-21T12:21:15Z</dc:date>
    <item>
      <title>Generate settlement rules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154885#M118584</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 looking for SAP code to generate default settlement rules from extension IWO10027. From there i will be able to change some fields values in relation with a customer table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 18:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154885#M118584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T18:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Generate settlement rules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154886#M118585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Re: Generate settlement rules &lt;/P&gt;&lt;P&gt;Posted: Mar 10, 2006 9:46 AM    Reply  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;This reply is probably too late, however I have had success generating default settlement rules for Cost Centers, WBS Elements and Internal Orders. The documentation in SMOD for IW10027 is pretty good and worked for me.&lt;/P&gt;&lt;P&gt;In the example below, the user enters the required receiver (eg. Cost Center or WBS Element or Internal Order) in the applicable account assignment field on the PM order (using TCode IW31 or IW32). These values are passed to the exit in parameter CAUFVD_IMP. The user exit IWO10027 is invoked when the order is released or when you choose menu Goto &amp;gt; Maintain Settlement Rule &amp;gt;&amp;gt; with default. Here are the key pieces of code..hope this was helpful.  As a note, in the documentation where it says only certain account assignment categories are supported, believe it (eg. so far I've had no luck generating a settlement rule for a network activity, but I'm working on it). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Include ZXWOCU24 &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'ZPM_CREATE_SETTLEMENT_RULE'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;caufvd_imp = caufvd_imp&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;pmdfu_tab = pmdfu_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;function zpm_create_settlement_rule.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------" /&gt;&lt;P&gt;*"Local interface:&lt;/P&gt;&lt;P&gt;*" IMPORTING&lt;/P&gt;&lt;P&gt;*" REFERENCE(CAUFVD_IMP) LIKE CAUFVD STRUCTURE CAUFVD&lt;/P&gt;&lt;P&gt;*" TABLES&lt;/P&gt;&lt;P&gt;*" PMDFU_TAB STRUCTURE PMDFU OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reject if more than one account assignment object specified..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if caufvd_imp-kostl is not initial. "cost center&lt;/P&gt;&lt;P&gt;    add 1 to object_count.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if caufvd_imp-iaufnr is not initial. "order&lt;/P&gt;&lt;P&gt;    add 1 to object_count.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if caufvd_imp-proid is not initial. "wbs element&lt;/P&gt;&lt;P&gt;    add 1 to object_count.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if object_count &amp;gt; 1.&lt;/P&gt;&lt;P&gt;      message e002(zpm).&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reject if no account assignment object specified..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if object_count = 0.&lt;/P&gt;&lt;P&gt;      message e003(zpm).&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create default settlement rule according to account assignment..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if pmdfu_tab[] is not initial.&lt;/P&gt;&lt;P&gt;    message i000(zpm) with&lt;/P&gt;&lt;P&gt;      'Existing settlement rule(s) will be overwritten..'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  refresh pmdfu_tab.        "delete any existing rules..&lt;/P&gt;&lt;P&gt;  clear pmdfu_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Settle to Cost Center..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if caufvd_imp-kostl is not initial.&lt;/P&gt;&lt;P&gt;    message s000(zpm) with &lt;/P&gt;&lt;P&gt;         'Settlement Receiver = Cost Center'.&lt;/P&gt;&lt;P&gt;    pmdfu_tab-konty = 'CTR'.&lt;/P&gt;&lt;P&gt;    pmdfu_tab-fdind = caufvd_imp-kostl.&lt;/P&gt;&lt;P&gt;    pmdfu_tab-perbz = 'GES'.        "GES = Full, &lt;/P&gt;&lt;P&gt;                                    "ref. TKB8A-PERBZ&lt;/P&gt;&lt;P&gt;    pmdfu_tab-prozs = '100'.&lt;/P&gt;&lt;P&gt;    append pmdfu_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Settle to WBS Element..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  elseif caufvd_imp-proid is not initial.&lt;/P&gt;&lt;P&gt;    message s000(zpm) with &lt;/P&gt;&lt;P&gt;         'Settlement Receiver = WBS Element'.&lt;/P&gt;&lt;P&gt;    pmdfu_tab-konty = 'PR'.    "means 'WBS'&lt;/P&gt;&lt;P&gt;    pmdfu_tab-fdind = caufvd_imp-proid.&lt;/P&gt;&lt;P&gt;    pmdfu_tab-perbz = 'GES'.        "GES = Full&lt;/P&gt;&lt;P&gt;    pmdfu_tab-prozs = '100'.&lt;/P&gt;&lt;P&gt;    append pmdfu_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Settle to an Order..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  elseif caufvd_imp-iaufnr is not initial.&lt;/P&gt;&lt;P&gt;    message s000(zpm) with &lt;/P&gt;&lt;P&gt;             'Settlement Receiver = Internal Order'.&lt;/P&gt;&lt;P&gt;    pmdfu_tab-konty = 'ORD'.&lt;/P&gt;&lt;P&gt;    pmdfu_tab-fdind = caufvd_imp-iaufnr.&lt;/P&gt;&lt;P&gt;    pmdfu_tab-perbz = 'GES'.     "GES = Full&lt;/P&gt;&lt;P&gt;    pmdfu_tab-prozs = '100'.&lt;/P&gt;&lt;P&gt;    append pmdfu_tab.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 15:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154886#M118585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T15:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Generate settlement rules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154887#M118586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi it this work very good but:&lt;/P&gt;&lt;P&gt;I have a question &lt;/P&gt;&lt;P&gt;if I don't have Settlement percentage rate &lt;/P&gt;&lt;P&gt;I have Amount for amount rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;who pass this Amount in the EXIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 18:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154887#M118586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T18:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generate settlement rules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154888#M118587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even i am also having the same requirement. I have copied the code what u have given in the thread in the enhancement but it is not triggering. Could you help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zakir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 11:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154888#M118587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-07T11:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Generate settlement rules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154889#M118588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi , can anybody help me with this , i'm trying to use that exit but i doesn't stop there if i put a breakpoint , and everything is active , is ther something i'm missing ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 16:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154889#M118588</guid>
      <dc:creator>elalan</dc:creator>
      <dc:date>2013-10-02T16:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generate settlement rules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154890#M118589</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;The same thing happens to me &lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;if i put a breakpoint , and everything is active.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 11:58:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154890#M118589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-21T11:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Generate settlement rules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154891#M118590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you set an external breakpoint? And did you turn 'update debugging' in the debugger settings on?&lt;/P&gt;&lt;P&gt;Then it should stop in the user-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154891#M118590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-21T12:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Generate settlement rules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154892#M118591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benjimin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.. i tried with external break point and update debugging but not triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote above code for &lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;'Settlement Receiver = Cost Center'. &lt;/SPAN&gt;in '&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;Include ZXWOCU24'&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but not working.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-settlement-rules/m-p/1154892#M118591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-21T12:48:31Z</dc:date>
    </item>
  </channel>
</rss>

