Appraisal process. addiing a custom button and methods in HAP_MAIN_DOCUMENT

Hi,
I want to add one button in VW_BODY_VIEW of component  HAP_MAIN_DOCUMENT.
Is it possible in configuration level or I have to use  enhancement points?
and the smae way, I have to create one more view in this component.
Just want ti confirm whether to go with Enhancement point or with configuration level.
Regards,
sarath.

hi ,
u can use enhancements for the existing standard WD ABAP components .
u can add code at the PreEit and PostExit of the existing method.
refer SAP online help :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/f4b9422e0fb911e10000000a1550b0/frameset.htm
regards,
amit

Similar Messages

  • Custom button and Custom fields in item data tab of SRM shopping cart

    Hello All,
    I am new to SRM 7.
    There is a requirement to add a custom button and on the click of a button I need to pop up some custom fields , and
    store it in SRM system.
    The webdynpro component is /SAPSRM/WDC_UI_SC_DOFC_D1.
    Can you pls tell me the process of adding, popup and transfer of the fields to SRM tables.
    Should we adding some fileds in SPRO->Extensions and field control.
    Kindly help.
    Regards
    Vinay

    Hi,
    I dont have access to SRM system but you can use enhancment concepts to enhance the standard component.
    Refer http://wiki.sdn.sap.com/wiki/display/SRM/HidingtabofShoppingcartinSAPSRM7.0 which is having something simmilar requirment.
    also refer http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?QuickLink=index&overridelayout=true
    I hope this will helpful for you to achive your requirments.
    Thanks,
    Chandra

  • Step by step process to add Radio Buttons and Check boxes in a view

    Hi,
    Could somone give me the steo by step process for adding the Radio Buttons and Check boxes in a view.
    Regards
    Hrudaya Raju

    https://www.sdn.sap.com/irj/sdn/articles-topic?rid=/webcontent/uuid/7082f9fc-070d-2a10-88a2-a82b12cea93c
    https://www.sdn.sap.com/irj/sdn/webdynpro-elearning
    https://help.sap.com/javadocs/NW04S/current/wd/index.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDCheckBox.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDCheckBoxGroup.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDRadioButtonGroupByIndex.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDRadioButtonGroupByKey.html
    Armin

  • 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

  • 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

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

  • BW Authorizations - Query variable with processing mode as "customer exit"

    Hi,
    Iam new to BW authorizations and have not yet worked on customer exit before. I was going through the documentation at various sites but I could not get the end to end description on how the query process( when using a variable for an InfoObject) works in case of customer exit.
    Let's assume that I am using  a query variable with processing mode as "customer exit" and at the exit I  write some code to extract user's authorizations from a z table. if this is the case, then when an end user runs a query,how will the the system know what value needs to be filled in the variable for the requesting user. Are the user details  also sent to the code along with the query variable? If so how. If I mis-understood the process then forgive me and let me know the correct process.

    Hi!
    welcome to SDN!
    customer exit variables need programing by user. so if you create a customer exit variable, you got to right a program which extracts values into this variable. we can do what ever we want in program, SAP will not deal anything ´with customer exits.
    with regards
    ashwin
    PS n:  Assigning point to the helpful answers is the way of saying thanks in SDN.  you can assign points by clicking on the appropriate radio button displayed next to the answers for your question. yellow for 2, green for 6 points(2)and blue for 10 points and to close the question and marked as problem solved. closing the threads which has a solution will help the members to deal with open issues with out wasting time on problems which has a solution and also to the people who encounter the same porblem in future. This is just to give you information as you are a new user.

  • Creating Custom Buttons in Captivate 3

    In the first version of Captivate, I was able to create my
    own image buttons, including the three states of the button (over,
    down, click). When I select one of the included buttons in
    Captivate 3, the three states of that button are added
    automatically. How do I create my own custom buttons and include
    the three states in Captivate 3?
    Thanks,
    Erica

    Hi Erica and welcome to our community
    The process is essentially the same. The only difference here
    is that instead of just browsing to the button images and selecting
    them individually, you name them appropriately and place them where
    Captivate expects to find them.
    They are expected to be found in the following location:
    (Assuming you haven't deviated from the default location during
    install)
    C:\Program Files\Adobe\Adobe Captivate 3\Gallery\Buttons
    The names should be:
    ButtonName_down.EXT
    ButtonName_over.EXT
    ButtonName_up.EXT
    *Note that .EXT reflects the image format. This could be .GIF
    or .JPG or .PNG or .BMP and ButtonName reflects what you want to
    call your button.
    Hope this helps... Rick

  • Processing Page with cancel button.

    Hi,
    I have implement Processing Page but client wants to have cancel button to cancel the process.
    Can anyone give suggestions how to implement this?
    SC

    My requirement is that i have a custom base page with submit button. When user clicks on submit button it would start long running process
    And I should show a dialog page with clock saying process in progress message and a cancel button. User should be able to stop the process by clicking cancel button and back to base page. OAF gives the processing page that i want but without cancel button.
    I try to add cancel button on the processing page programmatically but while it is processing and when i click on cancel button i cannot capture the event.
    how to add cancel button on it and capture event? Is this correct approach?
    Can any body could suggest the best approach and solution?
    Thanks
    SC

  • How to add custom buttons in the tool bar of the crystal reports viewer

    Hi,
    I'm using Crystal report viewer (Crystal 2008) in my report and I want to add custom buttons and handle them in the tool bar of the viewer. Is there anyway to achieve this?
    Please help me in this regard.
    Thanks in advance.
    Siva.

    I did this by adding a picturebox to the toolbar, the same size as the buttons, and loading in an image, and putting code into the Click event of the picturebox.
    I also put code into the MouseHover event to change the picture's background color and into the MouseLeave event to change it back.
    I have a couple of these buttons. They work very nicely and really look like part of the toolbar.

  • Use Custom Button to go to another portal form

    Hi,
    I created a custom button, and in the PL/SQL handle, I put in the code to redirect the url to another portal form/report. When I run the form and press the custom button, it does not go to the other form, it remains on the same form that I started with. Why?
    I can put the same piece of code in advance PL/SQL => After displaying the page, draw a html button to do the same task. It will work for me when I press the button (i.e. go to another form). So, how come I cannot do the same thing using Custom button?
    Thanks;
    Kelly.

    Kelly,
    The reason you don't see the next form because our module subsystem has a set of rules when to redirect and when not. However, there is an "internal" function which you can call from your custom button code to get this effect:
    PORTAL30.wwa_app_module.set_target('http://www.yahoo.com','CALL');
    Please note this is an internal function and may change at any time.
    Thanks,
    Dmitry
    null

  • Custom Buttons

    Hi Gurus,
    I want to create some custom buttons on Runtime Prompts (like Add, Remove etc)?
    How I create Custom button and associate to the Business Rule?
    Thanks & Regards,
    Sravan Kumar.

    Hi,
    I explained how it was done in the post, but here we go again.
    Go to Administration > manage menus > "WFPMenuNewHires" > Edit > "1.1 AddSalaryTBH"
    See the input boxes
    Window Title:
    OK Button Label:
    Cancel Button Label:
    You can put your own values in these boxes so when a business rule it opened then the "OK","Cancel" button use the custom values you have entered, so for example you can change the "OK" button to "Add"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Submit PDF via email custom button

    I followed the instructions in LiveCycle guide but it is not working completely.  I set up a custom button and followed the instructions for Submitting a pdf via email.  When I click on the submit button, it pulls the pdf into an email  but has left off the email address and the subject. 
    The format I used was mailto:[email protected]?subject=blah blah blah.

    Thank you.  I finally got it to work!
    Sarah T. Love
    Grants & Contracts Director
    California Pacific Medical Center Research Institute
    475 Brannan Street, Suite 220
    San Francisco, CA   94107
    415-601-2555 cell phone
    415-600-1702 phone
    415-600-1681 fax
    Website:  http://www.cpmc.org/professionals/research/grants/index.html

  • Custom RH9 WebHelp skin: Problem opening PDF file from custom button

    Hi, I've been troubleshooting and checking forums trying to figure out how to get a PDF file to open from a custom button on my WebHelp skin. It worked for me once upon a time, but I changed something in the document and tried to upload the new version and it has errored out ever since.
    I want to have the ability to open the PDF in a new window from the custom button (called 'Printable PDF' on my skin), so I am using the following custom JavaScript in the 'Click On' field of the the custom button's components: window.open('print_test.pdf','printWindow','menubar=0,resizable=0,width=900,height=500,scr ollbars=1');  I know the script is good because I have the same script for the Support custom button and it works great. The only difference between those scripts is the Support script calls an .html file instead of a PDF and the window names says 'supportWindow' instead of 'printWindow'.
    I've tried deleting and recreating the custom button, changing the JavaScript with a developer's help, generating the help on another machine thinking it was a glitch with my browser (using IE8) or RoboHelp license, and combing the help files numerous times. I've also ensured that the PDF file is stored in the skin and project folders along with the other project files/folders. I've used previous versions of RoboHelp and had no problems attaching a Word document and PDF, so I'm wondering if this is a bug in RH9?? Especially since it worked for me initially. Any assistance and/or fresh ideas are welcomed! Thank you!

    Hello again
    Happy I was able to help.
    MOTW is only present and affects things when you are running content off your local C drive. It's value is in preventing that Yellow Information Bar and all that from appearing when you are using IE. Once you publish content to a server and access it that way you are in a different security zone and MOTW has no influence either way. So there would be no adantage to enabling it before publishing to a server. The only reason you might want to consider enabling it would be if you were copying the WebHelp to everyone's hard drive and having them run it from their hard drives.
    Make sense?
    Hope so... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Issue with the FR translation for toolbar buttons and title bar

    Hi All,
    In a report program I have a toolbar with some custom buttons and icons (GI Status) and I have a title bar (GUI Title) with the report heading.
    I have FR translations defined for them in SE63, but they are not actually displayed when I run report in FR language.
    All other translation work fine, only GUI Status and GUI Title translations donu2019t work.
    Your help will be highly appreciated.
    Sagar

    hi sagar,
    1.go to se41
    2. give the report name
        and status name.
    3.then change mode
    then click on application tool bar
    4.menu GOTO---->TRANSLATION
    5. here you can change from EN to FR
    reward me if it is useful
    thanks
    AM

