Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Blank screen

Former Member
0 Likes
802

I've created a report & on the selection screen there are 2 radioo buttons with 2 separate options. Each option calls a separate transaction upon executing. While I execute an option after selecting the radio button & then press the back button to come bcak on the original screen, first it goes to a blank screen & then it again comes back to the original screen.That means I've to press the BACK button again in order to reach the original selection screen.I'm not able to resolve the problem.My coding is like this :

START-OF-SELECTION.

IF p_skill = 'X'.

CALL TRANSACTION 'ZTICKET'.

ELSE.

LEAVE TO TRANSACTION 'ZSTATUS'.

ENDIF.

END-OF-SELECTION.

after executing the transaction ZTICKET, when I press BACK button it shows the blank screen.Please help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
658

HI TRY THIS ONE ITS WORKING

REWARD IF USEFUL

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND UC1.

SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R2 RADIOBUTTON GROUP G1.

SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK B2.

START-OF-SELECTION.

IF r1 = 'X'.

call transaction 'ZNNR_REPORT'.

ENDIF.

IF R2 = 'X'.

CALL TRANSACTION 'MM01'.

ENDIF.

END-OF-SELECTION.

REGARDS

NARESH

HI TRY THIS ONE ITS WORKING

REWARD IF USEFUL

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND UC1.

SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R2 RADIOBUTTON GROUP G1.

SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK B2.

START-OF-SELECTION.

IF r1 = 'X'.

call transaction 'ZNNR_REPORT'.

ENDIF.

IF R2 = 'X'.

CALL TRANSACTION 'MM01'.

ENDIF.

END-OF-SELECTION.

REGARDS

NARESH

3 REPLIES 3
Read only

Former Member
0 Likes
659

HI TRY THIS ONE ITS WORKING

REWARD IF USEFUL

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND UC1.

SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R2 RADIOBUTTON GROUP G1.

SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK B2.

START-OF-SELECTION.

IF r1 = 'X'.

call transaction 'ZNNR_REPORT'.

ENDIF.

IF R2 = 'X'.

CALL TRANSACTION 'MM01'.

ENDIF.

END-OF-SELECTION.

REGARDS

NARESH

Read only

varma_narayana
Active Contributor
0 Likes
658

Hi...

Put the Code in <b>AT SELECTION-SCREEN</b> event instead of

START-OF-SELECTION.

<b>Reward if Helpful</b>

Read only

Former Member
0 Likes
658

Hi ,

I have tried to use a similar code as yours but nothing such is happening .

parameter p_skill type c.

START-OF-SELECTION.

IF p_skill = 'X'.

CALL TRANSACTION 'MM01'.

ELSE.

LEAVE TO TRANSACTION 'ME21N'.

ENDIF.

END-OF-SELECTION.

Regards