on 08-17-2007 5:46 PM
What is the difference between BADI:
BBP_DOC_SAVE_BADI and
BBP_DOC_Change_BADI.
My requirement: After the contact has been changed (saved) I want to update a custom table with inofrmation regarding the changes. If is made at header level or item level? If the contact changes have been done thru tcode bbp_ctr_main (single contract process) or tcode bbp_ctr_mass (mass contract change)?
Thanks,
AP
Hi all...
can BBP_DOC_CHANGE_BADI will be called before the document is saved in the database via COMMIT???
or
can BBP_DOC_SAVE_BADI will be called if we require any changes????
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi AP,
BBP_DOC_SAVE_BADI : This badi is called when you post/order/publish/create any purchasing document in EBP. It is primarily used to add checks when this doc are posted to the database.
BBP_DOC_CHANGE_BADI : This BADI is used for <b><u>changing</u></b> the data contained in any purchasing document.
I would suggest to use BBP_DOC_CHANGE_BADI to meet your requirement.
Regards
Bhagyashree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The BBP_DOC_SAVE_BADI will be called before the document is saved in the database via COMMIT. Once the commit is saved everything will be saved in the same LUW including any external database transaction you may have made in your own BADI coding. The reason is if something failed, the rollback should be for the complete LUW.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.