Skip to Content

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

SET PF-STATUS & SET TITLEBAR in a DYNPRO is not showed

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'.

Former Member
replied

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

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question