cancel
Showing results for 
Search instead for 
Did you mean: 

Using Messages Inside BADI

Former Member
0 Kudos

Hi

I have made a BADI call a Popup window( through FM G_POPUP_FOR_ENERING_VALUES ). Now from there i call a Custom Function Module(Search Help Exit) . I am trying to pass a Message (S) or (I) in the Function Module. I am not able to get it even after checking RECORD_TAB in the Search Help Exit. I have explicity checked if this RECORD_TAB is empty and issued a Message (S), But nothing is happening.

Can anyone help me out in this.

Rgrds,

Murli

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I am not able to see any type of Message (S) or (I) which has been issued inside the FM which in turn is present inside a BADI. I am very sure that Message stmt DO NOT work inside a BADI. But my concern is will they work within a FM encapsulated inside a BADI.

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Murli!

I couldn't follow you in detail and I don't know, where your message got lost - but did you thought about handling the result message with a raise and call the message in the BADI?

Message S will anyway only displayed at the next screen, so much later then you expect. Message I might be better in your case.

Regards,

Christian