Skip to Content
author's profile photo Former Member
Former Member

how to handle sy-ucomm in generated screen/dynpro


like the topic says, I have a problem to handle

the user-input in or better, after the first screeen!

I think, the best Info is the code itself:

SELECTION-SCREEN BEGIN OF screen 100 as window.
SELECT-OPTIONS:  s_kunnr  for wa_besuche-kunnr,
                 s_bzirk  FOR wa_besuche-bzirk,
                 s_vtweg  FOR wa_besuche-vtweg,
                 s_vkgrp  FOR wa_besuche-vkgrp,
                 s_dat    FOR sy-datum DEFAULT '20070101' TO '20071231'.

call screen 100.

datumuntergrenze = s_dat-low.
datumobergrenze  = s_dat-high.

perform daten_selektieren_generieren.

* Here I want to handle sy-ucomm (if the user doesn't 
* pushed the EXIT/CANCEL/BACK-Buttton in screen 100,
* the following screen 200 should be called)
* --------> BUT SY-UCOM IS EMPTY

call screen 200.

I would be very nice, if somebody can

help me with this sh...!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2007 at 09:38 AM


    In your PF-Status, you should define a Funtion code(say NXTSC) and assign it to any Functiona key, say F5.

    Now, you should code in PAI, that



    call screen '0200'.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.