Approve quotation on action of custom button

Hello experts,
For some requirement, standard approve/reject button is to be hidden and based on certain zfield status, and custom button action, quotation should be approved. I am able to add the button. The quotation is created in an external system and is transferred to SRM. In SRM system, the quotation is created using BBP_PD_QUOT_CREATE. The quotation is visible in approver's UWL. Now when approver opens the quotation, custom button should be displayed instead of standard buttons 'Approve' or 'Reject'. Upto this, it is done.
On the action of the button, I am creating instance of class /SAPSRM/CL_PDO_BO_QTE_ADV in approval mode and using the method /sapsrm/if_pdo_bo_qte~approve or /sapsrm/if_pdo_bo_qte~action_approve etc.. none of them is working. For all the methods above, i am getting error - 'A PDO layer update method was called in display mode'.
Could you please guide me how can I approve the document using custom button action?
Regards,
Yayati Ekbote

Hello experts,
For some requirement, standard approve/reject button is to be hidden and based on certain zfield status, and custom button action, quotation should be approved. I am able to add the button. The quotation is created in an external system and is transferred to SRM. In SRM system, the quotation is created using BBP_PD_QUOT_CREATE. The quotation is visible in approver's UWL. Now when approver opens the quotation, custom button should be displayed instead of standard buttons 'Approve' or 'Reject'. Upto this, it is done.
On the action of the button, I am creating instance of class /SAPSRM/CL_PDO_BO_QTE_ADV in approval mode and using the method /sapsrm/if_pdo_bo_qte~approve or /sapsrm/if_pdo_bo_qte~action_approve etc.. none of them is working. For all the methods above, i am getting error - 'A PDO layer update method was called in display mode'.
Could you please guide me how can I approve the document using custom button action?
Regards,
Yayati Ekbote

