SAP Message SPADS008 - Program &1 can be executed in dialog mode only

SPADS008 : Program &1 can be executed in dialog mode only