Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  SAP GUI User Dialogs →  General Dynpros →  ABAP Statements for Dynpros 

SUPPRESS DIALOG

Quick Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


SUPPRESS DIALOG. 

Effect

If this statement is specified during PBO processing, the current dynpro is processed without displaying the screen, while the screen of the previous dynpro remains visible. After PBO processing, the system triggers the event PAI in the same way as if a user had pressed Enter. The function code assigned to this key in the current GUI status is then transported to sy-ucomm and to the OK field. Outside of PBO processing, this statement is ignored.

If the statement MESSAGE is used to send either a termination message, error message, information message, or a warning during PAI processing, the screen of the current dynpro is displayed together with the message.


Example

The statement SUPPRESS DIALOG can be used to display lists while dynpros are being processed without displaying the screen of the dynpro where the list is created.

MODULE call_list OUTPUT. 
  SUPPRESS DIALOG. 
  SET PF-STATUS space. 
  WRITE 'Basic List'. 
  LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0. 
ENDMODULE.