Adding A Pushbutton To GUI Status of Standard Program

Hi,
I need to add a pushbutton to the GUI status of one of the SAP standard programs, the system being <b>ECC 6.0</b>. One method which I tried was by copying the standard program as a Z program and then modifying the GUI status per my requirement. Although this works, one drawback in doing it this way was with the introduction of the new Enhancement Framework in ECC 6.0, the defined enhancements from the standard program were not copied to the Z program.
I am looking for suggestions on how to add a pushbutton in the GUI status of the standard program using the enhancement concept. Please let me know the implications if any, while carrying out this change.
Regards,
Ravi Krishna

GOTO Se41 Transaction ..
one example :
Standard Program : SAPLSLVC_FULLSCREEN
Status : STANDARD_FULLSCREEN
use ur program first and status and now click on copy status ...
copy from standard to custom..

Similar Messages

  • GUI status of std. program

    Hi,
       Can somebody tell me how to get the GUI statuses i.e. All the Function Codes used mentoined in a GUI status of standard program.
    I have checked the program SAPMSEUK & Function Module RS_CUA_INTERNAL_FETCH. But its not giving the GUI_STATUS till the bottom Function Codes level.
    Please suggest some solution...
    Regards,
    Rushikesh

    Hi,
    if you don't want them programatically, call the transaction in question and click on system->status. Double click on the field gui status. This will lead you to the definition of all function codes (ok codes) of the screen.
    If you want programatically, try using the function module.....
    data: irsmpe_funl type table of rsmpe_funl with header line.
    call function 'RS_CUA_GET_FUNCTIONS'
      exporting
      LANGUAGE                = ' '
        program                 = <program_name>
    IMPORTING
      MASTER_LANGUAGE         =
      tables
        function_list           = irsmpe_funl
    EXCEPTIONS
      MENU_NOT_FOUND          = 1
      PROGRAM_NOT_FOUND       = 2
      OTHERS                  = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    regrads
    navjot
    reward if helpfull

  • What is the use of GUI status in Dialog programming

    what is the use of GUI status in Dialog programming,, how can it be used there,, as screen are alredy defined..

    Hi,
    The use of GUI Status is that when we have to change some thing in Menu Bar, Toolbar and Function Keys. Say For Example we have to create any Custom Button in the application toolbar etc.
    It can be used in Dialog Programming via defining the Status in the PBO module of the screen.
    eq. created a screen 9000
              on clicking it->
                                   PROCESS BEFORE OUTPUT.
                                             MODULE status_9000.
    On double clicking on this "Module status_9000" - you can write "SET PF-STATUS 'STATUS_9000'".
    Now u can create GUI staus with name "'STATUS_9000'".
    Let me know in case you have any further doubts.
    Thanks

  • Use standard GUI status in customer GUI status without extra programming

    Hi,everyone.
    I have a problem in my development.
    now, I'm developing my own dialog program. And I need use my own GUI status.
    there are some buttons on application tool bar.when I click some buttons on the
    application tool bar,the program will do something according to the function code.
    But now, I also need the standard tool bar in the screen too.yeah,I know I can input function code
    to the buttons of the standard tool bar and the buttons of standard tool bar will be bright and can
    be clicked. But when I click the button on the standard tool bar like 'back', the program will not
    return to the previous screen .
    so, what I want to know is how can I make the buttons bright and achieve the functionality provided
    by the standard tool bar without extra programming.

    HI,
    you can use Tcode SE41 ( MENU PAINTER ) to copy the status of a standard program.
    to go back to the screen from where you come from like the standard BACK button.
    in PAI
    module go_back.
    in abap source code the module looks like this
    module go_back.
    case sy-ucomm.
    when 'BACK'.
    LEAVE TO SCREEN O.
    endcase.
    endmodule.
    to by pass the screen validations the above code should be written in
    MODULE MNAME AT EXIT-COMMAND.
    in the PAI.
    Thanks and regards
    Ramchander Rao.Krishnamraju

  • How to copy GUI status to new program

    Hi all,
    In report A, i have GUI status with lot of menu bar activities. i need to create one more report B, with the same GUI status. Is there any option to copy/download from Report A to paste/upload to the new report B.
    Note: Both the Reports are in different SAP Systems.
    Please suggest.
    Thanks.
    Regards,
    Venkat
    Edited by: VENKATA PRASAD BATHINAPATLA on Sep 19, 2011 8:39 AM

    Hi,
    You can do this:
    go to Transaction se90. Drill down to Program library -> program sub objects -> Double click on GUI Status.
    In the program name enter Your PROGRAM NAME and press execute. now select check box beside <Your GUI STATUS which you want to copy>. and in the menu click on GUI Status -> Copy.
    Now copy it to ur B report pf status.
    or
    goto se80 select Program enter your program name then under GUI Status  right click on your gui ststus which you want to copy and press copy and enter your B Report name.,
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • PB when add pushbutton  to Gui status SE41.

    Hi,
    When i  want to add pushbutton to my sap gui in transaction SE41, i had this message  "Unable to assign the function to the pushbutton"
    Diagnosis
    Functions assigned to a pushbutton must be assigned to a function key first, but no free function keys exist.
    Thanks in advance,
    Karim

    Hi Karim,
    When you create a pushbutton or use any button on the application toolbar you have to assign function code to it.
    For Eg in Application toolbar if you add a button as Display Data the function code can be added as DISP.
    So add the funtion code to the button u r creating to resolve the issue.

  • How to put the restrict in pf-status  in standard program

    hi friends,
    My requirement is if we give any values in ov51 tcode this all details will go to the one mail.
    but Client ask do want to the pf-status values how to restric pf-status values.
    Could any one help .
    This is sample code
    SUBMIT RFDABL00 TO SAP-SPOOL
                               SPOOL PARAMETERS print_parameters
                               WITHOUT SPOOL DYNPRO
                               VIA JOB NAME NUMBER NUMBER
                               WITH SELECTION-TABLE it_rspar "via SELECTION-SCREEN
                               AND RETURN.
    Thanks & Regards,
    Gowrinaidu

    Please restate your problem...it's not at all clear what you're asking of the forum.  If your client worried about the PF keys in the submitted job, they're irrelevant...you're running it in background and therefore there is no GUI/presentation server and no one will see any PF keys.

  • Problem in GUI status of ALV Grid

    Hello All Experts,
    I have a following issue.
    Am displaying a report using   REUSE_ALV_GRID_DISPLAY. I have copied the GUI status from standard GUI   STANDARD_FULLSCREEN. Now when i dispaly the report i get  select all ICON just before my first column(Marked in red below). i do not need this icon, i have checked in my GUI status also this icon does not exist. can you please help me how to remove this icon.
    This is how i have declared the field catalog for my first column.
      fieldcatalog-fieldname    = text-013.
      fieldcatalog-seltext_m   = text-014.
      fieldcatalog-col_pos      = 0.
      fieldcatalog-outputlen    = 3.
      fieldcatalog-emphasize  = gc_x.
      fieldcatalog-key            = gc_x.
      fieldcatalog-checkbox   = gc_x.
      fieldcatalog-edit            = gc_x.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
    Am really thankful to your resposes.
    Regards,
    Satish

    i tested with
    REUSE_ALV_GRID_DISPLAY and it works fine as you want
    report ztestalv.
    type-pools:
      slis.
    data:
      i_usr02 type table of usr02,
      afield  type slis_fieldcat_alv,
      sp_group      type slis_sp_group_alv,
      t_listheader  type slis_t_listheader with header line,
      t_layout      type slis_layout_alv,
      t_fieldcat    type slis_t_fieldcat_alv,
      t_spec_groups type slis_t_sp_group_alv,
      event         type slis_alv_event,
      t_events      type slis_t_event,
      g_variant     like disvariant,
      gx_variant    like disvariant,
      g_exit(1)     type c,
      g_save(1)     type c,
      g_repid       like sy-repid,
      msgtyp        like sy-msgty,
      lt_dynpread   like dynpread occurs 1 with header line.
    start-of-selection.
      select * from usr02 into table i_usr02
      up to 200 rows.
    end-of-selection.
      t_layout-detail_initial_lines = 'X'.
      t_layout-detail_popup         = 'X'.
      t_layout-f2code               = 'PIC1'.
      t_layout-get_selinfos         = 'X'.
      t_layout-group_change_edit    = 'X'.
      call function 'REUSE_ALV_FIELDCATALOG_MERGE'
        exporting
          i_structure_name = 'USR02'
        changing
          ct_fieldcat      = t_fieldcat
        exceptions
          others           = 4.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program       = 'ZTESTALV'
          i_callback_pf_status_set = 'SET_PF_STATUS'
          i_callback_user_command  = 'USR_CMD'
          i_structure_name         = 'USR02'
          is_layout                = t_layout
          it_fieldcat              = t_fieldcat
          it_special_groups        = t_spec_groups
          i_default                = 'X'
          i_save                   = g_save
          is_variant               = g_variant
          it_events                = t_events
        tables
          t_outtab                 = i_usr02
        exceptions
          program_error            = 1
          others                   = 2.
    make sure your field ls_layout-box_fieldname is blank, as you using the checkbox

  • Transport of gui status

    Hi there,
    I have attempted to deploy some ABAP code which was developed in 4.7 into a 4.6b environment. Mysteriously the GUI statuses have not gone with the transport. Does this need to be added explicitly to the transport objects when going across versions like this ? Is it to do with the way objects are organised in packages as oppose to dev classes ?
    (When I deployed the code in another 4.7 box it worked fine)

    Hi Richard,
    I would suggest you to look up in SE11 transaction, for table <b>E071</b>, check for object type '<b>CUAD</b>' <-- GUI Status for your program name in your 4.7 box.
    Regards,
    Subramanian V.

  • Gui status - upload / download

    Hello All,
    Is there any way where I can download GUI status from one system and upload it to another system ?
    Thanks in advance,
    Senthil G

    Hi Senthil,
    Gui status is tied directly to programs, so that said, you want have to tie this gui status to a program, then transport the program. So if you have a gui status that you want to use that is tied to standard program, create a "Z" program, then you can copy the gui status from the standard program to the "Z" program. Now you can transport the "Z" program to this other system, then you can copy the gui status from the "Z" program to where ever you need it in the other system. Make sense. I'm assuming that this other system is outside of the DEV->TST->PRD heiracrchy.
    You can copy the gui status using SE41. Click User Interface, Copy, Status.
    Regards,
    Nitin.

  • Problem in GUI status

    hi folks ,
    i have created the GUI status for the program .. when i go on the out put screen i am not able to go back or cancel or exit , though i have created the GUI status and activated it as well .
    my program is designed to display the user action on screen and it displays the value in the text field which can only accept output no inputs .
    plz advice .
    Thanks,
    Abhishek .

    Hello,
    Make sure that the function codes in the GUI status are written in capital letters only.Similarly in the PAI of the screen,in the case statement,the function codes have to be written in capital letters.I hope you have written the user-commands as the functionality has to be coded by the developer when he makes the GUI.
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    case ok_code.
    when 'BACK'.
    leave to screen 100.
    when 'EXIT'.
    leave to screen 0.
    when 'SAVE'.
    ....logic
    ENDCASE.
    endmodule.
    Regards,
    Beejal
    **Reward if this helps

  • GUI status local/global

    Is gui status that is created by us for a particular program is local for that progam or it is global, so that we can use it in other programs.
    Waiting for replies
    thanx in advance

    Hi,
    GUI STATUS are screen specific, different for each screen.  If u want to use same in other prg then copy gui status to that program in se80-gui status-status name - right click -copy.
    Hope it will helpu.
    Jogdand
    PS: Award if helpful

  • Upload/Download GUI STATUS

    Hi SAP Experts,
    Is there any way to download GUI STATUS from Z program to local PC and after that upload that GUI STATUS from the local PC to another 'Z' program.Both the Z programs are in different versions.
    Please help.
    Mukesh Kumar

    Hi Mukesh,
    Check these threads...
    How to GUI status from one system to another
    download Programs
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Storage area for GUI status Z_FI_UPLOAD_FIDOC 100 too small

    Hi,
    I have created a program for uploading and posting open items aso. I've gathered items in an internal tables and tried to display on ALV list with tree for correct and incorrect items. When table contains more than 1000 items ( not all in one document but 2 items for every single doc), ALV displays but after awhile I get the error message 'Storage area for GUI status Z_FI_UPLOAD_FIDOC 100 too small' and next step process leaves the program to initial SAP screen without dump. Error doesn't occur when item lines less than 1000. The detailed message is:
    +Storage area for GUI status Z_FI_UPLOAD_FIDOC 100 too small
    Message no. 00261
    Diagnosis
    The memory area of the basis software for the GUI status is too small for the requested status.  The following is stored in this area:
    Administration information in fixed length
    Menu structure, F keys and push buttons of a status
    The texts of the complete interface (not just of the status)
    The active and the requested Excluding list (SET PF-STATUS... EXCLUDING ...).
    System Response
    Termination as presumably the system is unable to continue processing.
    Procedure
    A short-term solution might consist of leaving off the EXCLUDING for the current SET PF-STATUS...
    Clear up the interface affected: in the Menu Painter (Transaction SE41), choose Utilities -> Unused objects.
    If it is an interface with a large number of statuses, it may be possible to take the interface apart.
    This is often possible for interfaces belonging to a function group that supplies GUI statuses for multiple programs (these programs call up function modules of the group that mainly contain a SET PF-STATUS command).
    If the above solutions will not work, your system administrator will have to enlarge the profile parameter "ztta/cua_area".
    Note that profile parameter "ztta/short_area" must be at least 6 times as large as "ztta/cua_area".+
    There is no unused object in my GUI. Is it connecting with number of items or should I ask system admin to enlarge mentioned parameters?
    Thanks for quick reply in advance,
    György
    Message was edited by:
            György Jakabovics

    Now I know what the problem was.
    Message was edited by:
            György Jakabovics
    Message was edited by:
            György Jakabovics

  • Transporting translated GUI status

    Hi All,
    We are doing some translation of GUI status of certain programs in se63. The translations are recorded in a TR using the program RS_LXE_RECORD_TORDER after activating the GUI status. All these are done in source system (dev system)
    Now when we release the TR to test system(Target System),
    we need to activate each GUI status in target system . Then only it is appearing in the interface.
    Is there any way so that we can avoid the activation of each and every GUI status in the target system ?
    Could you please help out us?
    Regards,
    Arun

    Hi Arun,
    I think, I'm a little bit late for this issue...
    Seems there's a problem with the CUA-Load: Run report RSLANG20 on the target system and afterwards refresh the CUA- and DYN-buffer by entering /$CUA and /$DYN at the okcode-field.
    HINT: Read note #110910 before.
    Best regards,
    Thomas

Maybe you are looking for

  • Deleting Rows From A Table After Running a Report

    I've created a report that inserts rows into a table on the asp page then calls a BI Publisher report to display the data. After running the report in BI Publisher I need to delete the rows from the table that had just been inserted. How is the best

  • Ejb 3.0 and JDeveloper

    If I drag and drop tables with One to one mapping in an ejb diagram in JDeveloper (one table have having the foreign key as the primary key). If I create ejb 2.1 beans it makes makes a One To One mapping between the entity beans created and if I drop

  • White screen in win7 login

    hi, i have this problem which probably is related to the power manager. Only when i activate the function to start charging the battery after a predetermined percentage, i turn on the laptop and the windows login screen becomes very bright to the poi

  • Problem with sending message with excel attachment

    hi,        i m using sap b1 2005b  i send message with excel attachment to sap user but message is reached to destination but attchment cannot send .ot shows an internal error pls help me. reagrds, vishal

  • Stream media from Laptop to TV...HELP!!

    I am cutting my cable and want to watch shows/movies online by connecting my laptop to my HDTV.  Laptop only has VGA (TV does also).  I want to maintain quality picture and sound but not sure how to go about this.  Can it be done wirelessly?  If so,