Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Can I make two differents selection screen in my program?

Hi experts!!

I don't know how to male this, the problem is that I need to make two differents selection screen in my program because I have two differents kinds of button,

BUTTON1 BUTTON2 BUTTON3

When I press button1 I received.

BUTTON4 BUTTON5 BUTTON6

Now If I press on button4, how can I pick up the event? the name or something associate to this button4?

Thanks a lot and regards

Rebeca

Former Member
Former Member replied

Hi

But where is the problem? Every button has an own code so u need to check it in AT SELECTION-SCREEN just as you do for the first buttons:

AT SELECTION-SCREEN.
  CASE SSCRFIELDS-UCOMM.
* First buttons
    WHEN 'DTP'. PROC_TYP = 1.
    WHEN 'EMP'. PROC_TYP = 2.
    WHEN 'ABS'. PROC_TYP = 3.
* Second buttons
    WHEN 'FED'.
    WHEN 'DCH'.
    WHEN 'ACH'.
* and so....
  ENDCASE.

Max

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question