How to add a custom button in WD screen to call a workflow in siebel?

Hi All,
We have a requirement to have a custom button at the summary screen(after the rule execution) "Create Opportunity", on clicking on it a new opportunity record should be created in Siebel. As we know the "Save" link calls "PolicyAutomationSaveSession" inbound web service method and saves the information in session table and we can modify the PreSession and PostSession workflows. But we are not sure how it calls the service method and where is the mapping defined.
Can you please help me on how to add a custom button and how to invoke a workflow in siebel side to implement this requirement?
Also is there any document which can help me to add a custom button in screen and to add the code behind the button?
Thanks in advance!!
Regards,
Subhradeep

Subhradeep,
Closing a Web Determinations window is essentially the same as closing any HTML window. It involves javascript, which you would have to add to the Web Determinations templates.
Essentially the javascript command to close a window is {{window.close}} or {{top.close}}
For timing, you might be able to use the setTimeout function of Javascript (see: http://www.w3schools.com/jsref/met_win_settimeout.asp)
At the risk of exposing exactly how bad my javascript skills are, I have attached a super-simple html fragment, a page that closes itself after 3 seconds. It may help you get started in the right direction. In general closing a window is a fairly dubious activity and is often not permitted by certain browsers. This html page at least works in Internet Explorer.
<html>
     <head>
     <script language="JavaScript">
          setTimeout(closeMe, 3000);
          function closeMe() {
               alert("This window will close");
               top.close();
     </script>
     </head>
     <body><B>This window will close in three seconds</B></body>
</html>
{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to add a custom button on Application Toolbar for ME21N, ME22N & ME23N

    Hi Experts,
    I am new to this forum. I hope someone will help me.
    My Requirement is as :
    I want to add a new custom button on Application Toolbar for ME21N, ME22N & ME23N.
    There are already standard buttons in this toolbar which is Document Overview On, Hold, Personal Settings etc.
    So after the 'personal settings' button i want add a new button and want to write a code which will open one custom screen.
    I am not able to find any exit for this....
    Please help...
    Thanks....

    Hey Buddies
    Try below BADI : ME_PROCESS_PO_CUST
    and check with required methods.
    1)PROCESS_ITEM
    2)CHECK
    3)POST
    Regards,
    Pranav

  • How to add a custom button?

    Hello Gurus,
    I'm very new to FPM and I got a question regarding to adding a custom button in portal.
    I have read some documents but couldnt figure it out.
    Can somebody please clarify the issue?
    Thanks in advance.
    Ferhat
    Edited by: iltern on Feb 29, 2012 7:48 PM

    Hi Ferhat
    First you need to identify in which area you want to add the buttom.
    Then expand  the webdynpro application for that webdynpro component.
    Under that you will see application configuration. Dobule click on the configuration name .
    Then on right hand side you will get the option Open configuration.
    This will take you to the application configuration screen .
    Click on  Component Configuration.
    Then click on the edit button .
    After pressing the edit button on the screen there will be option for Adding the toolbar button.

  • Add on custom button to ALV toolbar in std tcode ME51N, ME52N and ME53N.

    Hi All,
    I have the requirement to add on the custom button to ALV toolbar in ITEM OVERVIEW for standard transaction ME51N, ME52N and ME53N. Does anyone know what enhancement point or user exit i should apply and how i can add on the custom button?
    Thanks.

    There are no user exits or badi's for COOIS. You may have to make copy of the PPIO_ENTRY to ZPPIO_ENTRY including all the varians without changing their names like copy SAP&COOIS to SAP&COOIS. Create a T-Code ZCOOIS and replace COOIS in variant SAP&COOIS to ZCOOIS not in the name of the variant but in the field "Check Authorization for".
    The PF-Status is found in the include LCOISOUTPUTF16 which is located in the function group COISOUTPUT you may have to copy that too. Finally you need to copy SAPLCOISOUTPUT with its GUI status GENERAL and add your custom button there.

  • How to add a custom multimedia playback control to add a time line of what is being played?

    How to add a custom skin in multimedia playback control to add a time line of what is being played?  As it is being played...
    I need a time line so any part of the what is being played can be found by time, ie at 1 minute and 30 seconds in and continues for 45 seconds out of a 50 minute audo.

    If you're talking about a playback controller within the rich media annotation (RMA) then you need to write your own widget in Flash or Flex, and then place the video and widget files using the multimedia "Add Flash" tool in Acrobat instead of the "Add Video" tool. Aside from a bunch of proprietary code to handle events, commenting and the API (which you can live without for basic play-pause-scrub applications), video RMAs are just an embedded SWF file containing an FLVPlayback component. The skin and the video file itself are added to the RMA as resource entries. You can build your own version and have it display whatever controls you want, provided you know how to write ActionScript!
    If you're talking about a controller that's external to the RMA (e.g. a series of links or buttons elsewhere on the page) then in the past you would use FLV video files and the 'cue points' feature that's built into Acrobat - however Adobe removed the ability to create FLV files in the latest version of CC, so unless you have CS6 or earlier it's a non-starter. Instead you can manually set playback start points using the special "multimedia operations" link action in your PDF - though stopping playback at a defined point is very difficult without FLV cues. For that you're back to writing your own widget.

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

  • How to add header and button

    i want to add header to my ALV report
    i am using cl_salv_table method
    i want to write a few sentences.
    in addition i want to add a button to my report,
    which will display the values the user put in the selection screen.
    please give me detailed explenation
    thanks

    Display header:--steps
    1. call the factory method and it reruns the ref variable..
          try.
              call method cl_salv_table=>factory
                exporting
                  list_display = list_display
                importing
                  r_salv_table = vref_alv
                changing
                  t_table      = i_sflight.
            catch cx_salv_msg into oref_error.
              l_text_alv_e = oref_error->get_text( ).
              message i000 with l_text_alv_e.
              leave list-processing.
          endtry.
    2. Create header object and attached it with ALV
      data: lr_grid type ref to cl_salv_form_layout_grid.
    1st step: create the grid object
      create object lr_grid.
    2nd step: add some text items
      lr_grid->create_header_information( row = 1  column = 1
                             text = 'Flight List Grp ##'(fll) ).
      lr_grid->create_text( row = 2  column = 1
                             text = 'Please check utilization'(uti) ).
    3rd step: declare grid as header of list
      vref_alv->set_top_of_list( value = lr_grid ).
    Display - button steps:
    1. Create pf status and Set pf status:
    Create pf-status and add ur custom button with a fcode then set this status with alv.
      vref_alv->set_screen_status( pfstatus = 'SALV_TABLE_STANDARD'
                                report = sy-repid
                           set_functions = p_alv->c_functions_all ).
    2. Get all the events and set the event handler for this added button.
      data: lr_event type ref to cl_salv_events_table.
    get the EVENT object
      lr_event = p_alv->get_event( ).
      set handler :
      lcl_handler=>on_added_function for lr_event,
    2. Create the local class to handle this event:
    class lcl_handler definition.
      public section.
        class-methods:
        on_added_function for event added_function of cl_salv_events_table
                importing e_salv_function, " type salv_de_function
    endclass. "lcl_handler definition
    CLASS lcl_handler IMPLEMENTATION
    class lcl_handler implementation.
      method on_added_function.
        data: l_oref_columns type ref to cl_salv_columns_table,
              l_oref_column  type ref to cl_salv_column_table,
              l_oref_column1 type ref to cl_salv_column,
              l_except1      type ref to cx_salv_not_found,   "Exception
              l_text1        type string,                     "Exception msg
              l_lvc_s_colo type lvc_s_colo.
        case e_salv_function.
          when '<fcode of ur button>'.
        write ur logic here.
       endcase.
      endmethod.
    endclass. "lcl_handler IMPLEMENTATION
    Regards,
    Joy.
    Edited by: Joyjit Ghosh on Jul 13, 2008 12:16 PM

  • How to add a customer field or extn coll in the tab1&2&3..of a UDO doc?

    Hi Experts,
    Does anybody know how to add a customer field or extn collection in the unused  tabs like tab1&2...in a UDO document?
    Thanks for your reply in advance.
    Thanks & Regards,
    David

    Hi Subhasini - <br><br>
    It seems you have discovered that adding an extension field to the Project Suppliers collection is not possible; many of the collections in E-Sourcing do not support extensions and, even when they do, typically, the table view of the data cannot be changed to show the extension value (it would only show on a "details" page, for example.<br><br>
    The solution that you have proposed may work, although I think there is a slight mistake in your logic. I believe you are saying that the script would take data from the newly created extension collection and populate data in the out-of-the-box vendor collection. <br><br>
    In thinking about your solution, I believe the benefit is that any logic and reporting based on the standard collection continues to function correctly (e.g., creating an RFx from the Project will use the out-of-the-box vendor collection).<br><br>
    That being said, I generally am reluctant to do a "replace" of a standard collection with an extension collection as you propose. My recommendation is that you challenge the customer on the importance of this requirement. For example, could the code be maintained on the vendor record? Why is it maintained in Projects? If it is maintained in the vendor record, could you just populate a read only collection the Projects that shows the vendor and code? Could a report be written that can be launched from within the Project to show the values? How does the customer intend to use this field? Could the display name of the vendor object be the right place for it?<br><br>
    I hope these ideas are helpful.<br><br>
    Regards,<br><br>
    Rob<br><br>

  • How to create a custom Button in a SNP planning book

    Hi Experts,
    I created my own Planning Book and Dataview in SNP with 3 Key Figures: KF1, KF2, KF3. Now I want to create one my own button with Macro so that when I press that button, the Macro will run to calculate: KF3 = KF1 + KF2.
    I know that I can drag this Macro to one of default events like: Default, Level Change, Start. But actually, I want to create my own button so that I can handle the event as I want.
    My question are:
    1. How to create a custom button on the toolbar of SNP Planning book and writing macro for the button?
    2. Please give me any document, material teaching about writing macro and relating to my above scenario.
    Thanks very much!
    Duyennx
    Edited by: xuanduyen on Sep 6, 2011 9:20 AM

    Hi,
    Access the transaction "/n/sapapo/advm". In the list select your planning book/ data view and click 'Start Macro Builder' button.
    In the Macro builder screen, drag and drop your macro from Macro depot to the work area.
    Right click on your macro name and select 'properties'. In the pop up, next to the Assigned Push button field, there is a button 'Choose'. Click that. It will display all the available icons. In standard system, it displays more than 1000 icon. Choose any one icon which is suitable for your macro function. Close the pop up and save the macro. This will assign a push button to your macro.
    In the Planning book tool bar, you can see the selected icon in the header tool bar. Just by clicking that icon, you can execute the macro interactively.
    And I don't know whether we can include/design our own icon. But there are already 1000+ standard icons to choose.
    Regards,
    Manimaran M.

  • How to add a Custom field in the Standard SAP Sales Order main screen

    Dear Experts,
    We have a requirement of adding a Custom field in the Sales Order screen. I know how to add the Customer field in the Additional data B tab of the Sales Order Header Screen as that is the screen user exit provided by SAP. Can someone tell me how to add the Custom field in the Sales Order main screen. Program Name - SAPMV45A and Screen Number - 4001. What is all I need to take care.
    Thanks,
    SNK.

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

  • Add a custom button in Ess Leave Request

    Hi Gurus,
    I have requirement, add a custom button in a Standard ESS leave request (Webdynpro Java). When i click the the button it has to call popview(custom view). I am new to webdynpro Java, If possible explain me with step by step preocedures(if possible with screen shots).
    Thanks,
    Mohammed.
    Moderator message: this is the wrong forum, please have a look in the "Web Dynpro Java" forum, but always search for available information before posting.
    Edited by: Thomas Zloch on Jun 17, 2011 9:54 AM

    Hi Gurus,
    I have requirement, add a custom button in a Standard ESS leave request (Webdynpro Java). When i click the the button it has to call popview(custom view). I am new to webdynpro Java, If possible explain me with step by step preocedures(if possible with screen shots).
    Thanks,
    Mohammed.
    Moderator message: this is the wrong forum, please have a look in the "Web Dynpro Java" forum, but always search for available information before posting.
    Edited by: Thomas Zloch on Jun 17, 2011 9:54 AM

  • How to add the REFRESH button in OOPs ALV grid

    how to add the REFRESH button in OOPs ALV grid

    Hi Naidu.
    Check the below code:
    Local Class Definition and implementation For events handeling
    CLASS LCL_EVENT DEFINITION .
      PUBLIC SECTION.
        METHODS :TOOLBAR FOR EVENT TOOLBAR OF  CL_GUI_ALV_GRID
                         IMPORTING E_OBJECT,
                 USER_COMMAND FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
                         IMPORTING E_UCOMM.
    ENDCLASS.    
    CLASS LCL_EVENT IMPLEMENTATION.
      METHOD TOOLBAR.
        WA_TOOL-FUNCTION = 'ZFC1'.
        WA_TOOL-TEXT     = 'TEST'.
        WA_TOOL-ICON     = '@EA@'.
        APPEND WA_TOOL TO E_OBJECT->MT_TOOLBAR.
      ENDMETHOD.             "DISPLAY
      METHOD USER_COMMAND.
        IF E_UCOMM = 'ZFC1'.
              ENDIF.
      ENDMETHOD.                    "USER_COMMAND
    ENDCLASS.                    "LCL_EVENT IMPLEMENTATION
    MODULE STATUS_0200 OUTPUT.
      SET PF-STATUS 'ZALV_BTON'.
      SELECT * FROM VBAK INTO TABLE GT_VBAK
               UP TO 30 ROWS.
    **** CREATE CONTAINER OBJECT
      CREATE OBJECT MY_CONTAINER
        EXPORTING
          CONTAINER_NAME              = 'CC1'
         EXCEPTIONS
          CNTL_ERROR                  = 1
          CNTL_SYSTEM_ERROR           = 2
          CREATE_ERROR                = 3
          LIFETIME_ERROR              = 4
          LIFETIME_DYNPRO_DYNPRO_LINK = 5
          OTHERS                      = 6 .
    ****** GRID TO CONTAINER
      CREATE OBJECT ALV
          EXPORTING
          I_PARENT          = MY_CONTAINER
         EXCEPTIONS
          ERROR_CNTL_CREATE = 1
          ERROR_CNTL_INIT   = 2
          ERROR_CNTL_LINK   = 3
          ERROR_DP_CREATE   = 4
          OTHERS            = 5.
      CREATE OBJECT OBJ.
      SET HANDLER : OBJ->TOOLBAR FOR ALV.
      SET HANDLER : OBJ->USER_COMMAND FOR ALV.
    ****** ALV DISPLAY
      CALL METHOD ALV->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          I_STRUCTURE_NAME              = 'VBAK'
        CHANGING
          IT_OUTTAB                     = GT_VBAK[]
        EXCEPTIONS
          INVALID_PARAMETER_COMBINATION = 1
          PROGRAM_ERROR                 = 2
          TOO_MANY_LINES                = 3
          OTHERS                        = 4.
    ENDMODULE.                 " STATUS_0200  OUTPUT
    *&      Module  USER_COMMAND_0200  INPUT
    *       text
    MODULE USER_COMMAND_0200 INPUT.
      IF SY-UCOMM EQ 'BACK'.
        LEAVE PROGRAM.
      ENDIF.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    Regards
    Kumar M

  • How-to add a custom Web Dynpro iView to the MSS Employee Profile

    Hello everybody,
    i have created a small How-to guide of how to add a custom iView/Web Dynpro application to the standard MSS Employee Profile for ECC 6.0.
    The How-to guide can be found <a href="https://wiki.sdn.sap.com/wiki/display/profile/2007/04/15/How-toaddacustomWebDynproiViewtotheMSSEmployee+Profile">here</a>
    I hope its of any value.
    cheers,
    Markus

    Hello Luca,
    unfortunatelly it wont work. A WDA Application does not have access to the Floorplan Manager for XSS Applications. So until SAP develop an interface, you have to stick for such a task to WDJ.
    regards,
    Markus

  • How to add a custom code to standard sap menu

    Hello guru,
    will you please explain me how to add a custom code to standard sap menu?
    thanks in advance.
    Best regards.
    juan

    Hello juan,
    with SE43N you can add custom transaction codes to the existing menues.
    see http://help.sap.com//saphelp_erp2004/helpdata//EN/00/783b377bfdcf61e10000009b38f936/frameset.htm
    regards
    johannes

  • How to add a link button in system form?

    how to add a link button in system form in the edit text?

    HI
    see the following code
    This creates an item "55" caption, and exittext ("550") and creates linked button "51" linked to "550"
            oItem = otmpform.Items.Add("55", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            With oItem
                .Top = 315 + 30 + 15
                .Left = 12
                .Width = 100
                .Specific.Caption = "Többlet"
            End With
            otmpform.DataSources.UserDataSources.Add("550", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
            oItem = otmpform.Items.Add("550", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            With oItem
                .Top = 315 + 30 + 15
                .Left = 120
                .Width = 100
                .Specific.DataBind.SetBound(True, "", "550")
                .AffectsFormMode = True
                .Description = otmpform.Items.Item("55").Specific.Caption
                .DisplayDesc = True
            End With
            oItem = otmpform.Items.Add("551", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            With oItem
                .Top = 316 + 30 + 15
                .Left = 120 - 14
                .Width = 13
                .LinkTo = "550"
                .Specific.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_GLAccounts
            End With
    Regards,
    J.

Maybe you are looking for