on 10-04-2013 10:15 AM
Hi,
we create sales orders with cost center or internal order and there are transferred to invoice. Sometimes users forgot to enter cost center or internal order so accounting document gets an error that GL account requires CO object. Than we have to cancel invoice and sales order and create new one with correct CO object.
Is there any way to change Cost Center or Internal Order on invoice if accounting document doesn't exist, so we don't have so much additional work?
Kind regards,
Duško Šorak
Hi
Please, see the recommendations by SAP in Note 898356 - Cost center is not copied to the billing document
Regards
Eduardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would like to thank you all for your useful replays.
We will try to implement logic that checks if order exists if internal order in order reason is selected. So we can still retain consistency in sales order and invoice. I'll transfer this to my ABAP team.
Best regards,
Duško
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I would better suggest more standard way. You can assign default cost center to combination of fields sales org., distribution channel, division and order reason in t-code OVF3. When ever you change/select the order reason, default cost center changes automatically. If user want different cost center, that can be entered in order. Manual change in order has higher precedence than default one.
I really doubt if cost center can't be edited in billing document as data would be copied from sales order during creation only.
Thanks,
Vinod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dusko,
You will enter the value in Cost center field, But you to create the screen variant in T Code SHD0.
This may help you to solve your issue.
with best regards
Anand Kumar KS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can set-up cost center or internal order to be part of the incompletion procedure of the sales order?
thus the order cannot be invoiced if it is incompleted
ova2 tx.
best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately not. Using cost center or internal order depends on Order reason. If we use Order Reason - Cost Center we enable field Cost center in document header. Until then, this field is hidden. This could be possible only if we can implement logic that we have to enter cost center if order reason Cost Center is selected, or we have to enter internal logic if something else is selected in order reason.
One additional question, is it possible to somehow change order reason if invoice is created and accounting document isn't?
"Unfortunately not. Using cost center or internal order depends on Order reason. If we use Order Reason - Cost Center we enable field Cost center in document header. Until then, this field is hidden. This could be possible only if we can implement logic that we have to enter cost center if order reason Cost Center is selected, or we have to enter internal logic if something else is selected in order reason."
You can implement this logic in ABAP form USEREXIT_CHECK_VBAP USING US_DIALOG program MV45AFZB for instance.
"One additional question, is it possible to somehow change order reason if invoice is created and accounting document isn't?"
I don't know. let me check it.
Hi,
I hope nishu advice works.
Regards
Anand Kumar KS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dusko,
You can edit the document in vf02 --> double click on line item --> Item detail tab --> enter cost center in account assignment data
Alternatively, just as a workaround, if you have significant line items, then you can enter cost center in cost element master data (ka03) which are going to be impacted in billing document. Once done you can remove it
Thank You
Nishu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishu,
thank you for your answer, but unfortunately it's not that simple, in VF02 fields Cost Center and Order are gray and cannot be changed. Is there any customizing settings so we can enable changing cost center an order for invoices that don't have accounting document?
Kind regards,
Duško
Hi,
I am not sure why its not editable however please check note 301077 which lists user exists for interface to accounting
Populate field ACCIT-KOSTL from exit EXIT_SAPLV60B_004 and see if it works
However the simpler option will be to default cost center in okb9 settings or setup cost center in cost element master data (ka02)
Thank You
Nishu
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.