Validation on settlement rule percentage

Hi folks,
We have a requirement to set up a validation on the settlement rule percentage for an IO/WBS which settles to a final asset to restrict it to 1% or greater. In other words the settlement rule to final asset below 1% should not be permitted. Could you please suggest if this is doable?
Thanks!

Hi Manish,
You have two ways to check for it:
1. Check for Exits in WBS validation.
2. Check BADI WBS_SETTLEMENT_RULE. With this you can automatically populate the settlement rule based on project type.
Regards
Saurabh

Similar Messages

  • 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

  • Validate Settlement Rule In Internal Order

    Hi Experts,
    I have requirement to validate settlement rule entered by user in IW31/IW32. Currently, if the entered total settlement rule percentage is not 100% (more or less), message KD042 will occur as information message and user still can be proceed. Are there any ways to validate this settlement rule? only 100% (in total) are allowed. I tried to change message KD042 in OBMSG from information into error message, but still not succeed. The message still occur as information.
    Thanks.

    Hi Jigar, i already untick the "switch off" field but still no good. I decided to debug the standard program and i found out that the message type for KD042 is hard coded for 'I' in the include LKOBSF3N.
    *   genau 100%
        IF ( G_TKB1A-HPROZ EQ 'X' OR
           T_UZO_PROZS-PERBZ EQ 'GES' ).
          IF T_UZO_PROZS-PROZS NE PROZ100.
            IF V_TAPRF-INVMA IS INITIAL.
    *         Pruefung fuer nicht Invmassnahmen
              LD_MSGTY = 'I'. "Message type is hard coded here
            ELSE.
    *         Pruefung fuer Investmassnahmen
              PERFORM INVST_WRONG_PERCENTAGE
                      USING V_OBJNR
                            V_TAPRF-ABART V_PERIOD T_UZO_PROZS.
            ENDIF.
          ENDIF.
        ELSEIF T_UZO_PROZS-PROZS > 100.
          IF T_UZO_PROZS-PERBZ = 'EPA'.
            LD_MSGTY = 'E'.
          ELSE.
            LD_MSGTY = 'I'.
          ENDIF.
        ENDIF.
    Edited by: Tjhin Fandi on Nov 18, 2011 4:07 AM

  • Valid settlement rules

    We received a request from the business to block time entry charges for WBS with C* status. Also, block time
    charges for PM order and Network order if their settlement receiver WBS is in C* status.
    I was trying to find a transaction or functionality in SAP that will provide me all valid settlement rules (senders and receivers) in a given project.
    Before users can charge labor time to a charge object 'orders' (PM or network orders), validity of the settlement rules need to be checked. If there's a valid settlement rule, the status of the settlement receiver will be checked to determine if time entry for the charge object can be allowed.
    Basically, what I'm looking for is anything that will give me the valid settlement rules of the settlement receiver given a specific period or date.

    Hi
    Even though system allows you to specify the percentage in PM order ,it will not allow you to settle the cost.Just execute the settlement process KO88 and check
    regards
    thyagarajan

  • Settlement rule validation

    I need to create a control that will restrict the abiltiy of an order to settle to only certain types of WBS elements.
    Currently we have a settlement profile that will only allow WBS settlement.  We need to further restrict this settlement to only specific WBS elements.  Does anybody know of a user exit, or some other way of doing this?
    Thanks

    Hi,
    There is a BAdI for validating the distribution rules  of settlement rules.
    You can use this BAdI and write the validation code in it for restricting the settlemtn to only specific type of WBS ELEMENTS.
    BAdI is CO_SRULE_CHECK.
    Regards
    Ram

  • Validating Internal Order Settlement Rule during creation

    Does anybody know of a user exit, badi, anything, that can be used to validate assignement data when creating/changing the settlement rule on an internal order?
    Appreciate the help...
    Sam

    Hi, I just wanted to come back and add this extra information incase someone else needs it in the future:
    I think we were finally able to come up with an acceptable solution.
    <b>The Problem:
    ============</b>
    SAP does not provide an easy way to validate detail section of a settlement rule for an internal order. The user exits that are available do not import the COBRB structure that contains the screen data entered by user in the detail screen.
    <b>Solution:
    ===========</b>
    Watch out for wrapped lines!
    (1) Implement the BADI: <b>CO_SRULE_CHECK</b>; NO filter; Settlement Rule Custom Validation BADI
    (see current thread for details)
    Inside the <b>DISTRIBUTION_RULE_CHECK</b> method of your BADI, implement your custom validation. You can call out to your standard CO validaton module, or whatever.
    (2) Implement user exit: EXIT_SAPLRKIO_002(include zxaufu02): Call settlement_rule_check.
    (3) Implement a subroutine as shown (adapt to your business environment):
    FORM settlement_rule_check.
    DATA: exit type ref to IF_EX_CO_SRULE_CHECK.
    DATA: lt_cobra LIKE cobra OCCURS 0 WITH HEADER LINE, lt_cobrb LIKE cobrb OCCURS 0 WITH HEADER LINE.
    don't validate in display mode
    CHECK I_ACTVT NE 03.
    Call function to get the current settlement rule from
    memory buffer (this is the crux of the solution)
      call function 'K_SETTLEMENT_RULE_GET'
           EXPORTING
                objnr     = i_aufk-OBJNR
                x_all     = ' '
              TABLES
                e_cobra   = lt_cobra
                e_cobrb   = lt_cobrb
              EXCEPTIONS
                not_found = 1
                others    = 2.
      if SY-SUBRC <> 0.
    raising E_MESSAGE.
      endif.
    Now Prepare/call BADI to check the custom rules
      class CL_EX_CO_SRULE_CHECK definition load.
    create an instance of BADI
      call method cl_exithandler=>get_instance
           changing
            instance = exit.
    call the check method of the BADI
      call method: exit->DISTRIBUTION_RULE_CHECK
           EXPORTING
               DISTRIBUTION_RULE = lt_cobrb
      EXCEPTIONS
         not_allowed                = 1
         not_allowed_with_msg       = 2.
    either use a standard message function or create your
    own
      IF sy-subrc = 1.
        PERFORM message_send
          USING 'KD' 'E' '027' space space space space space.
      ELSEIF sy-subrc = 2.
        PERFORM message_send
          USING sy-msgid sy-msgty sy-msgno
                sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                space.                   "...
      ENDIF.
    endform.
    (4) Test, Test, Test. Hope it works for you.
    Sam

  • Settlement Rule Validity Period

    Dear All,
    The settlement rule for validity period for Assets Under Construction as well as in Fixed Assets have not been supporting for the period 01.01.2008 onwards.
    But the posting period for this period is open and also the plan version for the fiscal year has been activated. But I con not use the settlement rules for capital projects.
    I request you to all, please provide your valuable suggestion.
    Thanks with regards,
    Ran.

    Hi,
    In settlement rule we can specify the duration for whcih that rule needs to be considered by mentioning the "Valid From Period & Year" and "Valid To Period & Year". In your case kindly check any restictions has been mainatined in the rule.
    Thanks & Regards
    Sreekanth

  • Validation for the settlement rule of a wbs element

    Hi Experts,
    I have a requirement that in which i have to validate the settlement rule of the wbs done through t-code cj01/cj02/cj07,cj20n.
    If the settlement receiver object is an G/L account (settlement category g/l )  then i have to check that if it is an o&m project type
    wbs element  settling on some already mentioned G/L e.g 0001081340,0001081341, then  it should through some error  like settlement rule not valid etc.
    I have tried cjb1/cjb2 through badi WBS_SETTLEMENT_RULE by creating some strategy but it did not have any option for G/L
    settlement reciever. Also client will not agree to this as they want to create settlement rule manually.
    I have also tried the exit 'EXIT_SAPLCOI1_027 ' but its not getting triggerred during settlement rules assign mentand also i think it will not solve my purpose.
    Please help me as i am struck in this for long time now.
    Warm Regards,
    Hariom

    Hi Prabhu ,
    thanks for the quick update.
    I have tried many badi's and exits but they are not triggering at the saving time of the wbs.
    badi :
    PROJECTDEF_UPDATE
    WBS_FIELDS_FOR_ASSET
    WBS_USER_FIELDS_F4
    WORKBREAKDOWN_UPDATE
    WBS_SETTLEMENT_RULE
    exits :
    EXIT_SAPLCJWB_004
    EXIT_SAPLCJWB_005
    EXIT_SAPLCJWB_001
    These above exits i have tried either they are not implemented or they are not triggered during saving of a wbs element.
    please suggest any exit or badi's which you may have used.
    Thanks and regards,
    Hariom

  • Validation durng maintenance of Settlement Rule for Orders

    Is there a way to set up validation during maintenance of settlement rules for orders? Is it via OKC7? How do you do it?

    Dear Noel,
    there are no standard functionality which will make  the entry
    of a settlement rule required in TS KO01 other than having a "required" valid settlement receiver in the settlement profile you have assigned to the order type in TS KOT2_OPA, (you can change the settlement profile in TS OKO7).
    Then you will receive an error message in TS KO01 if you try to save an internal order without a settlement rule. This is the system design.
    However, you also have the possibility to automatically fill the
    settlement rule of an order either via a reference order (or model
    order. TS KOM2),  which you assign to to the order type in question, or you can check the standard enhancement COOM0003, (user exit EXIT_SAPLKOBS_001).
    You can also read the documentation of this user exit in TS SMOD.
    Regards,
    CG

  • Maintain settlement rule of the sender

    Dear All,
    Hi, I am Settling the all orders in co88 t.code, i run test run mode for all orders.At the time of running i am getting the below error:
    Maintain the settlement rule of the sender
    Message no. KD205
    Diagnosis
    Either the settlement rule for the sender does not exist, or it is incomplete.
    The settlement rule must contain settlement parameters and at least one valid distribution rule. A distribution rule is valid for a settlement run if
    The settlement period is in the validity interval for the rule, and - if a settlement type was specified during settlement -
    The settlement type corresponds to the rule for the specified settlement type.
    Settlement type FUL -> The system selects all rules with the FUL and PER settlement types.
    Settlement type PER -> The system selects all rules with the PER settlement type.
    The settlement share is set for the rule (percentage, equivalence number).
    Procedure
    The settlement rule belongs to the sender master data, where you can maintain it.
    Internal order
    Proceed
    CO Production order
    Proceed
    Project
    Proceed
    Cost object
    Proceed
    Network
    Proceed
    QM Order
    Proceed
    PM Order
    Proceed
    Production order
    Proceed
    Process order
    Proceed
    Sales order
    Any body please help, where i can check the settings, I checked my settlement profile and allocation structure also.it's working properly, but i am getting the error at the time of order settlement in co88.
    Thanks & Regards
    Reddy

    Hi
    Each Order Type is assigned to the Settlement profile and in settlement profile the Settlemet receiver is maintained.
    Genereal Critaria
    Sales Order Settled               to Production order.
    Production Order Settled       to Material
    Internal order settled              to Cost center or GL
    Please refer following T code.
    OKO7     Creat settlement profile
    Check for Periof End Activity in Costing.
    Product Cost by Sales Order
    Product Cost by Order
    Internal Orders
    Period-End Closing > Settlement > Create Settlement Profile

  • How settlement rule will be created for Sales order with cost object

    Dear Experts,
    We are using product cost by sales order with valuated stock. In addition we are not using COPA
    We also consume some materials at sales order level and at the end of month we want to do the result analysis and settlement for the same amount. In this case can any on explain how system will behave regarding settlement of sales order cost and what entries will get pass in the system.
    In our case we have done below activities...
    we have created sales order,
    All production order activities completed till final GRN including month end activities
    Material consumption against sales order
    Result analysis executed
    At the time of sales order settlement, system throwing error (Sender doesn't have valid receiver, please create settlement rule for sender object)
    Then i checked in sales order there sales order settlement rule not defined.
    I guess this settlement rule need be generated by system automatically. If not, please let me know the process of it.

    HI kishore
          the reason is that sale order always carry the revenue  and production order and production period carry the cost .
       cost you can settle to the Material and even management want  to be settle the cost to material only in production order OR period
    but in sales order  when u sell the product it carry the revenue not the cost and management want see and analysis based on profitability segment are profit center level .
    Prerequisites
    If CO-PA is active, the system generates a settlement rule when you create the sales order. The settlement rule determines whether data is settled to other objects or other areas in Controlling. In accordance with this settlement rule, the relevant data is settled to CO-PA.
    If CO-PA is not active, create a settlement rule. This settlement rule that you create manually normally contains a G/L account as a receiver (such as 399999). You can also settle costs and revenues or results analysis data to objects with revenue.
    You can also settle the cost of sales calculated in results analysis to a fixed asset or a cost center. To do this, you must add to the allocation structure the results analysis cost elements under which the cost of sales is updated to the order.
    The settlement rule includes a distribution rule for the sales order item. The distribution rule is made up of a settlement receiver, a settlement share, and a settlement type:
    The settlement receiver (such as profitability segment or G/L account) specifies the object to which the actual costs and revenue of the sales order item are settled. The settlement receiver can be proposed through the settlement profile.
    The settlement share defines the percentage or the equivalence numbers used to distribute the costs to the individual settlement receivers. The settlement share for sales order items is usually 100%. A settlement share of 100% is preset in the system.
    The settlement type specifies full settlement of the sales order item. This ensures that all the data on the sales order is available for results analysis.
    Settlement still takes place in each period. The revenues and the cost of sales are transferred to CO-PA by period, and the work in process and the reserves are transferred to FI.

  • Error message - data master internal order settlement rule

    Hi people,
    I'm creating an internal order, and in the settlement rule, i'd like to put a message error when i make a distribuition over 100%. For example, i put 50% in a settlement receiver and 65% in another one, that makes 115%. The system shows a message, but it allows me to save. I need that shows an error message and don't allow me to save.
    Anyone can help me?
    The message that appears is this one:
    Total = 115.00%, ( Set.Type PER / Version / Actual settlement ), period 002/2009
    Message no. KD042
    Diagnosis
    You have entered distribution rules which settle 115.00% in total. This applies for settlement view ( Set.Type PER / Version / Actual settlement ) in period 002/2009.
    When checking the percentage total, the system found one of the following errors:
    The total percentage for the distribution rules is more than 100%
    The total percentage for the distribution rules is less than 100% and this is a rule for full settlement.
    The total percentage for the distribution rules is less than 100% and the 100% check is switched on in the settlement profile.
    Procedure
    You can ignore this message if you are settling by fixed amounts. The settlement then checks whether the settlement sender has been fully credited.
    Otherwise, correct the percentages for view ( Set.Type PER / Version / Actual settlement ) to be able to settle exactly 100% in period 002/2009.
    If these rules are not full settlement rules (settlement type GES), you can switch off the 100% check in the settlement profile. This procedure also suppresses the message in future.
    Note
    If you cannot find any fields where you can enter percentage values, this is probably because the settlement profile is configured to hide them. Switch on percentage settlement in the settlement profile, or use equivalence numbers for your rules, if the project profile allows this.
    Many thanks.

    Hi
    Below is the extract for the 100% Validation check. Please check the bold part. Even if you save the settlement rule with more than 100% at the time of settlement this will be errored.
    dentifier for "100% validation"
    Indicator controlling whether percentages in the settlement rules are checked by the system.
    If you have defined percentage distribution rules for a particular settlement rule, the system checks the total percentage either when you save the settlement rule or if you use the percentage check function.
    Use
    If the indicator is set  The system issues a  warning
    if the total is <> 100%.
    If the indicator is not set The system issues a warning
    if the total is > 100%.
    In both cases, you can ignore the warning and save the settlement rule. However, to be able to run the settlement, you must first correct the settlement rule.  The settlement run itself prevents you from settling more than 100%.
    Note
    The indicator only affects periodic settlement.  In overall settlement, the percentage must always be 100%.
    You can also use this indicator if you are not using percentages for settlement.  If this is the case, you must activate the equivalence numbers.  You then receive a warning that, even if you have entered settlement rules, none of the rules has received an equivalence number (other than zero).

  • 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 error

    Hi,
    I am facing as issue while settling costs to internal order. The system is giving warning message "Enter a percentage, equivalence number, or amount"
    Diagnosis
    You have entered at least one distribution rule which contains neither a percentage nor an equivalence number nor an amount.
    Procedure
    For each distribution rule, you must enter either a percentage, an equivalence number or an amount.
    Alternatively, and depending on the situation and how you want the system to behave, one of the following is possible or required:
    You want to enter the percentage, equivalence number or amount later.
    You can ignore this warning.  However, you should check that the appropriate values are entered before settlement.
    You want to enter a percentage, an equivalence number, or an amount. However, the relevant field will not accept input, or is not displayed.
    Go to the settlement profile you are using and check that one of "Percentage settlement", "Equivalence numbers", or "Amount settlement" has been switched on.  You can find out which settlement profile you are using from the "Parameters" section of the screen in settlement rule maintenance.
    (Press F5 to proceed to customizing.)
    You receive this message other than in settlement rule maintenance - for example, when saving an order or a WBS element.
    Go to settlement rule maintenance and check the individual distribution rules.
    This error is coming only from past one week. Any pointers towards the resolution/ or the reasons for the error will be highly appreciated.
    Regards,
    S.Sumana

    Hi,
    On further analysis, we found that there was a settlement (in KO03) that took place without specifying percentage or equivalence amount. Is there anything that can be done like reverting the settlement so that this message doesnot appear.
    Regards,
    S.Sumana

  • Automatic settlement rule for receiver 'Fixed asset' (with out IM)

    Hi Experts
    I am working with project settlement to a fixed asset.
    I have defined a selttlement profile in which, FXA is the only valid receiver.
    Please note that we do not use Investment managent and hence no automatic AUC.The predefined asset to be used for settlement.
    In this situation i am unable to generate settlement rule automatically as like the case with CTR.
    The below message is experienced.
    "Enter a distribution rule for Asset without a validity limit"
    However i have manually maintained the settlement rule with specification of appropriate asset as receiver and settled.
    In this scenario, how to ensure that the settlement rule is automatically generated, any where can we refer the fixed asset?
    warm regards
    ramSiva

    Hi,
    Settlement rule cannot be automatically maintsined, you have to maintain manually, for example if you want to settle to fixed asset, how the system know to which fixed asset it should settle. You have to maintain settlement parameter manually.
    Regards,
    Sreekanth

Maybe you are looking for

  • Mini DVI to VGA adapter doesn't seem to work

    Hi everyone I am trying to link my Powerbook to my TV using the mini DVI to VGA adapter. I have made the connection and the Mac seems to be detecting the TV display, but the desktop is not appearing on the TV screen. Is there something I need to do w

  • Heading texts not appearing correctly in WDA search help

    Hello experts, I am facing a problem in WDA. I have a field(Profile Key) in my WDA application which takes the input search help automatically from the data dictionary. When I execute my application the F4 help is displayed for the field on pressing

  • Preflight Setting Exported from Acrobat 9 Does not Import in Acrobat 8 - Help

    I have exported a preflight setting so that another person can import it on his acrobat pro software. I have version 9, but my friend has version 8. And it does not want to import it. How can I make this work?

  • Photos disappearing after 3.1.1 update

    Hey guys, I just updated my Aperture to 3.1.1. I did a full backup beforehand. When I start it up, in the "Photos" view (between Projects" and "Photos" in the Library source pane on the left side of the window), I can't see any of my pictures. Before

  • Bridge sdk question

    hi, i'd like to port an existing application to bridge. i briefly read the sdk docs but i'm not sure if the bridge sdk offers the opportunities i need: - can i change the size and position of images on the content pane? - can i handle mouse events in