Regarding WBS settlement Rule using  WBS_SETTLEMENT_RULE BADI

Hello every one could any one tel me about
Settlement rule of WBS by using BADI  WBS_SETTLEMENT_RULE
I wanted to use same settlement rule far all WBS under same project
eg IF user enter settlement rule for WBS level 1 that should get copy into remaining all WBS thats all requirment
I am trying it thtough BADI  WBS_SETTLEMENT_RULE  and method DETERMINE STATERGY ?
Can i do selecting settlement rule of WBS1 and updating same table with same values for remianing WBS levels.
Thank you in advance
Deepak Pawar

Hi Deepak,
Yes, you use the that Badi, but he badi WBS_SETTLEMENT_RULE is actually not needed to fulfill the requirement, if the customizing is set accordingly.
More important is the selection in CJB1 or CJB2, so that the inherit not happend from the project defintion(instead of WBS1) to underlying WBS.  I think, it can only be done using right variant with CJB1.
There is a new Badi  WBS_SETTLEMENT_RULE_NEW, which allow more detailed control of the copy settlment rule action.  The method GET_TEMPLATE can be used to determine which object( e.g. WBS1 )  should be used.
Kind regards,
Zhenbo

Similar Messages

  • 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

  • BAPI/FM to create WBS settlement rules.

    Hi,
    I would like to know if there is a FM or BAPI to create WBS settlement rules. I use CJ20N transaction to create manually. Any qucik response will be much appreciated and Obviously rewarded
    Thanks,
    Vivek.T

    U can use the user exit
    COPCP005 and its function exit EXIT_SAPLCKAZ_001. Try this out....
    Or choose any one options from the below list which suits ur requirement:
    Develop Enhancements for Material Costing
    The following SAP enhancements are available for the area Cost Estimate with Quantity Structure:
    o Costing Reports (SAPLXCKA)
    o Costing Production Resources and Tools (COPCP003)
    o Material Valuation with Cross-Company Costing (COPCP001)
    o Costing Bulk Materials (COPCP004)
    o Valuation Price for Materials from User Exit (COPCP005)
    1. Costing Reports: SAPLXCKA
    Here you can create your own reports for displaying cost estimates with quantity structure or activate the example reports in the standard system.
    This enhancement contains the following components:
    · EXIT_SAPLCKAZ_001 Display/print itemization
    This enhancement contains example program code from SAP that you can modify and use for your own enhancement, or activate directly as a report for the itemization.
    · EXIT_SAPLCKAZ_002 Display/print cost components
    This enhancement contains example program code from SAP that you can either modify and use for your own enhancement, or activate as a report for the cost components.
    · EXIT_SAPLCKAZ_003 Display/print cost components and itemization
    This enhancement does not contain example program code.
    In the cost estimate with quantity structure you access the reports with Costs -> Display user exit. The report refers to the first cost component view listed. If you want to see the costs with reference to another cost component view, choose Settings -> Cost display and choose the desired report under Select view.
    You can display your own reports in the information system by adding them to the report list for product costing.
    See also:
    Check report list for material cost estimate
    2. Costing production resources/tools: COPCP003
    This enhancement contains the component EXIT_SAPLCK01_001.
    The costs for production resources and tools are calculated as a flat rate within production overhead.
    This enhancement enables you to plan the costs for production resources in costing with quantity structure in different ways. Here you can specify how the production resources are to be costed.
    In the cost component structure, the production resources can be shown in separate cost components.
    This enhancement contains example program code from SAP that you can modify or use as is.
    3. Material valuation with cross-company costing: COPCP001
    This enhancement contains the component EXIT_SAPLCK21_001.
    Here you can enter the prices for valuation of a material that is transferred between company codes.
    You have the following options for the valuation of materials that are transferred between company codes:
    o You are using the standard system without cross-company costing. In this case the system uses a price in the material master record in accordance with the valuation strategy. The material is treated as if it were externally procured.
    o You activate cross-company costing. In this case the material is recosted in the other company code or transferred according to the transfer control ID.
    If you have not activated cross-company costing, you can use this enhancement to define alternative prices for valuation of a material that is transferred between company codes. That is, this enhancement allows you to specify which price should be used instead of the price from the material master record.
    In include LXCKAF)) you can find an example program code. However, this code example can not be directly copied and used
    4. Costing Bulk Materials: COPCP004
    This enhancement contains the component EXIT_SAPLKKEX_001.
    You can use this enhancement to plan the costs for bulk materials and show in the cost element itemization.
    If the indicator Bulk material is set in the material master, the indicator Relevant to costing in in the BOM does not accept input for the item. The enhancement allows you to determine the costing relevancy. The items with the bulk materials indicator at item level of BOM are also included as relevant to costing.
    This enhancement contains example program code from SAP that you can modify or use as is.
    5. Valuation Price with Valuation Strategy U: COPCP005
    This enhancement contains the component EXIT_SAPLCK21_002.
    You can use this enhancement to specify prices for valuation of materials if you want to use valuation strategy U (valuation with USER EXIT) for material valuation to find a price for the materials.
    This enhancement does not contain any example program code from SAP.
    Activities
    To activate the SAP example reports (the procedure is similar forthe other enhancements):
    1. Create a new project or use an existing one.
    2. Set the indicator SAP enhancements and choose Change.
    3. Enter SAPLXCKA as the SAP enhancement and choose Save.
    4. Set the indicator Enhancement components and choose Change.
    5. Position the cursor on the enhancement component EXIT_SAPLCKAZ_001 and choose Edit -> Use SAP source code.
    6. The system asks whether you want to create ZXCKAU01. Answer Yes.
    7. Maintain the attributes.
    8. Save the program and choose Back.
    9. Position the cursor on the enhancement component EXIT_SAPLCKAZ_002 and choose Edit -> Use SAP source code.
    10. The system asks whether you want to create ZXCKAU02. Answer Yes.
    11. Maintain the attributes.
    12. Save the program and choose Back.
    13. Activate the project.
    14. To display the reports, you must perform costing again.
    Further notes
    Unlike modifications, enhancements are always upgrade-compatible because they are implemented in a name range reserved for the customer rather than in the SAP original.
    The general procedures for creating enhancements can be found in the enhancement transaction CMOD under Goto -> Online Manual. This takes you to the SAP library where you can find detailed information on customer exits.For more information on the above enhancements, see the associated function module documentation.
    Reward if useful...
    Regards
    Karthik D

  • Where to configure Account Assignment Category for WBS Settlement Rule?

    Hi,
    I would like to know where is the Account Assignment Category for WBS settlement rule (FXA, CTR, G/L, WBS)  being configured. (SPRO Path)
    Currently when I go to our settlement rule creation screen I can only see WBS and FXA, I need to add MAT (Material)
    Thanks!
    Regards,
    Vivian

    Hi Shrikant,
    Do you mean in my CJ02 WBS Settlement Rule creation screen, I cannnot put MAT as account assignment category?
    Does it mean that WBS element CANNOT be settled to material? and we can only settle PM order to material?
    Thanks!
    Regards,
    Vivian

  • WBS settlement rule

    Dear PS Sifu,
    What is the maximum number of settlement rule can we maintained in CJ20N by WBS element?
    Please advise.
    Thank you.
    Kind regards,
    Eila

    hi
    check in the settlement profile.

  • How to create distribution rules group for wbs settlement rules

    Hi,
    How can I create distribution rules group for WBS element settlement rules ?
    For some WBS elements I can see(in view mode(cj03)) distribution groups in settlement rules screen but when I try to edit settlement rules I only see default group.
    How can i create/edit those groups ?
    Regards,
    Rafał

    Self answered:
    CJIC t-code

  • Maintain internal order settlement rule using LSMW

    HI ALL
    I want to do mass maintenance of internal order settlement rule. Settlement category is PSG.
    But when I use LSMW to do KO02, I only can input one settlement receriver, the first line will be overwritten by the second line.
    I also see BAPI INTERNAL_ORDER_CREATE,but cannot find PSG as a settlement category.
    Does anyone know how to do this?
    THX
    Deelia

    Hi Lian
    When you do recording, enter two settlement rules..
    Then, before pressing the "DEFAULT ALL" button, change the Field names for the 2nd settlement rule
    The problem you described happens because the field names for both settlement rules are same.. Hence, it gets overwritten
    Assume that field name for Order is AUFNR... You can change the field name in recording to ZAUFNR for one of the fields
    See the screen shot, wherein I changed the name of the recorded field to _01, _15 and _70
    Br. Ajay M

  • WBS Settlement rule control for service orders

    Hello,
    We have an requirement to implement validation point for service order settlement rule. Currently there is no validation check of settlment rule for service order. So that the settlement is happend to incorrect receivers in service orders.
    For example :
    Service order created for company code - 400 and the settlement rule receiver should be WBS which is belongs to same company code but some case , user are maintained wrong WBS in settlement rule which belongs to some other company code.
    Can you please hlep us on this requirement and suggest any enhencement point avalible on the same.
    Thanks
    Risha

    Hi,
    Please go to okg2,
    Calculate wip or result analysis
    remove the tick for Order In Engineer to Order Production
    Now run result analysis and check whether settlement will not happen for cross company code.
    please check this and revert back.
    Thanking you
    Vengaiah Chowdary

  • WBS settlement rule - change receiver

    In the settlement rule for WBS element, catelgory G/L, how do I change the default Settlement Receiver?  User wants WBS elements settling to a different account.
    Thanks
    Althea

    thank you Sridhar,
    Calm outside advice triumphs over frantic end-users every time.
    Althea

  • Missing amount field on wbs settlement rule

    Investment Profile has Amounts and Percentages set on. We can't see the amount field in CJ02 settlement rule.

    Investment Management -> Projects as Investment Measures -> Settlement -> Maintain Settlement Profiles
    Define Settlement Profile, select the respective settlement profile which you had problem
    Under tab Indicators, check amount settlement, it will appear in the project.

  • Capital Project Settlement Rule for lower WBS

    Hello,
    At my present client, for Investment projects the client want to settle top level WBS to AUC and capitalise it. So ideally the cost from lower level WBS should flow to top WBS. I am using substitution to remove investment profile from lower WBS.My concern is how do I auto populate the settlement rule for lower WBS to top WBS. I am aware about settlement strategy and OSS note 211324 (however dont want to implement this note)
    The appraoch I am looking for is using "WBS_SETTLEMENT_RULE' BAdI . However this BADI calls for strategy and I could not maintain the required strategy (settlement to top WBS). Is there some BADI/Function module available which can be called for updating the settlement rules on lower WBS while saving or Release ? Can I make use of exits in Substitution?
    Please let me know your opinions.
    Thanks
    Sarang

    Thanks Virendra. I agrree the only approach is development. But I need to give inputs to my developer.
    We tried with BADI "WBS_SETTLEMENT_RULE" but it didnt work as it calls strategy in configuration.
    So I am checking for some other options for e.g "WORKBREAKDOWN_UPDATE" which is called during save or Fn modules K_SETTLEMENT_RULE_FILL or K_SETTLEMENT_RULE_SAVE which I can use. This is a client requirement to create AUC only at top level n all cost to be rolled up to superior WBS n then settle to AUC.
    The other option I was thinking is of using exits thru substitution.
    What will be the best approach?
    Thanks
    Sarang

  • Check settlement rule at save WBS

    Hi guys,
    I have a question and I'd very thankful if someone answered me.
    I would need create a validation in the at save on CJ20N transaction. This validation should check settlement rule ( Really is need that checks fixed asset in the settlement rule).
    We are usign this BADI WORKBREAKDOWN_UPDATE and the method AT SAVE, is this possible to check in this BADI :
    1. WBS status ( current status, not information stored in JEST table)
    2.  and check that WBS division is the same as Fixed asset division ( ANLA) , being fixed asset the reciver in the WBS settlement rule. ????
    really our problem is that we are not sure how to retrieve information at this point  from another tables different from PROJ, PRPS,  RCJ_PRPSUP and SYST.
    Thank you!!!!

    Hi Muralidhar!!!!
    Thank you very much for your reply!!! We are trying to use that BAPI for check WBS status before it is saved.
    Related to settlement rule information our problem is we don't know how obtain information from another table different from PROJ, PRPS, ....in this BADI, ( really is a technical question). We are creating a WBS ( which it has not be saved yet), settlement rule information is going to be saved in COBRA and COBRB but it is not yet.
    Do you know how do I have to program it in order to obtain this information?
    Thanks a lot!!!
    Sara

  • Settlement rule for Maintenance item

    Hi All,
    When i attempting to create a settlement rule Using a WBS element for Maintenance Item System showing
    Error Message "No Object Status is available for MIT#1'.
    Thanks & Kind Regards

    Sri Vas,
       Is this specific to a particular WBS element or does it happen for ANY WBS element? The WBS element may not have been setup properly.Check the same WBS element directly by going to the WBS element change transaction.Also check the account assignment and status of the WBS element that Ramesh had suggested. If the WBS element has been defined properly,Try changing the settlement rule to a cost center  and see if you still get this error.
    Regards
    Narasimhan

  • Create settlement rule for Maintenance plan

    We have a requirement to create a maintenance plan and assign a settlement rule to the same. I was able to create the maintenance plan using MPLAN_CREATE. I created the settlement rule using the function module K_SRULE_SAVE_UTASK. My problem is when I go to IP03 to check if the settlement rule has been created for the maintenance item, it is not found. When I go to IP02 and click on create and go into the settlement rule maintenance screen, I'm able to see the settlement rule created using the function module.but in the MPOS table, I don't see the indicator IND_ABRVO ( settlement rule indicator ) being maintained.
    Can you please help in finding out what I'm missing.
    Edited by: Sujay Venkateswaran Krishnakumar on Dec 31, 2009 11:34 AM

    Sri Vas,
       Is this specific to a particular WBS element or does it happen for ANY WBS element? The WBS element may not have been setup properly.Check the same WBS element directly by going to the WBS element change transaction.Also check the account assignment and status of the WBS element that Ramesh had suggested. If the WBS element has been defined properly,Try changing the settlement rule to a cost center  and see if you still get this error.
    Regards
    Narasimhan

  • Wrong settlement rule in production order

    Hi All,
    I have a material which is assigned with strategy 70 through MRP group. In the same MRP group, production order type "XXXX"
    is specified for planned order conversion. And this MRP group with strategy 70 & production order type "XXXX"  is assigned to material.
    Production order type "XXXX" & is assined to settlement profile "YYYY" in OPJH Tcode. In settlement profile, material & WBS element are specfied as valid & optional receivers & default object type being "WBS element"
    I have created  a planned independent requirement of "VSFB" type  which is having account assignment as "Q- Project" & is assigned to WBS element.
    MRP run produces planned order in the individual WBS segment (i.e. planned order is WBS specific "MAKE TO PROJECT").
    IF this is converted to production order, the order type used by the system is "XXXX" which as per the settings. But it should have 100 % WBS settlement rule which is not taken by that production order & it is taken as 100 % Material.
    Can anybody explain me why this should happen?
    Regards,
    MHP

    > I have a material which is assigned with strategy 70 through MRP group.
    > I have created  a planned independent requirement of "VSFB" type  which is having account assignment as "Q- Project" & is assigned to WBS element.
    > MRP run produces planned order in the individual WBS segment (i.e. planned order is WBS specific "MAKE TO PROJECT").
    MHP,
    Can you explain us as how you are creating a PIR with account assignment to Project?  Is this a component used in a BOM or is this your final product?
    Planning strategy 70 is basically for MTS, so I dont think it would work for you. I feel you need to work with planning strategy 85 or 83.
    Regards,
    Prasobh

