<?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 settlement rules for WBS element in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208064#M1005639</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 have a requirement to create WBS with settlement rules. Is there an FM or BAPI to call to create the settlement rule?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;Lalyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2008 04:44:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-22T04:44:54Z</dc:date>
    <item>
      <title>settlement rules for WBS element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208064#M1005639</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 have a requirement to create WBS with settlement rules. Is there an FM or BAPI to call to create the settlement rule?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;Lalyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 04:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208064#M1005639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T04:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: settlement rules for WBS element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208065#M1005640</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;1. Maintain a Settlement profile where Cost Center is Valid Receiver object&lt;/P&gt;&lt;P&gt;2. Maintain the node 'Determine Strategy for Settlement Rule' . In the setting mention the required strategy, settlement profile created above and account assignment category as '2'/'3' - Your case.&lt;/P&gt;&lt;P&gt;3. Assign the Strategy Sequence 'SAP030' or 'SAP040' in your case on the settlement parameters of the WBS.&lt;/P&gt;&lt;P&gt;4. Execute T code CJB2/CJB1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BAPI_BUS2054_CREATE_MULTI&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also go through the link given below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/51/5829c0a44c11d189bf0000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/51/5829c0a44c11d189bf0000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/thread/437678 &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikunj Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 04:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208065#M1005640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T04:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: settlement rules for WBS element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208066#M1005641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lalyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  refer to the link for BAPI's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbapi.com/bapi-list/" target="test_blank"&gt;http://www.sapbapi.com/bapi-list/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_CC1_DNLOAD_WBSELEMENT HR-PDC&lt;/P&gt;&lt;P&gt; Download Work Breakdown Structure Element&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  refer to the link for FM's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/functions.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/functions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 04:51:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208066#M1005641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T04:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: settlement rules for WBS element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208067#M1005642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of ty_objnr,&lt;/P&gt;&lt;P&gt;  objnr    like prps-objnr,&lt;/P&gt;&lt;P&gt;end of ty_objnr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*.COBRA-Buffer (see FM KOBS)&lt;/P&gt;&lt;P&gt;types: begin of ty_cobra_buf.&lt;/P&gt;&lt;P&gt;        include structure cobra.&lt;/P&gt;&lt;P&gt;types:   uflag like dkobr-upd_flag,&lt;/P&gt;&lt;P&gt;       end of ty_cobra_buf.&lt;/P&gt;&lt;P&gt;types: ty_t_cobra_buf type ty_cobra_buf occurs 10.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*.COBRB-Puffer mit Änderungsflag (see FM KOBS)&lt;/P&gt;&lt;P&gt;types: begin of ty_cobrb_buf.&lt;/P&gt;&lt;P&gt;        include structure cobrb.&lt;/P&gt;&lt;P&gt;types:   uflag like dkobr-upd_flag,&lt;/P&gt;&lt;P&gt;       end of ty_cobrb_buf.&lt;/P&gt;&lt;P&gt;types: ty_t_cobrb_buf type ty_cobrb_buf occurs 10.&lt;/P&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal tables                                                    *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;P&gt;data: it_abrechnug      type standard table of ty_abrechnung,&lt;/P&gt;&lt;P&gt;      it_objnr          type standard table of ty_objnr,&lt;/P&gt;&lt;P&gt;      it_cobra          like table of cobra with header line,&lt;/P&gt;&lt;P&gt;      it_cobrb          like table of cobrb with header line.&lt;/P&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Data                                                                *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;P&gt;data: wa_cobra_buf      type ty_t_cobra_buf,&lt;/P&gt;&lt;P&gt;      wa_cobrb_buf        type ty_t_cobrb_buf,&lt;/P&gt;&lt;P&gt;      wa_objnr            like line of it_objnr,&lt;/P&gt;&lt;P&gt;      wa_urzuo            like cobrb-urzuo,&lt;/P&gt;&lt;P&gt;      l_mem_cobrb         like wa_cobrb_buf[],&lt;/P&gt;&lt;P&gt;      l_mem_cobra         like wa_cobra_buf[],&lt;/P&gt;&lt;P&gt;      l_mem_cobrb_zeile   like line of l_mem_cobrb,&lt;/P&gt;&lt;P&gt;      l_mem_cobra_zeile   like line of l_mem_cobra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form urzuo_aendern  using    p_objnr p_pspnr p_urzuo.&lt;/P&gt;&lt;P&gt;  data: c_objnr like prps-objnr,&lt;/P&gt;&lt;P&gt;        c_pspnr like prps-pspnr,&lt;/P&gt;&lt;P&gt;        c_urzuo like cobrb-urzuo.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  c_objnr = p_objnr.&lt;/P&gt;&lt;P&gt;  c_pspnr = p_pspnr.&lt;/P&gt;&lt;P&gt;  c_urzuo = p_urzuo.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  refresh: it_objnr,&lt;/P&gt;&lt;P&gt;           it_cobra,&lt;/P&gt;&lt;P&gt;           it_cobrb,&lt;/P&gt;&lt;P&gt;           l_mem_cobra,&lt;/P&gt;&lt;P&gt;           l_mem_cobrb.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  wa_objnr = c_objnr.&lt;/P&gt;&lt;P&gt;  append wa_objnr to it_objnr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reas settlement rule from the DM&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'K_SRULE_PRE_READ'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    i_pflege               = ' '&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    t_sender_objnr         = it_objnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        T_COBRA                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  exceptions&lt;/P&gt;&lt;P&gt;    wrong_parameters       = 1&lt;/P&gt;&lt;P&gt;    others                 = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc  0.&lt;/P&gt;&lt;P&gt;    perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill internal buffer with settlement rules&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'K_SETTLEMENT_RULE_GET'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      objnr     = c_objnr&lt;/P&gt;&lt;P&gt;      x_all     = ' '&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      e_cobra   = it_cobra&lt;/P&gt;&lt;P&gt;      e_cobrb   = it_cobrb&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      not_found = 1&lt;/P&gt;&lt;P&gt;      others    = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc  0.&lt;/P&gt;&lt;P&gt;    perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Save settlement rule in ABAP-Memory&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'K_SRULE_EXPORT_IMPORT'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_mode     = 'EX'&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      wrong_mode = 1&lt;/P&gt;&lt;P&gt;      others     = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc  0.&lt;/P&gt;&lt;P&gt;    perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read ABAP-Memory&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  import l_mem_cobra l_mem_cobrb from memory id 'K_SRULE'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Change field URZUO and set Update-Flag&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  loop at l_mem_cobrb into l_mem_cobrb_zeile where urzuo is initial.&lt;/P&gt;&lt;P&gt;    l_mem_cobrb_zeile-urzuo = p_urzuo.&lt;/P&gt;&lt;P&gt;    l_mem_cobrb_zeile-uflag = 'U'. "Update Kennzeichen&lt;/P&gt;&lt;P&gt;    modify l_mem_cobrb from l_mem_cobrb_zeile transporting urzuo uflag.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Clear internal buffer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'K_SETTLEMENT_RULE_REFRESH'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      objnr = c_objnr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill ABAP-Memory with new rules&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  export l_mem_cobra l_mem_cobrb to memory id 'K_SRULE'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill internal buffer with new rules&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'K_SRULE_EXPORT_IMPORT'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_mode     = 'IM'&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      wrong_mode = 1&lt;/P&gt;&lt;P&gt;      others     = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc  0.&lt;/P&gt;&lt;P&gt;    perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SAve new rules&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'K_SETTLEMENT_RULE_SAVE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      dialog            = 'X'&lt;/P&gt;&lt;P&gt;      objnr             = c_objnr&lt;/P&gt;&lt;P&gt;      i_status_update   = ' '&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      no_rule_for_objnr = 1&lt;/P&gt;&lt;P&gt;      others            = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc  0.&lt;/P&gt;&lt;P&gt;    perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  commit work.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  perform erfolg using c_pspnr.&lt;/P&gt;&lt;P&gt;endform.                    " URZUO_AENDERN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 05:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208067#M1005642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T05:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: settlement rules for WBS element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208068#M1005643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;I am loading the REAl ESTATE data through LSMW-BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load the settlement reciever as WBS elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While loading the data i am getting  the error&lt;/P&gt;&lt;P&gt;WBS element does not exist even though it is existing in the client and master table as well.&lt;/P&gt;&lt;P&gt;KIndly let me know what can be done regarding this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/settlement-rules-for-wbs-element/m-p/4208068#M1005643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T08:47:03Z</dc:date>
    </item>
  </channel>
</rss>

