New Button : New action

Hi ,
I have a form with 2 buttons (Ok and Cancel). I've added a new button (Update) with a custom action (Update)  . When i click on this button, it should execute e aservice (RFC FM). I link the output of the form to the Service Function with event name (update). But the FM is not called at all ? I use Breakpoints but the RFC FM is not called ? ANy idea ?

Hi Prashant 
In order to validate the 3 fields (check they are not blank) using your new button follow the next steps:
1. For each of the 3 fields you wish to validate do the following:
Right click the field and from the context menu select Configure. In the Validation area of the Configure  task   panel u2013 where you set the validation rules and the validation behavior check the Required box (or set a specific rule in the Rules field) and change the Behavior to Severe (instead of Normal).
2. Right click your new button and from the context menu select Action...
After assigning your custom action to the button, in the Validation area of the Define Action Dialog Box (The right tab) of your new button  - where you set the validation scope (none, Control, Element, Window) make sure this scope is set to Element (this is the default) and change the validation behavior to Permissive (instead of Normal).
I Hope this helps, for any further information feel free to continue the thread or contact me.
Also, a more detailed information about using the validation rules can be found [here|http://help.sap.com/saphelp_nwce10/helpdata/en/ed/5f05491f814bb08865213d29f36af5/frameset.htm]
Regards
Yogev

Similar Messages

  • New Button : Custom Action

    Hi Experts,
        i have a VC application which display Sales Order Information based on the Customer, Material & Sales Organization. There are two buttons submit & reset everything works fine. Now i wish to add new button validate with custom event like checking if entry has been made for all the 3 fields.
    so i create a btnValidate & custom Action actValidate, where should i enter the logic of what should happen on actValidate ??
    i am on NW CE EPH1    visual composer 7.1
    Regards
    Prashant

    Hi Prashant 
    In order to validate the 3 fields (check they are not blank) using your new button follow the next steps:
    1. For each of the 3 fields you wish to validate do the following:
    Right click the field and from the context menu select Configure. In the Validation area of the Configure  task   panel u2013 where you set the validation rules and the validation behavior check the Required box (or set a specific rule in the Rules field) and change the Behavior to Severe (instead of Normal).
    2. Right click your new button and from the context menu select Action...
    After assigning your custom action to the button, in the Validation area of the Define Action Dialog Box (The right tab) of your new button  - where you set the validation scope (none, Control, Element, Window) make sure this scope is set to Element (this is the default) and change the validation behavior to Permissive (instead of Normal).
    I Hope this helps, for any further information feel free to continue the thread or contact me.
    Also, a more detailed information about using the validation rules can be found [here|http://help.sap.com/saphelp_nwce10/helpdata/en/ed/5f05491f814bb08865213d29f36af5/frameset.htm]
    Regards
    Yogev

  • Any way to change back button title without creating new button?

    Hi,
    Is there any way to change the back button title on a navigation controller without having to create a whole new button and action to go with it?
    Thanks
    Ray

    Yes, you don't need to create a new a new action mechanism etc.
    One way to change the back button text on a the navbar of a view is to create a new UIBarButtonItem (with nil tagget and nil action )
    Then set self.navigationItem.backBarButtonItem of the parent view controller to the new button
    Note that you're setting the backbarButtonItem of the parent view controller (and not the view controller on which this bar button will be displayed). This automatically plugs in the default target, action etc. So you don't need to implement it

  • Creation of new button on same page after insert command

    Hello All,
    I have an application running on apex.oracle.com where my workspace name is shruti_work,username is [email protected] and password is buwigi. The application name inside this is "app2"
    I am trying to achieve one functionality there but unable to get it so felt like seeking an help from experts here. I have two forms there one page1 form which is simplly made on an html region with go button which is navigating the page 1 items value to page 2 but simply passing their address witout updting the database table.
    In Page 2 i created page on a table or view, which made some extra buttons which i dont want like applychanges ,delete button, cancel button. I created a create button even which is updating my database with insert sql command. What i am seeing is after my create button is pressed i got navigated to same page 2 which i want to but the applychange button, cancel and delete button got appeared. I dont get the idea why it is so. i have checked the buttons even i didnt found anything there.
    All i want is when i press create button in page 2, my database get update and at the same page (2) a new button get appears which i have to use for other things. Approaching to this solution i created a button with giving databse action update and condition to this button "value of item in expression 1 is not null" and in expression 1 i passed p2_id...... but my new button is not getting created.
    Any help on this?

    Hi Jeff,
    I dont want applychanges button and delete button in my page 2. But when i created form on a table or view this but got created and i cannot delete it even. When i am navigating my page from page 1 to page 2 and filling the fields in page 2 and clicking create button, at that time i want after updating my table and running my plsql process which i have created which you can see in page processing, my button at same page get generate which i will use to navigate to other form. This button which i want to generate after clicking my create button will be meaningful only if my record get inserted in table. so that is why i want it at that time.
    I dont want any report so i am not creating form on a table or view

  • PLM_AUDITMONITOR New Button

    Hi There,
    I'd like to put a new button on the PLM_AUDITMONITOR detail screen, I've checked a number or BADis from the below list but none of them seem suitable, does anyone know if it is possible to add a new custom tab or button to an existing tab?
    /PLMPCV/QRM_LICENSE_AUDIT      BAdI: License Audit
    ARC_PLM_AUD_CHECK              Archiving Object PLM_AUD: Checks for Add-On-Sp
    ARC_PLM_AUD_WRITE              Archiving Object PLM_AUD: Archiving of Add-On-
    BADI_PLM_AUD_AUDIT_ROLES       Extensions to Roles in Investigations
    BADI_PLM_AUDIT_ACTION_TYPE     Definition of Action Types
    BADI_PLM_AUDIT_ALV             Changes to ALV Table in Audit Management
    BADI_PLM_AUDIT_DS              BAdI for Digital Signature
    BADI_PLM_AUDIT_LIITEM_SERVICE  Enhancements to List Items Services
    BADI_PLM_AUDIT_LIST_ITEM_TYPES Definition of List Item Types in Investigation
    BADI_PLM_AUDIT_OPTIONS
    BADI_PLM_AUDIT_STRUCTURE       Structural View for Investigations (Audit, FME
    BADI_PLM_AUDIT_TYPE            Context Menu Extension
    PLM_AUDIT_ACT_LINK             Audit: Linkage of Objects with the Corrective
    PLM_AUDIT_ALV_GRID             ALV Functions
    PLM_AUDIT_APPEARANCE           PLM Audit Management: Determine Display of Aud
    PLM_AUDIT_ATTRIBUTES           PLM Audit Management: Process Attributes of Au
    PLM_AUDIT_AUO_UPDATE           PLM Audit Management: Create, Change, and Dele
    PLM_AUDIT_AUP_UPDATE           PLM Audit Management: Create, Change, and Dele
    PLM_AUDIT_AUTH_CHECK           Activities in Audit Processing
    PLM_AUDIT_BATCH_JOBS           Scheduling of Background Jobs
    PLM_AUDIT_CALCULATE            Calculation/Valuation of an Audit
    PLM_AUDIT_COR_UPDATE           PLM Audit Management: Create, Change, and Dele
    PLM_AUDIT_GOS                  PLM Audit Management:Generic Object Services -
    PLM_AUDIT_HELP_LINKS           PLM Audit Management: Enhancement for Maint. o
    PLM_AUDIT_IDENTIFIER           Identification of Objects in Audit Management,
    PLM_AUDIT_LAST_GET             Flexibilization of "Display Last Associated Au
    PLM_AUDIT_OBJECT               PLM Audit Management: Audit Object Enhancement
    PLM_AUDIT_QUEST_CONT           Controlling Procedure for Audit Questions
    PLM_AUDIT_QUEST_COPY           Assignment of Question Lists to Audit
    PLM_AUDIT_QUN_UPDATE           PLM Audit Management:Create, Change, and Delet
    PLM_AUDIT_SAP_TXT              PLM_AUDIT_SAP_TXT   Detach Long Text Managemen
    PLM_AUDIT_SEARCHHELP           Enhancement for Search Helps
    PLM_AUDIT_SIGNATURE            Provide Signature for Audit
    PLM_AUDIT_STATUS               PLM Audit Management: Audit Component Status M
    PLM_AUDIT_TEXT_ID              PLM_AUDIT_TEXT_ID   Definition of Text Types P
    PLM_AUDIT_XML                  XML Generation

    Have you looked at how SnippetRunner in the SDK implements the control strip for it's panel? It appears to me all the widgets are just regular widgets put in a ErasablePrimaryResourcePanelWidget, where its binding is set to kBindBottom | kBindLeft | kBindRight,. And of course, you want to specify the ErasablePrimaryResourcePanelWidget is in the bottom of your panel.
    thanks!
    lee

  • How & where to use Java script to create new button in object detail page

    Hi All,
    I want to create "New/Add button" in object detail page. If i am not wrong i need to use java script for that but could you please let me know how & where to use Java script to create new button in object detail page in CRMOD.
    Thanks in advance.
    Regards,
    Manish

    Any related object on the detail page should have an "Add" or "New" or both buttons by default - This is vanilla functionality and will do the required action.
    If you want to modify this behaviour and do something tricky you will potentially have to go for javascript. You should add the javascript on a custom web tab on that Object.
    Admin --> Application Customization --> Contact -->Contact Web Applet
    Now, add your javascript in the code area, after you select the type = HTML for this web applet, expose this web applet on the Contact detail layout and your javascript will be invoked whenever this page is loaded.
    Check this online document to see how javascript can be embedded in CRM on Demand http://helponmyproject.com/TTOCOD/
    Cheers!
    Royston

  • How do I set up a new button on the button bar?

    I was used to previous versions of A/Works in which you just needed to create a macro. In the latest version, it's not so simple. Could someone let me know, preferably in words of one syllable (lol), the steps to take to set up a button. I want a double underline one, it's so frustrating not having one as I use it all the time.
    Any help gratefully received!
    Thankyou
    Marianne
    Mac Pro   Mac OS X (10.4.9)  

    In the Finder, choose New Finder Window from the File menu, and then locate and click on the item in the sidebar named Applications. Next, open the AppleScript item inside, find the Script Editor application, and double-click it. Copy and paste the following text into it up to the second blank line following:
    tell application "AppleWorks 6"
    set style of selection of document 1 to {class:text style info, on styles:{double underline}}
    end tell
    Press the Command and S keys, choose Application as the File Format, and click Save. Open AppleWorks and click on the AppleWorks menu, followed by scrolling down to Preferences and clicking on Button Bar. Find and push the New button, choose Launch Application from the Action drop-down menu, click Choose, locate the script, and click OK.
    (20382)

  • Assign Excel functionality to a New Button

    Hi all,
    Does anyone know how to assign the functionality of exporting to excel to a button?
    I mean if anyone knows the code in order to export to a excel file. I already know how to create a new button and the way to assign the function to it, but I don´t know the correct code in order to export to a excel file.
    Thanks in advance!

    See this Link to Action
    Regards
    Nithya

  • I am using strobe media playback but i want to add new button for subtitle in control bar,Can anybody tell me how can i do it.

    I am using strobe media playback but i am not able to add new button for subtitle in control bar.
    I have imported assets.fla file in Flash professional but i do not understand how add new button in this fla and then link with action script method to show subtitle.If anybody know about it please tell me.

    Hi,
    Yes you can add video subtitle and I can give you the details how to do
    that. Can you please advise which type of files you have for video
    subtitile and how many language you want to add. i.e. text files or xml
    files.
    Best regards,
    Sunil Kumar
    On Thu, Jan 15, 2015 at 5:22 PM, Add Subtitles to OSMF and <

  • Place a new button

    Dear Friends
    It may be a very good thing with Floor Plan Manager but I have not understood the functioning properly yet.
    Can someone please explain to me as simply as how to place new button in a specific area . Especially, I have not understood
    how do I find out which section is the correct section where the change must be made especially if
    the applications consists of many components and uilements.
    How do I know exactly where I must make my changes
    I thank you all for all your kindly efforts.
    Friendly Regards
    ertas ilhan

    Hi Ertas,
    try to follow these steps and do one exercise you will get an idea about FPM-OIF (OIF is one of the floor plan type in FPM, OIF Stands for object instance floor plan similarly we have GIF and QAF.)
    Create a webdynpro component and implement the following interfaces.
    IF_FPM_RESOURCE_MANAGER
    IF_FPM_TRANSACTION
    IF_FPM_UI_BUILDING_BLOCK
    IF_FPM_WORK_PROTECTION
    Intern required method from floor plan manager interface will be implemented in component controller.
    Create a webdynpro application.
    If it is OIF component use FPM_OIF_COMPONENT in case GIF you can use FPM_GAF_COMPONENT to create the webdynpro application.
    Enter the configuration name and create.
    Given the OIF configuration name and IDR configuration name.
    Select the first row, go to component configuration.
    Drill down the variant tree and go to the Main node, then give the required inputs.
    ID Name etc..
    In the sub view -> UIBB -> enter the wdc name and view: (window name).
    Based on the main and subs view create the wdc and windows.
    Drill down the variant node for further and visible the buttons accordingly In the tool bar and enter the fpm event id like create/modify etcu2026
    Finnish the configuration and go back to the appln configuration.
    Select the IDR_USAGE row.
    Click on goto component configuration.
    Provide the appln titile tool tip etc.. save and close
    To trigger the button actions.
    Place a break point in component controller of the main wdc in component controller process_event method.
    Here IO_EVENT is the import parameter get the even it by using io_event->mo_event.
    Which give the event id of the button click which once is clicked based on the event id perform the action.
    Configure the IDR header of the application.
    Create the assistance class.
    Use the following get in process_before_ouput in component controller of the main wdc.
    In comp.controller get the text element by goto->text symbols.
    Keep the following example codeu2026
    Assumption: create the context node in component controller: test->sflight.
      Update IDR
    if io_event->mv_event_id = if_fpm_constants=>gc_event-leave_initial_screen.
    if io_event->mv_event_id = if_fpm_constants=>gc_event-start.
        data: lt_items   type if_fpm_idr=>t_items_ref,
              ls_item    type if_fpm_idr=>s_items_ref,
              lo_idr_api type ref to if_fpm_idr,
              lo_context type ref to if_wd_context.
        lo_idr_api ?= cl_fpm_service_manager=>get_service( iv_service_key = if_fpm_constants=>gc_service_key-idr ).
        lo_context = wd_context->get_context( ).
        ls_item-label_name = wd_assist->if_wd_component_assistance~get_text( '002' ).
       ls_item-value_path = `FLIGHT_DETAIL.EXPORTING_2.FLIGHT_DATA.AIRLINEID`.
       ls_item-value_path = `2222`.
      wd_this->set_sflight_data(
        ls_item-value_path = 'TEST.SFLIGHT.CARRID'.
        append ls_item to lt_items.
        ls_item-label_name = wd_assist->if_wd_component_assistance~get_text( '003' ).
       ls_item-value_path = `FLIGHT_DETAIL.EXPORTING_2.FLIGHT_DATA.AIRPORTFR`.
       ls_item-value_path = `3333`.
        ls_item-value_path = 'TEST.SFLIGHT.CONNID'.
        append ls_item to lt_items.
       ls_item-label_name = wd_assist->if_wd_component_assistance~get_text( '004' ).
       ls_item-value_path = `FLIGHT_DETAIL.EXPORTING_2.FLIGHT_DATA.AIRPORTTO`.
       append ls_item to lt_items.
       ls_item-label_name = wd_assist->if_wd_component_assistance~get_text( '005' ).
       ls_item-value_path = `FLIGHT_DETAIL.EXPORTING_2.FLIGHT_DATA.FLIGHTDATE`.
       append ls_item to lt_items.
       ls_item-label_name = wd_assist->if_wd_component_assistance~get_text( '006' ).
       ls_item-value_path = `FLIGHT_BOOKING.EXPORTING.BOOKING.PASSNAME`.
       append ls_item to lt_items.
       ls_item-label_name = wd_assist->if_wd_component_assistance~get_text( '007' ).
       ls_item-value_path = `FLIGHT_BOOKING.EXPORTING.BOOKING.ORDER_DATE`.
       append ls_item to lt_items.
        data: ticket_text_top    type string,
              ticket_text_bottom type string,
              exception          type ref to cx_fpm_idr.
        try .
            ticket_text_top    = wd_assist->if_wd_component_assistance~get_text( '001' ).
            ticket_text_bottom = 'bookid'.
            call method lo_idr_api->set_ticket(
              iv_top = ticket_text_top
              iv_bottom = ticket_text_bottom
              iv_top_tooltip = ''
              iv_bottom_tooltip = ''
            call method lo_idr_api->add_item_group_by_ref(
              io_root_node = lo_context
              it_items = lt_items
          catch cx_fpm_idr into exception.
            "Do nothing for the moment.
        endtry.
    endif.
    all the best....
    Regards,
    Mahesh.Gattu

  • UmLogonPage.jsp - Add new Button

    Hi Portal experts,
    I am customizing the Logon Page, umLogonPage.jsp . My requirement to add new button in umLogonPage.jsp and on action it should redirect  BSP iview.
    Can you help me to implement this. I have downloaded the Par file and imported in NWDS .
    Please provide help if possible.

    Hi Rashi
    Go through  Modifying The Logon Par(or customising the Logon Screen)
    Just search for custom login page in portal and you will get various link on this.For adding new button add the button code in  umLogonPage.jsp.You can copy the Submit button code already available and change the source link.
    Regards
    Shankar

  • New button in lightbox?

    I am trying to add a button inside Lightbox to link to a PDF i created  and the link name would have [PDF Version] so when the button is clciked it would open a new window that would have the PDF in it.
    What i am trying to do as an overall objective is to create a lighbox style menu for the Website i am creating so when the Breakfast link is clicked on it opens a Lightbox group of images. Now i have already gotten Lightbox up i just need to put a link or new button linking to a PDF of the same page but something people can download i would prefer to have a Icon style custome button in the lower center of the lightbox kind of like this
    http://i1114.photobucket.com/albums/k528/jeepsguy/WildBoar_Sample.jpg
    The website i am working on is
    http://creationsmh.com/
    that is an old version of it,  but when u hover over the menu button u see breakfast lunch and drink links when each is clicked on right now they open up a Lightbox gallery with the abover format.
    Please help?

    Hello Kevin
    Two ideas come into my mind:
    (1) You have not selected any node in your ALV tree yet the toolbar function expects at least (exactly?) one node to be selected (NOTE: You may have selected an ITEM but not the node)
    (2) Perhaps you have used NODE_SELECTION_MODE = ..._MULTIPLE in the CONSTRUCTOR method and the control expects NODE_SEL_MODE_SINGLE
    Regards
      Uwe

  • Adding new button to Standard Page and Launching CP when clicked

    Hi,
    I have a requirement to add a new button to a standard OAF page and when it is clicked, I need to launch a Concurrent Program. Can you please let me know any links/pointers/documents where I can get the details as how this can be accomplished.
    TIA.

    anyone?

  • Creating new buttons on different frame labels

    can someone tell me if im doing something wrong or assigning
    the as to the wrong frame?
    first off i have all my buttons on frame 2. im creating a
    real estate site and i have to have a couple links like HOME ABOUT
    BUYING SELLING CONTACT, the thing though is that in the BUYING and
    SELLING frames i want to add more sections and links but only on
    these 2 other parts of my site. when i code it and add new buttons
    to these sections though my movie plays over and over and over non
    stop. heres my coding...
    FRAME 1 preloader
    Frame 2 has a frame label of home and all the buttons on a
    diff layer, and AS3 on a different layer
    Frame 3 has a frame label for about section
    Frame 4 is my contact for example
    so if i create a new button in the about frame label and just
    add the code to the working as3 code on frame 2 my movie just plays
    over and over and over again, and all i want it do do is act like
    the other buttons and go to a different frame label down in the
    time line. the only way i get it to work is if i have ALL my
    buttons on frame 2.
    frame 1
    my preloader
    frame2
    home_btn.addEventListener(MouseEvent.CLICK, onHome)
    function onHome(event.MouseEvent):void
    gotoAndStop("home");
    about_btn.addEventListener(MouseEvent.CLICK, onAbout)
    function onAbout(event.MouseEvent):void
    gotoAndStop("about");
    etc....
    etc...
    i enter my btn code just like this and the buttons on frame 2
    work but any new buttons i try and creat and put into different
    frames othere then frame label "home" aka frame 2 wont work

    correct.
    there are lots of ways around it. but they all require the
    object to exist when the code executes.
    with as3 it's particularly easy to create objects, code for
    them and then add them to the display list later when
    needed.

  • Standard New button for creation of bp is not appeared in ic agent bp role's main page.

    I have checked in.htm page of ICCMP_BP_MUL_S/BuPaSearchB2B which is getting called in web.
    in line no. 45 of .htm page there is condition to check whether new button should be displayed or not, when this condition is true no_bp_create is initial then only new button appears in ic agent.
    I have debugged so many times but unable to find out from where no_bp_create flag is populated and in conclusion new button is not appeared .
    I think there is some authorization which should be assigned to user for creation of bp so that above said flag (no_bp_create) is not getting populated.
    if i am on right track so please let me know which authorization is to be assigned to user so that user can see new button in ic_agent.

    Hi Sunny,
    The parameter no_bp_create is being set in the do_init_context method of the view controller class of same view but the value is being fetched using a badi.
    The authorization to create BP can be enabled by implementing the BADI BADI_CRM_BP_UIU_AUTHORITY (or enhancement spot CRM_UIU_BP_ENHANCEMENT).
    Users can be authorized to create/edit data for different UI components using this badi.
    In this badi put the condition for the application name may be as (based on your scenario or explore more)  cl_crm_ic_bp_constants=>gc_bp_create OR OR  cl_crm_ic_bp_constants=>gc_bp_edit and set the value of parameter cv_not_allowed = abap_false. Then you should be able to see the New button.
    Regards,
    Shobhit

Maybe you are looking for

  • Is there a way to have the description field in a calendar list item to support enhanced rich text?

    We have a user who has a few hundred calendar items created in outlook. If you open the calendar item, the description includes tables with borders, shading, etc. It seems that the description field in Sharepoint calendars only support basic rich tex

  • How to Move My Library to a New Location

    The title is a bit misleading.  This is actually related to a previous discussion I started but never got any feedback on. Here is the situation: I have iTunes Match. For whatever reason, my iTunes library got hopelessly muddled and confused.  Probab

  • Error connecting Visual C# app to Oracle database

    I'm trying to write a simple web form that will display some info from an Oracle 9 database. I've downloaded the ODP for .net (the 10g version) and this allows me to set up an OracleDataProvider. However, when I try to configure this I get the follow

  • Web Services configuration vs. SVN conflicts

    Hi All, I've got a problem with using amf php services and svn in my project. The problem exist when i use wizard to configurating web service connection -> Data/Services section in ZendStudio 8.0.0. Many files are autogenerated and the problem is wi

  • Error code returned if the business rules not executed

    Recently we found that some Hyperion business rules are not executed during the daily batch file but no error code was returned. Is there any method to force the return of error code so that we can check the batch result more easier? Thanks a lot!