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

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.

  • Hide the Button Next / Previous in Main Steps on GAF.

    Hello Friends,
    I have to develop one application using GAF.
    In this applicaion there is no INITIAL Screen.
    application directly start with Main Step but Application doesn't have Button Next and Previous like standard GAF application.?
    How to Hide the Button Next / Previous and change the name of Button?

    Hello Julia,
    You are absolutely correct.
    But the thing is, first screen of my application only have the button 'Start' and also roadmap is displayed.
    But in standard GAF application,
    if i configured my window as Inital Screen then button Start will come, but raod map will not come.
    if i configured my window as Main Step then Road Map will come with Button 'Previous; and 'Next'. but Button Start will not come.
    either I can add the Button 'Start' in Main Step or change the name of Button 'Next' to 'Start'.
    But button 'Previous' nothing make sense, so i have to hide this button.
    my 'Start' button will act as Button 'Next'.
    but how can i hide the button 'Previous' and change the name of button 'Next'.
    could you please suggest me shall i develop this application using GAF or simply use the Roadmap UI element in my web dynpro abap application?
    Thanks
    Edited by: Chandraprakash Sulakhe on Apr 6, 2009 11:34 AM
    Edited by: Chandraprakash Sulakhe on Apr 6, 2009 11:42 AM

  • How do I hide multiple steps in GAF FPM

    I have a GAF FPM that has five steps. Based on some data condition I want to hide steps 2 and 3. I have implemented the interface IF_FPM_GAF_CONF_EXIT to get the OVERRIDE_EVENT_GAF method. WIthin in that I am calling the HIDE_MAINSTEP two times, however, it appears that only the second HIDE_MAINSTEP is taken.
    Is there some way to commit or update between calls.
    My code is:
    CALL METHOD IO_GAF->HIDE_MAINSTEP
    EXPORTING
    IV_VARIANT_ID = 'MAIN'
    IV_MAINSTEP_ID = 'Account'
    CALL METHOD IO_GAF->HIDE_MAINSTEP
    EXPORTING
    IV_VARIANT_ID = 'MAIN'
    IV_MAINSTEP_ID = 'Profile'
    When I test my application only the PROFILE step is hidden. What do I need to add to make sure that both steps are hidden? I know that I can create a variant with these steps removed but in the end I will need to conditionally hide one to main of the five steps which will end up being main variants.  Ideally I do not want to maintain all possible combinations of 5 steps.
    Thanks for the help...

    Hi ,
    i have used the following code on the FPM_START event IN OVERRIDE METHOD to disable the steps.
    TRY.
          io_gaf->get_mainsteps( IMPORTING et_mainstep = lt_main_step ).
    LOOP AT lt_main_step INTO ls_main_step.
              io_gaf->enable_mainstep(
                EXPORTING
                  iv_variant_id  = ls_main_step-variant
                  iv_mainstep_id = ls_main_step-id
                  iv_enabled     = abap_false ).
            CATCH cx_fpm_floorplan INTO lx_fpm_floorplan.
    ENDLOOP.
    ENDTRY.

  • How do I change the lable of next and previous button in GAF of FPM

    Hi Experts,
    How do I change the label of next and previous button in GAF application using FPM in each individual step?
    Thanks!

    Hello Anthony,
    as far as I am aware only the final step before the confirmation screen can be changed. Which you can do by clicking on it in the configuration view - click on the last but one step - and click on the next button - at the bottom of the screen you'll get a view where you can change the label of the step.
    There is some logic in this - in that it does make for a more consistent user experience across various apps.
    It's different to how we could do things in Java - but it's nice that there is a certain level of conformity across FPM apps.
    hope this helps,
    Cheers,
    Chris

  • How to enable Previous Step Button in First  Substep of FPM Road Map

    Hello All,
    I have created three MainSteps M1 M2 M3.
    In Main Step M2 having Substeps Say S1 S2 S3 S4.
    In M2 of S1 Previous Button by default it is disabled. Means user can't go back from First Substep(S1) to Main Step2 (M2).
    Please let me know how to enable  "Previous Step"  Button in First  Substep (S1) of FPM Road Map in M2.
    Thanks in Advance.
    Br
    -CW

    Hello BS,
    Thanks for your suggestions.
    Yes we can do with custom button.
    Is there anyway to enable standard  Previous Step Button in First  Substep instead of creating cutom button.
    Please guide me if any other options.
    BR
    -CW

  • Is there a way to disable previously viewed iMessages from appearing as Messages notifications when waking my MacBook Pro from sleep?

    Is there a way to disable previously viewed iMessages from appearing as Messages notifications when waking my MacBook Pro from sleep?  Regardless of whether I am using iMessage from  my iPhone or iPad, when I open my MBP, I get attacked by Messages notifications for iMessages I've obviously already seen or responded to.  Is there a way to change this?  Are others having this issue?
    Additionally,  previous iMessages sent or received from those  devices sometimes don't populate into the Messages window on the MBP.  I haven't been able to identify when or what causes this; sometimes it just doesn't seem to work (and I verified that the messages sent/received were, in fact, iMessages and not SMS).
    Thanks - any help or insight would be appreciated!

    First you need to determine what laptop model you have; then we can help you. A Mac Book Pro cannot run OS 9.1.
    With your Mac booted up, click on the  at the far left of the menu. Then click on About This Mac. It will show what version of OS  you are running. What is the version?
    A MBP will be running something like version 10.x.
    If you are running version OS 9.x, you don't have a Mac Book Pro.
     Cheers, Tom

  • Referring to Automator Results from Previous Steps

    Is it possible to refer to the results from previous steps in an Automator Workflow? Specifically, I'm trying to modify my backup Workflow to remove files from a folder before archiving it. I'm writing code and I want to back up my progress every so often. I have a decent workflow for archiving my entire project folder, but my executable is 21 MB where as the source code is .5 MB. I could cut the size of my archive dramatically if I could remove the executable file before archiving (plus it's obviously nonportable and redundant anyhow). I'm running into 2 issues when trying to create a Workflow to handle this:
    1) Find/Filter Finder Items rely on Spotlight meta tags. Since I'm constantly recreating the executable, it appears Spotlight generally doesn't have the executable indexed so these two functions don't work. They simply don't see the executable.
    2) Even if I find the file and delete it, I don't know how to select the folder again to archive it. I'm trying to keep this general so it'll work on any project folder so I don't want to point it directly to the folder.

    Is it possible to refer to the results from previous steps in an Automator Workflow? Specifically, I'm trying to modify my backup Workflow to remove files from a folder before archiving it. I'm writing code and I want to back up my progress every so often. I have a decent workflow for archiving my entire project folder, but my executable is 21 MB where as the source code is .5 MB. I could cut the size of my archive dramatically if I could remove the executable file before archiving (plus it's obviously nonportable and redundant anyhow). I'm running into 2 issues when trying to create a Workflow to handle this:
    1) Find/Filter Finder Items rely on Spotlight meta tags. Since I'm constantly recreating the executable, it appears Spotlight generally doesn't have the executable indexed so these two functions don't work. They simply don't see the executable.
    2) Even if I find the file and delete it, I don't know how to select the folder again to archive it. I'm trying to keep this general so it'll work on any project folder so I don't want to point it directly to the folder.

  • How to go back to previous step in a sub workflow?

    We are calling a sub workflow upon approval action from a main workflow. In the child workflow we have 9 steps. If at any step in the child workflow (other than first) user does reject action, the workflow control should go back to previous step in the child workflow itself.
    We added a custom action in the exit events of all the child workflow steps. Following is the logic of exit event of Step4 of child workflow. Similar logic is there for all steps in the child workflow.
    <$if wfAction and wfAction like "REJECT"$>     
         <$wfSet("wfJumpTargetStep", "Step3@childWF")$>
         <$wfSet("wfJumpEntryNotifyOff", "0")$>
    <$endif$>
    With this code when the user is doing reject action from child workflow, it is taking us back to the main workflow and not to the previous step of child workflow.
    Is this approach correct?
    -Pratap

    1. The 3 events are Entry, Update, and Exit.
    2. Rejects happen in the Update area but you can not reliably react to it there because upon reject it immediately leaves (not going through the exit event).
    3. The rejected content goes backwards in the Workflow step by step (even going back to the main workflow from a sub workflow) until it finds a Step that has valid Editors (not just reviewers).
    4. If it does not find an Editor step it goes all the way back to the automatic Contribution step at the beginning of the Workflow and sits there in a kind of no mans land until the contributor (or an admin) goes and approves it again.
    5. To check if something has been rejected the Entry Event of an editor Step BEFORE the step where it is rejected needs to have code to check for the Reject status.
    The sub workflow should be able to capture the Reject as you desire. Are all of the steps in the child workflow (sub workflow) Review only steps? Or maybe the people in the steps do not have RW access to the document? This is what I would predict with your described symptoms.

  • MDM Approval Workflow - Send to previous step using API

    Hi,
    I am working on MDM 7.1 SP 07. I have integrated MDM workflow with UWL.
    I have written a custom web dynpro application to approve the workflow record using MDM APIs.
    I am able to accept the workflow task, mark it as APPROVED, mark as DONE and send it to NEXT STEP using WorkflowTaskAction.SEND_NEXT_STEP
    Similarly I am able to accept the workflow task, mark it as DISAPPROVED, mark as Done.
    Issue:
    When the record is disapproved, I can see the "Send to previous" step option in data manager.
    But I donot get the option "SEND TO PREVIOUS" in the mdm api. I expected something like WorkflowTaskAction.SEND_PREVIOUS_STEP
    Any idea on the correct apis to send to previous step?
    Regards,
    Durai

    Hi,
    I tried with WorkflowTaskAction.SEND_NEXT_STEP. But it is failing. Because once the record is disapproved and marked as done, SENT_NEXT_STEP is not enabled.
    I also checked the Workflow status. Once disapproved and marked as done, only PREVIOUS_STEP gets enabled in Data Manager.
    Are there any other options to send to previous step?
    Regards,
    Durai

  • Need to disable previous entries in an INPUT field(on pressing spacebar)

    Dear Gurus,
    On clicking the space-bar of an input field (of a module pool screen), the system will picks the previous entries of the field. Like say for the input field against 'belnr', and I provided 5000001 for the first time and 50000002 for the 2nd time. And on the 3rd time, when I press space-bar in the field the system will diaplay the 2 belnrs in a list down fashion. I want to disable this facility only for the particular field. Can u help me..

    HI,
    do you want disable previous entries in strandard program or in Custom program (Z-Program)
    Regards
    Sudheer

  • Can we insert main step in between the existing main steps in GAF apps?

    Hi,
    I just wondered when I have to place an all new view between the steps already existing in the  GAF Application,
    and I was unable to find any button for insert new step or copy a step or to move a step.
    I have 5 steps in GAF App and wanted to add 6th step in between existing 4th and 5th step. But every time the new
    step gets added in the last, and I think I could not find any way to move this new step prior to old one.
    It will be tedious for creating the old step again with all the setting of toolbar and other setting if I delete the previos step.
    Isn't there any solution?

    Hi,
    Please go through the below doc
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/507b2811-652a-2f10-be94-96b4bf3863e9?QuickLink=index&…
    and follow the same procedure using button 'Add Substep'.
    BR,
    RAM.

  • Again and again its coming to its previous step of the installation wizard

    Can any one please tell the reasons of the following problem at time of SBO 2007 B SP 0 PL0?
    At time of Installation of SBO 2007 B SP 0 PL0 u2026 in the home window I clicked Install >> Server >> Custom >> SAP Business One Server u2026 not it comes back to Home or after Home page i.e. Install Server / Client u2026. No way by this window (or wizard) SAP Business One Server is getting installedu2026.again and again its coming to its previous step of the installation wizardu2026

    Hi Das,
    If this happens with the Autorun wizard, you could install the server setup from the packages-> server folder.
    Regards,
    Vijay kumar

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

  • I want create new previous step as well as Exit in portal level

    Dear friends,
    When I generate in portal page like family member details EP system showing *Previous step* as well as  Exit  I want create  like that in Personal details pls tell me any possibilities

    Any one
    please help me how to create <Previous Step> <Exit> button at adress detail , personal detail,bank detail in exiting ess iview.
    please tell how to add above two button .
    thanks
    kundan

Maybe you are looking for