27/10/2017 How to add custom button on Maintenance View - SAP Tutorial
Home / ABAP Code Snippets / Contact us
Have a question? Ask or enter a search term. SEARCH
How to add custom button on About Us
Maintenance View
/ SAP ABAP General / How to add custom button on Maintenance SAP Tutorial is the blog which
View talk about all about SAP
Tutorial, SAP ABAP, SAP HANA
Oct 18, 2017 Admin SAP ABAP General And SAP ABAP Complete
Tutorial and SAP ABAP Tips and
Trick
The easy job for ABAPER to create maintenance view from any table,
because SAP has been provided us with simple process. on this article i
want to share how to add your custom button on your maintenance view.
so you can implemented your own code to these custom button. To create
custom button you need to do several following step.
1. Create Table Maintenance
You can create table maintenance via SE11 transaction code, go to menu
Utilities -> Table Maintenance Generator, see following picture.
Doc Categories
ABAP Beginner Tutorial
ABAP HR
ABAP Performance Tuning
ABAP Web Dynpro
SAP ABAP Dictionary
SAP ABAP Enhancement
The new screen will shown, you need to entered required information on
SAP ABAP General
this screen, such as Authorization Group, Function Group and Maintenance
Screen No. SAP BASIS
SAP Business Partner
SAP BW/BIBO
SAP FI/CO
http://www.saptutorial.org/how-to-add-custom-button-on-maintenance-view/ 1/6
27/10/2017 How to add custom button on Maintenance View - SAP Tutorial
SAP HANA
SAP HR
SAP Interface
SAP MM/WM
SAP PP/QM
SAP SD
Smartforms
Oferta
After you’ve completed entered all of required information, click button R$ 2.799
Create or press F6 to generate table maintenance. R$ 1.889
2. Copy user interface SAPLSVIM to your table maintenance function
CONFIRA
group.
Go to SE41 transaction code and entered SAPLSVIM in Program eld then
press Copy User Interface button on toolbar, this process will copy all of Oferta
R$ 4.099
user interface of SAPLSVIM program into your Function Group program.
R$ 2.779
CONFIRA
Oferta
R$ 1.649
R$ 729
CONFIRA
Popular
Articles
Note : If you don’t know what is your name of function group program you
just go to SE80 and select your function group then double click on the New ABAP Language in
ABAP 7.4
name of your function group, the new pop up screen will displayed, now
click Master Program button.
How to add custom eld
in Additional B Tab for SAP
Sales Order
How to copy cost center
plan via KP97/KP98
http://www.saptutorial.org/how-to-add-custom-button-on-maintenance-view/ 2/6
27/10/2017 How to add custom button on Maintenance View - SAP Tutorial
Add customs Field in
Header Purchase Order (
ME21N )
How to substitute Header
or Items in FI using BTE
Process 1120
User Exits on Material
Master Save in
MM01/MM02
Recent Posts
How to skipping Inspection
for Vendors
And new screen will appear on right panel of ABAP Workbench, and you will How to changing the
see your program of your function group, you can see following picture. purchase order list display
How to create Table Types
Plan Cost Splitting in SAP
How to use
HR_MAINTAIN_MASTERDATA
3. Add your button on user interface on your function group for new hiring
How to do Collective/Mass
Go to your function group via SE80 transaction code and open GUI Status
Posting SAP Invoices
node, we need to add custom button on EULG GUI-Status.
Recent Search
Terms
how to create function module
in update task sap abap
mequery1
sap sensitive elds for the
customer
{O:118*\CLASS=CX_SEND_REQ_BCS
sap MRM_ITEM_CUSTFIELDS
negative stock and sap
sap service ml81n exits
composite infoprovider
I will create custom button MBUT with Information text My Button. after how to create pooled table in
you’ve completed, don’t forget to Activate your changed. sap abap
abap me21n add new tab item
4. Use ST Event in your Table Maintenance
level sample code
http://www.saptutorial.org/how-to-add-custom-button-on-maintenance-view/ 3/6
27/10/2017 How to add custom button on Maintenance View - SAP Tutorial
Back to your maintenance view generator via SE11 transaction code, and go
to Menu Environment->Modi cation->Events.
Add ST Event and entered your function group program on FORM Routine
column.
5. Add PAI Module on your function group program.
Back to SE80 and open your function group again, double click your function
group screen and create new module on PAI section.
For sample i will create MY_BUTTON PAI module. double click on your
module and write this ABAP Code.
http://www.saptutorial.org/how-to-add-custom-button-on-maintenance-view/ 4/6
27/10/2017 How to add custom button on Maintenance View - SAP Tutorial
1 CASE function.
2 WHEN 'MBUT'.
3 CALL FUNCTION 'POPUP_TO_INFORM'
4 EXPORTING
5 titel = 'This is my custom button'
6 txt1 = 'Hello'
7 txt2 = 'HEllo too'
8 * TXT3 = ' '
9 * TXT4 = ' '
10 .
11
12 ENDCASE.
Activate your function group, and open your table maintenance, you can
open it via SM30 Transaction code. and you will see your custom button
you’ve created.
Ads by Google
Maintenance Sap Maintenance Maintenance
Custom Table Cost Maintenance
Related Articles
Running Function Modules with Test ALV Popup List Display Using
Sequences using SE37 CL_SALV_TABLE
How to Update ABAP Web Service How to handle Large Internal Table
after change Function Module With CL_SALV_GUI_TABLE_IDA
How To Use Sets in ABAP Program
http://www.saptutorial.org/how-to-add-custom-button-on-maintenance-view/ 5/6
27/10/2017 How to add custom button on Maintenance View - SAP Tutorial
How to create ALV Grid in ABAP
Dynpro using CL_SALV_TABLE
Leave a Reply
Your email address will not be published. Required elds are marked *
Name *
Email *
Website
Post Comment
Sitemap / RSS © Copyright, SAPTUTORIAL.ORG
http://www.saptutorial.org/how-to-add-custom-button-on-maintenance-view/ 6/6