When i try to show my status and title bar these are not showed and if I click on back or exit button, altough the parameters goes empty,we get all the information.
I got this code on my INCLUDE TOP, i don't use START-OF-SELECTION...............END-OF.........
SELECTION-SCREEN BEGIN OF SCREEN 9250.
SELECTION-SCREEN BEGIN OF BLOCK 20 WITH FRAME TITLE text-002.
SELECT-OPTIONS: noclc FOR nourc MATCHCODE OBJECT kost OBLIGATORY.
PARAMETERS: zlspr TYPE bseg-zlspr OBLIGATORY,
budat TYPE bkpf-budat,
usnam TYPE bkpf-usnam.
SELECTION-SCREEN END OF BLOCK 20.
SELECTION-SCREEN END OF SCREEN 9250.
*&SPWIZARD: DECLARATION OF TABLECONTROL 'DATOS' ITSELF
CONTROLS: datos TYPE TABLEVIEW USING SCREEN 0100.
*&SPWIZARD: LINES OF TABLECONTROL 'DATOS'
DATA: g_datos_lines LIKE sy-loopc.
AT SELECTION-SCREEN ON BLOCK 20.
IF noclc IS INITIAL.
EXIT.
ENDIF.
SET PF-STATUS 'STATUS100'.
SET TITLEBAR 'PO100'.