04-14-2010 4:35 PM
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'.
04-14-2010 5:23 PM
try like this
at selection-screen output.
call function u2018RS_SET_SELSCREEN_STATUSu2019
EXPORTING
P_STATUS = u2018STATUS_2100u2019
P_PROGRAM = sy-repid.
or
INITIALIZATION.
set pf-status 'ABC'.
SET TITLEBAR 'PALLETLABEL'.
Edited by: Keshav.T on Apr 14, 2010 9:57 PM
04-14-2010 4:54 PM
04-14-2010 5:02 PM
04-15-2010 7:41 AM
Hi,
After your selection screen call the screen 9250 and double click on the screen number so you can go to the screen printer. Now dowuble click on MODULE %_PF_STATUS and create the module . Now enter the SET PF-STATUS 'STATUS100'.
SET TITLEBAR 'PO100'. commands in the newly create module.
Thanks,
Suresh Babu Dorai
Edited by: Suresh Dorai on Apr 15, 2010 8:42 AM
04-14-2010 5:23 PM
try like this
at selection-screen output.
call function u2018RS_SET_SELSCREEN_STATUSu2019
EXPORTING
P_STATUS = u2018STATUS_2100u2019
P_PROGRAM = sy-repid.
or
INITIALIZATION.
set pf-status 'ABC'.
SET TITLEBAR 'PALLETLABEL'.
Edited by: Keshav.T on Apr 14, 2010 9:57 PM
04-14-2010 6:41 PM
Perfect!!!
First Ok, but i need to create p_exclude, is obligatory.
AT SELECTION-SCREEN OUTPUT.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = 'STATUS300'
p_program = sy-repid
TABLES
p_exclude = p_exclude.
Second do nothing..
But Thanks a lot.