on 06-08-2012 10:46 PM
Hi All,
Here i am having a issue . When i am trying to save PO data(Confirmed quantity changed) , having BBP_DOC_CHECK_BADI is populated by error messages, but still it is sucessfully getting saved. How can i stop this saving of data ?
Hi, Suvendu.
Did you solve this issue? I'm facing the same situation.
Best regards,
Flavia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Suvendu,
this is SAP standard process.
If you have business rule telling purchasing document does not have to be saved when errors occur, try following process:
- check in BBP_DOC_CHECK_BADI if any error message is populated (type "E"),
- if yes, add an abort message inside BAdI message table (type "A").
Maybe it could prevent document to be saved as process will be interrupted.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laurent.
Thanks for your reply . But i have used both 'E' and 'A' message types. Only difference it has that it shows serious error ( for Abort) but then also data is getting saved. Here one interesting thing i want to mention that for same process if we press send then error gets captured through BBP_DOC_CHECK_BADI and it is not proceeding through subsequent processes. Can we handle it through message control ? I tried that one also , standard message is getting triggered but still changed data is getting saved. I am considering Object type BUS2230 and BUS2232
Regards
Suvendu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.