Skip to Content
0
Former Member
Jan 07, 2008 at 05:28 AM

SY-UCOMM Error

370 Views

Hi Experts

I have used the following code, but when i debug am not able to get the SY-UCOMM value. what could be the reason.

Pls help me on this, do we need the order of the statements or whatelse pls.

Regards

Rajaram

SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-001.

PARAMETERS vbeln TYPE vbrk-vbeln matchcode object ZINVOICE.

PARAMETERS rtim TYPE vbrk-ERZET.

SELECTION-SCREEN END OF BLOCK bk1.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.

parameter : p_org as checkbox,

p_dup as checkbox,

p_tri as checkbox,

p_qua as checkbox.

SELECTION-SCREEN END OF BLOCK b2.

AT SELECTION-SCREEN OUTPUT.

SET PF-STATUS 'POLY'.

AT USER-COMMAND.

CASE SY-UCOMM.

WHEN 'EXEC'.

PERFORM PRINT.

WHEN 'PREV1'.

ENDCASE.