Add button to the transaction SM30
HI
Whether it is possible to add a buton to application tool bar in the transaction SM30.
help reg this.
Hi,
Yes, it is possible to add button for the transaction SM30.
This is possible through Menu exit.
Procedure for Menuexit:-
Go to SM30 ->System -> Status
Repository data -> Transaction -> Double click on it
Copy package name
Go to SMOD
Press F4 then a popup will open
Click on information system
Enter package name and press Enter
Then we will get Exit
Put cursor on that exit and press Enter
Go to change mode and save it.
Go to CMOD or alternatively we can use the path tools -> ABAP/4 Workbench -> Utilities -> Enhancements ->Project Management
Specify Project name in the enhancement text box
Click on Create icon on the application toolbar.
Enter description for the project and save it
Click on Enhancement Assignment button on the application toolbar
Give Exit and save it
Go to Components on the application toolbar
Double Click on MENUS001
Write function text which we want to add to menu item and save it with an request number
Double Click on Exit and write code there to display menu item in the screen
Activate the include program and finally activate the project.
Please reward points if helpful.
Similar Messages
-
Add field to the transaction variant OT43
Hello,
I found the following Note: 2596 but I can't create a field in Dynpro: SAPMF40K /8000/220 and I don't found other options as badi, user exit, enhancement , bte, etc.
I need to create the following field: FEBMKA-VGEXT_EL on the screens above.
The transaction OT43 by your program uses T021Q table but I can't modify the table or add an entry T021Q, because internally the program that manages the view of fields for transaction FF67, it executes statements as "DYNPRO IMPORT".
Another consideration that the transaction OT43 only "shows possible fields" and I can add other fields to select and add to the view.
In other words I can select only possible fields proposed Sap to the view, it works this way ?
Please could you recommend a Note Sap? or perhaps more likely, a copy of the transaction ff67 and modify the new copy of the screen.
What happens to the transaction OT43, if done the copy of the ff67 as zff67?
Waiting for response and very grateful for the suggestions.
The best regards,
GustavoHi,
Yes, it is possible to add button for the transaction SM30.
This is possible through Menu exit.
Procedure for Menuexit:-
Go to SM30 ->System -> Status
Repository data -> Transaction -> Double click on it
Copy package name
Go to SMOD
Press F4 then a popup will open
Click on information system
Enter package name and press Enter
Then we will get Exit
Put cursor on that exit and press Enter
Go to change mode and save it.
Go to CMOD or alternatively we can use the path tools -> ABAP/4 Workbench -> Utilities -> Enhancements ->Project Management
Specify Project name in the enhancement text box
Click on Create icon on the application toolbar.
Enter description for the project and save it
Click on Enhancement Assignment button on the application toolbar
Give Exit and save it
Go to Components on the application toolbar
Double Click on MENUS001
Write function text which we want to add to menu item and save it with an request number
Double Click on Exit and write code there to display menu item in the screen
Activate the include program and finally activate the project.
Please reward points if helpful. -
Close the IE page on click of a button in the transaction
Hi All,
I have a button on the transaction and once I click the button it should log off from the SAP WEB AS and close the Internet Explorer page.
Can anyone guide me through the process?
Thanks in advance,
Sudhifrom your earlier Passing data through URL i understand that you use integrated ITS, so my answer is going to be based on that.
in your program add the following :
include AVWRTCXM .
and write the following code for button click.
field-set '~OkCode' 1 '/NEX' .
its-browser_redirect 'XXX'.
now go to SICF
navigate to your service under sap/bc/gui/sap/its/
double click on the service
choose error pages tab
then choose logoff page tab
make sure "explicit response time" radio button is selected.
Click on the create icon next to "Body" in the resulting window enter the following text
Thanks for using ITS
<a href="#" anclick="windaw.clase();">
click here to close this window
</a>
in this line (anclick="windaw.clase();) change the alphabet 'a' to 'o' .
Save the service.
and test the same.
Regards
Raja
Message was edited by:
Durairaj Athavan Raja -
How do you add musci to the Iphone? I just installed itunes 11.1.5.5. Now the format in Itunes is changed. when I am trying to add music to my iphone, there is no longer an add button under the Iphone device. Why did they have to change this? Can anyone help, Im tryiong to add music.
Correct. When you purchase devices, they would have stated the OS they needed to work, on the box. This can be overlooked, but it is very important to check when purchasing.
You current OS, is so old, that they technology build into the new devices, is not something your OS understands. It didn't exist when your OS was created, and therefore you need to upgrade the OS to work with the newer technology of these devices.
10.6 software is not downloadable. You must purchase a DVD disc. You can order it from the on-line apple store
- http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard. -
Is it possible to add button in the main tool panel of AI cs6 using javascript?
Hello freinds,
Is it possible to add button in the main tool panel of AI cs6 using javascript?
or is there any other way of adding the ui component to the tool panel..
is it feasible??you can't add buttons to the tool panel using javascript, your only option is to create a plugin, you'll need C++ for that.
yes, you'll need the SDK...if you need help with that, there's a dedicated forum for it
http://forums.adobe.com/community/illustrator/illustrator_sdk?view=discussions -
How do I add buttons to the toolbar in Reader?
En Adobe Reader, ¿Como puedo agregar botones a la barra de herramientas? Ya que pierdo mucho tiempo utilizando el botón derecho del mause y buscar los botones en las ventanas emergentes.
Muchas graciasHi richarddaniel1111,
To add buttons to the toolbar, do this:
Choose View > Show/Hide > Toolbar items.
Choose an option from the submenu (File, Edit, Comment, and so on).
Choose the tool that you want to add to the toolbar.
Hope that helps!
Best,
Sara -
How add buttons in the botton of the Windows?
Hi friends,
I have a problem,
How can I do to make appear a button in the bottom of the window (status_bar)?
My component is called by another(like a search help - F4) and in the status bar (in the botton of the window), the opposite of title bar, I need add two botton (Ok and Reset).
Any idea?
Regards,
Matías.Hi Abhimanyu,
And it's possible to insert a table or ALV in a popup?
Thanks for the help.
Regards,
Matías. -
How do i add buttons in the tool bar?
Hi,
I want to add buttons like "Load' in the tool bar.How do i do it? I am using LabView7.1
Please help me..
Regards
MeenatchiMeenatchi wrote:
I am creating one dialog,in that i want to add menu bar and title bar.
See the attached VI, whose Window Appearance category is set to Top-level, from the VI Properties window.
From this, you can go ahead customizing the menu bar to your wish.
- Partha
LabVIEW - Wires that catch bugs!
Attachments:
Top-level Application Window.vi 11 KB -
Addding button in the designer2000 6.0
Hi
I am trying to add button as a unbound item to add an event code. But in designer 2000 6.0 version, there is no such option. Do I have to go through some process to create a button.
Your help is greatly appreciated.
thanks
rama
[email protected]
nullTry a reset:
Hold the Sleep and Home button down for about 10 second until you see the Apple logo. -
Why Can't I Add Buttons To The Browser?
I deleted the "Medium Icon" button in the Browser and realised I needed it back.
So I right-clicked to open the button menu and chose the medium icon from the "Display" section.
There was no way I could get it (or any other button) into the browser. As I got the button over the browser it had a little x by the side of it. However, when I moved the button anywhere near the other windows they were only too willing to open up to accept it!
The only way I could get the medium icon button into the browser was to restore the defaults.
Why couldn't I get the browser to accept buttons?
Ian.Thanks Tom but it wasn't the preferences this time.
I've just been away from the computer for a couple of hours and after reading your reply, I suddenly had an idea!
The Browser had been set to its narrowest width to accommodate a large Viewer and Canvas.
All I had to do was stretch it out wider and it accepted the buttons willingly.
What caught me out originally was that I was able to delete existing buttons but not replace them. You would think that if there was space for them to exist, there would be space to replace any that were subsequently deleted.
Strangely enough the narrow Browser would still accept extra buttons when asked to restore the defaults.
Ian. -
Adding a new toolbar button in IC to Save the transaction
Hi,
I want to add a new custom button to my IC Toolbar which would do save. I have gone through some blogs( http://it.toolbox.com/blogs/sap-crm/how-to-add-buttons-to-the-ic-webclient-toolbar-46764 ) and able to get a new button and subscribe an event to that button but the now which APIs to use to save the current transaction. Currently in the standard IC web UI , End button does the save and ends the call but my requirement is to only save.
Please help on the save. I am on SAP CRM 5.2
Thanks,
Saurav.Closing this thread as I have raised same Question in other forum which is IC specific.
Re: Adding new button in IC Toolbar to SAVE current transaction -
Add button in transaction transaction PA20 for Infotype 0002
Hi All,
Hope all are doing good progress in their works... I had one question.
Has anyone added a button in the transaction PA20 for the Infotype 0002. I need to add a button in this screen so that the User can navigate from this screen in PA20 to the transaction CV04n.
Helpful answers will definetly be rewarded..
Thanks,
Susanth Kumar.Hi,
Package name PBAS.
Check in SMOD with F4 help and give pakage name.
We can find the exits. But for your requirement we need to have a screen exit or menu exit.
FM exit-
HRPBAS01-User Exit for HR Master Data-EXIT_SAPLRPIN_001.
User exit-
PBAS0002-PA: Enhancements for Personnel Administration - Menu-EXIT_SAPMP50A_001.
Reward if helpful.
Best Wishes,
Chandralekha -
How to add the buttons on the Table maintains genrator
Hello Experts,
I have a table maintains generator, I have to add the sort ascending and sort descending button on the screen. and when user select any one column of that generator and then click on sort ascending or sort descending button, then it has to sort accordingly.
Can anyone please guide me in this issue.
Thanks
Chetan.Hi,
Go to the function group that is generated for your table maintanence and edit it and add buttons to the screen layout and handle then in PAI of that screen.
based on selection sort and display the data.
hope this solves your question.
regards,
Jayaram.M -
How to add button in reuse_alv not in gui status
hi guys,
my question how can i add button to reuse_alv not in gui_status or pf_status ? and also i have an internal table which contains a checkbox field when user select one or more check box and push button , new table will be sended to batch input program.how can i do add button part, the rest of it is done.?Hi,The following sample report ZUS_SDN_ALV_BUTTON_CLICK_LTXT shows a possible way how to handle the BUTTON_CLICK event in order to retrieve a longtext for a ALV entry. Please note that for the sake of simplicity I have choosen an obsolete function module for text editing (only enter numerical values otherwise the function module crashes).
*& Report ZUS_SDN_ALV_BUTTON_CLICK_LTXT
*& Screen '0100' contains no elements.
*& ok_code -> assigned to GD_OKCODE
*& Flow logic:
* PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
* PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
*& PURPOSE: Demonstrate event BUTTON_CLICK for entering long text
REPORT zus_sdn_alv_button_click_ltxt.
TYPE-POOLS: icon.
TYPES: BEGIN OF ty_s_outtab.
INCLUDE TYPE knb1.
TYPES: button TYPE iconname.
TYPES: line TYPE bapi_line.
TYPES: END OF ty_s_outtab.
TYPES: ty_t_outtab TYPE STANDARD TABLE OF ty_s_outtab
WITH DEFAULT KEY.
DATA:
gd_okcode TYPE ui_func,
gd_repid TYPE syst-repid,
go_docking TYPE REF TO cl_gui_docking_container,
go_grid TYPE REF TO cl_gui_alv_grid,
gt_fcat TYPE lvc_t_fcat,
gt_variant TYPE disvariant,
gs_layout TYPE lvc_s_layo.
DATA:
gs_outtab TYPE ty_s_outtab,
gt_outtab TYPE ty_t_outtab.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_button_click FOR EVENT button_click OF cl_gui_alv_grid
IMPORTING
es_col_id
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_button_click.
* define local data
DATA:
ld_answer(1) TYPE c,
ls_outtab TYPE ty_s_outtab.
CHECK ( sender = go_grid ).
READ TABLE gt_outtab INTO ls_outtab INDEX es_row_no-row_id.
" Note: This function module is obsolete and crashes if
" non-numerical values are entered. Choose a more
" appropriate way of entering the longtext.
CALL FUNCTION 'POPUP_TO_GET_VALUE'
EXPORTING
fieldname = 'LINE'
tabname = 'BAPITGB'
titel = 'Enter Longtext'
valuein = ls_outtab-line
IMPORTING
answer = ld_answer
valueout = ls_outtab-line
EXCEPTIONS
fieldname_not_found = 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.
IF ( ld_answer NE 'C' ). " 'C' = cancel
MODIFY gt_outtab FROM ls_outtab INDEX es_row_no-row_id
TRANSPORTING line.
ENDIF.
* Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'REFRESH' ).
ENDMETHOD. "handle_button_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
SELECT * FROM knb1
INTO CORRESPONDING FIELDS OF TABLE gt_outtab
WHERE bukrs = '1000'.
CLEAR: gs_outtab.
gs_outtab-button = icon_change_text.
MODIFY gt_outtab FROM gs_outtab
TRANSPORTING button LINE
where ( bukrs NE space ). " modify all lines
PERFORM build_fieldcatalog.
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Create ALV grids
CREATE OBJECT go_grid
EXPORTING
i_parent = go_docking
EXCEPTIONS
OTHERS = 5.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Set event handler
SET HANDLER: lcl_eventhandler=>handle_button_click FOR go_grid.
* Display data
gs_layout-grid_title = 'Customers'.
CALL METHOD go_grid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
CHANGING
it_outtab = gt_outtab
it_fieldcatalog = gt_fcat
EXCEPTIONS
OTHERS = 4.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Link the docking container to the target dynpro
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* NOTE: dynpro does not contain any elements
CALL SCREEN '0100'.
* Flow logic of dynpro (does not contain any dynpro elements):
*PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
*PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "DETAIL"
* SET TITLEBAR 'xxx'.
CALL METHOD go_grid->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
* EXCEPTIONS
* FINISHED = 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.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
* Refresh -> pass PAI and PBO where flushing occurs
WHEN 'REFRESH'.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form BUILD_FIELDCATALOG
* text
* --> p1 text
* <-- p2 text
FORM build_fieldcatalog .
* define local data
DATA:
ls_fcat TYPE lvc_s_fcat,
lt_fcat TYPE lvc_t_fcat.
REFRESH: gt_fcat.
CLEAR: lt_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'KNB1'
CHANGING
ct_fieldcat = lt_fcat
EXCEPTIONS
OTHERS = 99.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
APPEND LINES OF lt_fcat TO gt_fcat.
CLEAR: lt_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'BAPITGB'
CHANGING
ct_fieldcat = lt_fcat
EXCEPTIONS
OTHERS = 99.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE lt_fcat INTO ls_fcat
WITH KEY fieldname = 'LINE'.
IF ( syst-subrc = 0 ).
INSERT ls_fcat INTO gt_fcat INDEX 4.
ENDIF.
CLEAR: lt_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'ICON'
CHANGING
ct_fieldcat = lt_fcat
EXCEPTIONS
OTHERS = 99.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE lt_fcat INTO ls_fcat
WITH KEY fieldname = 'NAME'.
IF ( syst-subrc = 0 ).
ls_fcat-fieldname = 'BUTTON'.
ls_fcat-style = cl_gui_alv_grid=>mc_style_button.
INSERT ls_fcat INTO gt_fcat INDEX 4.
ENDIF.
LOOP AT gt_fcat INTO ls_fcat.
ls_fcat-col_pos = syst-tabix.
MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
ENDLOOP.
ENDFORM. " BUILD_FIELDCATALOG[/code]
Reward If Found Useful. -
Insert a button on the last row of a report
Hi all,
my client wants an "add" button on the last row of any report that he has. I can do it easy on the first row (SELECT DECODE(rownum,1,'button','')), but I couldn't find a solution for this situation.
Can anyone help me?
Thanks in advance.
Nelson FreitasSorry, but I didn't quite understand the answer. Here's my example, a real one :)
select "SGP_DIS_ENT_ANO"."SCE_ID" as " ",
"SGP_ANO_ESC"."SAE_ANO" as "Ano",
"SGP_CUR"."SCU_DES" as "Curso",
"SGP_DIS"."SDE_DES" as "Disciplina"
from "SGP_ANO_ESC" "SGP_ANO_ESC",
"SGP_EST_ANO" "SGP_EST_ANO",
"SGP_CUR" "SGP_CUR",
"SGP_DIS" "SGP_DIS",
"SGP_DIS_CUR" "SGP_DIS_CUR",
"SGP_DIS_ENT_ANO" "SGP_DIS_ENT_ANO"
where "SGP_DIS_ENT_ANO"."SDC_ID"="SGP_DIS_CUR"."SDC_ID"
and "SGP_DIS_CUR"."SDE_ID"="SGP_DIS"."SDE_ID"
and "SGP_DIS_CUR"."SCU_ID"="SGP_CUR"."SCU_ID"
and "SGP_DIS_ENT_ANO"."SEA_ID"="SGP_EST_ANO"."SEA_ID"
and "SGP_EST_ANO"."SAE_ID"="SGP_ANO_ESC"."SAE_ID"
and "SGP_DIS_ENT_ANO"."SEN_ID" = :P19_SEN_ID
Could you help me with it?
Thanks
Maybe you are looking for
-
My 12" powerbook Aluminum was refusing to shut down--meaning I couldn't clone it to my external. So I ran SMART Utility. It found Pending Bad Sectors: 2, Reallocated Bad Sectors: 3, Total Errors 30, and Last Error Type: Uncorrectable. So I ordered a
-
How do i log out of imessage on my macbook pro?
how do i log out of imessage on my macbook pro
-
Dear Sapgurus, If any customer advance paid 1000 rs i wna t go to customer account 1000 rs and advance royalty 900 and service tax is 100 but in advance roaylty i will give 1000 rs only. Regards Hanuman
-
HI , Can i get some tables related to service ticket , where this data will store . Thanks, Aravind.
-
Problems by batch processing in CS2
Hello, I have a problem. I had record a new activity "Insert a logo and storage". Then I started a batch processing with 40 photos. But I have a problem. Not all photos are insert a logo, the first 10 photos are with logo, then come 3 without logo, t