on 10-21-2008 10:13 AM
Hi,
I want to throw a customised error message "Vendor XXXX does not exist" if the user enters an incorrect vendor number or vendor name in the preferred vendor under the sources of supply tab while creating a shopping cart, instead of the System message which says "Business Partner XXXX does not exist".
Need your inputs on how to go about it.
Regards.
Hi,
How Massa told, try to use BBP_DOC_CHECK_BADI and create a new message in the transaction SE91.
Like this example:
IF v_VARIABLE NE wa_header-FIELD.
wa_et_messages-msgty = 'E'. "ERROR
wa_et_messages-msgid = 'ZSRM'. "CLASS
wa_et_messages-msgno = '014'. "MESSAGE
wa_et_messages-item_guid = iv_doc_guid.
APPEND wa_et_messages TO et_messages.
ENDIF.
Rgs,
Pedro Marques
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
How about implementing the BBP_DOC_CHECK_BADI ?
Regards,
Masa
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.