Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Setting the title bar of Main screen from the subscreen

Former Member
0 Kudos

My requirement is to set TITLEBAR for a main screen from subscreen. Can this be done ?

2 REPLIES 2

former_member186052
Active Participant
0 Kudos

Hi NandaKumar,

No, you cannot set title from subscreen.

The flow logic of a subscreen screen may not contain any dialog modules containing the statements SET TITLEBAR, SET PF-STATUS, SET SCREEN, LEAVE SCREEN, or LEAVE TO SCREEN. Any of these statements causes a runtime error. You cannot change the GUI status of a main screen in a subscreen screen.

Regards,

-Sandeep

lijisusan_mathews
Active Contributor
0 Kudos

Try this.. Set the titlebar in the main screen itself.

Eg..

SET TITLE_BAR 'TEXT-101' using w_text.

You can enter any common value to TITLE-101 or you can leave it blank.

Now in your subscreen set the desired value for w_text. this should satisfy your requirement.

Suzie