2011 Aug 22 6:42 AM
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?
2011 Aug 22 8:49 AM
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.
2011 Aug 22 9:40 AM
Hi jose
if possible please describe me how can i do that. any samples
2011 Aug 22 9:48 AM
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.
2011 Aug 22 10:06 AM
deat jose
how i reach to the coding view for the cluster view
i used se54 for the cluster view
2011 Aug 22 10:11 AM
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.
2011 Aug 22 10:26 AM
Dear
after change when i test the cluster error dump came
how can i set as previous
2011 Aug 22 11:09 AM
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
2011 Aug 22 11:29 AM
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.
2011 Aug 22 12:09 PM
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.
2011 Aug 23 3:30 AM
2011 Aug 23 7:53 AM
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
2011 Aug 23 9:53 AM
Hi Raymond,
it works, but its not my requirement,
i want to change "Överview" text
2011 Aug 23 10:15 AM
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.