Standard Save button

Hi all experts,
I have created a ZTCode for saving input data. The problem is that i want to use the standard save button not the execute button.
How can i do that?

Hi,
Sample Code, it will trigger the GUI status.
TABLES: MARA.
SELECT-OPTIONS: SO_MAT FOR MARA-MATNR.
at SELECTION-SCREEN.
case sy-ucomm.
WHEN '&SAV'.
message 'Save Icon Selected'  TYPE 'S'.
stop.
ENDCASE.
at SELECTION-SCREEN OUTPUT.
   SET PF-STATUS 'ZSTAT'.
can you Paste Your Code.
Regards,
Venkat.

Similar Messages

  • How to hide the standard save button

    Hi gurus,
    I am using the javascript below in my BPS Web Ap to perform a check function on save.  The Javascript runs the check function and then simulates the pressing of the standard save button.  It works fine.
    My problem is that I now need to hide the standard Save button as I don't want users to press it, just my code.  But there is no option in the application builder to hide those standard buttons.
    Is there some other way I can hide it?  Or is there some way I can perform the save from JavaScript without having to have a Save button?
    Cheers,
    Tristan
    <script type="text/javascript">
        function CheckAndSave()
                if (bspSubmit('FunctionButtonPerformCheck'))
                        bspSubmit('SaveButton1')
    </script>
    <span>
        <a href="#1" class=urBtnStd onClick="javascript:CheckAndSave();"
            <nobr>
                New Save
            </nobr>
        </a>
    </span>

    Hi,
    If you have created your layout using transaction BPS_WB then you can hide the SAVE button.
    Cheers,
    Gimmo

  • Save button grayed out

    Kartz, any answer to this yet?  I have the same issue,  I open a file, make some changes, and the standard SAVE button is grayed out.  An asterik appears in the file name, so I know that means my change is acknowledged, but the Save button stays grayed out.

    Hi, Thomas. We'd like to help, but do need more information to do so.
    Where is your file stored?
    e.g. your Desktop, Documents folder, an external hard drive, network file share, etc.
    Does this issue occur all of the time, or only sometimes?
    What version of Dreamweaver are you using?
    On what operating system, including version?
    (e.g. Windows 7 64-bit Service Pack 1, Mac OS 10.6.8, etc.)
    As a comparison test, please create a new file in Dreamweaver using one of the included layouts (e.g. 3-column liquid), save the file to your Desktop, and then make a change. Does the same issue occur with this file at all?

  • Save Button on the TimeSheet Review Screen

    Hello,
    I am trying to move the Previous Step and the Save buttons on the Top of the screen above the Review Table ..I had gone to the VcCatRecordReview Component -> VcCatRecordReview View Controller and moved the Transparent Container which has those 2 buttons but it's not taking into effect...If anybody has done something like this then please let me know....
    Thanks in Advance

    Hi ,
    if you have used user_command then you just write the condition of function code of save button '&data_save' between case and endcase.
    if you need to use standard save button then go to the menu painter using tcode 'SE42' and go to function tool bar and write save on save button.
    regards..
    bibek

  • SRM7.0 RFX screen enhancement with extra tab and save on standard save

    Hi All,
    I have to do one enhancement in SRM 7.0 where need add one Tab in the Rfx Screen and need to save its data in custom table when user click on standard save button.
    any suggesion....
    Reg,
    Rajesh

    Dear Rajesh,
    Were you able to solve this issue?
    I also have a similar requirement. I need to add three new tabs to contract item screen in SRM 7.0.
    I could find some details about enhancement procedures in SRM 7.0.
    Mainly important tool, floorplan manager ( FPM ) is used for enhancing the user interface in SRM 7.0. asnd there are some feeder classes i think is required to save the data to the database.
    Also, i could find some BADI's which can be used to save and change the data and save it to database.
    But, i could not get the step by step procedures how to achieve this task. But, it isure that we should use FPM and feeder class etc.
    If you have completed the task, please let me know.
    Regards,
    Srinath

  • Disable Save button

    Hi there! I have a form populated in the Web and want to disable the standard Save button from the toolbar when conditions apply..
    Do you hav any idea how I could do that?
    Thanx in advance..

    Hi All,
    I have the same requirement ,i have disable the Save Button in the Menu Bar.
    When ever the user open the forms ,i have to disable tht Save Button.
    The user should not allow him to click on that Button.Alreasy i have created one more Button in the Bottom level of the Form.
    And also tell me where i have write the code isit in form level,block level etc...
    Pls elp me in this issue.....Give me simple example
    Regards
    Siva

  • Create standard sap "SAVE" button along with ALV grid buttons

    I need to create a standard SAP "Save" button  in my ALV GRID display in the application tool bard
    I copied the PF-Status 'standard' from a SAP program and assinged it here.
    When i try to add the SAP save buttion by using this standard pf-status , its not getting displayed in the application tool bar.
    But in STandard TOOl bar (in menu painter ) , when i assign save its displayed in the screen .
    I need this to be displayed in the application tool ba
    Please suggest me how to do this.
    Thanks in advance.

    Hello,
      Application of ALV means the place where the buttons(standard for ALV) like sort,add,delete,copy etc are dipslayed.IF u need need to add a save button on the same toolbar/same place u need to copy the standard GUI status of standard ALV program .For that go to SE80 , give the program name as SAPLSLVC_FULLSCREEN
    In the GUI status u'll find the status named as STANDARD_FULLSCREEN ....Right click on it and give the "TO Program " as your program.Now once u activate ur program u'll find the same status there.
    add ur save button in the status by edidting it. Now u need to write the FORM ENDFORM for user command and assign the form name in caps to the USER_COMMAND parameter in the func module REUSE_ALV_GRID_DISPLAY.
    Hope this help.
    Regards,
    Neeraj

  • How can we make the save button active in standard toolbar in outout of alv

    Hi experts ,
    I am using factory method to print alv with oops .
    Cancel , Exit and Back button are active by default in Standard tool bar  in output of Report , But Save button is not active , How can i make that save button active .
    Also Pls tell me how i can make editable to the cell in output , 
    My Code is like this :
    cl_salv_table=>factory( IMPORTING r_salv_table = gr_table CHANGING t_table = ispfli ).
      gr_functions = gr_table->get_functions( ).
      gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'This is the heading' ).
      gr_columns = gr_table->get_columns( ).
      gr_column ?= gr_columns->get_column( 'CITYTO' ).
      gr_column->set_long_text( 'This is long text' ).
      gr_column->set_medium_text( 'This is med text' ).
      gr_column->set_short_text( 'This is sh' ).
      gr_column ?= gr_columns->get_column( 'CITYFROM' ).
      color-col = '6'.
      color-int = '1'.
      color-inv = '0'.
      gr_column->set_color( color ).
      gr_sorts = gr_table->get_sorts( ).
    *gr_sorts->add_sort( 'CITYTO' ).
      gr_sorts->add_sort( columnname = 'CITYTO' subtotal = abap_true ).
      gr_agg = gr_table->get_aggregations( ).
      gr_agg->add_aggregation( 'DISTANCE' ).
      gr_filter = gr_table->get_filters( ).
      gr_filter->add_filter( columnname = 'CARRID' low = 'DL' ).
      gr_layout = gr_table->get_layout( ).
      gr_layout->set_key( key ).
      key-report = sy-repid.
      gr_layout->set_save_restriction( cl_salv_layout=>restrict_none ).
      gr_table->display( ).
    Rgds,
    Premraj

    Hi,
    1)you need to give the function code to that save in the Function Keys of that screen from the GUI Status.
    2) while filling the field catalog of that field you need to put the        
    wa_fieldcat_edit-edit = c_x.
    i.e use the edit and append to that field catalog internal table.
    for more infomation you can refer to below links:
    problem with alv edit and save
    *Edit* and *Save*  for the selected records in ALV
    solves your problem
    Thanks!!

  • How to handle custom component data on overviewset save button CRM UI

    Hi,
    I have added a custom component to a standard view which is enchanted.
    I can handle any data with my buttons on the component but after editing data
    i need the save the data when the save button on the overview(top) is pressed.
    I have redefined save button of overview but i cant get my data.
    My node name is Root. I think i couldnt bind it to overview.
    How can i do that?
    Thank you

    Probably it can be done by
    http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUITechnical-CreatingTableViewInWebUI
    i am trying
    Thank you

  • How to use bdc code in a report for save button

    hi to all can anybody please give some hints that how can i place the BDC code for the save button to pass the values from the editable grid to the standard table here i am sending my code .please advice me.
    Moderator Message: Please post only relevant portions of your code. There is a 2,500 character per post limit.
    here the second grid is editable.and i have to make changes in the second grid and save it to the standard tables. please advice me resma
    Edited by: kishan P on Sep 13, 2010 3:59 PM

    Hi,
    I have done that many times. Create a button in the toolbar,say 'SAVE'. Write the code in the subroutine user command.For example :
    *&      Form  USER_COMMAND
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
            RS_SELFIELD TYPE SLIS_SELFIELD.
      DATA : REF_GRID TYPE REF TO CL_GUI_ALV_GRID.
      DATA: L_VALID TYPE C.
    *Code to reflect the changes done in the internal table
      IF REF_GRID IS INITIAL.
        CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
          IMPORTING
            E_GRID = REF_GRID.
      ENDIF.
      IF NOT REF_GRID IS INITIAL.
        CALL METHOD REF_GRID->CHECK_CHANGED_DATA
          IMPORTING
            E_VALID = L_VALID.
      ENDIF.
      CASE SY-UCOMM.
        WHEN 'SAVE'.
        PERFORM BDC."Write all you BDC code in this subroutine
      ENDCASE.
    ENDFORM.
    Hope this will help.
    Thanks & Regards,
    Rock.

  • How to enable the Save button in ALV_GRID_DISPLAY function module

    Dear experts,
                    I Created a  ALV report by using ALV_GRID_DISPLAY functional module ,i need to enable the SAVE button ,my reqirement is to trigger some event in save button, then if i created own PF status existing icon are hidden, mention in below screen shot.
    suggest me
    Thanks
    sivashankar k

    Hi sivashankar,
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
    *   I_INTERFACE_CHECK              = ' '
    *   I_BYPASSING_BUFFER             =
    *   I_BUFFER_ACTIVE                = ' '
           i_callback_program             = sy-repid
           i_callback_pf_status_set       = 'SET_PF_STATUS'
            i_callback_user_command        = 'USER_COMMAND'
    FORM  set_pf_status USING rt_extab TYPE slis_t_extab.
       SET PF-STATUS 'MENU'.
    ENDFORM.                  
    ""Handle use action
    FORM user_command USING r_ucomm     LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
       CASE r_ucomm.
        WHEN 'SAVE'.
       ENDCASE.
    ENDFORM.
    PF STATUS : MENU (copied STANDARD(gui status) from SAPLKKBL, do changes as per requirement)
    Regards
    Sreekanth

  • BSP-Error while adding a "Save-Button" to a View

    Dear Community,
    I have created a UI-Component which contains a Window and a View. I already connected the view to the window. What I'm trying now is to add a "Save-Button" to save the input of the view. This is my Structure:
    The Code of USERINPUT.htm is as follows:
    Here are my Questions
    1) What exactly do i need to put into parameter "id" and "table" within the configCellerator? My window and view are connected and when it opens there should be the "Save-Button".
    2) When I select "Test" my browser opens but I cannot see the preview, intead I get this exeption. Is my code wrong or where is my mistake?
    Thank you for your help!
    Marcel

    Hi Marcel,
    if you want to create buttons in your form view there is a method in your implementation class that is
    get_buttons.
    you have to implement the method IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS from your implementation class.
    example:
       *****************SAVE***************************************************************************
      CLEAR ls_button.
      ls_button-type     = cl_thtmlb_util=>gc_icon_save.
      ls_button-on_click = 'SAVE'.                              "#EC NOTEXT
      ls_button-page_id  = me->component_id.
      ls_button-enabled = abap_false.
      IF view_group_context IS BOUND.
        IF view_group_context->is_any_view_editable( ) EQ abap_true AND lr_entity->is_changeable( ) =abap_true.
          ls_button-enabled = abap_true.
        ENDIF.
      ENDIF.
      APPEND ls_button TO rt_buttons.
    * Toolbar Divider
      CLEAR ls_button.
      ls_button-type     = cl_thtmlb_util=>gc_separator.
      ls_button-enabled  = abap_true.
      APPEND ls_button TO rt_buttons.
    And write an event handler for this:
       METHOD eh_onsave.
      DATA: lr_core    TYPE REF TO cl_crm_bol_core,
            lr_entity  TYPE REF TO cl_crm_bol_entity,
            lr_tx      TYPE REF TO if_bol_transaction_context.
      lr_entity ?= me->typed_context->btadmini->collection_wrapper->get_current( ).
      lr_tx ?= lr_entity->get_transaction( ).
      IF lr_tx IS NOT BOUND.
        lr_core = cl_crm_bol_core=>get_instance( ).
        lr_tx = lr_core->begin_transaction( ).
      ELSE.
        IF lr_tx->check_save_possible( ) = abap_true.
          CHECK lr_tx->save( ) EQ abap_true.
          lr_tx->commit( ).
        ENDIF.
      ENDIF.
      me->view_group_context->reset( ).
    when ever you want to call any transaction while button click go through this link..
    call transaction launcher on button press with parameter passing
    you can come to know how to call.
    in that doc you have to create one transaction launcher for your standard workflow. then that tcode you
    need to call using that concept..
    if you want to create table view  go through this link..
    SAP CRM WEB UI : 43.CREATING TABLE VIEW FOR LINE ITEMS WITH DEPENDENT CONTEXT NODES
    CRM Web UI Technical - Creating Table View In Web UI - CRM - SCN Wiki
    Thnaks & Regards,
    Srinivas.

  • Save button is not working for ONE CLICK ACTION

    Hi All,
    We have embeded a custom table view in a standard component.While we are editing the first row of the table view by ONE CLICK ACTION & pressing the SAVE button of overview page,then the record is saved in the database. But if we edit any row other than the 1st one,the save button is not working.
    We have used transaction context here for simple object.
    lv_tx_ctxt = lr_ent_bt->get_transaction( ).
    my_tx_context->add_tx_context( lv_tx_ctxt ).
    Please suggest how we can focus on the current line which we are editing & can save the record in database?
    Thanks.

    Hi Hakan,
    Probabaly this is not my problem. I know that how bt one click we can get the desired row.
    Let me briefly explain you my requirement and currently where I am stuck.
    I have a assignment block ( custom) in the main overview page with a custom table view ( ie in the view we are displayng entries in the table view ) and the user can press edit button on any row and that will open the particular row in edit mode . User will change the value in any of the columns and press save button on the main component and the custom changes will be saved in the database.
    Now the problem that we are facing is when we are chnaging the first row it si working but when we are doing chnages in the 2nd row or 3rd row changes are not saved ( not even in the table view that is getting displayed) .
    *Let me briefly tell you the approach that we took  . Since our table view uses a simple object  ( which is not a related object with BTORDER so we need to explicitly save the simple object entities to transaction context and for doing that we have redefined the eh_onsave method in the overview page) .
    *Now the save button is in overview page so to pass the entry from our custom table view to overview we are using custom controller . The custom controller 's collection wrapper only has the first entry of the table view custom_controller->collection_wrapper->get_next is failing which is the reason why the 2nd entry is not getting saved.
    Can you tell me how i can get all the table entries in my custom controller's collection wrapper?
    Let me know if you have any other questions.

  • SAVE button in Std Toolbar

    I don't know how to get the SAVE button to stop uploading my
    file in DW-CS3. It would just save it to my local drive before, and
    now (the day or so) it always uploads to my FTP site without me
    PUTTING the file there. How do I get it to stop trying to upload
    the file when I click the save button in the Standard
    Toolbar?

    In the Remote Site definition, disable Automatic PUT on Save.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Phox68" <[email protected]> wrote in
    message
    news:gbtrn1$kfk$[email protected]..
    >I don't know how to get the SAVE button to stop uploading
    my file in
    >DW-CS3.
    > It would just save it to my local drive before, and now
    (the day or so) it
    > always uploads to my FTP site without me PUTTING the
    file there. How do I
    > get
    > it to stop trying to upload the file when I click the
    save button in the
    > Standard Toolbar?
    >

  • Trigger a workflow from module pool screen at save button

    Hi,
    I am new to workflow.Please help me.My requirement is trigger a custom workflow from module pool screen at save button.
    Scenario is: Create a Z screen for material creation and after pressing save button workflow should trigger to approver and approver emailid should be fetch from Z table and have to provide a link in work flow for Z t-code which displays a report of material pending for approval..
    Please suggest me process how i can acheive this..
    Thanks

    Hi,
    If you're using standard bapi's to save the material, you can then use either the standard events which are already triggered or you coul add a change document for material changes or creation.
    Then this event can be the trigger of your custom workflow.
    Kind regards, Rob Dielemans

