Maintain settlement rules in a PM order
Hi!
I would like to find an easy way to automatically fill the settlement rule in an existing PM order. If it is possible I would like NOT to use BDC (Batch input). A function element or maybe a BAPI would be the best solution.
If anyone knows a way to it, please share it with me..
Thank you
Tamá
Answered...
Similar Messages
-
Problem in maintaining the settlement rule in the maintenance order
Dear Friends,
I have a problem ,When I am trying to maintain the settlement rule in the maintenance order ,I am getting information like below
Decentralized system -> note settlement rule is not distributed
Message no. /ISDFPS/PM124
Diagnosis
You navigated to the settlement rule.
System Response
The system informs you that a settlement rule can be created but that it will not be distributed to the target system. Settlement is carried out in the target system, where the order is usually settled to the WBS element of the operation.
Can anyone throw some light on how this is happeing and remedy?
Appreciating your early responseHello
Please check
TC --> KSR2_ORC
Please maintain the Strategy Sequences for Automatic Generation of Settlement Rule.
You define a strategy sequence for automatic generation of settlement rules for internal orders.
Regards,
Rakesh
Edited by: RAKESH ASHOK MANE on Sep 3, 2010 12:37 PM -
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. -
VA02 - maintain settlement rules
Hi folks,
I am trying to maintain a settlement rule within the Sales Order without the user going to the Item Level.
I want to inherit the WBS element from the Header VBAK and on the save of the document automatically create the settlement rule.
I have tried K_SETTLEMENT_RULES* functions and cant seem to get them to work.
Anyone got any ideas or any advice on this ?
Regards
GaryI managed to work this one out myself, but just in case someone else has to do it. here is how I acheived it.
Firstly set up all fields on COBRA and COBRB, then call FM
CALL FUNCTION 'K_SETTLEMENT_RULE_FILL'
TABLES
I_COBRA = lt_cobra
I_COBRB = lt_cobrb.
Next
For some reason the internal system ALWAYS sets the table
up as the update status, this causes problems on creation,
so we have to change to Insert status.
Assign (c_GT_cobrb) to <fs_cobrb>.
if <fs_cobrb> is assigned.
LT_COBRB_BT[] = <fs_cobrb>.
loop at lt_cobrb_bt.
Somehow the previous records are being kept in so have to
delete them or else prog falls over.
if lt_cobrb_bt-objnr <> lv_objnr.
delete lt_cobrb_bt.
endif.
check to see if record exists.
select count(*)
from cobrb
where objnr = lt_cobrb_bt-objnr
and bureg = lt_cobrb_bt-bureg
and lfdnr = lt_cobrb_bt-lfdnr.
if sy-subrc <> 0.
Set the flag to be insert instead of U
lt_cobrb_bt-uflag = 'I'.
modify lt_cobrb_bt.
else.
If settlement exists then exit.
lv_settl_exist = 1.
exit.
endif.
endloop.
If settlement exists then exit.
if lv_settl_exist = 1.
exit.
endif.
<fs_cobrb> = LT_COBRB_BT[] .
endif.
For some rreason the internal system ALWAYS sets the table
up as the update status, this causes problems on creation,
so we have to change to Insert status.
Assign (c_GT_cobra) to <fs_cobra>.
if <fs_cobra> is assigned.
LT_COBRa_BT[] = <fs_cobra>.
loop at lt_cobra_bt.
Somehow the previous records are being kept in so have to
delete them or else prog falls over.
if lt_cobra_bt-objnr <> lv_objnr.
delete lt_cobra_bt.
endif.
check to see if record exists.
select count(*)
from cobra
where objnr = lt_cobra_bt-objnr.
if sy-subrc <> 0.
Set the flag to be insert instead of U
lt_cobra_bt-uflag = 'I'.
modify lt_cobra_bt.
else.
If settlement exists then exit.
lv_settl_exist = 1.
exit.
endif.
If settlement exists then exit.
if lv_settl_exist = 1.
exit.
endif.
endloop.
<fs_cobra> = LT_COBRa_BT[] .
endif.
Then when the tables have had their update status amended then call FM
CALL FUNCTION 'K_SETTLEMENT_RULE_SAVE'
EXPORTING
DIALOG = ' '
OBJNR = lv_objnr
I_STATUS_UPDATE = ' '
EXCEPTIONS
NO_RULE_FOR_OBJNR = 1
OTHERS = 2. -
Maintain settlement rule - parameter
Dear all ,
I Create new maintenance order type in system and creat a manual order through iw31 . but when we want realease the order system open one window name ''Maintain settlement rule - parameter''and asking for settelement profile.
please help me where i can maintain settlement rule in SPRO for system autometic settlement at the time of realease.
RaghavHi RS,
Go to -" spro>>>>>PM & CS>>>>>>>>Maintenance and service processing>>>>>>>Maintenance and service orders>>>>>Functions and settings for order types>>>>>>Settlement rule: Define time and creation of distribution rule
Execute
then
put "mandatory for release" and main order will be a settlement receiver" in settlement rule time and Distribution rule sub order field with corresponding to your order type.
After completing this configuration your settlement rule will automatically create for order
Thanks & Regards,
Rahul Pawar -
Maintain settlement Rule for CJ20N
Hi Experts,
How can i maintain settlement rule for sales order and item in cj20n. Is there any t.code or BAPI available..?, Please help me.
Thanks.Hi ,
u can use these FMs K_SETTLEMENT_RULES_UPDATE, if u want to know what to pass , put a break point in this FM ,and try to create a settlement rule ? then u will come to know .
K_SETTLEMENT_RULE_GET
K_SETTLEMENT_RULE_REFRESH
K_SETTLEMENT_RULE_SAVE
K_SRULE_CREATE
K_SRULE_CREATE_WITH_SL
K_SRULE_GET_SLIST
Regards
Prabhu -
Error: Maintain settlement rule of the sender for a higher level WBS
Hi,
I dont want to maintain the settlement rule for a higher level WBS. How can i configure this in such a way that i dont get the following error:" Maintain settlement rule of the sender" while doing CJ88. Maintaing a separate Settlement profile for a higher level WBS is an option but we are looking if something else could be done The problem is that there are no actuals booked against, say, level 2 WBS but when i execute CJ88, i get the aforesaid error. How can i ensure that only the lowest level WBS ask for the settlement rule and not the levels above it. I have already removed the Investment profile from the higher level WBS but still getting the same error.
Regards,
DPilHi,
It is a type Capex WBS and Biling element is not checked. In fact i get a warning while doing the settlement: WBS is neither a billing element nor an account assignment element.
Diagnosis
WBS element is not indicated as either an account assignment element or as a billing element in the master record.
System Response
The WBS element cannot be assigned to an account.
Procedure
Correct your entries or add the missing indicator to the master record for the WBS element.
But this is just a warning. On pressing enter i get the error :Maintain settlement rule of the sender " -
Hi All
I would like to maintain more than ten line items in maintain settlement rule screen for distribution. Currently system allows me to enter only ten distribution line items. Pleease let know to increase the way. Thanks in advance.hi
in OKO7 for your settlement profile make the entries in the Max.no of dis rls and check
regards
thyagarajan -
Cannot Maintain settlement rule for the activity
Dear All,
I tried to maintain settlement rule in activity under WBS. But it shows message :
You cannot maintain the settlement rule for the activity
Message no. CN006
Diagnosis
The network has header account assignment. You can only maintain settlement rules for the network header.
System Response
Processing stopped.
Procedure
Maintain the settlement rule for the network header.
Please help.
Cheers,
NiesHi,
I already tried the config OPUV (network type Parameters) but it shows the activity account assignment already ticket.
If i go to network header and go to settlement rule the warning message shows :
Network has activity account assignment
Message no. CN057
Diagnosis
Costs can only be written to activities for the network whose key you have entered.
System Response
Processing stopped.
Procedure
1. Check whether you have entered the correct key for the network. Change it if necessary.
2. Maintain the key for the network to which you want the costs to be written.
In addition, if i tick the activity under the network header : it shows
You cannot maintain the settlement rule for the activity
Message no. CN006
Diagnosis
The network has header account assignment. You can only maintain settlement rules for the network header.
System Response
Processing stopped.
Procedure
Maintain the settlement rule for the network header.
Cheers,
Nies
Edited by: Nies on Nov 6, 2009 3:26 AM -
User Exit for the Settle rule of a Production Order
Hello all
i got a requirement to change the settlement rule of a production order to multiple receivers.
suppose i have the following rule
Categeory | Settlement Reciever | Receiver Short text | % | Settlement Type | No | Source Assignment
MAT ZMDT89 ZMDT88 100 FUL 1 left as blank
now my requirement is that i have to default the source assignment as 200 (Materials) so as to allow the other reciever entered with the same settlement type as FUL and also the No should be 2
i.e. my req is like this
Categeory | Settlement Reciever | Receiver Short text | % | Settlement Type | No | Source Assignment
MAT ZMDT89 ZMDT88 100 FUL 1 200
G/L G/L A/C no G/L shor text 100 FUL 2 100
the bold one is i have to ADD
the T-Code is CO02.
your help is highly appreciated...
thanks in advancehi,
check these exits in co02.
Transaction Code - CO02 Change Production Order
Enhancement/ Business Add-in Description
Enhancement
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determination
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines
PPCO0009 Enhancement in goods movements for prod. process order
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
reward points if hlpful. -
Maintain settlement rules for order category 30(Maintenance order).
Hi Gurus,
Can we maintain two settlement rules for an order without distribution rule?
Eample:- In an order there are three different costs i.e. material cost,external labour cost and internal labour cost.We want to settle the material cost and external labour cost to Profitability segment and the internal cost to a particular GL account directly.
Note: No distribution rule is required,because all the cost should settle directly to correspoanding heads i.e. PSG or GL.We don't want to assign the GL# again and again for different orders in the corresponding order's settlement rule.
Require your valuable inputs to proceed.
Best Regards,
RamakantaHi Govardhan,
If you are working in ECS, the Shopping cart will not create any follow on document in backend R/3.
I think your Product category is 30, thats why the error says Manual reservation for order category 30 is not allowed.
Where did you get the maintenance order? Generally maintenance order is created in the backend R/3 (Plant Maintenance) and a P.R will get generated against that order.
Using PDP (Plan driven procurement) you can transfer that P.R to SRM and can carry out sourcing and can complete the procurement cycle.
Can you please tell me what is your exact business requirement?
Hope this will make you more clear.
Clarifications are welcome.
Award points for helpful answers.
Rgds,
Teja -
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
ReddyHi
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 -
Doubt about the settlement rule of the Production ORder
The only default distribution rule allowed for a PP order is PP1 or PP2. We would need to change that to allow settlement to multiple receivers as a default. If that is the case, we may want to look into a user exit to update the settlement rule during production order creation instead so that the G/L account is correct from the beginning.
Currently when we create the production order, the settlement rule will default the below, I am not sure if a user exit is able to maintain the Source as 200 (Materials)?
If yes, we can then add the second rule for Source 100 (Labor and Mfg) via the user exit as well.
In this case, SAP will not prompt us error of settlement with 200%, as they are from difference Sources.
now anybody can explain me about the User EXit we have to correct thisany help on this.. please its very urgent
thanks in advance -
Settlement rule in rework process order
Hello
When creating a rework process order without material in CORO the system is asking automatically for the settlement rules. Here we can then maintain a cost center order order. This is very nice and perfectly fine to us.
When now creating in a different case a rework order with material in COR1 (because we plan a goods receipt) the system is automatically taking the material as default settlement rule without asking the user. Would anybody know a way how to customize the system to ask the user in any case for the settlement rules? So the user really has to make a choice and is not always forgetting to update the correct values which are not only the material. (kind of a training issue but maybe the system can do something about that..)
ThanksHi,
Please click this link
http://help.sap.com/saphelp_470/helpdata/en/38/0cf817ed9b11d29fa2080009b0db33/content.htm
Rework order
thanks
krishna -
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
RishaHi,
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
Maybe you are looking for
-
Unable to Login into APEX after upgrade from ORACLE XE to APEX 3.2
Hi, I have upgraded Oracle 10g XE to with apex_3.2 on the Windows XP. My ORACLE XE wa in folder "C:\ORACLE XE" And APEX 3.2 in folder "C:\Ver 3.2\APEX" Once you complete the standard install, i performd the following steps to complete the upgrade whi
-
Whenever I try to edit a component of my style sheet, I keep getting this error. (attached screenshot). I look at the ipdc-screen.css is on my local disk. ???
-
How can I change the default start time of an activity in iCal (Mavericks)?
My current default time in iCal is 9.00 AM. Don't know why. In iCal on my MBP it is 10.00 AM. Can I change that to 11.00 AM? I am not an early riser... Gr. K.M.
-
Moving Exchange from old server to completely new server
Hello All, I hope to get some good pointers here. I currently have Exchange server 2007 SP1 running today. The server is old and the warranty just expired. I have been given permission to buy a new server and migrate to it. I have the new server
-
Editing The Fax Layout for the Send Message window
Dear All Is it possible to view and edit the Fax Layout for the Send Message windows in SAP B1 9.0 PL52 Best Regards shayan