Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bapi or Function for CJ42 transaction - detail values

Former Member
0 Likes
1,469

We have the need to import values to plan the revenues of a WBS of a Project from an Excel spreadsheet to transaction CJ42.

After searching on the forums, I've found a solution to load TOTAL values by using function KBPP_EXTERN_UPDATE_CO (OSS note 625613).

But we need also to load DETAIL values, having the ability to choose the Cost Element and the Period where the value is stored.

Exists any function or Bapi that can do this?

We have the need to import values to plan the revenues of a WBS of a Project from an Excel spreadsheet to transaction CJ42.

After searching on the forums, I've found a solution to load TOTAL values by using function KBPP_EXTERN_UPDATE_CO (OSS note 625613).

But we need also to load DETAIL values, having the ability to choose the Cost Element and the Period where the value is stored.

Exists any function or Bapi that can do this?

3 REPLIES 3
Read only

Former Member
0 Likes
1,000

Hi,

Try to use this business object in LSMW tool.

Business Object:- BUS6012

Method :- POST

Message Type :- ACC_REVENUES

Basic Type:- ACC_REVENUES02

Read only

0 Likes
1,000

With transaction BDBR/DX Tools I saw that your LSMW it's linked with Bapi BAPI_ACC_REVENUES_POST, which generates a CO document. That isn't what we need.

Adding some info on the issue:

We made a transaction to import costs for a given WBS and Version that loads values to CJ40; on this case, the detail values are loaded with bapi BAPI_COSTACTPLN_POSTACTINPUT and total values are loaded by a BDC.

I would like to do a similar process for the revenue values on CJ42.

Read only

0 Likes
1,000

Found and tested functions K_COSTS_PLAN*

With VRGNG set to RKP5 and using function K_COSTS_PLAN_INTERFACE_TOTAL I think I can solve the problem

Thanks for the inputs