Skip to Content
0
Former Member
Jun 30, 2007 at 10:07 AM

push buttons are not triggering on the selection screen.

17 Views

Hi,

I am sending the total code,please execute the code and tell me what is the solution for getting through with this problem.

TABLES SSCRFIELDS.

DATA FLAG.

selection-screen begin of block a with frame title text-001.

selection-screen skip.

parameters:z like vbap-vbeln.

selection-screen skip.

selection-screen begin of block b with frame title text-002.

selection-screen skip.

parameters:sales radiobutton group g default 'X',

trans radiobutton group g.

selection-screen end of block b.

selection-screen skip.

selection-screen pushbutton 10(12) pu_text user-command CANC.

selection-screen pushbutton 30(12) qu_text user-command STAT.

selection-screen end of block a.

Initialization.

pu_text = 'Cancel Order'.

qu_text = 'Status'.

AT SELECTION-SCREEN.

CASE SSCRFIELDS.

WHEN 'CANC'.

FLAG = '1'.

WHEN 'STAT'.

FLAG = '2'.

ENDCASE.

START-OF-SELECTION.

CASE FLAG.

WHEN '1'.

WRITE 'CANCEL'.

WHEN '2'.

WRITE 'STATUS'.

ENDCASE.