SAP/ABAP

message 띄우기..

손여사아들 2010. 7. 19. 13:54

   

MESSAGE { msg | text } [message_options].

   

예를 들어

message 'text' type 'E'.

이렇게 쓴다면 창 밑에 반짝하고 Error 메세지를 보여준다.

   

Tip1. Function 에서 exporting 중 type 을 BAPIRETURN 으로 잡았다면, 아래의 function 을 통해 메세지를 뿌려줄 수 있다.

BALW_BAPIRETURN_GET2

This is to convert the internal table filled with messages to BAPIRET structure .

   

Tip2. POPUP 메세지를 띄우고자 할 땐 다음 function을 써보자..

FB_MESSAGES_DISPLAY_POPUP

This is to display a popup with all the messages ( error type / info type , etc )