Maybe you are looking for

  • How to change apple id for app updates

    The user id that displays on my ipod is correct on the settings menu but when I try to update my apps, the apple id that displays (and wants a password) is one that I no longer use.  How can I change the apple id for this one function to my current c

  • How can I sync the Mac contacts app with my friends Facebook photos?

    Hi, I have an iPhone 5 and and iPad so I'm not to new to Apple products, however i did just get my first MacBook (I'm in love!) I have a question, is it possible to sync the Mac Contacts app with Facebook so that my friends Facebook photos will show

  • Vendor master data-sensitive field search term 1

    Hi Incase of Vendor master data ,i have defined search term 1 AS SENSITIVE FIELD. When i change the master data i.e  search term 1 sometimes it asks for change confirmation and sometime it doesnt. Can you pls let me know why does this happen..that to

  • My Spot Colors are not appearing in the Separations

    Hello everyone! I'm having a problem here. I've designed a piece with spot colors, but I can't figure out why they don't appear in the separations and don't export as separate plates. My exported files end up as all process colors. In my searches on

  • How to read a binaryfile into an object

    Hello, I want to read a binary file into an object. In this object, we have several variables which need to be filled. I did the following thing: ---Start code--- import java.io.*; import java.lang.reflect.*; public class BinaryFile {   private File