Dynamically disable FPM step

Hi,
I have designed one aplication in which we have initial screen having some input fields.
Based on this input values, I want to disable / remove one step from the nagivation area.
Is there any way to achieve this?
Thanks & Regards,
-Haresh

Hi,
As you might know that keying in some values to the input fields does not trigger any action. There has to be an event e.g., clicking of a button, ticking a checkbox, selecting a radiobutton etc. You can code at the event handler method of the applicable events to achieve your functionality.
Let me know if you need more help.
Regards
Prasenjit

Similar Messages

  • Enable / Disable a Step in GAF

    I have an application with 4 steps. In the step 1 I want to disable the step 3 and 4. How do I do that? I use GAF in FPM for the web dynpro application. Thanks!

    Hi Anthony,
    You can do this in two ways.
    Way -1.
    in the process event method do the following
    event processing only if user selected NEXT STEP
      IF NOT io_event->mv_event_id = cl_fpm_event=>gc_event_next_step.
        RETURN.
      ENDIF.
    you can loop through the interface view or directly fetch the first view in the list which is your current view
    in your case it is current view
    check which interface view has been displayed on last view
      READ TABLE it_interface_views INTO lv_interface_view INDEX 1.
      CASE lv_interface_view.
                when 'Window1'. // Customer window : checks if flights are available
    Check here if entry to window2 is in order. else
                           ev_result = if_fpm_constants=>gc_event_result-failed.
                when 'window2. // Flights window : checks if bookings are available
    Check here if entry to window3 is in order. else
                           ev_result = if_fpm_constants=>gc_event_result-failed.
                when window3.// Bookings window : checks if  selected bookings are okay
       *do the processing here and check if your entry criteria to step 4 is correct. if not  return
                           ev_result = if_fpm_constants=>gc_event_result-failed.
                when window4. // Check window : checks if cancel bookings are okay.
       *do the processing here and check if your entry criteria to final step is correct. if not  return
                           ev_result = if_fpm_constants=>gc_event_result-failed.
                when others.
    endcase.
    way-2
    It is more similar to the first one.
    Process-event method do the following.
    1. Store the window name in the context when you are in window1.
    do the following in the PROCESS_BEFORE_OUTPUT
    2. note that the it_interface_views  has the window3 or window4 (to be displayed). so you can test here
    3.if your context element has the value as Window1(Step1) and it_interface_views  has window3 or window4 then
    do some checking and store in a context if user can go to step 3 or 4.
    4. in the process event method check these context values for window3 or window4. return failed event result appropriately.
    My personal option is Way-1. Way-2 is more appropritae to set the context, call methods before navigating to next steps.
    Success with your FPM programming.

  • The MSS ECM FPM Steps are not working after the upgrade

    Hi all,
    The MSS ECM FPM Steps are not working after the upgrade. We use Java Webdynpro and MSS ECM (SP17), version 603.
    On cliking the FPM steps, nothing is happening, however we can navigate using the buttons.
    But this functionality was working before the upgrade.
    Please let me know what should I do.
    Thanks,
    Sarayoodharan.K

    clinet provided in the backend system was not correct during SSO certificate using tx-code strustsso2 -  Cleint should be 000

  • Hiding a Tab Dynamically in FPM

    Hi,
    Can you please let me know how to hide the tab dynamically in FPM. I tried to implement the interface IF_FPM_TABBED_CONF_EXIT in the SAP standard webdynpro, but I get a error " Web Dynpro comp./intf. "IF_FPM_TABBED_CONF_EXIT already exists". Even though I get this message I am not able to find the interface IF_FPM_TABBED_CONF_EXIT in the implemented list of interface.
    Regards,
    Arun

    Hi Aliaksandr,
    Thanks for the reply.
    Actually I am not able to implement the interface controller  IF_FPM_TABBED_CONF_EXIT in the SAP standard webdynpro, I get an error " Web Dynpro comp./intf. "IF_FPM_TABBED_CONF_EXIT already exists".
    Even though I get this message I am not able to find the interface IF_FPM_TABBED_CONF_EXIT in the implemented list of interface.
    Regards,
    Arun

  • Dynamic Dialog Praticipant step

    Hello experts,
               The OOTB cq comes with a "dialog participant step" and "dynamic participant step". I am looking for "dynamic dialog participant step". Any ideas of how to implement it ?
    Rama.

    I tried to customize this new component by combining the functionality of Dynamic Participant and Dialog Participant. I was able to customize the dialog (which shows up when I drag and drop the customized dynamic Dialog Participant Step) to refer to a dialog path ( as is OOTB Participant Step) and choose which  script to resolve the dynamic participant step. But at the run time had this issue where it was not assigning to the right group though the script returns correct value. I dont see any errors. But the major issue was I could not see the custom dialog. So took a new approch to resolve this.
    1. Create a new model
    2. Drag and drop the dialog Participant step and DONOT choose the group. Choose title and description, and also choose the custom dialog.
    3. Create a new java process step which would assign the a value to the property called PARTIPANT to the next step (combination of workflow transition objects and routes objects) in the workflow ( which in this case the dialog Participant).
    4. Code the logic in such a way that it returns the correct user group.
    5. Drag and drop a java process step on to the model prioor to the dialog Participant Step and choose the newly created java process.
    6. execute the workflow.
    7. Once the java process executes it would assign to the right group for the dialog Participant (  which we did not choose while we modelled it - Step 2)
    Hope this helps.
    Rama.

  • How can I disable speed step technology on my HP laptop?

    hi all
    I have DV7 1273cl hp laptop (Core 2 Duo 2.0 GHz CPU )
    how can I disable speed step technology on my hp laptop ?
    (I didn`t find CPU settings in BIOS , is there a special hotkey for CPU settings? )
    thanks in advance

    Hello krishna22211, welcome to the HP Forums.
    I see that you're looking to disable the NVIDIA graphics. I will try to assist you with this.
    Here is the latest BIOS update for your notebook :
        HP Notebook System BIOS Update (Intel Processors).
    If you update and the option is not there to disable/enable, to still try and minimize power consumption of the NVIDIA GPU, you could try any of the following:
    Disable the drivers in Device Manager, or uninstall it.
    Go into the NVIDIA control center and reduce the settings from in there.
    Create a power custom power plan, that reduces power for graphics.
    I hope this is able to help.
    Thank you for posting on the HP Forums.
    I worked on behalf of HP.

  • Can we disable Archive step in Approval process

    Guys,
    I wanted to know if I can disable Archive step in the Approval process. Right now the issue is I do not want the people to Archive the document by mistake.
    1) Is there a way to disable the Archive step?
    2) Or is there atleast a way to restrict it based on roles?
    Please help me.
    Thanks a lot,
    Deepak

    Hi,
    you cannot configure anything on the Approval process.
    If you want to change something you need either modify the standard (if you get the source code) or develop your own process.
    The only things you can try, if remove or restrict UI commands.
    There are several UI command groups involved.
    For example there is the StatemanagementMassGroup with the command statemanagement_archive_mass inside. This you could remove, so that in the layout sets where this group is used, the archive command is gone (e.g. AdminExplorer menu)
    But the StatemanagementGroup command group is just a java class and references no commands. So you cannot get rid of the single archive command from the resource context menu. But maybe it is enough for you to remove the whole command group and do approval actions only from a mass menu.
    I guess thats the only thing without developing which can be done here.
    Regards,
    Sascha

  • Select_step problem in a dynamic Multiple RoadMap Step

    Hi everybody,
    I am working with a roadmap that dynamically assigns the number of steps from a data source assign to the multiple roadmap step. When I selected a step I am not being able to change the focus and yellow color to it. I already know which step the user selected by reading the context element assign to the multiple roadmap step, but what do I need to do in order to change the focus and color of it?.
    I read other post that describe the same issue, and the answer was to change the lead selection of the roadmap, but when I tried to do it I receive a dump saying that I cannot change the lead selection.
    This answered post [Re: Multipleroadmapstep Problem|] describes perfectly my problem and I already post the same question on it, but I think nobody reads it because the status of the post is answered..
    Regards,
    Eric
    Edited by: Eric Hernandez Pardo on Aug 14, 2009 6:41 PM
    Edited by: Eric Hernandez Pardo on Aug 17, 2009 12:36 PM

    Hi Arpan,
    I'm getting the dump exactly at this point " lo_nd_roadmap->set_lead_selection_index( vl_index )". I maded a few test based on your comment, with and without the '-index value' and also changing the context node bind to the selected_step, when I use the context_node "mrs" (this context is bound to the multiple roadmap step) like the code above I get no errors at all, but the step is not getting mark, neither changes its color. In this case I get the dump if I added the '-2'.
    If I bind another context to the selected_step of the roadmap and do the same procedure (replacing the wdctx_mrs for the new context) I get a dump at " lo_nd_roadmap->set_lead_selection_index( vl_index )" with the '2' or '-2' values.
    Any sugestions?
    DATA: lo_nd_roadmap     TYPE REF TO if_wd_context_node,
            lo_el_roadmap     TYPE REF TO if_wd_context_element.
    * navigate from <CONTEXT> to <MAIN> via lead selection
      lo_nd_roadmap = wd_context->get_child_node( name = wd_this->wdctx_mrs ).
    * get element via lead selection
      lo_el_roadmap = lo_nd_roadmap->get_element( ).
    data: vl_element Type Ref To  IF_WD_CONTEXT_ELEMENT,
          vl_index type sy-tabix.
    CALL METHOD lo_nd_roadmap->get_lead_selection_index
      receiving
        index  = vl_index.
    vl_index = sl_roadmap-step_id.
      lo_nd_roadmap->set_lead_selection_index( vl_index ).
    Regards,
    Eric

  • Setting Priority Dynamically in Decision Step

    Hi Experts,
    My requirement is to set priority of the user decision based on a container element value.
    Depending on the container element values, some times the workitem should be created with priority 5 (medium) and some times it should get created with priority 4 (High).
    Please let me know how can we pass priority dynamically to the user decision step.
    Thanks in Advance,
    Siva Sankar.

    I think you can use FM
    SWW_WI_PRIORITY_CHANGE
    Thanks
    Arghadip

  • I want to disable two step verification on my iphone

    I am unable to use Chrome or Mail on my iphone because when I enter the code given for two step verification, it is not accepted.  My phone is set to the correct time.  I cannot get into settings without the verification code.

    For what it's worth:
    WARNING:  If you use iTunes to sync photos between your iPhone or iPad and your Mac do not activate the iCloud Drive. Doing so will kill the capability of using iTunes to sync with your mobile device and disable Documents & Data syncing for your iCloud account on OS X Mavericks and earlier Macs, as well as iOS 7 and earlier devices.

  • FPM step navigation.

    Hi,
    We have just begun to develop applications with the FPM and we have a serious problem. We need your help.
    In a roadmap with a number of steps we are not able to change perspective (and thus move from one step to the next) launching an user event (eg SELECT).
    In the onEvent () method we get the event launched but the step does not change.
    Anyone knows that it can be? is very rare ...
    Regards.

    Hi Aishwarya,
    There is the entire code of my Configuration Component Interface:
    public void loadConfiguration( com.sap.pcuigp.xssfpm.java.IFPM fpm )
        //@@begin loadConfiguration()
         log4j.info("Inicio del Cc Prueba: loadConfiguration");
         this.fpm = fpm;
         String dcName = "sap.com/PruebaSteps";
         String packageName = "com.ibermatica.pruebas.";
         //VACs
          VAC vac1 = new VAC(dcName, packageName  + "vc1.Vc1");     
          VAC vac2 = new VAC(dcName, packageName + "vc2.Vc2");                                                  
         //perspective composition
          VAC[] startVac = new VAC[] {vac1};     
          VAC[] selectVac = new VAC[] ;          
         //Perspectives
          Perspective startPerspective =
                             new Perspective("START", Perspective.LAYOUT_ROW, startVac);
          Perspective selectPerspective =
                             new Perspective("SELECT", Perspective.LAYOUT_ROW, selectVac);     
         // fill the perspectives
         perspectives = new HashMap();
         perspectives.put(startPerspective.getName(), startPerspective);
         perspectives.put(selectPerspective.getName(), selectPerspective);        
         //Navigation Paths
         NavigationPath start =
                      new NavigationPath("", IFPM.EVENT_START,
                                                      startPerspective.getName());
         NavigationPath toStep2 = new NavigationPath(startPerspective.getName(),
                                               IFPM.EVENT_SELECT,
                                                 selectPerspective.getName());     
         NavigationPath toStep1 = new NavigationPath(selectPerspective.getName(),
                                                    IFPM.EVENT_BACK,
                                                      startPerspective.getName());                    
         NavigationPath[] navigationPaths =
                        new NavigationPath[]
    {start, toStep2,      toStep1};
    //Navigation graph
          navigationGraph = new NavigationGraph(navigationPaths);
         //Roadmap steps
          ROPStep ropStep1 = new ROPStep(startPerspective.getName(),
                                                           "Paso 1",
                                                           null);
          ROPStep ropStep2 = new ROPStep(selectPerspective.getName(),
                                                           "Paso 2",
                                                         null);     
         //Roadmap
          ROPStep[] ropes = new ROPStep[]
                          {ropStep1, ropStep2};                                               
          ROPState rop1State = new ROPState
                                       (ropes, ropStep1.getId());     
          ROPState rop2State = new ROPState
                                            (ropes, ropStep2.getId());                                             
         //ROP States HashMap          
         ropStates = new HashMap();
         ropStates.put(startPerspective.getName(),rop1State);     
         ropStates.put(selectPerspective.getName(),rop2State);     
        //@@end
    public com.sap.pcuigp.xssutils.java.CAPState getCAPState( com.sap.pcuigp.xssfpm.java.Perspective perspective )
        //@@begin getCAPState()
        log4j.info("CcPrueba: getCAPState");
         return null;
        //@@end
    public com.sap.pcuigp.xssfpm.java.Perspective getNextPerspective( com.sap.pcuigp.xssfpm.java.Perspective currentPerspective, java.lang.String eventName )
        //@@begin getNextPerspective()
         log4j.info("CcPrueba: getNextPerspective");
         if(currentPerspective != null)
              log4j.info("current perspective: "currentPerspective.getName()" "+currentPerspective.getEmbeddedVACs()[0].getComponentName());
         log4j.info("event name: "+eventName);
              String currentPerspectiveName =
                      (currentPerspective == null) ? "" : currentPerspective.getName();
              String toPerspectiveName =
                      navigationGraph.getNextNode(currentPerspectiveName, eventName);
              if (toPerspectiveName == null) {
                   fpm.getMessageManager().raiseException(
                           wdThis.wdGetAPI().getComponent(), null,
                           IMessageManager.DEFAULT_EXCEPTION,
                           wdThis.wdGetAPI().getComponent().getTextAccessor().getText("err_no_next_perspective"));                                        
                   return null;
              Perspective toPerspective = (Perspective) perspectives.get(toPerspectiveName);
              if(toPerspective == null) {
                   fpm.getMessageManager().raiseException(
                                                    wdThis.wdGetAPI().getComponent(), null,
                                                    IMessageManager.DEFAULT_EXCEPTION,
                                                    "The next perspetive "" + toPerspectiveName
                                                    + "" not defined");
                   return null;
              log4j.info("To Perspective: "toPerspective.getName()" , VACs:"+toPerspective.getEmbeddedVACs()[0].getComponentName());
              return toPerspective;
        //@@end
    public com.sap.pcuigp.xssfpm.java.Perspective getStartPerspective( )
        //@@begin getStartPerspective()
         log4j.info("CcPrueba: getStartPerspective");
         return getNextPerspective(null, IFPM.EVENT_START);
        //@@end
    public com.sap.pcuigp.xssutils.java.ROPState getROPState( com.sap.pcuigp.xssfpm.java.Perspective perspective )
        //@@begin getROPState()
         log4j.info("CcPrueba: getROPState");
         log4j.info("CcPrueba: Llega la perspectiva con estado activo: "+perspective.getName());
         ROPState ropState = (ROPState) ropStates.get(perspective.getName());
         log4j.info("ropState activo: "+ropState.getActiveStep());
         return ropState;
        //@@end
    I hope this will help more.
    Thank you very much for your effort Aishwarya.
    Thanx¡¡
    Edited by: Jon Elizondo on Jun 11, 2009 2:28 PM

  • Dynamically Create Test Step

    I want a TestStand sequence to dynamically create multiple copies of a test step (with different parameters).  We are currently looping on the test step, but this doesn't provide a clear indication to the operator what test steps have been and will be executed.  I tried to do a SetNumElements(RunState.Sequence.Main, numElements) and an InsertElements(RunState.Sequence.Main, index, numElements), but they both made the new steps of type "Container" instead of type "Step" and when I tried to copy the test step it gave me an Error: "-17321; Variable or property types do not match or are not compatible."
    Has anyone successfully done this?  Thank you in advance.

    Thank everyone for your help.  I have successfully copied test steps.  I have had one difficulty though.  If the step I copy is a function call with a relative path to the DLL and the DLL is located in the same directory as the test sequence, the copies are not able to find the DLL (the original step is able to do so).  I have "Current Sequence File Directory" selected in the search directory list.  I checked and it seems as though the paths to all of the pre-defined directories (including "Current Sequence File Directory") are empty ("") at run-time.  I don't want to add the path in the directory search list, nor do I want to hard code the path in the sequence file. 
    Does anyone have a solution to this problem?  Optimally I would like to dynamically specify the absolute path to the DLL, but I couldn't find a property or process to do this.  Thank you in advance for your help.

  • Disabling previous steps in GAF roadmap

    Hello,
    I am using the Guided Activity Floorplan in my application, and I have defined four steps in my roadmap. I noticed that the roadmap displayed on the top part of the window includes links to each of the steps, and it is possible to navigate back and forth between steps using these links. However, in my application, I would like to disable navigation to the previous steps when I am at the very last step. How can I disable the links that show on the roadmap ONLY when I am at the last step?
    Thanks,
    Kamal

    Hi Neha:
    Is it possible to create a custom button on the "Confirmation" step? I would like to provide a button "Return to Main Menu" so that the user can click and go back to portal link.
    Thanks.
    Jitendra

  • How can I disable 2 step Verification on Thunderbird

    I have been trying and trying for hours to remove the 2 step verification from my computer. Every time I open my email I put in my password and then a minute later I get the message 'Sending of password for user *my username* did not succeed. Mail server *Server name* responded: Authentication failed.' Then it asks me to enter a new password or retry. But, clicking either option will just cause the entire thing to repeat itself. I'm sick and tired of not being able to get my messages on my computer and just and to get rid of the 2 step Verification. And, please, I'm not a computer person, I need STEP by STEP instructions on how to do this.

    Sorry, I didn't realize this was a duplicate of an earlier question: https://support.mozilla.org/questions/1031969
    Let's continue there instead.

  • How to dynamically disable interactive report filed in master detail page

    I am using APEX 4.0 & very new to APEX. I am not able to make disable a filed in detail region (which is a interactive report) of a master detail Page.
    I.e. want to disable field of a row based on value of another field for same record, just like set_item_instance_property of oracle forms. Please help me out.

    its working fine for tabular form. But not working for master detail form (for detail section). Can you please help me out

Maybe you are looking for

  • Formac ADC to DVI

    Hi, I have a Formac 1900 Platinum with an ADC (male) connector and wish to connect it to an DVI connector with female input. Can anyone recommend an appropriate adaptor to handle this? regards Beya

  • Grrr dead pixels

    I just got my ipod touch 4 days ago and on the second day i noticed 4 dead pixels. Now i am seeing around 5 or 6 dead pixels. I bought my ipod from target and i was wondering if anyone knows if they will let me exchange it for a new one? Thanks.

  • Ques on "CALL" in a Database Trigger

    Sir , I am invoking one package procedure in one row level trigger on Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bi , PL/SQL Release 10.1.0.4.0 – Production, CORE 10.1.0.4.0 Production,TNS for Solaris: Version 10.1.0.4.0 – Producti

  • How to get component path in java code

    Hi everybody, I have my custom component with custom folders with pictures. My custom component works with pictures. I need to know PATH to this custom component in my java code. Thank you Martin

  • How to install actionscript 2.0 on Mac based Flash CC and where to put custom authoring tools?

    templates?