Skip to Content
avatar image
Former Member

SRM Contract creation error in NWBC

Hi,

I have created a custom field ZREGION in SRM front-end and for its validation I have implemented a BADI "BBP_DOC_CHECK_BADI"

what my requirement is when ZREGION is invalid it should display error message and  contract should not be created

but when I am testing it from front end it is throwing error but at the same time contract is also being created.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 04, 2013 at 04:38 AM

    Hi,

    When populating error message into export table of the BADI implementation, are you mentioning the message type as 'E' (Error). If the message type is error, it should not create a contract.

    Please check it. if you have given it as E only, then provide a screenshot of the error message that you are getting in the frontend.

    Regards,

    Karthik Babu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      just check mode Document Mode ( IV_MODE  Eg:- IV_MODE = 'C' ) , if any errors exits in ET_MESSAGES dont save the document.

      Regards,

      Venkat

  • avatar image
    Former Member
    Aug 10, 2013 at 05:19 PM

    Hi

    you are due to assure not being filtering the validations by type of update. as for example U or T. tries clearing that filter in the code.

    thanks.

    BR.

    Emanuel.

    Add comment
    10|10000 characters needed characters exceeded