Skip to Content
Jul 14 at 06:10 PM

BAPI ORDER MAINTAIN, create settlement rule: cost element does not exist in controlling area


Hello guys,

I'm trying to creare the settlement rule in a plant maintenance order, starting from a WBS element, using the BAPI_ALM_ORDER_MAINTAIN.

When I execute it, I receive the error:

"Cost element does not exist in controlling area".

In IT_SRULE I inserted the objnr of the order, the settlement type and the WBS element. I don't know what is the issue, If i try to close the order by IW32 transaction, with the same WBS, the settlement rule is created without problems and the order technical completed.

Any idea?

Thank you,