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

Execute button in selection screen

Former Member
0 Likes
5,905

Hello experts,

I have created selection screen, default ie 1000, in that 2 radio button wil get displayed. Based on the selection of radio button further selection screen should get displayed.

The issues is I am not able to get execute button(F8) get displayed on the screen.

What mistake could I made?

Any helpful suggestions?

Advance thanks...

Regards,

Viral Patel

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
2,213

Have you designed it in screen painter ?

Read only

0 Likes
2,213

HI KESHAV,

THANKS FOR QUICK RESPONCE.

NO I HAVE NOT SET RADIO BUTTONS IN SCREEN PAINT.

I HAVE MANUALLY CODED...

REGARDS,

VIRAL PATEL

Read only

0 Likes
2,213

Hello Viral,

Have you checked the demo code: DEMO_CALL_SELECTION_SCREEN ?

BR,

Suhas

Read only

Former Member
0 Likes
2,213

Hi,

here a short example how i use F8 on selection screen:


TYPE-POOLS: ICON.
*
SELECTION-SCREEN: BEGIN OF LINE.
PARAMETERS:       P_MATNR LIKE MARA-MATNR OBLIGATORY.
SELECTION-SCREEN: END   OF LINE.
*
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: PUSHBUTTON 30(30) PB01 USER-COMMAND ONLI
                  VISIBLE LENGTH 15.
SELECTION-SCREEN: END   OF LINE.
*
INITIALIZATION.
*
  CALL FUNCTION 'ICON_CREATE'
    EXPORTING
      NAME   = ICON_EXECUTE_OBJECT
      TEXT   = 'execute'
      INFO   = 'execute Report'
    IMPORTING
      RESULT = PB01
    EXCEPTIONS
      OTHERS = 0.
*
START-OF-SELECTION.
*
  WRITE: / P_MATNR.

Regards, Dieter

Read only

Former Member
0 Likes
2,213

Hi,

Check if u have done Pf ststus in Initialization event.. If PF status set in Initialization .. that would be set to selection screen


INITIALIZATION.
SET PF-STATUS 'MENU'.

Nag