Maybe you are looking for

  • Playing Whack-A-Mole in List View

    Got a folder with hundreds of files in it. Like, say, the Downloads folder. And I'm downloading lots of files. While downloading, I go into this folder and try to select 20 items by clicking on one and dragging through the rest. Works fine, unless wh

  • Can i upgrade MacBook Pro to MacBook Pro with Retina

    will a upgrade be possible within apple store?

  • To Monitor inbound and outbound messages for ECC 6.0 business system

    Hi Guys, I am working on ABAP proxy. I want to monitor the flow of Inbound and Outbound messages for my Business system (ECC 6.0). XI server is on a different system. I understand that SXMB_MONI is used for tracking XML messages. What kind of trackin

  • App Store and Download problems - Help If Possible :(

    Hiya. I am New. Sorry for delving straight in for help, but I don't know what I have done here, and I hope someone can help me rectify my problem. I received my BB last week and set it all up - working fine. A colleague of mine directed me to the App

  • フォーミュラノード解析(Eval Formula Node.vi)について

    LabVEW2013 Eval Formula Node.viに式を与えて計算させようとすると「エラーコード-23087が不明位置で発生」しました. 同じ式をフォーミュラノードに与えると正常に計算し結果が出ました. 2日ほど試行錯誤して.変数名に大文字が含まれるとParse Formula String.viが構文解析に失敗することがわかりました. mu=T1+P1; はエラーになりますが. mu=t1+p1; はエラーになりません. 大文字が含まれる変数名も受け入れる様に改良されることを望みま