Skipping disabled step in GAF

Hello All,
I am disabling a main step in a GAF FPM at runtime by calling method IF_FPM_GAF->enable_mainstep in the OVERRIDE_EVENT_GAF method of interface IF_FPM_GAF_CONF_EXIT.
However, the step is still being called when it is reached.
Moreover, the step is automatically re-enabled  this.
Does anybody know if this is normal behaviour?
And if so, is there an efficient way of programming this in?
I suppose I could trigger a 2nd next_step event in the before_flush of the application controller to skip it, but will need to suppress any event processing validations for the relevant uibbs.
Many thanks for any advice,
Pieter

Hello Harish,
I do sometimes need the step - that's why I'm disabling it dynamically.The validation is there for the cases when I do need it.
Somehow I would have expected the FPM to have the intelligence to know by itself to skip a step that is disabled.
That's why I was wondering if maybe I was doing something wrong...
I've managed to do it now by raising the next_step event in the before_flush as I already suggested myself, but this is more work as I would have liked it to be - I even need to re-disable it as the next_step apparently reenables it.
Regards,
Pieter

Similar Messages

  • I'm setting up my MacBook Air and it tells me to sign in with my apple ID but when I try to sign in it says there's a server error. What do I do? Do I try to skip the step?

    I'm setting up my MacBook Air and it tells me to sign in with my apple ID so that I can set up features like iTunes and iCloud and such but when I try to sign in it says there's a server error. What do I do? Do I try to skip the step? How can I fix this?

    The following previous discussion may help, in particular the last post (1/22/2014 by frankjet7): https://discussions.apple.com/message/21295536#21295536

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

  • Option to "buy calendar" at the bottom is grayed out. Am I skipping a step?

    Trying to buy a calendar in iPhoto and the option to buy at the bottom is grayed out. Am I skipping a step, or is my computer glitching?

    Have you selected a Print Store to order from? Iphoto -> Preferences -> Advanced
    Regards
    TD

  • HT4623 I am trying to complete the iOS7 update and it stalls on the updating of iCloud settings....if I skip this step what will happen?

    I am trying to complete the iOS7 update and it stalls on the updating of the iCloud settings, if I skip this step what will happen?

    Same issue here....somebody help?

  • I'm not able to create my apple id without my credit card number in my iphone 5c.there is no way to skip this step.there is no option like "NONE" to skip that step.kindly help me out.im unable to download even free apps

    i'm not able to create my apple id without my credit card number in my iphone 5c.there is no way to skip this step.there is no option like "NONE" to skip that step.kindly help me out.im unable to download even free apps

    See
    Why can’t I select None when I edit my Apple ID payment information?
    and
    Creating an iTunes Store, App Store, iBooks Store, and Mac App Store account without a credit card
    Step 3 is important, no matter whether you do this on a Mac or an iPad / iPhone:
    Important: Before proceeding to the next step, you must download and install a free application. ...
    Important: Before proceeding to the next step, you must download and install the free application by tapping Free followed by tapping Install App. …
    First you must download a free app from the App Store. When you are asked to sign in with your Apple ID, select "Create new account". Accept the terms and conditions checkbox, then click Continue. After you enter all the requested personal data, click Continue.
    When you are asked to select a payment method, select "None". 
    That's all there is to it.

  • Question about Disable Step Task Sequence

    Hello guys,
    I have 2 doubt about my scenario, I hope you help me.
    Scenario1
    I want deploy SO Windows7, I have only one partition.
    If a disable step: Apply data image1 my deploy ocurred with sucess.
    But if no disable step I saw up, ocurred error 0X8004005.
    My question so: Why is
    mandatorily I
    disable this step?
    Print1 Partition Disk0
    Print2 Apply Data Image
    Thanks any idea.

    It seems the answer has been staring us in the face this whole time.
    In the above image you posted previously, you are clearly applying an image that, from the title, contains an OS despite the warning below the selection box stating that this image
    can not contain any operating system.
    The apply operating system task sequence step is for applying any WIMs involved with OS or boot partitions. The apply image step should only be used if you had data partitions that you wanted all machines to have, for instance raw storage sections with company
    specific data on it. I have never seen it used but I can imagine where it would come in handy.
    I would recommend replacing all of those steps with the appropriate task sequence step.
    I also recommend you stop using hardware specific WIMs, as it seems you are using based on the title
    WIN7HP8200... above. You should be able to go fairly hardware independent with the WIM and only apply drivers to the Task SEquence based on hardware detected.
    Dustin Estes - MCP | www.dustinestes.com

  • HT2534 im 14 and i dont have no credit card how can i skip that step?

    im 14 and i dont have no credit card how can i skip that step?

    None Payment
    Did you create a NEW account using the instructions in Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card using an email address you had not previously used with Apple?
    You have to.
    You may have to create a new account following the instructions using a new email address.

  • I live in Australia and i dont want to put in any credit card details, How do i skip this step?

    i live in Australia and i dont want to put in any credit card details, How do i skip this step?

    Creating an iTunes Store account without credit card -  Support - Apple

  • I found an ipod 5th generation at the train station. i tried to find the owner i couldn't. i kept it and restored it, now its asking me for the apple id username that had setup the ipod. my question is how can i skip that step

    I found and iPod touch 5th generation. I restored it now its asking me for the apple Id that had set up the iPod. Myoy quesyotion is ow can I skip that step.

    JacobiJ, no email address/Apple ID is listed. It just says enter the Apple ID and password.
    JacobiJ wrote:
    Send them a email at the Apple ID email address and tell them you found their iPod. I'm sure they will be very greatful.

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

  • 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 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 to skip first step in a FPM roadmap?

    Hello, Our client wants the first step disabled/not displayed in a standard roadmap that has been delivered with the software. The standard roadmap uses component FPM_GAF_COMPONENT and consists of 4 steps (and is based on an application config and component config). They want to directly display the second step with certain values in the second screen pre-populated from a custom application (the second screen would in normaly flow be populated from first screen). So I have two tasks:
    1) disable first screen/step
    2) populate second screen/step with data from custom application
    This is my first exposure to FPM and roadmaps. I tried deleting the first step from the component configuration and making the current 3 step process into a 3 step process, but this does not work and did not seem to be the way to go. On looking around I see some documentation for methods HIDE_MAINSTEP to be used thru IF_FPM_GAF interface, but am not sure where to implement this interface or what code to use in the method.
    Can anyone provide step by step suggestions and examples of codes please?
    Thanks,
    Zack

    Thanks Harish.
    I was able to get to the HIDE_MAINSTEP method. However, when I try to hide step 1, which is my requirement, there is a short dump. If I hide step 2 or 3 out of the 4 step process, the sequence of screens is showing up appropriately. However, when I hide step 1, there seems to be some problem in mehod WDDOMODIFYVIEW of view CNR_VIEW of component FPM_GAF_COMPONENT where in a loop for the first loop pass, even though step 1 is hidden, the code is trying to access the road_map_step element which is not instantiated. We have opened a note for this issue.
    Zack

  • How to skip approving steps for users who are also approvers?

    We have a business need to be able to skip the approving steps for the users who are also approvers.
    For this following steps were followed :-
    1) Open .task file and go into the Assignment tab. Double click on the performer box within the routing slip, this should open the "Edit Participant Type" editor. Expand the "Advanced" section and place a check next to "specify skip rule", then click the edit icon to the right. Now enter an XPath expression that will test whether the current user is equal to the task creator.
    2) We used - isUserInRole XPath function in the "Identify Service Functions" dropdown - first param to function is the userID, the 2nd is the role name.
    We tried with hardcoded userID as well as by using
    ids:isUserInRole(/task:task/task:systemAttributes/task:updatedBy/task:id,'California')
    where 'California' is the group name (as one of the forum threads told this function works with groups).
    We also tried with swimlane roles(using bpm.getPerformer() function) but it does not work either.
    Please let me know if any one has any solution to this problem.

    session as DirectorySession = DirectorySession.currentEngineSession
    dirHum as Fuego.Fdi.DirHumanParticipant = DirHumanParticipant.fetch(session : session, id : "myUserId")
    result = hasRoleAssigned(dirHum, role : "Approver")Give that a try...
    HTH,
    -Kevin

Maybe you are looking for

  • When i try to register my iphone 4s it says it is linked to another user

    I have just tried to register my iphone 4s , with icloud.   it comes up saying that this phone is registered under some other itunes account. can i find out who?

  • How to get built.xml for ear file in jdeveloper?

    Hi, I am using JDeveloper to create EAR file for my ADF Fusion Application. I think Jdeveloper use ant to create EAR file. I know how to get built.xml for my war file. Can anyone tell how to get that built.xml that create EAR file in Jdeveloper.?

  • Crystal Reports XI: 6587706c SystemErr R Assertion Failed

    Hi: I am trying to incorporate Crystal Reports XI with in-house application, windows platform and Websphere Studio Application Development 5.1 and getting following errors. Most of the reports are coming up properly but the problem is it takes for ev

  • Missing parameters in labview

    Hello guys, I've a big problem. I really need to build a dll on my VI (named "Controle da Fonte.."). When I try build it, it should return me some parameters but it does not happen. I've downloaded a sample from NI when it works normally. I've attach

  • Sales return-excise duties

    Dear all, while getting back the material from the customer(sales return), my client wants all the excise duties to get updated in the input accounts so that he can claim the duties from the government just like cenvat input accounts. Can anyone tell