cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Creation Budgeting

atul_rajmane
Participant
0 Kudos

Hi All,

I am working on interface which need to automatically create a initial budget in CJ30 and update using CJ36/CJ35 after creating cost plan.

Let me know if any BAPI or BADI is available for same with which I can create Budgeting as I cant use BDC?

Also, let me know Can we use IMCCP3 T. Code to update/create budget in customer project (Project Not having IM Profile)? and Can we Put WBS in IMCCP3 T. Code to Update budget as a standard screen have only Project Definition?

regards,

Atul R. Rajmane

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

For your first query regarding Budget, you can use BAPI kbpp_extern_update_co .

Regards,

atul_rajmane
Participant
0 Kudos

Hi Amit,

Thank you for your mail.

I am able to use KBPP_EXTERN_UPDATE_CO functional module. But, after using this my Overall Budget is updating, But I am not able to update my annual budget.

Let me know what should I need to do for it?

regards,

Atul Rajmane

atul_rajmane
Participant
0 Kudos

Hi Amit,

Thank you for give input on this.

I am update my annual as well as overall budget using kbpp_extern_update_co functional module. I have use SAP Note 625613 along with it.

regards,

Atul R. Rajmane

vsubbakrishna
Participant
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi there,

do you mind to share the codes how you used the FM KBPP_EXTERN_UPDATE_CO. I have used the code and it didnt update the annual and also overall budget.

Below is the message i received from the FM

R.10.10004.1004.14 :

Annual budget 2010 less than distributed budget

- R.10: 400.00 < 1,500.00 (MYR)

- R.10.10004.1004: 400.00 < 700.00 (MYR)

Overall budget less than cumulative budget

- R.10.10004.1004.14: 100.00 < 400.00 (MYR)

Please guide my how to use the FM. what things should i feed to the FM. Below is a sample code how i used the FM.

i_bpak-e_objnr = t_objnr. "

i_bpak-e_gjahr = i_proj-gjahr. "Year

i_bpak-wert = i_proj-wtges. "Amount

i_bpak-twaer = i_proj-twaer. "Curr

i_bpak-s_vorga = 'KBUD'.

i_bpak-s_wrttp = '41'.

i_bpak-e_versn = ' '.

SORT i_bpak BY e_objnr DESCENDING .

CALL FUNCTION 'KBPP_EXTERN_UPDATE_CO'

EXPORTING

i_budget_activity = 'KBUD'

i_budget_activ_sup_ret = ' '

i_commit_data = 'X'

i_delta_amounts = ' '

i_rollup_data = ' '

i_application = 'P' "'P' for projects, 'O' for orders

i_commit_all = 'X'

IMPORTING

e_errors_found = l_error

TABLES

it_bpak = i_bpak

it_return = it_return

EXCEPTIONS

no_update = 1

OTHERS = 2

Answers (0)