How to disable ikons on the Application tool bar in module pool
Hi Guys,
I am working in module pool.
I had three ikons on the Application tool bar .
i am creating transactions for create,change and display.
for display transaction i want to disable the ikons on the Application tool bar .
Can any one help me in this regard.
Regards
Ram
Message was edited by:
ram kumar
Hi
go to layout
double click on the button
it will display button properties
in that below u will find 3 tab strips
like
dict program display
click on display
click on check box for invisible
so that will become invisible
reward if usefull
Similar Messages
-
How can i disable a button in the application tool bar of a standard trans?
Hi Experts,
I want to disable the create button in the application tool bar of the standard transaction cv03n. Is there any method?Hi,
In the include 'LCV110F19', the GUI is being called for the screen.
This is the actual code being called.
WHEN c_dms_create.
SET PF-STATUS 'D100CREATE'.
SET TITLEBAR 'D100CREATE'.
You can try to code something like below.
DATA: itab TYPE TABLE OF sy-ucomm.
APPEND 'CREATE' TO itab.
SET PF-STATUS 'D100CREATE' EXCLUDING itab.
Kindly reward points by clikcing the star on the left of reply,if it helps. -
To disable the Application tool bar button in ALV report
Hi Everyone,
Iam using REUSE_ALV_GRID_DISPLAY to display ALV report.
Now my requirement is to disable(I mean grey out) a application tool bar button.
Thanks in advance
Moderator message: please search for available information and try yourself before asking.
locked by: Thomas Zloch on Sep 23, 2010 11:38 AMWe can disable the buttons on the application toolbar as below.
*To Exclude a few buttons from the Application tool bar
data: it_excluding type slis_t_extab.
data: wa_excluding type slis_extab.
wa_excluding-fcode = '&OUP'.
append wa_excluding to it_excluding.
wa_excluding-fcode = '&ILT'.
append wa_excluding to it_excluding.
wa_excluding-fcode = '&ODN'.
append wa_excluding to it_excluding.
and in the FM.....
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
i_callback_pf_status_set = 'ZPICK'
is_layout = itlayout
i_callback_user_command = 'LIST1'
i_grid_title = <fs>
* i_callback_top_of_page = ' '
it_fieldcat = itfieldcat[]
it_excluding = it_excluding
But,no idea on how to disable the whole application tool bar itself ?
K.Kiran. -
How to disable Tabs in the application
Hi OAF Guys
How to disable tabs in the application? if any one knows reply asap
Thanks in advanceTabs are generated by the menu structure, if you want your page not to have tabs, have a responsibility with a menu which does not have any levels of submenus and just has your page as a function in the menu.
Thanks
Tapash -
How can I make disappear the finder tool bar in the second monitor?
How can I make disappear the finder tool bar in the second monitor?
(I have to use ProVideoPlayer, a professional application for presenting videos and I really need a clean second monitor!)After changing that setting and logging out and back in as it indicated, do you still have two menu bars?
If you are already set up that way and want to move the menu bar to the other monitor, drag it there in the Arrangement tab of the Displays system pref. -
How to add push button in application tool bar in SAP transaction VA01
How to add push button in application tool bar in SAP standard transaction VA01 and how to implement the code for that function code.
There is no scope to create a push button in application tool bar. Instead of that we can add in a menu bar.
-
Add bottons on the application tool bar of the standard selection screen
Hi All,
I am having the standard selection screen in module pool programing. I wnat to add the bottons on the application tool bar of the standard selection screen.and hide the existing bottons (like std. execute and i bottons.)instead of these i want to give my won bottons like create and display.
pls help on this.Hi Sridhar,
Try the Code below. It places two buttons on the selection-screen along with the execute button.
TABLES sscrfields.
PARAMETERS: p_carrid TYPE s_carr_id,
p_cityfr TYPE s_from_cit.
SELECTION-SCREEN: FUNCTION KEY 1,
FUNCTION KEY 2.
INITIALIZATION.
sscrfields-functxt_01 = 'LH'.
sscrfields-functxt_02 = 'UA'.
AT SELECTION-SCREEN.
CASE sscrfields-ucomm.
WHEN'FC01'.
p_carrid = 'LH'.
p_cityfr = 'Frankfurt'.
WHEN 'FC02'.
p_carrid = 'UA'.
p_cityfr = 'Chicago'.
ENDCASE.
START-OF-SELECTION.
WRITE / 'START-OF-SELECTION'.
Just go to the table sscrfields to knoe the fields in it. I think this clears the issue.
Regards,
Swapna. -
Push button in the application tool bar in the standard LDB PNP
Hi ABAPERS,
I have a requirement that in the selction screen to use the standard LDB PNP beyond that I need to pass one push button in the selection screen 1000 ( in the application tool bar beside execute button) actually i passes the push button in the gui status but its not refelcting in the output and in the initilization event also i passed even then its noty working,
initialization.
move 'Cluster ID'(010) to sscrfields-functxt_01.
Thanks and Regards,
Deepthi.Pavan,
write code like this
TABLES: USR02, "Logon data
SSCRFIELDS. "FIELDS ON SELECTION SCREENS
STANDARD SELECTION SCREEN FOR SCROLLING LEFT AND RIGHT
SELECTION-SCREEN: FUNCTION KEY 1.
SELECTION-SCREEN begin of BLOCK b1.
PARAMETERs p1 type i.
SELECTION-SCREEN end of BLOCK b1.
INITIALIZATION.
SCREEN ICON LEFT AND RIGHT
SSCRFIELDS-FUNCTXT_01 = 'Button'.
start-OF-SELECTION.
Thanks
Bala Duvvuri -
Display of push button in the application tool bar in an ALV report
Hello everyone,
Query:
Is it possible to display a custom push button in the application tool bar while displaying an ALV report(1st one)?
On pressing this custom push button will I be able to display another ALV report(2nd one) based on the selection made on the current ALV report(1st one)?Hiii..
I have written a sample code for You
<b>"Call the below FunctionModule For Displaying The List
" And see the bolded line in the Below FunctionModule
" STANDARD_02 and USER_COMMAND are the subroutine Names</b>
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
<b>i_callback_pf_status_set = 'STANDARD_02'</b>
<b> i_callback_user_command = 'USER_COMMAND '</b>
i_structure_name = 'ZST_SCARR'
is_layout = is_layout
it_fieldcat = gt_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
is_sel_hide = is_sel_hide
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
it_events = e03_lt_events[]
IT_EVENT_EXIT =
is_print = t
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IR_SALV_LIST_ADAPTER =
IT_EXCEPT_QINFO =
I_SUPPRESS_EMPTY_DATA = ABAP_FALSE
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_scarr
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
FORM PF_STATUS_SET
<b>" Here Set A Button In Application Toolbar Using PF- Status</b>
FORM standard_02 USING extab TYPE slis_t_extab.
SET PF-STATUS 'STANDA02' EXCLUDING extab.
ENDFORM. "STANDARD_02
*& Form USER_COMMAND
text
-->R_UCOMM text
-->RS_SELFIELDtext
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
<b> "menubutton with functioncode GOTO's Action</b>
WHEN 'GOTO'.
READ TABLE it_scarr INDEX rs_selfield-tabindex. "cursorposit.
IF sy-subrc = 0.
WRITE:/ it_scarr-carrid,
/ it_scarr-carrname.
ENDCASE.
ENDFORM. "USER_COMMAND<b></b>
Hope it helps..
Regards,
Simy -
How to create print button in the Application tool bar in the Std.SAPscreen
Hi,
I want to create a print button in Production order display:header screen in CO03 transaction.In that after Viewer button(i.e. in application tool bar) ,I have to create this print button. Can anyone suggest me How do i need to proceed further?hi,
Use this code..
REPORT Z_TEST999 .
DATA itab TYPE TABLE OF sy-ucomm.
PARAMETERS test(10) TYPE c.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'E' TO itab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
Regards,
Sailaja. -
Custom button in alv and disabling all buttons in application tool bar
Experts,
Could you please help me for the below requirements.
1). How to disable all the buttons (like sorting, print, find, set filter...etc.) in tool bar using oops?
2). Where can I add my custom download button in alv report using oops?
Thanks in advance...
Sridhar..Step1:
Create on local class
Class <LCL_EVENT_RECEIVER> Definition
Define the below public methods.
Method Name HANDLE_TOOLBAR
Event Name TOOLBAR
Event Class CL_GUI_ALV_GRID
Importing E_OBJECT, E_INTERACTIVE
Method Name HANDLE_USER_COMMAND
Event Name USER_COMMAND
Event Class CL_GUI_ALV_GRID
Importing E_UCOMM
Class <LCL_EVENT_RECEIVER> Implementation
. Method HANDLE_TOOLBAR
Declare the structure <LS_TOOLBAR> of structure type STB_BUTTON
Append the button information as given below into table E_OBJECT->MT_TOOLBAR to display the custom button on ALV grid.
LS_TOOLBAR-FUNCTION = u2018DOWNu2019
LS_TOOLBAR-QUICKINFO = u2018downloadu2019
LS_TOOLBAR-TEXT = u2018downloadu2019
Method HANDLE_USER_COMMAND
In this method if E_UCOMM = u2018DOWNu2019 write your logic.
Step2:
1. To excluding the ALV grid buttons, fill the <LT_EXC> with function code CL_GUI_ALV_GRID=>MC_FC_EXCL_ALL
2. To generate the ALV Grid, call the method SET_TABLE_FOR_FIRST_DISPLAY
Class CL_GUI_ALV_GRID
Method Name SET_TABLE_FOR_FIRST_DISPLAY
Exporting
I_STRUCTURE_NAME ZDS_CM_EXT_SEL
LS_LAYOUT <LS_LAYOUT>
IT_TOOLBAR_EXCLUDING <LT_EXC>
Changing
IT_OUTTAB <GT_EXT_SEL>
Create the Instance for class <LCL_EVENT_RECEIVER>
Class <LCL_EVENT_RECEIVER>
Instance Name <LO_EVENT_FNAME>
Now set handler <HANDLE_USER_COMMAND> and <HANDLE_TOOLBAR_FNAME> events using instance <LO_EVENT_FNAME>
Call method 'SET_TOOLBAR_INTERACTIVE' to raise event TOOLBAR
Class CL_GUI_ALV_GRID
Instance Name <GO_GRID>
Method Name SET_TOOLBAR_INTERACTIVE -
Manually adding a Extra button in the application tool bar of the view cluster.
hello Colleagues ,
I have created a couple of maintenance view , and with this two maintenance view i have created a view cluster using the transaction SE54.
Now, there is default Application toolbar gets generated when a view cluster is created. (screenshot attached.)
Now i have a requirement where i can add another button (syntax Check button in the screenshot 2) in the same view cluster. (screenshot attached.)
Want to know the feasibility of this requirement.
Thanks in advance
Shavneet SinghHello,
Not sure of your exact reqt
But got some sample code to create a button on the toolbar which once clicked gives a new popup window with additional parameters
TABLES:SSCRFIELDS.
**Create the Additional Selection screen to input filename
SELECTION-SCREEN: BEGIN OF SCREEN 10.
PARAMETERS: P_FILE TYPE RLGRAP-FILENAME.
SELECTION-SCREEN: END OF SCREEN 10.
**Create Application Toolbar Button on the Standard selection Screen
SELECTION-SCREEN FUNCTION KEY 1. "Its fcode will be FC01
PARAMETERS : P_WERKS TYPE MARC-WERKS.
INITIALIZATION.
SSCRFIELDS-FUNCTXT_01 = 'Enter File'. "Assign the Text to the Button
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM. "Check the Fcode
WHEN 'FC01'.
CALL SELECTION-SCREEN 10 STARTING AT 5 8 ENDING AT 85 20.
ENDCASE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME' "Local file browser
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
START-OF-SELECTION.
***Your list processing. -
How to create a new push button in application tool bar in GMGRANT thru BDT
Dear SAP Gurus -
We have a requirement in 'GMGRANT' transaction. We need to create a button in the application tool bar of 'GMGRANT' transaction. Once the button is activated, if the user clicks on the button then it will go to a new screen (external screen). User can input data in to the external sceeen and upon saving, the data will be stored in to a custom table and when user clicks on 'back ' button user should come back to the GMGRANT transaction.
Just wanted to know, how to create / activate a new button on application tool bar of GMGRANT transaction and what are the configuration and detail steps to achieve the same through BDT.
We went through a lot of documents on BDT but do not have a proper solution.
Could you please help.
Thanks in advance.
Regards,
Atul Mohantyhi,
You can find user-exits (menu exits) to add new menu item.
But, there is no possibility to add new buttons on application tool bar.
Regards,
Sailaja. -
How to put name in the application toolbar
how to put name on the button in the application tool bar while it is created with selection screen
I've never seen this done this way. Learn something new everyday. Anyway, here is a sample program that will show you what you need to do to add text to your function button, this also adds an icon.
report zrich_0002.
Tables: sscrfields.
selection-screen function key 1.
select-options: s_datum for sy-datum.
INITIALIZATION.
MOVE '@49@ Export' TO SSCRFIELDS-FUNCTXT_01. "ICON_EXPORT
If this has solved your problem, please award points accordingly and mark this post as solved. Thanks.
Regards,
Rich Heilman -
Custom icon at application tool bar in transaction CJ20N
Hi,
Experts my requirement is to create a custom Icon in the Application tool bar of CJ20n transaction
kindly suggest me any user exit or badi or enhancement spot for this to implement .
i have tried menu exit CNEX0009 but it ill create entry at the menu item,
there are other exits CNEX0006 but is not showing any thing
i need to create icon at the application tool bar.
i have found a enhancement spot but it say it can implemented by SAP only kindly let me know how implement it
any help in this regard will appreciated....i think in this is case u have to make use of user exits.
Regards
Prabhu
Maybe you are looking for
-
Document flow is not getting updated in SD in BW side
Hi all In SD , we r cancelling an invoice .Doc type = S1. Again , w r posting an invoice ,for the cancelled document . But in 2LIS_13_VDKON , after cancelled document , new billing documents are for the cancelled billing not updated. that is new bi
-
Unable to load Message Catalog - Mqji
I have written a Java program using MQSeries Libraries. This program reads from and writes to two queues of a Queue Manager on a different machine. This program works fine when it is run from Unix prompt. But when I try to call this program from Orac
-
Multiple PO assigned to single Import PO
Dear MM Followers. In the case of imports PO there are various vendors which are linked to a Imports PO like insurance,transportation,stuffing/destuffing of containers,third part inspection etc. In standard SAP we release the main PO on the Import ve
-
Play counts wont sync between iPhone & PC with iTunes Match enabled
How can I get play counts to sync from my iphone 4 to itunes on my PC now that I have enabled itunes match? I want all my devices to know what music I am into at the moment! Things I have tried: I have updated all of the software to the latest versio
-
Original photo and edited photo are no longer stacked and appear now as two photo
I have a problem that my edited photos are separated from the original photo so I have two photos side by side. I am afraid to delete the original photo for fear of not being able to open the edited photo but I really do not want to have two photos