IO settlement rule logic

Dear Experts,
We wanted to settle a IO to G/L account (COGS).
Distribution rules:
Acct. assig. cat: G/L
settlement receiver: 51110003 (COGS)
100%
We also maintained detail distribution rules in settlement receiver.
CTR: 101019
Profit seg.: Customer/Sales Group/Sales employee ...etc.
However, after excuting IO settlement, we can only find all expense settle to G/L account.
"CTR & Profit seg.: Customer/Sales Group/Sales employee" are all blank.
Is that correct?
Thanks in advance.

Hi,
In settlement receiver key you can assign cost center order combination, GL Bus. Area combo or else Profit center.
You cannot settle the internal order on GL and cost center at the same time.
Regards,
Divraj
...........Check if that GL is assigned to any cost center in OKB9 that what happens.
Edited by: Divraj Agarwal on Aug 25, 2011 9:48 AM

Similar Messages

  • IO automatic creation of plan settlement rule according to actual settlemen

    Hi guys,
    does anybody know, if it is possible to create mass wise plan settlement rules on internal orders according to actual settlement rule? Sounds like a normal requirement, but I did not find anything.
    Automatic creation of settlement rule seems only to work like (KSR1_ORC in customizing):
    01     No autom. calculation / manual maintenance
    02     Settlement to a profitability segment
    03     Settlement to a requesting cost center
    04     Settlement to a responsible cost center
    05     Settlement to sales order
    06     Settlement to a WBS element
    08     Settlement rule from assigned WBS element
    30     Settlement on Acct Assgnmnt from CRM or Errors
    31     Settlement on Acct Assgnment from CRM or on Event
    35     Settlement on Receiver from Accounting Indicator
    but nothing like "automatic on basis actual settlement rule"....
    Note: we can not use any of the above rules for plan, since also actual has to be entered manually.
    br
    Bjoern

    Hi
    See if you can use exit COOM0003 for auto creation of settlement rules.. Here you can write your own logic
    br, Ajay M

  • Generation of WBS Settlement Rule

    Hi Folks!
    I was wondering if there is any function module that allow me to generate a WBS Settlement Rule for a specific project and for elements on level 3.
    If there is no FM for this, is there any workaround to do this.
    Thx for any advise.
    Regards,
    Gilberto Li

    Hi Gilberto,
    Hm, not a question that has a simple answer. Settlement rules are first of all defined in customizing how the should be behave and secondly lies the question how to update a CO cost object with this settlement rule.
    Let us first assume that customizing is done with a settlement profile named ZZ_PROF for instance. This is defined in customizing like path (from R/3 4.7): Trans SPRO -> Project System -> Costs -> Automatic and Periodic Allocations -> Settlement -> Settlement Profile -> Create Settlement Profile.
    My first advice would be to use the "automatic settlement derivation feature" that can be setup in customizing alike. Trans SPRO -> Project System -> Costs -> Automatic and Periodic Allocations -> Settlement -> Settlement Rule for Work Breakdown Structure Element. Read the docu for this node (right click and choose Display documentation) to understand what possibilities and limitations this functionality has. Below this node you have the possibility to define a "settlement strategy" and allocate this to a project profile. There is also an option to define a BADi whereby you you can somewhat influence the automatic generation of settlement rules. You must "obey" the rules in the "settlement strategy" but can do some filtering of SD orders influence and derive a "settlement strategy" baseed on some coding logic of your choice.
    To execute these settings on operative projects you run trans CJB1 (collective processing) or CJB2 (indicidual processing).
    All in all: This is good functionality but maybe not what you are looking for due to the built in "restrictions" in the "settlement strategy" profile.
    My second advice would be: What I did in the past was to write a batch input program that was run just before period end closing (that is before settlement - of course) that did read all relevant WBS elements without a settlement rule and derived a new settlement rule. Finally, updated the setttlement coding block with this info. Processing of the BDC is then done via trans SM35 the normal way.
    I also did a check for trans CJB2: In include LKAZBF15 there is the "magic" call to the update FM with name KSRG_GENERATE_RULE. One option could be to set a break point here and run the trans to see what parameters has to be filled. This implies that the customizing is done before, of course. I have a feeling that this is NOT the easist solution to use - to fill the parameters correctly may be difficult
    I hope this helps you in deciding what action to take.
    Sometimes a simple BDC will do the trick although it may not be a "good" solution.
    Disclaimer: There might be some other relevant FM to solve your problem as I am not aware of. If you find one for WBS elements then I would certainly be interested in any findings.
    Regards, Johan

  • BDC for KO02 Settlement Rule

    Hi all,
    I've created a BDC for transaction KO02 that will add settlement rules to an existing order. Then I'm using the generated code to create a new program. I have two questions.
    1. I need to validate against existing settlement rules. Is there a way to get this information, i.e. can I read the existing table somehow?
    2. When I enter multiple entries, I noticed the following calls:
    perform bdc_dynpro using 'SAPLKOBS' '0130'.
    perform bdc_field using 'BDC_CURSOR' 'COBRB-BETRR(01)'.
    perform bdc_field using 'BDC_OKCODE' '/00'.
    perform bdc_field using 'COBRB-KONTY(01)' XXX'.
    perform bdc_field using 'DKOBR-EMPGE(01)' 'XXX'.
    perform bdc_field using 'COBRB-BETRR(01)' 'XXX'.
    perform bdc_dynpro using 'SAPLKOBS' '0130'.
    perform bdc_field using 'BDC_CURSOR' 'COBRB-BETRR(02)'.
    perform bdc_field using 'BDC_OKCODE' '/00'.
    perform bdc_field using 'COBRB-KONTY(02)' 'XXX'.
    perform bdc_field using 'DKOBR-EMPGE(02)' 'XXX'.
    perform bdc_field using 'COBRB-BETRR(02)' 'XXX'.
    perform bdc_dynpro using 'SAPLKOBS' '0130'.
    Do I need to increment those numbers myself? For example, COBRB-KONTY(01) -> COBRB-KONTY(02)?
    Thanks!

    1) COAS - AUFNR
                     OBJNR -> COBRA-OBJNR, COBRB-OBJNR
    as for your 1st question check for the COBRA to see if you can get the existing settlement rules for the order . You have to add more logic to the program for the check.
    2) When you go to the Settlement screen on the top on status bar you see a icon for CREATE. Record that in SHDB - Click on it while recording and you can change your program to the program.
    Do check BAPI_INTERNALORDER_CREATE
    BAPI_INTERNALORDER_SAVEREPLICA helps your requirement.

  • Settlement Rule on Internal Orders

    We have had a request to default in the same asset number for all fixed asset internal orders.  Is this possible?

    Hi
    See if you can use exit COOM0003 for auto creation of settlement rules.. Here you can write your own logic
    br, Ajay M

  • Problem in Settlement Receiver during Settlement Rule in T.code IW31/32

    Hi,
    We have created an Equipment Number 11001212 with Business Area 1451 / Cost center 145130100. After that when are create Order in respect to that Equipment Number through IW31.
    During Settlement Rule, when we select Account assignment category CTR - Cost Center...and press F4 on Settlement Receiver column, it shows the value in respect to all Cost Centers. 
    We want that in settlement receiver column, values should show in respect to related cost center. (defined as per Equipment Master).
    Please guide...

    Hi,
    Pass the Order number in AFIH to get Equipment Number (EQUNR) value.
    Pass the Equipment No in V_EQUI table with Valid to date (DATBI) as 31.12.999 & get the value of ILOAN value.
    Pass this value in ITOB table & get Cost Center KOSTL value.
    In IWO10027 user exit, in F4 possible entry option, ABAP people can restrict the required cost center.
    IWO10009 PM Order: Customer Check for 'Save' Event
    Even though the user enters manually some other cost center without going for F4 option, by check that value, you can give the error message, while saving the order.
    Pass the Order number in AUFK table to get Object Number (OBJNR).
    Pass OBJNR value in COBRB table to get KOSTL value.
    Compare both the value & you can give the error message.
    Give these tables, fields & user exits to ABAP people. They can form the correct logic.
    Incorporate both the logic.
    Regards,
    Maheswaran.

  • G/L in Settlement Rule

    Hi All,
    How does system picks the relevant G/L code & Cost Center in settlement rule,even though in OKB9 i have not assigned them.
    What is the logic behind it.
    Do revert.
    Regards,

    Hi
    The following is the order of Checks used by the system sequentially:
    CHECK 1: Master Data - System will check the master data of the object (GL Account in this case) If it finds an account
    assignment then it uses this one. If not then CHECK 2...
    CHECK 2: OKB9 - System will check for Default account assignments here
    if they are not maintained then CHECK 3....
    CHECK 3: OKC9 - Substitutions - System will check if a substitution is setup to provide the account assignment. If not then
    CHECK 4....
    CHECK 4: MOD from Note: 483340.. This helps you to specify a CO object in the settlement rule itsellf along with GL Account
    br, Ajay M

  • How to Make Settlement Rule Mandatory in Sales Order(In Acct Assigt Tab)

    Hi Gurus,
    I have a business requirement. For Free of charge 3rd party orders (yes they have FOC orders delivered by third party) the business wants to ensure that the Settlement rule should be mandatory. They enter cost center & receiver in the settlement rule.
    i.e the order should not save till Settlement rule is maintained in the line item in the Acct Assignment tab.
    Please let me know how this can be done.
    1: Applied my brains on incompletion procedure but does not seems like it can be done there.
    2: Is there something in CO where some setting can make it mandatory to enter settlement rule in Sales order?
    3: I s there any other way in user-exits or ABAP?
    4: Is there any setting in Item category(I could not locate any)?
    5: Can this be done via Requirement class.
    Please assist to resolve this one.

    Dear,
    It depends on settings in Requirement Class (OVZG) and Account Assignment Catg (AAC) in OME9
    If your AAC is E in Req Class, then your sales order is a CO object.
    Requirement Class in IMG can be checked - IMG > Controling > Prod Cost Planning > Cost Obj Controling > Prod Cost By Sales Order > Control of Requirement.
    Or any filed any you can Make mandatory through Transaction variant SHD0.

  • GR/IR expenses not affected with the settlement rule run process in the GL

    <i><b>Please neglect by previous post with the same title</b></i>
    There is a problem I face while running the settlement rule process related to internal orders on the GR/IR expenses.
    According to the internal order settlement rule every expense associated to an Internal order no. whether its an account payable or manual journal accounts it should be settled (distributed) on the cost centers specified in each internal order after the monthly settlement run process is done through T.Code "KO8G", and this actually happens on the entries that are booked manually through T.Code "FB50", but the GR/IR entries is the biggest problem, it didn't reflect the settlement rule distributions in the GL it just gives me the original transaction once its was automatically created through T.Code "MIGO" they are only allocated to a one profit center with no cost center and without being distributed to a multiple cost centers according to the distribution strategy.
    After a long search I found that the cost center distribution occurred only on a secondary none GL account named A&P Settlement (720010), all GR/IR expenses was settled correctly only on this account not through the ordinary GL accounts (e.g. Gifts, printed materials) and of course the correct distribution didn't appear in the GL,
    So is there a transaction or any way to allocate the GR/IR expenses to there correct cost centers with the correct cost element in the GL?
    Is there anything to do with the GR/IR calculation that depends on quantity base not value base?
    <i><b>The Process as follows:</b></i>
    (<b>1) Creating Internal order with a settlement rule (E.g. Cost center 1 (50%) Cost center 2 (50%)</b>
    <b>2) Creating a purchase order associated to an internal order</b>
    <b>3) The Goods received and creating the GR transaction T.Code "MIGO"</b>
    Acc/DR Expenses accounts
    Acc/CR GI/IR Account 400301
    Profit enter ###### (eg. 111177)
    Cost Center <blank>
    Internal order no. ####### (e.g. 9810512)
    <b>
    4) Closing the GR/IR accounts when receiving the invoice T.Code "MIRO"</b>
    <b>When we receive vendor invoice:</b>
    Acc/Dr GI/IR Account 400301
    Acc/Cr Vendor Account
    Profit enter ###### (eg. 111177)
    Cost Center <blank>
    Internal order no. ####### (e.g. 9810512)
    <b>5) Performing the Internal order settlement rule run process</b>
    <b>(N.B.</b> By entering the report of the cost center (Actual/Plan/ Variance) T.Code S_ALR_87013611
    I found that GR/IR expenses was not charged on the concerned cost centers as shown in the GL <b>)</b>
    <b>Your Reply is highly appreciated</b>

    Thanks for your kind reply,
    But is there a way solve this problem?
    And what is the use of leaving a field in the account assignment tab for an internal order while creating a PO and it will not take advantage of the settlement rule????????
    And as you know the internal order settlement is a way to create a multiple account assignment
    Can we solve the problem by making an automatic fake transaction that reverse the value of the GR/IR and creating another transaction can apply on it the settlement rule??
    You know that settlement rule process is one of the best features in the SAP system it save time and effort to make distributions manually

  • CO Order settlement rule to be changed on monthly basis.

    Hello,
    We have a scenario  where in CO orders (i.e. orders created in KKF1) which is being used for goods issue (MT 261). Settlement rule is defined in the order and the receiver is CO-PA.
    Now the requirement is, values lying in each order needs to be distributed to say 3 profit center on every month. This distribution rule is subject to change on a monthly basis. I know we can give the percentage  say 50% to PC 1, 20% to PC 2 and 30% to PC 3.
    But this rule is subject to change every month. How can the user give the Settlement rule manually every time which is very time consuming. Even if we gives it cannot exceed 999 line items.User wants to use the Same co order.
    Regards
    Karthik

    Hi ajay,
    Thanks for the reply. I am also planning to do the same... but is there any other way for this...
    Even While trying to settle to Cost centre, system is not allowing to settle to cost centre for apr 2014. I have already remove the 100% indicator in settlement profile.

  • Settlement Rule

    Can anyone please advise on the following.
    We have a project (WBS) created that has a settlement rule just for AUC in 07/08, was settled in both 07/08 and 08/09 with automatic settlement. We know want to add a rule for full settlement to transfer it to a GL. We are receiveing an error message to say system does not support this for previous years postings???

    Hi Jamie,
    Please, check this node:
    Re: First settle items from the previous year in the previous year
    There must be also an OSS note mentioned in the same thread.
    BR
    Paulo

  • Settlement rule generation

    Hi all.
    I am using line item settlement. using investment projects.
    Unable to generate the settelemnt rule for the lower level WBS elements. while settling from WBS to AUC
    1. Created project (throught AR) with one one level WBS element (top level), planned cost, released budget, posted actual. now while doing settlemnt, i am able to generate settlemnt rule for top level WBS element automatically and settlemnt is done.
    2. Created project (throught AR) with TWO level WBS elements (top level and 2nd level), planned cost, released budget, posted actual and while doing settlemnt, i am unable to settle, as system is asking me to maintain settlemnt rule for the 2nd level.
    is there a way to generate settlemenmt rule for 2nd level automatically, as i have mainitained settelemnt strategy 40, to take the settlement rule from superior WBS.
    i have checked it with CJB2 also, and it giving an error ORB501.
    regards
    Edited by: Surya Pampana on Oct 12, 2010 12:25 PM

    Thanks for all the inputs.
    Ahmed, i have implement the note 211323 and its relevent notes, still not working.
    Ok, if i have to maintain settelemnt rules manully, how to maintain at level 2.
    FYI: both level 1 and level 2 are account assigned
    Now i have to maintain the settelment rule for 2nd level as : from level 2 to level 1?
    pls suggest
    Regards
    Surya

  • Settlement rule does not exists in order number.

    Hi All,
    I have been recieving a error while trying to save the Production order. The error reads as "Settlement rule does not exixts in order". But fact is that order has settlement rule. Also there is a default setting done in order type settlement profile because of which settlement rule is created automatically.
    Now there is a way around. We calculate cost manually and then we go to settlement rule and check for error. Once we do so the order is good to save.
    But we are not able to save it automaticaaly after release. This issue occurs when we try to release the order and then after releasing the order we try to save it.
    Please help us on this issue.

    Hi Prabhakar,
    Thanks for your input. But the said setting was already done while implementation. All the material except this material has the issue. We are able to realease the order properly for the material except this one. And since go live we are using this material for first time.
    We did a work around. We copied this material and recreated a new material with reviced part number. That one is working fine in lower client. We have now no idea how could one material all the same data like material master and routing and BOM and work centers can work properly whicle failing for other.
    We are trying to debug this will let you all know if we find the solution. Till then if you all have any idea any prior experience, please let me know.

  • For internal order settlement rule amount column is requied instead %

    Hi Gurus,
    For internal order settlement rule percentage is there but business wants  to settle from AUC to final asset by amount wise how can we do this.
    I tried to change the investment profile but it is coming amount field while saving it is not displaying.
    Please help in this regard
    Thank you.
    Ranganadh

    Hi
    Check the path
    IMG>Controlling>Internal Orders>Actual Posting>Settlement>Maintain Settlement Profile>Maintain Settlement Profile.
    Here there is a tick for amount settlement under Indicators. You need to maintain this check box for your requirements.
    Regards
    Sanil Bhandari

  • AUC and settlement rule mismatch.

    Hi,
    We have created many AUCs while uploading initial data at the time of go-live by posting JVs on WBSE and then performing the settlement. Now due to some currency issues we have reversed all settlements, and then Asset accounting person has resetted the asset register.
    now when I am trying to create AUC from CJ20N, system creates AUC and provides the number. but this newly generated AUC number is not matching with the AUC in settlement rule. I can't delete the old settlement rule as the settlement performed on that. as well as I am not able to add new AUC in settlement rule.
    Please let me know if there is any program / tcode which can remove this inconsistency. or is there any other procedure to make it streamline.
    Please help.
    Regards,
    Nilesh.

    Hi,
    There is no error message in this case.
    The scenario is like:
    I have one WBSE and AUC is created for this WBS. for example AUC number is 1. the WBSE is released and some cost has incurred on it. during periodic settlement the cost is settled on the AUC.
    Now the Client FICO team observed that the asset accounting is wrong due to currency conversion problem, so FICO team decided to reset the asset register and upload the entire master with new corrections. this will reset the AUCs as well.
    so i reversed the settlement done on AUC and got the cost back on WBSE.
    FICO team has resetted the asset register and all AUCs got deleted.
    Now the issue is: WBSE is having AUC #1 in settlement rule which can not be deleted as settlement is carried out on this rule.
    But when I create new AUC for WBS it is being created as some different number, (lets say #7) so even if now I run settlement the settlement will be done on AUC #1 insted of #7 even though #1 belongs to some other WBSE now in new scenario.
    I hope I have clearly mentioned the issue.
    Regards,
    Nilesh

Maybe you are looking for