Skip to Content
0
Apr 21, 2009 at 10:13 AM

Cost Element Planning CJR2 and FM derivation issue when using BAPI

239 Views

Hi fellow planning experts,

Currently we do our Cost Element Planning via the user interface transaction CJR2. We currently specify the Grant, Fund and Functional Area in addition to the cost elements. This transaction allows us to plan against specific cost elements and funds for a Grant and WBS element.

We now want to build an automated interface to create these plans. I have found that this BAPI, BAPI_COSTACTPLN_POSTPRIMCOST which should do the job.

However, this BAPI does not seem to use the supplied FUND, but rather uses the fund derived from FMDERIVE. This is inconsistent with the behaviour of the front-end transaction CJR2 which does not use a derived fund.

Has anyone got any insights as to why the BAPI uses the derived fund? Having raised this as a SAP Support message, they have said this is a consulting issue rather than a program fault, but the documentation on the BAPI function module does not say anything about the FM Derivation of account assignments.

Regards,

Paul