Skip to Content
avatar image
Former Member

How to issue an error message in srm using BBP_DOC_CHANGE_BADI implem?

Subject....

This can be easily done in BBP_DOC_CHECK_BADI using et_message exporting table. There's no table like that in DOC_CHANGE_BADI. Please Advise.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 08, 2011 at 09:58 AM

    Hi

    First, let me one thing like "ET_MESSAGES" is not a database table it is an EXPORTING parameter of BADI (BBP_DOC_CHANGE_BADI).

    This exporting parameter is referred to one TABLE TYPE (BBP_TMESSAGES_BADI) and internally it refers to the structure (BBP_SMESSAGES_BADI).

    So, what you need to do is just capture all the error messages in to some internal table and loop the internal table and populate "ET_MESSAGES" internal table which is a exporting parameter.

    Hope it helps you.

    Thanks

    Siva

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2011 at 10:00 AM

    Use mac_populate function to perform the same in the portal screen.

    Regards

    Aravind

    Add comment
    10|10000 characters needed characters exceeded