on 10-17-2011 1:16 PM
Hi all,
I need to trigger some warning messages from BBP_DOC_CHANGE_BADI. I know i can do it from BBP_DOC_CHECK_BADI, but i want to do it in badi CHANGE.
I want to do it in badi CHANGE because i want to add some warning messages when the user change some values... In badi CHECK I only have the guid, so i need to use the FM get_details. and i don't know there if the user has changed some value...
I've solved it using export/import statements between both Badis, but I think this isn't a good solution.
Do you know if I can do it from badi CHANGE ?
Thanks in advance.
Hello,
As far as I know, you won't be able to raise messages within BBP_DOC_CHANGE_BADI.
There are no export tables to provide such data. With this badi you can modify data, but not raise messages.
There is also BBP_ITEM_CHECK_BADI. Maybe it is an option.
Regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ricardo,
Raising an error for a mandatory field is too stringent for SRM standard, because it is customer specific
and depends on ERP OME9, FS02 field group settings.
Using BADI message control (BBP_MESSAGES_BADII or BBP_DOC_CHECK_BADI),
you can control customer specific. Please, check note 815849, question 7
for more details:
815849 - FAQ: Account assignment system response
7. What triggers the account assignment update?
o The account assignment update is triggered by changes to account
assignment key fields: Controlling area CO_AREA, company code
BUKRS, function area FUNC_AREA, account assignment category
ACC_CAT.
o You must use a BAdI (BBP_DOC_CHANGE_BADI) to implement other
triggers and the relevant update of additional account
assignments (in accordance with Note 790973).
I hope this information helps you.
Kind Regards,
Edel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edel, Thanks for your answer, but I don't want to raise an error message. I only want to raise a warning or info message in order to inform the user that he has changed something that might not be good...
I can't do it in BADI_CHECK because I haven't there the previous value...
The badi BBP_MESSAGES_BADI i think is only for accounting data...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.