Maybe you are looking for

  • Mac not recognizing AP Express after AP Extreme password change...

    I have an Airport Extreme Base Station and a Airport Express as an extender. I went on Airport Utility and changed my wireless password. Since then my macbook pro is unable to recognize my Airport Express and the yellow light is flashing on the unit

  • IPod headphone-jack no longer making connection

    The headphone-jack connection is worn-out. I've tried using 3 different headphones with the same male specifications and music was still audible from the iPod and not through any of the headphones. Thus, I am sure that the iPod headphone-jack is malf

  • Generating error with export to PDF action

    Hi,<br> After we have implemented Nakisa OrgChart Accelerated (live solution) successfully, we installed export pack 3.0 correctly. If we want to export an OrgChart to PDF a message pops up saying that an error occurred while generating the file.<br>

  • Exporting DVCPROHD 720p 24p

    Hi, Just upgraded from premiere pro 1.5 to CS3 and am having a bit of trouble exporting footage in the correct aspect ratio. When I export movie it always puts it into a 4:3 image when the footage was shot 16:9. Please help.

  • How catch messages from LDAP

    Hi all, i found this on the OID documentation (9.2 Oracle Identity Management Attribute Reference): 9.2.467 pwdExpireWarning Description The number of seconds before a password expires that a warning should be sent to the user. The user will see the