on 10-29-2007 1:10 PM
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
Hi,
BBP_DOC_CHANGE_BADI will be called in all the three modes.i.e. CREATE,CHANGE and DISPLAY(so several times and also before saving the document) while BBP_DOC_SAVE_BADI is called only on the action SAVE(after saving the doc).
BR,
Disha.
<b>Pls reward points for useful answers.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BBP_DOC_SAVE_BADI --->
Carry out Activity During Saving
You can use the Business Add-In BBP_DOC_SAVE to update own data and tables in the same Logical Unit of Work when saving a document to the database. This facility is especially intended for update of customer-specific statistics.
In the method BBP_DOC_SAVE, the document GUID is available as parameter IV_DOC_GUID. You use this to access the document data. The FLT_VAL parameter is a filter value that you use to assign implementation of a certain document type.
-
BBP_DOC_CHANGE_BADI -
>
Short Text
Changes to Purchasing Document Data
Use
You can use the Business Add-Ins BBP_DOC_CHANGE_BADI to make changes to the document, after user entry and before saving the document to the database. These changes are subject to the document-specific checks.
The parameter FLT_VAL acts as a filter value that assigns the BAdI implementation to a particular document type. You can use the BAdI to change the following documents:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
This is the sequence
First BBP_DOC_CHANGE_BADI is called
then BBP_DOC_CHECK_BADI
and finally
BBP_DOC_SAVE_BADI.. (in last)
BBP_DOC_CHANGE_BADI will be called several times, if we made any changes. (Yes, BBP_DOC_CHANGE_BADI will be called before the document is saved in the database via COMMIT).
Hope this will answer your query.
Regards
- Atul
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.