on 03-04-2009 12:12 AM
Hi all,
I have to change account category and purchase group to external requirements before they become shopping carts. I'm trying to debug the BADIs calling in the data transmission between R/3 and SRM, but no breakpoints are allowed because the transmission runs in background (RFC calling IN BACKGROUND PROCESS of FM BBP_BC_EXTREQ_INB).
Anyway, I´ve found that I could use BADIs: 'BBP_ACCCAT_MAP_IMP' (for accounting cat.), 'BBP_PGRP_ASSIGN_BADI' (for purch. group), and even 'BBP_DOC_CHANGE_BADI' with its method 'BBP_SC_CHANGE'.
My question is: am I wrong? Are these BADIs useful or not for my purposes?
For example:
I have the following code in my own implementation of BADI 'BBP_ACCCAT_MAP_IMP':
method if_ex_bbp_acccat_map_imp~acccat_map_imp.
if logical_system eq 'DESCLNT400'."R/3
select single acc_cat from bbp_c_acc
into bbp_acc_cat where r3_acc_cat eq r3_acc_cat and
acccat_active eq 'X'.
endif.
endmethod.
After running BBP_EXTREQ_TRANSFER (R/3), I check into BBP_PD (SRM) and the accounting data remains the same...
Any help will be appreciated!
Thanks in advance,
Federico.
Thanks everybody, I finally used the DOC_CHANGE, BBP_SC_CHANGE method.
Regards,
Federico
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.