ME52N/ME53N - Add buttoN to standart screen

Hi all,
I have call to z.. transaction from item level in transactions ME52N/ME53N. Can I add to standart screen any button in screen exit  for this purpose?
Thanks,
Liza

Hi Liza,
Yes it is very much possible to do the same.
Take help of your ABAP team and ask them to use USER EXITS for the same.
Tell them the exact requirement which fields you have to populate.
Then rest ABAP team will take care of it.
Hope this helps.
Regards
Utsav

Similar Messages

  • Add button to SNC screen

    Dear Experts,
    I have a requirement in SNC system.
    Requirement: Add a new button on screen Due List for Purchasing Documents, if we click on the button it has to open a new screen where we should have a file browse filed, browse and upload buttons to upload ASN details from presentation server.
    am using,
    WebDynpro Component: /SCF/UIWD
    WebDynpro Application: /scf/snc_s
    I have used following details to add button and acheived to add button alone, but how can I assing action/event, where can I create the screen, where can I write code and how can I assign this to button action.
    ApplicationID: ICH
    ScreenID: DUELIST
    ComponentID: DLRLTLR1
    Please help me out, almost from 2 weeks am doing R and D on it.
    Thanks in advance
    Pallu

    Thanks for your inputs Sai, but here the screen design is not static as normal webdynpro, normally we add a button and in OnAction property we create new action and we write code for the corresponding method, but in my case (expecially in SNC) everything I need to do with configurations, the transaction for screeen configuraitons is /N/SCF/SCREENCFG, and the BADI which I used for adding button is /SCF/UIMDL_APPCUST, you can find these details only in SNC (Supply Network and Collaboration) system.
    Please try with inputs again.
    Thanks again in advance!
    Pallu!!

  • Is it possible to add buttons on a screen without drawing in screen painter

    Hi experts and others,
    I want to design a flexible screen structure so I want my buttons which are on a screen appears according to my wish at runtime.
    Is it possible to design a screen like this.
    In addition, I would get my button's name and fcode from table.
    I am open the hear any idea.
    Regards.

    Simple Way to Do this:
    1) Create the relevant Button on the screen.Assign Group name in the screen Properties.
    2) In PBO you can write codes to hide the button according to your requirements.
    Ex:
    PBO.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'AA'.        " Group assigned at Property level
    Screen-Active = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    Regards,
    Gurpreet

  • Custom button at selection screen toolbar

    Hi All,
    I have a requirement to add button at selection screen toolbar. Once this button was hit another program should be called.
    Do you have any idea on how to do this. Appreciate your help.
    Thanks in advance.

    Hi,
    To add custom Button to your selection screen see the below example-
    TABLES: SSCRFIELDS.
    TYPE-POOLS ICON.
    PARAMETERS: p_bukrs TYPE bukrs.
    INITIALIZATION:
      V_FUNCTXT-ICON_ID = ICON_XXX.                          " Add Icon to button if you want.
      V_FUNCTXT-QUICKINFO = 'xxxx'.                            " Text to be displayed when you hover mouse over the button
      V_FUNCTXT-ICON_TEXT = 'yyyy'.                           " Text to be dsipalyed on button.
      SSCRFIELDS-FUNCTXT_01 = V_FUNCTXT.
    AT SELECTION-SCREEN.
      CASE SSCRFIELDS-UCOMM.
        WHEN 'FC01'.                                                           " Handle the click on button. By default this function code will be
    to your
          "Your logic
      ENDCASE.

  • Regarding Push Buttons in Output Screen

    Hi All,
    I want to add to buttons in the output screen(not in the selection-screen). I used the below code, but it was showing those buttons in selection screen. can any one help me how to get these two buttons in the output screen.
    INITIALIZATION.
      sscrfields-functxt_01 = 'AUTO POPULATE'.
      sscrfields-functxt_02 = 'SAVE'.
    AT SELECTION-SCREEN.
      CASE sscrfields-ucomm.
        WHEN 'FC01'.
        WHEN 'FC02'.
      ENDCASE.
    Thanks in advance.
    Regards,
    Ramana Prasad. T

    hi
    good
    go through this code,which ll give you brief idea about create the button in output screen
    *& Report ZSSCRBUTTON *
    *& Adds buttons to selection screen. *
    *& Demonstrates alteration of selection screen layout depending on *
    *& which button is pressed. *
    REPORT zsscrbutton NO STANDARD PAGE HEADING.
    TABLES: t030, skat, sscrfields.
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME
    TITLE text-001.
    SELECT-OPTIONS: p_ktopl FOR t030-ktopl,
    p_komok FOR t030-komok,
    p_ktosl FOR t030-ktosl.
    SELECTION-SCREEN SKIP.
    *SELECTION-SCREEN FUNCTION KEY 1. “Adds button to application toolbar
    Declaration of sel screen buttons
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON (20) w_button USER-COMMAND BUT1.
    SELECTION-SCREEN PUSHBUTTON (25) w_but2 USER-COMMAND BUT2.
    SELECTION-SCREEN END OF LINE.
    SELECT-OPTIONS: p_konts FOR t030-konts,
    p_bklas FOR t030-bklas.
    PARAMETER: gd_ucomm like sy-ucomm default ‘BUT1′ no-display.
    SELECTION-SCREEN END OF BLOCK block1.
    TYPES: BEGIN OF t_t030,
    ktopl TYPE t030-ktopl,
    konts TYPE t030-konts,
    txt20 TYPE skat-txt20,
    bklas TYPE t030-bklas,
    bkbez TYPE t025t-bkbez,
    END OF t_t030.
    DATA: it_t030 TYPE STANDARD TABLE OF t_t030 INITIAL SIZE 0,
    wa_t030 TYPE t_t030.
    DATA: gd_repsize TYPE i VALUE ‘83′.
    *INITIALIZATION.
    INITIALIZATION.
    Add displayed text string to buttons
    w_button = ‘GL account selection’.
    w_but2 = ‘Valuation class selection’.
    *AT SELECTION-SCREEN.
    AT SELECTION-SCREEN.
    Check if buttons have been
    if sscrfields-ucomm eq ‘BUT1′.
    gd_ucomm = ‘BUT1′.
    clear: p_BKLAS.
    refresh: p_BKLAS.
    elseif sscrfields-ucomm eq ‘BUT2′.
    clear: p_KONTS.
    refresh: p_KONTS.
    gd_ucomm = ‘BUT2′.
    endif.
    *AT SELECTION-SCREEN OUTPUT.
    AT SELECTION-SCREEN OUTPUT.
    if gd_ucomm eq ‘BUT1′.
    loop at screen.
    if screen-name CS ‘P_KONTS’.
    screen-active = 1.
    elseif screen-name CS ‘P_BKLAS’.
    screen-active = 0.
    endif.
    modify screen.
    endloop.
    elseif gd_ucomm eq ‘BUT2′.
    loop at screen.
    if screen-name CS ‘P_KONTS’.
    screen-active = 0.
    elseif screen-name CS ‘P_BKLAS’.
    screen-active = 1.
    endif.
    modify screen.
    endloop.
    endif.
    thanks
    mrutyun^

  • How to Add Push Button On Selection Screen

    Hi Experts,
    How to add Push button on Selection Screen.
    Points will b rewarded for useful help.
    Bohra.

    Hi,
    To create a pushbutton on the selection screen, you use:
    SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <push>
    USER-COMMAND <ucom> [MODIF ID <key>].
    The [/]<pos(len)> parameters and the MODIF IF addition have the same function as for the formatting options for underlines and comments.
    <push> determines the pushbutton text. For <push>, you can specify a text symbol or a field name with a maximum length of eight characters. This character field must not be declared with the DATA statement, but is generated automatically with length <len>. The field must be filled before the selection screen is called.
    For <ucom>, you must specify a code of up to four characters. When the user clicks the pushbutton on the selection screen, <ucom> is entered in the UCOMM of the SSCRFIELDS interface work area. You must use the TABLES statement to declare the SSCRFIELDS structure. The contents of the SSCRFIELDS-UCOMM field can be processed during the AT SELECTION-SCREENevent.
    Ex.
    REPORT DEMO.
    TABLES SSCRFIELDS.
    DATA FLAG.
    SELECTION-SCREEN:
    BEGIN OF SCREEN 500 AS WINDOW TITLE TIT,
    BEGIN OF LINE,
    PUSHBUTTON 2(10) BUT1 USER-COMMAND CLI1,
    PUSHBUTTON 12(10) TEXT-020 USER-COMMAND CLI2,
    END OF LINE,
    BEGIN OF LINE,
    PUSHBUTTON 2(10) BUT3 USER-COMMAND CLI3,
    PUSHBUTTON 12(10) TEXT-040 USER-COMMAND CLI4,
    END OF LINE,
    END OF SCREEN 500.
    AT SELECTION-SCREEN.
    CASE SSCRFIELDS.
    WHEN 'CLI1'.
    FLAG = '1'.
    WHEN 'CLI2'.
    FLAG = '2'.
    WHEN 'CLI3'.
    FLAG = '3'.
    WHEN 'CLI4'.
    FLAG = '4'.
    ENDCASE.
    START-OF-SELECTION.
    TIT = 'Four Buttons'.
    BUT1 = 'Button 1'.
    BUT3 = 'Button 3'.
    CALL SELECTION-SCREEN 500 STARTING AT 10 10.
    CASE FLAG.
    WHEN '1'.
    WRITE / 'Button 1 was clicked'.
    WHEN '2'.
    WRITE / 'Button 2 was clicked'.
    WHEN '3'.
    WRITE / 'Button 3 was clicked'.
    WHEN '4'.
    WRITE / 'Button 4 was clicked'.
    WHEN OTHERS.
    WRITE / 'No Button was clicked'.
    ENDCASE.
    This example defines four pushbuttons on a selection screen that is displayed as a
    dialog box. The selection screen is defined in a statement chain for keyword
    SELECTION-SCREEN.
    If the text symbols TEXT-020 and TEXT-040 are defined as 'Button 2' and 'Button 4',
    the four pushbuttons appear as follows on the selection screen displayed as a dialog box.
    Regards,
    Bhaskar

  • FI Report Painter (FGI1) - add new button in output screen

    Hi all,
    I have a report created by tcode FGI1 (Create Drill-down Report) which bases on form 0SAPBSPL-01 (Fin. Statement: Actual/Actual Comparison). I wanna know if there are any ways to add a new button in output screen after report execution (i.e to print the content into smartforms).
    Thanks in advance.
    Solaris.

    Instead of creating after the output you can add the button to create the form on the main screen itself i.e. program SAPMKCEE screen1125. Either on the application tool bar or on the screen 1125.

  • Displaying Screen After the Add Button is pressed and the document is saved

    Hi All,
    I am trying to the Display the Landed Cost screen after the Goods Receipt PO has been added and Saved.
    My code below: <b>If pVal.ItemUID = "1" And pVal.FormTypeEx = "143" And pVal.FormMode = SAPbouiCOM.BoFormMode.fm_ADD_MODE And pVal.BeforeAction = False Then
                If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
                    Dim oMenuItem As SAPbouiCOM.MenuItem
                    oMenuItem = SBO_Application.Menus.Item("2310") 'modules 2310 is the Landed cost screen'
                    oMenuItem.Activate()
                End If
            End If</b>
    It displays the landed cost screen when i Click the add button, But I need to display it after the the document has saved, ANy inputs on the same!
    Your help is appreciated!!!

    Hi Vinayak,
    Change the code
    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
    to
    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
    And it will work.
    Best Regards,
    Nick He

  • Add a button on normal screen ?

    hi,
    what's the screen for showing the content of ' write' statement,  and i want to add a button on this screen, how ?
    thanks

    Hi Zhang,
    Please refer this code from help.sap.com
    TABLES sscrfields.
    TYPE-POOLS icon.
    SELECTION-SCREEN:
      BEGIN OF SCREEN 500 AS WINDOW TITLE title,
        PUSHBUTTON 2(10)  but1 USER-COMMAND cli1,
        PUSHBUTTON 12(30) but2 USER-COMMAND cli2
                               VISIBLE LENGTH 10,
      END OF SCREEN 500.
    AT SELECTION-SCREEN.
      CASE sscrfields.
        WHEN 'CLI1'.
        WHEN 'CLI2'.
      ENDCASE.
    START-OF-SELECTION.
      title  = 'Push button'.
      but1 = 'Button 1'.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name   = icon_information
          text   = 'Button 2'
          info   = 'My Quickinfo'
        IMPORTING
          RESULT = but2
        EXCEPTIONS
          OTHERS = 0.
      CALL SELECTION-SCREEN '0500' STARTING AT 10 10.
    Reward points if useful.
    Regards,
    Atish

  • Enhancement in ME51n, ME52n, ME53n,

    Hi experts,
    I want to add one tab in Purchase requisition screens(, ME51n,ME52n,ME53n). In that tab i need to add some fields. i need to do using  MEREQ001 . Can any one tell me how to do it? please......
    Thanks
    siva
    Moderator message: please do more research before asking, show what you have done when posting.
    Edited by: Thomas Zloch on Feb 14, 2012

    Hi,
    You can't use the BADI " ME_PROCESS_REQ_CUST.
    The main purpose of this badi is use to validate the PR at different levels. If you see the methods of that BADI  for eg :
    1. Process_header : This for validating the header part.
    2. Process_item : This for validating the line item details.
    Like that there are so many methods are there inside this BADI.
    You mentioned that you deactivated the Existing Project of PR and i want to know in which package you have mentioned.
    If that existing project is not needed you can delete the old one and incoporate the new logic and the old logic in the new project.
    Hope you got some idea now.
    With Regards,
    Sumodh.P

  • Activate text for Cost Center for ME51N, ME52N, ME53N

    Hi, experts
    As a requirement on T/C ME51N, ME52N, ME53N is needed to activate on "Account assignment" tab, the text for Cost Center field, how can I do this?
    Thanks in advance.
    Is there any path or exit could help with it?

    I need to add on Tabstrip "Account assignment" for fields
    CO Area and Cost Center text field description ( right side ) for each one.
    How can I do this? Thanks in advance.

  • Change the name of custom tab in me51n / me52n / me53n

    Hi,
    I have to add a few custom fields in PR item of  transactions me51n / me52n / me53n. I have used the enhancement MEREQ001 for adding the custom fields. The sytem automatically creates a custom tab with the name Customer Tab for the additional fields that I have added using the enhancement MEREQ001 while displaying in me51n / me52n / me53n.
    Now I have a requirement to change the name of the custom tab created for transactions me51n / me52n / me53n from Customer Data to Others.
    Can anyone suggest me how to go about doing this???
    Thanks in advance.
    Abhisek.
    P.S.:- Points will be be duly awarded 4 helpfull answers.

    Hi,
    I tried doing whatever you had suggested but it seems that it is not working.
    Could you suggest some other way to do this?
    Thanks and regards.
    Abhisek.

  • 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.

  • Add button to BP subscreen Identification Numbers

    Hi gurus,
    in transaction BP there is a tab called Identification. On this tab a subscreen area Identification Numbers exists which contains a screen (SAPLBUD0 - 1520). We want some added logic on the screen by means of a new button. I think it is not possible to add a button because the screen is hard-coded, so what I thought should happen is that a copy of the screen is made including the new button.
    And now my problem occurs, how do I replace the former screen(SAPLBUD0 - 1520) with the new screen on that particular screen area?
    kind regards,
    Wim van Erp

    I've found it. trx. BUS3 contains the specific screen.
    regards.

  • Add button to SM30

    Hi,
    I have a table with a table update generated to update the table from sm30. what appens is that i want to add some button to the screen where i do the update to the table, is that possible? And is there anyway to control when the user do double click  in a line of the table in the same screen?
    thanks,
    Ricardo

    Hi,
    You would have to change the generated function module. A function Module and a screen is generated once you use the table maintenance generator. Please remember that the process of changing the generated code can be cumbersome.
    Hope this helps,
    Sudhi

Maybe you are looking for