on 05-21-2009 3:50 AM
Hi PM experts,
Our client has a requirement of allocating the "Settlement rule" to the work order upon creation of the work order, Work order may be created in IW31 or in background, First the WBS element is required to be determined using a custom Z table and the WBS element is supposed to be assigned to the settlment rule upon saving of the work order...
The solution the client is using is actually SAP ISU, But PM is also used as work management for work orders...
Has anybody done this requirement before???...Do you know any user exit/BADI to cater for allocation of hte settlement rule upon creation of hte work order.
Many thanks...
regards
Mishan
Mishan,
Its an unorthodox way of doing things... but try using the same function modules as SAP uses to create/save settlement rules. The put the relevant code in user-exit IWO10009 (at order save).
Your ABAP programmer should be able to find these functionmodules by debugging the standard program.
PeteA
[www.pjas.com]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pete,
I had a look at hte exit, At the point of the exit the data is not committed to the database yet, If to do it through the exit it would be to play with the buffer/memory and donu2019t know if thatu2019s possible or even a good idea, any idea how else it could be done???...
Regards
Mishan
Hi,
Check out with this User-Exits IWO10027 - User exit: Generate user-defined settlement rule.
regards,
Venkatesan Anandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am not clearly understanding your requirement.
Settlemnt rule can automatically created when you release the maintenance order. Yu have to so the setting in SPRO and made settlemnt rule mandatory for order release. Now if you want to copy WBS from some z table in tp the settlemnt rule there is one way. Copy the WBS from that table into the location tab:- WBS element field using user exit : IWO10009. So when ever the order is save the WBS will be copied in to the WBS field of the location tab in order. Now when you release the order, settlemnt rule will be created and Settlemnt rule will pick that WBS in the location tab automatically.
May be this is helpful to you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the reply, Sorry I am new to PM, My requirement is not through config, The WBS element is determined during the "save" of the work order(not Release)...
If the WBS is determined through a custom table using the order type/activity type and control key, set the WBS in the "Additional Data" tab in the order(I beleive this can be done by user exit -> IWO10010)...
Once this is done I need to assign the WBS as the settlement rule to the order, Do u know of any exit to assign the settlement rule???...The exit that u indicate -> IWO10009 you cannot set the settlement rule cos there arnt any export parameters...
Any help would be much appreciated...
Regards
Mishan
Basically settlement rule is required at the time of settling the Order Cost to other cost object. Now order can not have any cost assigned to it until it is released.
So the best way for you will be just maintain in config the time when settlement rule in created to be the time of Release as suggested in previous post .
Hope that helps.
regards
Sabyasachi
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.