Application Development and Automation 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: 
Read only

Set title in module pool screen

Karan_Chopra_
Active Participant
0 Likes
7,231

I have to call a screen in FM and make a table control in that, how can I set a title for that screen during pop up on the upper left side near close button and give a function name above table control

how to do it?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,988

in the PBO of the screen do the following

First you have to create a Z GUI status and a Z GUI TITLE then code as follow

PROCESS BEFORE OUTPUT

module f_set_status

inside the f_set_status


   SET PF-STATUS 'ZGUI1'.
   SET TITLEBAR 'ZTITLE' OF PROGRAM gc_program.

4 REPLIES 4
Read only

Former Member
0 Likes
2,988

Hi,

I am not sure if you are asking this !!!

You can use SET TITLEBAR 'Title' in your PBO and create the GUI Title and name the Screen.

If you want the Title to appear above the Table Control, then you can create a label in your screen layout and populate it with the Title.

Read only

Former Member
0 Likes
2,989

in the PBO of the screen do the following

First you have to create a Z GUI status and a Z GUI TITLE then code as follow

PROCESS BEFORE OUTPUT

module f_set_status

inside the f_set_status


   SET PF-STATUS 'ZGUI1'.
   SET TITLEBAR 'ZTITLE' OF PROGRAM gc_program.

Read only

0 Likes
2,988

Hi,

i need to change that screen title dynamically according to radio button selection on selection screen.

Can you help me to solve this.

Thanks

Ashutosh

Read only

0 Likes
2,988

Hi

I have check box in my selection screen, based on check box selection I have changed the report text

  IF P_CITY IS NOT INITIAL.

    TEXT = TEXT-003.

  ELSE.

    TEXT = TEXT-004.

  ENDIF.

In PBO I have written like

  SET TITLEBAR '0100' WITH TEXT.

Regards,

Vadamalai A