Skip to Content
avatar image
Former Member

how to intercept command from dialog screen


this is my problem: I have a screen that call a dialog screen.

In the dialog screen I set my toolbar with two buttons and then I WRITE a list with some data and in the end I "cut and pasted" syntax I found:



When the dialogue screen is called, the output list is correctly shown, but when I push one of the buttons of my toolbar nothing happens and I can't close the dialogue screen (I have to kill SE38 with SM04).

What I want is that when pushing a button of the dialogue a global data is set according to the button pressed; then dialogue is closed and the processing continue next statement from the one that called dialogue screen.

If to the precedent syntax I add "SET PF-STATUS SPACE." obviously my toolbar it's not set but the one generic of abap is, where anyway I can use some command like "Search", ... and I think that hence there is a way to process command from dialogue screen.

So the question is: is possible to set a custom toolbar in a dialogue screen and let my code processing the user command from that screen?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 17, 2009 at 07:23 AM

    I was wrong: when creting the status it asks me for type of screen and I left normal instead of dialog.

    Add comment
    10|10000 characters needed characters exceeded