I wanna change my titlebar in a dynpro when a specific class method is triggered. So I thought I could call a function in my report, where my dynpro is located, which changes uses the 'SET TITLE' to change the titlebar content.
Is this possible and how exactly? Or is there even a better way?
Thanks!
Use
SET TITLEBAR
during the PBO processing - it doesn't matter if it is used from a method, a FORM or the module directly. I'd recommend having one singleSET TITLEBAR
statement that is always called at the same point in the control flow instead of littering the code withSET TITLEBAR
statements for better maintainability.