on 04-11-2016 7:41 AM
Hi experts,
we have activated LOG_EAM_OLC functionality in order to be possible to gather costs at operation level of a PM order.
I am looking for a user exit to handle the settlement rule at operation level. I know about IWO10027 that can be used for header settlement rule, but when i am at operation level, the exit is not called.
Do you have any ideas about this?
BR
Hi Ali Dai,
In your shared document you dnt done time confirmation for the operations.
Yes in OLC for every operation individual settlement rule will generated the main purpose OLC is to generated individual settlement rule only.
After time confirmation of operation the cost will be actual cost.
Then you will settle the cost by KO88 or KO8G it will flow through individual cost centers maintained in the settlement rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimas,
Thank you very much for your support. I have managed with the help of my Abaper to create the settlement rule, however i am facing an issue.
The settlement rule is created during release (for my doc. type i have set it as mandatory for release).
The criteria to define the settlement rule is the equipment or the functional location in the order and the work center per operation.
However, If i change the equipment or the Function location of the order the badi is not called again.
Is there a way to call it or find an alternative in order to avoid this issue?
BR
Hi,
Two options:
1) easier - change the rule of the creation of settlement rule for the moment of the complete of the order (status: TECO)
OR
2) ABAP
a) See the code ABAP used in BAdI (BADI_OLC_SETTL_RULE_DET_OPR)
b) Use other BadI (order change), put a verification if order already liberated, to check the settlement rule is right for operation (to check the equipment / cost center it changed). use the code based on previous BAdI
Dimas Faria
I am trying with this one as well, but my issue is that as long as the Work order is released (and thus a settlement rule has been created) i have not find a way if the equipment is changed to go through BADI_OLC_SETTL_RULE_DET_OPR again, in order to redefine the settlement rule.
As far as i understand, as long as a settlement rule exists, this BADI_OLC_SETTL_RULE_DET_OPR is not called again.
BR
So if I understood correctly, if after order is released and settlement rule is created and some one change equipment in order you want to change settlement rule. Now can you tell me why would you allow to change equipment if order is released. Let's say some one post cost for operation 0010 for equipment X and now some one change it to equipment Y where will be total cost settled?
Thanks
Yogesh
Hi Yogesh,
You have understood correctly and i totally agree with your way of thinking. However, as standard SAP allows the equipment change, i would like to be sure about the settlement rule.
Cause for example, maybe during order release the user realizes he selected wrong equipment and want to change it. Then it would be difficult if i restrict it with a Badi or exit and not allow equipment change.
This is why i would like the settlement rule to be generated again.
BR
Hi Ali,
Check whether this link is useful for you
The SAP Fan Club Forums • View topic - PM Order - Settlement Receivers
Regards
Terence
Hi Ali,
I have some basic data on Operation levelling planning.
After activating the Business Function, we need to assign the OLC to the required order types in SPRO then we can see the settlement rule option for every individual operation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ali,
Did you made the configurations ?
- Define costing settings
- Regeneration of order costs: Tables PMCO and PMCO_OP
Regards
Dimas Faria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimas,
\
Can you please give me more details?
We have activated operation account assignment and in spro for our document type it is active. We have activated the Badi, but when we create a PM order during save the badi is not called. it is only called if you enter the settlement (go to operation's settlement rule).
However, i want no interaction of this with the user.
BR
Hi,
Have a look at this note
195607 - FAQ: Default settlement rule for PM/CS order
This is not related to User Exit, you can check whether all the settings are made.
Regards
Terence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ali Dai,
I am not sure but can you please try with COOM0003.
Regards,
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ali,
This seems to be a good knowledge thread. Lets wait for others comments
Meanwhile request you to check through
Working with Order Operations as Account Assignments - Orders (CS-SE/PM-WOC-MO) - SAP Library
PM Order costs at operation level not displayed. | SCN
Regards,
Amol
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.