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: 

Header text in Cluster view

Former Member
0 Kudos
751

Dear Friends,

I have cluster view and it works properly.

when i execute it, header text came as (Display View "List of Conflicts" : Overview)

can i use my cluster view short text behalf of Overview?

13 REPLIES 13

former_member209703
Active Contributor
0 Kudos
507

If you want to do that, you'll need to create your own GUI Title and set it accordingly in your View Cluster Dynpro.

By default, all view maintenance dialogs use standard titles that are set in the LISTE_INITIALISIEREN Module of the corresponding dynpro, so if you need the view to show something different you just have to create a new module underneath this one, and set the new one using SET TITLEBAR.

0 Kudos
507

Hi jose

if possible please describe me how can i do that. any samples

0 Kudos
507

Hi.

To access the code, you can execute your Cluster View and then System-Status-Screen Number (Double click on it)

Your code would be like this:


PROCESS BEFORE OUTPUT.
 MODULE LISTE_INITIALISIEREN.
 MODULE TITLEBAR. "--> This is the module you'll have to create
 LOOP AT EXTRACT WITH CONTROL
  TCTRL_ZCET_GP_TC01 CURSOR NEXTLINE.
   MODULE LISTE_SHOW_LISTE.
 ENDLOOP.
*
PROCESS AFTER INPUT.
 MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
 MODULE LISTE_BEFORE_LOOP.
 LOOP AT EXTRACT.
   MODULE LISTE_INIT_WORKAREA.
   CHAIN.
    FIELD ZCET_GP_TC01-CDPER .
    FIELD ZCET_GP_TC01-NIVEL .
    MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.


MODULE TITLEBAR OUTPUT.
 SET TITLEBAR '0001'.
ENDMODULE.

I assume you do know how to create a Titlebar using SE80.

0 Kudos
507

deat jose

how i reach to the coding view for the cluster view

i used se54 for the cluster view

0 Kudos
507

In SE54 enter your View Cluster then execute it hitting Test Button.

Then in that screen go to Menu System --> Status and look for screen number. Once you have found it, double click on it to access the code.

0 Kudos
507

Dear

after change when i test the cluster error dump came

how can i set as previous

0 Kudos
507

Post here what you have done, so we could help you.

The only thing you had to do is create a new module and a new GUI Title

0 Kudos
507

Hi

here is the my code , i commented that code

actually i haven't good idea about screens.


PROCESS BEFORE OUTPUT.
 MODULE LISTE_INITIALISIEREN.
*   MODULE TITLEBAR.
 LOOP AT EXTRACT WITH CONTROL
  TCTRL_ZBC_CONF_MV_1 CURSOR NEXTLINE.
   MODULE LISTE_SHOW_LISTE.
 ENDLOOP.
*
PROCESS AFTER INPUT.
 MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
 MODULE LISTE_BEFORE_LOOP.
 LOOP AT EXTRACT.
   MODULE LISTE_INIT_WORKAREA.
   CHAIN.
    FIELD ZBC_CONF_MV_1-COMB_ID .
    FIELD ZBC_CONF_MV_1-TEXT .
    FIELD ZBC_CONF_MV_1-Z_PROCESS .
    FIELD ZBC_CONF_MV_1-Z_TOLERANCE .
    MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
   ENDCHAIN.
   FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
   CHAIN.
    FIELD ZBC_CONF_MV_1-COMB_ID .
    MODULE LISTE_UPDATE_LISTE.
   ENDCHAIN.
 ENDLOOP.
 MODULE LISTE_AFTER_LOOP.

*MODULE TITLEBAR OUTPUT.
* SET TITLEBAR '0001'.
*ENDMODULE.

0 Kudos
507

Hi.

This code shouldn't be there. It should be in an new Include. Keep in mind that you also have to create a new Titlebar 0001 with the text you want to display.

Regards


*MODULE TITLEBAR OUTPUT.
* SET TITLEBAR '0001'.
*ENDMODULE.

0 Kudos
507

dear Jose

can you please explain me how can i do that?

0 Kudos
507

Uncomment MODULE TITLEBAR, and double-click on TITLEBAR, a pop-up screen will ask for an include in which to add the module, choice or create an include in the main program of the function group (include name should look like L<FG name>Onn.) You can also create the include via SE38/SE80 on main program in SAPL<FG name> where some pattern are commented, look for line like * INCLUDE L<FG name>O... " PBO-Modules.) or add include to FG via SE80 with right click on mouse, etc.

Regards,

Raymond

0 Kudos
507

Hi Raymond,

it works, but its not my requirement,

i want to change "Överview" text

0 Kudos
507

If you want to change the text, you'll have to create your own GUI Titles with the texts you wanna display and set them accordingly using SET TITLEBAR.

Do some research on how to create GUI Titles.