on 08-18-2009 11:37 AM
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
Hi,
For your first query regarding Budget, you can use BAPI kbpp_extern_update_co .
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.