Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can i use MESSAGE in BADI ?

carlos_zhang3
Participant
0 Kudos

Dear Guru ,

I am using a badi for the material master data controlling , but i don't know whether it can use "MESSAGE" to popup a information dialog to end user or not .

Is it possibile ?

Thanks .

Best Regards,

Carlos

3 REPLIES 3

Former Member
0 Kudos

Please check this answered link:

Edited by: Afshad Irani on Jun 13, 2010 9:35 AM

Sandra_Rossi
Active Contributor
0 Kudos

It depends on each BAdI usage. See the documentation of this BAdI. Sometimes, the same BAdI is called several times (in the same LUW, with same importing parameters), so it's clear that SAP didn't expect this BAdI to display something.

Try. Or tell us which BAdI it is (give the name).

carlos_zhang3
Participant
0 Kudos

  CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
              EXPORTING
                TITEL = 'ERROR'
                TEXTLINE1 = 'You are not authoized to choose the status !'
                TEXTLINE2 = 'Please check with your SAP Administrator'
                START_COLUMN = 25
                START_ROW = 6 .
              message 'X' type 'E' .