cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Regards

Aravind

former_member778253
Active Participant
0 Kudos

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