07-10-2008 11:56 AM
Hi,
Is there any BAPI for CJR2 transaction code? If so, Please give it.
Regards,
Hari
07-10-2008 12:29 PM
Hi Hari.
The related bapi for Cost element is:
BAPI_COSTELEMENTGRP_GETDETAIL
BAPI_COSTELEMENTGRP_CREATE
BAPI_COSTELEMENTGRP_GETLIST
Please GoTo->Transaction code "BAPI".
That's a wonderfull transaction to find out the BAPI's you require.
Good Luck & Regards.
Harsh.
07-12-2008 8:37 AM
Hi,
I found the BAPI for CJR2 : - BAPI_COSTACTPLN_POSTACTINPUT
But however I am facing problem in passing data to this. SAP given example program using this : - RK_BAPI_POSTACTINPUT.
The errror which I am getting is " Cost Center , Fiscal year 2008 is not planned".
The parametes I am passing are: -
Header: -
CO_AREA WFP
FISC_YEAR 2008
PERIOD_FROM 001
PERIOD_TO 012
VERSION 0
Index structure: -
OBJECT_INDEX 000001
VALUE_INDEX 000001
CO Object: -
OBJECT_INDEX 000001
WBS_ELEMENT 200001.1.1
TOT value: -
VALUE_INDEX 000001
ORDER_CELEM 2950000
QUANTITY_FIX 9,
DIST_KEY_QUAN_FIX 1
QUANTITY_VAR 6,
DIST_KEY_QUAN_VAR 1
UNIT_OF_MEASURE $MT
The errror which I am getting is " Cost Center , Fiscal year 2008 is not planned".
Could someone Please tell me if there are some other parameters I need to pass to this BAPI.
Regards,
Hari krishna.
07-12-2008 8:45 AM
Hi Hari.
Good Work.
See, If you can use BAPI transaction.
May be this will help.
GoTo->BAPI (transaction)->CostActivityPlanning->PostActivityInput->Totvalue.
Totvalue - Plan Values Per Fiscal Year and Distribution Key.
Check the documentation for this "Totvalue" for parameter fields and other descriptions.
Even for CostActivityPlanning->PostActivityInput->CoObject->Documentation
This is related to cost center and other related parameters
Good Luck & Regards.
HARSH
Edited by: Harsh Dave on Jul 12, 2008 1:15 PM
09-27-2010 2:17 PM