Similar Messages

  • Tin Can Statements using Javascript on Custom Buttons

    Has anyone got custom Tin Can Statements working using Javascript Actions on custom buttons using advanced actions in Adobe Captivate?

    Thanks for the reply.  So just to be sure, there is no way to approach doing what is mentioned below: 
    Captivate may be using TinCanJS (http://rusticisoftware.github.io/TinCanJS/) under the hood. If it is, then it might be exposing a global `TinCan` variable and potentially another global that is an instance of that constructor that has the configured LRSs. If that is the case, then it should be trivial to add a call to the 'sendStatement' method of that interface and it should Just Work (tm). You should be able to launch the course and use browser developer tools to inspect the global namespace to see what objects are available.
    If the TinCan global is there but you don't see anything representing an instance of it, then you can always create your own instance and use the 'url' property of the constructor to get one configured with an LRS instance from the launch parameters. Then follow the same procedure as above.
    If the TinCan global isn't there then you can load TinCanJS yourself which will give you that global and then follow the procedures in both of the above. The Tin Can Prototypes (http://tincanapi.com/prototypes/) include examples of working with the TinCanJS library both in launch and non-launch scenarios. From a developer purist perspective loading the lib as your own dependency is really more proper anyways so that you control the dependency and its version, but TinCanJS doesn't currently support a "no conflict" type of feature without special build, so if it is already present you are best off using the version loaded on the page so as not to risk breaking other parts of the course.

  • Add a custom button on notification page and open a oaf page after button

    Hi All,
    My Requirement is add a custom button on notification page and after button click with take some parameter from notification page like supplier_id and org_id then open a new oaf page and show supplier credit and debit balance but problem is that button is only enable to a ap invoices notification not for other type of notification.
    how to take approach/action i don't know.
    it is possible through OAF personalization/customization or it is part of work flow customization.
    Navigation path - payable->worklist->open notification and Type of notification also there
    Type should be matched with AP_Invoices type notification then custom button enable.
    Please Let me know is it possible or not. If possible how to achieve this. ...................................it's argent...plz help me
    Edited by: 815572 on Nov 25, 2010 1:15 AM

    Hi Irk,
    My notification came in given below format (in table) but my custom button only enable for Contract Approval Type not for others..........i hv attach a button on notification page (subject-Contract 21969-R17......)
    From Type Subject Sent
    Taylor, Phillip Contract Approval Contract 21969 - R17-AUG-07 06:19:27 has been approved by Taylor, Phillip 22-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21975 - R17-AUG-07 06:22:18 for AT&T Universal Card (52,500.00 USD) has been published online 19-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21969 - R17-AUG-07 06:19:27 for AT&T Universal Card (15,000.00 USD) has been published online 19-Aug-2007
    If I just put a button SHOW BALANCE just like notification button APPROVE, REJECT, REASSIGN but this button shows all types of notification and my req. is this button show only for Contract Approval type notification. how to handled this issuesss ?
    if extend the co of notification page then how to handle TYPE value from worklist page ....please write proper code if u hv any idea...........
    Thanks,

  • Add customer button on header level for BUS2201(PO) - SRM 7.0

    Hi,
    I want to define a customer button (with action) within PO on header level.
    Web Dynpro           FPM_OIF_COMPONENT
    Configuration          /SAPSRM/WDCC_FPM_OIF_PO_PURCH
    Task:
    Add a customer button besides standard Export button.
    I assume-afterwards I have to enhance the method onactionbutton_pressed to create my event when customer button is pressed, right?
    Could anyone please guide me how to solve this issue?
    Thanks and best reagrds
    Andreas

    Hi,
    Here are the steps to add the button, I wrote it in other thread. In my case for PO is not displayed, try to follow the steps and if you are able to show the button tell me how please.
    Add custom button in PO
    And yes ,you need to create an enhancement point in the view CNR_VIEW of the component FPM_OIF_COMPONENT, you need to create a post-exit in the method BUTTON_PRESSED, here you have a sample code:
    DATA: lv_id TYPE string,
            lv_event_id TYPE fpm_event_id.
      DATA: lo_nd_oif_application TYPE REF TO if_wd_context_node,
            lo_nd_variant TYPE REF TO if_wd_context_node,
            lo_nd_toolbar TYPE REF TO if_wd_context_node,
            lo_nd_button TYPE REF TO if_wd_context_node,
            lo_el_button TYPE REF TO if_wd_context_element,
            lo_nd_other_functions TYPE REF TO if_wd_context_node.
      DATA: lv_substring TYPE string,
            lv_substring_i TYPE i,
            lv_node_name TYPE string,
            lv_position TYPE string,
            lv_length TYPE i,
            lv_seq TYPE i.
      DATA:lt_keys TYPE STANDARD TABLE OF string,
           lv_key LIKE LINE OF lt_keys.
      TYPES:BEGIN OF y_parameters,
        name TYPE string,
        value TYPE string,
      END OF y_parameters.
      DATA: lt_parameters TYPE STANDARD TABLE OF y_parameters,
            ls_parameter LIKE LINE OF lt_parameters.
      DATA: lv_boid      TYPE bbp_guid,
            lv_botype    TYPE string,
            lv_objkey TYPE  swo_typeid,
            lv_objtype  TYPE  swo_objtyp,
            lv_object_id TYPE crmt_object_id_db,
            lv_process_type TYPE crmt_process_type_db,
            lv_object_type TYPE crmt_subobject_category_db,
            lv_rfc TYPE zgrs_co_logsys-rfc,
      DATA: lo_fpm TYPE REF TO if_fpm.
      lo_fpm = cl_fpm_factory=>get_instance( ).
      lo_fpm->raise_event_by_id( lv_event_id ).
      lt_keys = lo_fpm->mo_app_parameter->get_keys( ).
      LOOP AT lt_keys INTO lv_key.
        ls_parameter-name = lv_key.
        lo_fpm->mo_app_parameter->get_value(
          EXPORTING  iv_key = lv_key
          IMPORTING  ev_value = ls_parameter-value  ).
        INSERT ls_parameter INTO TABLE lt_parameters.
      ENDLOOP.
      lv_id = wdevent->get_string( 'ID' ).
      lo_nd_oif_application = wd_context->get_child_node( name = wd_this->wdctx_oif_application ).
      lo_nd_variant = lo_nd_oif_application->get_child_node( name = wd_this->wdctx_variant ).
      lo_nd_toolbar = lo_nd_variant->get_child_node( name = wd_this->wdctx_toolbar ).
      lo_nd_other_functions = lo_nd_toolbar->get_child_node( name = wd_this->wdctx_other_functions ).
      lv_substring = lv_id.
      lv_length = STRLEN( lv_id ).
      lv_seq = lv_length - 3.
      IF lv_id+lv_seq = '_CP'.
        lv_substring = lv_substring(lv_seq).
        lv_id = lv_substring.
      ENDIF.
      WHILE lv_substring CS '_'.
        lv_position = sy-fdpos + 1.
        lv_substring = lv_substring+lv_position.
      ENDWHILE.
      IF lv_substring CO '1234567890'.
        lv_substring_i = lv_substring.
      ENDIF.
    * Item level action;
      IF lv_id CS '_item'.
    * Or header level action;
      ELSE.
        IF lv_id CA '0123456789'.
          lv_position = sy-fdpos - 1.
          lv_node_name = lv_id(lv_position).
          IF lv_id CS 'OTHER_FUNCTIONS'.
            lo_nd_button = lo_nd_other_functions->get_child_node( name = wd_this->wdctx_button ).
            lo_nd_button->set_lead_selection_index( index = lv_substring_i ).
            lo_el_button = lo_nd_button->get_element(  ).
            TRY.
                lo_el_button->get_attribute(
                EXPORTING
                  name =  `EVENT_ID`
                IMPORTING
                  value = lv_event_id ).
              CATCH cx_wd_context.
            ENDTRY.
            READ TABLE lt_parameters INTO ls_parameter WITH KEY name = 'SAPSRM_BOTYPE'.
            lv_botype = ls_parameter-value.
            READ TABLE lt_parameters INTO ls_parameter WITH KEY name = 'SAPSRM_BOID'.
            lv_boid = ls_parameter-value.
    *         Obtain the object_id;
            SELECT SINGLE object_id INTO lv_object_id
             FROM crmd_orderadm_h
             WHERE guid EQ lv_boid.
    *         If not Z button, exits;
            IF lv_event_id(1) NE 'Z'. EXIT. ENDIF.
    *      Actions;
            CASE lv_event_id.
              WHEN 'ZBUTTON'.
              WHEN 'ZBUTTON2'.
            ENDCASE.
          ENDIF.
        ENDIF.
      ENDIF.

  • Is there a command to Submit a form from a custom button?

    I am going to add a custom button to allow the user to click on the button to Print the form.  I have found the example code of how to do this.
    My question is as follows:
    Is there a command I can add to a custom button to Submit the form after it prints?
    I want the submit to be automatic after they print using my custom "Print" button on the form.
    Thanks so much,
    Susan

    Here is who you would do this :
    1) Import your PDF in FormsCentral
    2) Save the Submission Enabled Form from the Distribute Tab
    3) Open the PDF in Acrobat XI
    4) File > Save a Copy...
    5) Open the copy in Acrobat XI
    6) Tools > Forms > Edit
    7) Find the Submit button on the form right click on it to show the properties dialog
    8) Go to the Actions Tab
    9) Select "Run a Javascript" and click on the "Edit" button
    10) Add the this.print() javascript line to the button's javascript
    11) Close the dialog with "OK"
    12) Close the property dialog with "Close"
    13) Click on "Close For Editing" (top right corner in Acrobat XI)
    14) File > Save as Other... > Reader Extended PDF > Enable More Tools (includes form fill-in & save)...
    15) Test your form (make sure it submits to FormsCentral without errors)
    Hope this helps
    Gen

  • Adding a custom button in agile web client GUI.

    Hi,
    Is it possible to add a custom button in agile web client GUI?. Since i am totally new in the agile world, please provide some guidelines.
    thanks,
    Uday

    Yes, there are ways to add buttons to the user interface. The solution depends on your use case. If you are wanting to add a button in the same area that you see other action buttons, like the Save or Edit buttons, then you can do by following the instructions in the Navigation Extensibility Guide. You can find this document in the Extensibility Pack documentation online. All the online documentation can be found at http://www.oracle.com/technetwork/documentation/agile-085940.html#plmprocess - select the Extensibility Pack and you'll find the Navigation Guide in there.

  • Custom button to URL using target="_blank" RH9

    Hi,
    Ive got a custom button in my Navigation toolbar that links to a web site. I'd like the site to launch in a new tab/window, but I can't seem to use target="blank" when modifying the code in whskin_tbars.htm
    Does anyone have a JavaScript action that would do this, or is it not possible?
    It would be nice for the user not to lose the help when being sent to the site.
    Mark

    Sorted it after a bit of looking around (my JavaScript knowledge is a bit limited!). If anyone needs to do this, enter the following in the OnClick field:
    window.open('http://www.mysite.com', '_blank');
    Mark

  • Can Captivate 3 Support a Rollover and a Custom Button in the Same Area?

    Hello,
    I'm trying to create a functionality in a slide that includes both a custom button and a rollover text box.  I'd like both the button and the text box to occupy the same area and trigger off the same MouseOver action.
    I'm finding that only one or the other will trigger on the MouseOver.  It seems like only the top-most object (whether it is the button or the rollover text box) will trigger on the MouseOver.
    I've considered multiple workarounds, but each of them I've thought about tend not to fail for one reason or another.  Here's what I've considered so far:
    Create a rollover slidelet.
              *  I can't find a way to import a button into the rollover slidelet.  Also, I can't use a rollover image in the slidelet because I need the _down, _up, and _over states.
    Create a button with transparent properties outside the bounds of the actual button to include the rollover text.
              *  Since I have so many buttons in a row, there's no way to exclude certain portions of the button that might overlap the rest of the buttons.  Also, I don't want people to MouseOver where the text box might be to enable the button.
    Create a click to jump to the button.
              *  This sacrifices the true functionality of the simulation.
    Finally, I don't want to use any other program other than the Captivate series of programs to complete this action.  I know I can import an animation, but I currently can't support that as a solution.
    I'm guessing that I've reached a Captivate limitation.  However, I figured I'd give a last ditch effort to see if there's anything out there that might be a clever workaround I can't figure out.
    So, what do you all think?
    Cheers,
    Chris

    Hi again
    I would then surmise you find yourself upstream with no visible means of propulsion.
    Please consider submitting a Wish Form to ask for this capability to be considered in the next version. (Link is in my sig)
    I'm not sure how many folks would actually realize there are three states. The down state happens so briefly it's hardly noticeable.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Custom Button in Sap Standard webdynpro Component

    Hi Friends,
    i have one requirement
    1. want to added one custom Button in SAP SRM standard webdynpro component - This is done using component configurator
    2. but when i click this button, one   Z webdynpro component should run,
    Can any one please give me  idea on this
    Thanks and Regards
    Kumar Srini

    Hi,
    copy below given code and paste inside of your on action method,
    Note: just change the url address
    data: l_window type ref to if_wd_window_manager.
    data: l_cmp_api type ref to if_wd_component.
    data: str             type stinrg.
    data: result        type if_wd_window.
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
    application_name = 'ZWEBDYNPRO COMPONENT NAME'
    IMPORTING
    out_obsolute_url = str.
    l_cmp_api = wd_comp_controller->wd_get_api( ).
    l_window = l_cmp_api->get_window_manager ( ).
    result = l_window->create_external_window(
    url = str ).
    result->open( ).

  • Adding custom buttons to the Rich Text Editor in CQ

    Hi,
    I have added custom buttons to the rich text editor in order to allow our editors to add specific content, such as popovers, custom videos and other data necessary data.
    I have successfully modifed the Rich Text editor so, that it includes the custom buttons in the actions panel.
    I have also managed to make the buttons work and include the data where necessary, when user highlights the text and clicks on a certain button.
    The last bit I am struggling with, is the visual feedback we give to the users when this text has associated action with it.
    E.g. when we select this text and make it bold when we click on the word B the button B becomes highlighted in the actions panel, later when we continue typing our text and click again on "bold" the letter B becomes highlighted again.
    Is there any button related callback/method I could overwrite to add this functionality and make my button highlighted ?
    Thanks,
    Puzanovs

    After lot's of thinking found a solution....
    Essentially the first step is to extend the CQ.form.rte.plugins.Plugin in your custom button.
    Then during the UI initialisation we create our "custom"
    var pressButton = new ui.TbElement("press-button", this, true,this.getTooltip("press-button")); // Essential extend of the button
    setInterval(function() {
                     if(window.jQuery) {
                         window.jQuery(document).ready(function () {
                             window.jQuery(".x-edit-glossary-insert").css({width:45,"background-image":"none"}); // Ignore the background
                             window.jQuery(".x-edit-glossary-insert").text("Press Button"); // Set the name
                            $(document).on({
                                mouseenter: function(){
                                  window.jQuery(".x-edit-glossary-insert").html("<b>Press Button</b>"); // Set the name bold                        
                                mouseleave: function(){                       
                               window.jQuery(".x-edit-glossary-insert").html("Press Button"); // Set the name normal
                             }}, '.press-button');
                 }, 100);
    tbGenerator.addElement("press-button", plg.Plugin.SORT_LISTS, pressButton, 10); // element is inserted
    Every time the element is inserted I add the following html
    <span class="press-button">Test peter</span>
    Now, every time in the editor, the content editor mouse overs the custom button it is higlighted in the RTE))

  • Custom button to print

    Hello all,
    I created a custom button that I want to use to print the slide instead of the generic widget from Captivate. I thougt I would create a button that wouold have an advanced action that would execute a window.print() japavscript, but it wont print. I basically want what the Print widget does execpt on the cusomt button I made. Can someone please help. Thanks.
    UPDATE:
    I decided to use the Print widget that is already there, however, it prints really large. Is there a way to control the size of the print out or make it landscape?
    Thanks, again.

    Hello,
    Welcome to Adobe Forums.
    When you click on the button, does it bring up the Print Window ?
    Thanks,
    Vikram

  • Custom button in FPM component

    Hello experts,
    In a requirement i want to add custom button in FPM_OIF_COMPONENT. For this i followed following steps -
    1. In SE80 transaction open FPM_OIF_COMPONENT
    2. Select the requisite component configuration.
    3. Start Configurator.
    4. In configuration, enter component name & configuration ID then select option 'Continue in Display mode'.
    5. In display mode, in 'Additional Functions', select 'Create customization' or if configuration already exists, then select 'Edit Configuration'.
    6. In toolbar schema, I added one toolbar element as 'Other Function' and set the properties as enabled checked and visibility as 'Is Visible'.
    7. Save.
    8. After this to control the action of the new button, i added the action 'ZACT' in 'CNR_VIEW' by enhancing the view.
    9. In SPRO->SRM->Cross application basic settings->Extensions & fieldcontrol->Assign actions, i assigned the action to set type and business object.
    10. Then in SPRO->SRM->Cross application basic settings->Extensions & fieldcontrol->Control Actions->Configure control on header level, I added PDO action type, BO type, PDO action enabled, dynamic class & method to control the button visibility.
    After doing all the steps above, when i open the required window in SRM portal, I am unable to view the custom button added.
    Please let me know where i am going wrong.

    Hi Yayayi,
    You need to refer FPM event id of the corresponding button but not action id. As you said you have given FPM_EVENT_ID as ZACT, write the code in process event of component controller of  your WDP component in which IF_FPM_UI_BUILDING_BLOCK interface has been re-implemented.
    But dont forget to follow the below steps shown in snapshot.
    Hope this helps you.
    Thanks
    KH

  • Trigger change badi when click a custom button

    hello guys i want to trigger the change badi when a user clicks on a button.  Any help would be create?
    I am using the set change by client setting it to true and then firing the refresh but it is not working?  Any clues?  Thank you.

    As I told you in that linked thread, I'd suggest trying to use SET_CHANGED_BY_CLIENT method on the context of your webdynpro. This is sufficient to make the system aware of a change and trigger the CHANGE badi.
    As far as I've observed doing my tests, the CHANGE badi is then triggered after an event that will follow the SET_CHANGED_BY_CLIENT execution.
    So I'd suggest two test:
    - pre-exit of the method you trigger when the user press your custom buttom: set_changed_by_client and then execute your code. See if the badi is then triggered;
    - if not: you could "force" a subsequent action after the button press, for example, a simple REFRESH of the view. Then I'm sure that, after the set_changed_by_client method, the badi will surely be triggered.
    Please be aware that I'm absolutely NOT a guru on these arguments, so I'm trying to give you some workarounds I implemented on an SRM 7 system. Probably some guru will have better and cleaner solution for your task, but as far as I've seen, these ones should meet your needs.

  • 11.5.10 UI Custom Button to Remove/Delete an Instance?

    Hello,
    I'm in 11.5.10 and I have created a UI from scratch for my base model and on it I have created a Custom Button with the the Associated Model Node->Specified->My Sub Model along with the Button Action->Add Instance. When I test the model i'm able to click my custom button that I made to make as many instances of the child model as I want, however, when I go to the UI in developer mode for the child Model i try to make a custom button for it but there is not a delete instance action. Leading me to my question, how do I then delete the child models that i have spawned off? Like say on my main model I clicked my add instance button 5 times but then I decided i would like to remove one of them, how to do this?
    Thanks

    Hi;
    In that it mentioned how to create custom top but i want to remove itI know :) As i said make steps from reverse(start from application than delete files from OS)
    Regard
    Helios

  • ALV  issue - capturing user changes in editable fields using custom button?

    Hi,
    I created a custom button in ALV tool bar.   And also in my ALV grid I have couple of fields Editable option. User can change values for these 2 fields.
    My question is -
    After changing values for these editable fields(more than 1 record)  , user will click on custom button and then I have to update all the user changed values in to my internal table(lt_tab)  and then I have to process logic.
    Problem is when user click on Custom button in ALV tool bar it is not having the changed values in lt_tab table.
    Only when user clicks  some thing on ALV grid records or fields then it is getting all the changed values in to lt_tab.
    Can any one tell me how I can get changed values when user clicks on custom button?
    1. Can we place custom button in ALV Grid? instead of ALV tool bar? 
    or
    How I can capture user changes when they click on custom button?
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    TABLES
          T_OUTTAB                          = lt_tab
    Please check this logic-
    CASE r_ucomm.
        WHEN '&IC1'.
    - It_tab  having all changed field values
      WHEN 'custom button'.
          lt_tab  - not having any changed values - showing all initial lt_tab values.
    I highly appreciate your answers on this.
    Thanks.
    Rajesh.

    Hi,
    Use this code, its working:-
    *&      Form  ALV_DISPLAY
    *       SUB-ROUTINE ALV_DISPLAY IS USED TO SET THE PARAMETERS
    *       FOR THE FUNCTION MODULE REUSE_ALV_GRID_DISPLAY
    *       AND PASS THE INTERNAL TABLE EXISTING THE RECORDS TO BE
    *       DISPLAYED IN THE GRID FORMAT
    FORM alv_display .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
    *     I_INTERFACE_CHECK                 = ' '
    *     I_BYPASSING_BUFFER                = ' '
    *     I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = v_rep_id       " report id
         i_callback_pf_status_set          = 'PF'           " for PF-STATUS
         i_callback_user_command           = 'USER_COMMAND' " for User-Command
    *     I_CALLBACK_TOP_OF_PAGE            = ' '
    *     I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *     I_CALLBACK_HTML_END_OF_LIST       = ' '
    *     I_STRUCTURE_NAME                  =
    *     I_BACKGROUND_ID                   = ' '
    *     I_GRID_TITLE                      =
    *     I_GRID_SETTINGS                   =
         is_layout                         = wa_layout      " for layout
         it_fieldcat                       = it_field       " field catalog
    *     IT_EXCLUDING                      =
    *     IT_SPECIAL_GROUPS                 =
         it_sort                           = it_sort        " sort info
    *     IT_FILTER                         =
    *     IS_SEL_HIDE                       =
    *     I_DEFAULT                         = 'X'
         i_save                            = 'A'
         is_variant                        = wa_variant     " variant name
    *     IT_EVENTS                         =
    *     IT_EVENT_EXIT                     =
    *     IS_PRINT                          =
    *     IS_REPREP_ID                      =
    *     I_SCREEN_START_COLUMN             = 0
    *     I_SCREEN_START_LINE               = 0
    *     I_SCREEN_END_COLUMN               = 0
    *     I_SCREEN_END_LINE                 = 0
    *     I_HTML_HEIGHT_TOP                 = 0
    *     I_HTML_HEIGHT_END                 = 0
    *     IT_ALV_GRAPHICS                   =
    *     IT_HYPERLINK                      =
    *     IT_ADD_FIELDCAT                   =
    *     IT_EXCEPT_QINFO                   =
    *     IR_SALV_FULLSCREEN_ADAPTER        =
    *   IMPORTING
    *     E_EXIT_CAUSED_BY_CALLER           =
    *     ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = it_final      " internal table
       EXCEPTIONS
         program_error                     = 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.
    ENDFORM.                    " ALV_DISPLAY
    *&      Form  USER_COMMAND
    *       SUB-ROUTINE USER_COMMAND IS USED TO HANDLE THE USER ACTION
    *       AND EXECUTE THE APPROPIATE CODE
    *      -->LV_OKCODE   used to capture the function code
    *                     of the user-defined push-buttons
    *      -->L_SELFIELD   text
    FORM user_command USING lv_okcode LIKE sy-ucomm l_selfield TYPE slis_selfield.
    * assign the function code to variable v_okcode
      lv_okcode = sy-ucomm.
    * handle the code execution based on the function code encountered
      CASE lv_okcode.
    * when the function code is EXECUTE then process the selected records
        WHEN 'EXECUTE'. "user-defined button
    * to reflect the data changed into internal table
          DATA : ref_grid TYPE REF TO cl_gui_alv_grid. "new
          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.
          ENDIF.
    * refresh the ALV Grid output from internal table
          l_selfield-refresh = c_check.
      ENDCASE.
    ENDFORM.
    This will reflect all the changes in the internal table. Now you can include your logic as per your requirement.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

Maybe you are looking for

  • Install downloaded software other than on C: drive

    I purchased this morning and downloaded the latest 64 bit version of Elements and Premiere to my E: drive (C: drive has Windows Ultimate 7 64 bit only). I have six files downloaded - one Application file and 7zArchive file set each for Photoshop Elem

  • Problem with image map

    I am trying to create an image map for the map found on my homepage - http://www.smartcharteribiza.com/ I have followed a couple of tutorials and everything seems to be working in photoshop, but when I upload the image to wordpress, the map does not

  • Setting a management IP on a Catalyst 4705E

    Hello everybody, I admit I am not the best when it comes to Cisco kit, so I was wondering whether somebody can help me. My company has just taken over a business centre where there is a 4705E on each floor. The two switches on the ground and first fl

  • Information on Best Practice usage of PopulateAttribute

    Using JDeveloper 11.1.1.4.0 I have a requirement where I use the BC layer as my data service for my UI. But this BC is not connected to the database but rather relying on a WebService. Everything is returning well based on NO-DB Transaction and Progr

  • Integrating Crystal reports with xcelsius

    We are trying to generate few reports using Crystal reports application. There are 7 different requirements in total and we want to show a summary of all the requirements in a single report. Since the qualifications for each of the requirement are di