Restarting Initial screen using a GAF component

Hi Everyone,
Quick Background: I have developed a WD application that makes use of the FPM_GAF_COMPONENT. I have implemented interface IF_FPM_GAF_CONF_EXIT and coded method OVERRIDE_EVENT_GAF to dynamically choose which version of the application to display at runtime using the URL parameters of the WD application. The configuration constists of an initial screen and a couple of variants - each variant then contains at most 3 mainsteps.
The versions that are determined by the URL parameters at run-time are the following:
1) Application run for employee.
2) Application run for manager.
Based on the version this then populates a radio button group on my initial screen.
My initial screen has 3 options for employee- Create, display or modify. Then based on the selection here this will choose the correct variant to run.
The manager version only has one option display/action the item. Therefore the initial screen is skipped for this.
This all works fine, however say for instance my current state is version - Employee, variant 1(create) and mainstep 3(confirmation step), I want to allow the user to return to the initial screen, so that the user choose what to do next, is this even possible if so how?
I was thinking of using the YouCanAlso or RelatedLinks within the fpm interface?
Thanks in advance
Regards
Carlos

Hi,
Yes I tried that method as well as the goto_start method, but they didn't work.
It's okay however, I figured out a work around.
I used the get_current_state method and check if the variant was the variant I needed to change then I disable the approve and reject buttons and only allowed the user to press the previous button.
But still if someone know the answer to this, would be cool for my next client.
Regards
Carlos

Similar Messages

  • Initial screen for the Queries component

    Hi all,
    which transaction show the initial screen for the Queries component ??
    Thanks,

    Hi Deepu,
    I saw in the SAP document in directory:
    Queries->Selecting Queries for Processing,
    a graphic shows the initial screen for the Queries component. but wasn't mentioned how we can get this graphic.
    The directory title is:
    "Query from user group:initial screen"
    Do you know which transaction it is ?
    Thanks,

  • Error when calling a popup window in the initial screen of an application

    Hi,
        I am calling a popup window in the Initial screen to select the variant list.
    I am getting an error reference to Null Object reference.
    Here is the Error.
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          15.06.2007 10:00:16
    Short text
    Access via 'NULL' object reference not possible.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_WDR_MESSAGE_AREA===========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
    caught in
    procedure "SUPPLY_VIEW_DATA" "(METHOD)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component.
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
    "CL_WDR_MESSAGE_AREA===========CP" or "CL_WDR_MESSAGE_AREA===========CM00Q"
    "SUPPLY_VIEW_DATA"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "SUPPLY_VIEW_DATA" "(METHOD)", or its possible occurrence must be declared in
    the
    RAISING clause of the procedure.
    To prevent the exception, note the following:
    Looking for Ur valuable suggestions.
    Cheers,
    Sam

    Hi Sam,
    The correct code for creating a popup window will be:
      data lo_window_manager type ref to if_wd_window_manager.
      data lo_api_component  type ref to if_wd_component.
      data lo_window         type ref to if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window(
                         window_name            = 'WINDOW_NAME'
    *                    title                  =
    *                    close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
    *                    close_button           = abap_true
                         button_kind            = if_wd_window=>co_buttons_okcancel
                         message_type           = if_wd_window=>co_msg_type_none
                         default_button         = if_wd_window=>co_button_ok
      lo_window->open( ).
    Hope this helps.
    Regards,
    Ram

  • Cannot get ATV to go beyond initial screen

    I have an ATV 2nd generation.  I have been using ATV with no issues other than the typical poor internet connection that causes me to restart or reboot ATV.  I was having problems using ATV, so I performed the latest system update.  However, after performed the update, I am now no longer able to get ATV to go beyond the initial screen displaying the Home Sharing and General icons.  I have successfully connected to the wireless network, which is the same network I am currently using with my laptop and other wireless devices.  I have made several attempts to reboot the router, modem and ATV, but every time I am stuck at the same initial screen after connecting to the network.
    1. Is the ATV only showing this screen because because it is not recognizing the internet signal?
    2. Is there any solution or recommendation that will allow the ATV to connect to my wireless network?
    BTW.  My Roku box is connected to the same wireless network and is working just fine!!! 
    Someone please tell me what I need to do to see all options available with ATV after performing the last system update to 5.0.2!!
    Model: MC572LLA
    ATV Software: 5.0.2
    Signal Strength: 5 bars
    Thanks!

    Hi
    Welcome to Apple Discussions
    Try Safari from another user account. Here is guidance from Apple on how to set up the account. You can ignore step 7 in the article.
    Also, on the system preference>Accounts panel, click on "log-in" options. There, select "fast user switching". This allows you to go back and forth between user accounts via an icon in your Menu Bar at the top of the computer screen.
    Log-on to the new account and start Safari. If Safari operates without problem in the new account, then your problem is specific to your regular user account. Otherwise, similar response means a system-wide problem.
    Post back with results.

  • Graying out the option INITIAL SCREEN on MFBF transaction -reg

    Hi,
    We face issues with users keep on changing their initial screen of MFBF transaction where in which they encounter issues .
    for example for doing assembly backflush , some times with out knowledge they select component back flush radio button and click on the option initial screen , then for them on MFBF component backflush only selected by default .
    with thsi background if they try for processing assembly back flush back ground sessions they encounter error and then we have to analyse and find the problem with screen of MFBF
    we would like to take out the option of initial screen setting from the users
    we could not do it through any of authorizations
    any idea how to deactivate it ?
    can it be done user wise or for the whole transaction it has to be done ?
    regards,
    madhu kiran.

    hi,
    we could not find any objects to control it through authorization
    our basis personnel confirmed it
    if any authorization controlling object is there please let us know which object to be used
    or
    which user exit we have to activate which should not give any side effects to the existing business process
    regards,
    madhu kiran.

  • Adobe illustrator Cs5 freezes on initializing screen

    I am running Cs5 on OS 10.9.2. IN the last two weeks it has started freezing when I try to open, and the program become unresponsive. The only way to exit the frozen "initializing screen" is to force quit. I have been using it on this platform for over a year.
    As far as I know I dont have any third party plug ins installed, but I do have a few 3rd party fonts.
    Help please!

    j,
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    The first thing to try may be Item 1 in 5) (Corrupt fonts).
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Set roadmap screen as FPM header / initial screen

    Hi experts,
    we have built a FMP OIF application and tried to set the interface view of a FPM UIBB as header:
    method override_event_oif.
      case io_oif->mo_event->mv_event_id.
        when if_fpm_constants=>gc_event-start.
          ls_view_key-component      = '/UCIHR/PD_PM_WD_DIS_TIME'.
          ls_view_key-interface_view = 'WV_ROADMAP'.
          call method lo_aca_api->add_uibb
            exporting
              iv_aca_location = 'II2'
              is_uibb_key     = ls_view_key.
    endmethod.
    Works fine. However if we define an initial screen the header is not displayed any more. Any ideas what could be the reason for this?
    Thanks,
    Markus

    When you want to add your header, you have to do this in OVERRIDE_EVENT_*(GAF/OIF) of your application controller on event LEAVE_INITIAL_SCREEN...
    Try this code:
      DATA : lo_fpm TYPE REF TO if_fpm.
      DATA : lo_idr TYPE REF TO if_fpm_idr.
      DATA : lo_gaf TYPE REF TO if_fpm_gaf.
      DATA : lo_aca TYPE REF TO if_fpm_aca.
      DATA : lwa_uibb_key TYPE fpm_s_uibb_key.
      DATA : lt_added_uibbs TYPE fpm_t_uibb_key.
    IF io_gaf->mo_event->mv_event_id EQ if_fpm_constants=>gc_event-leave_initial_screen.
        CLEAR lwa_uibb_key.
        lwa_uibb_key-component = 'FPM_FORM_UIBB'
        lwa_uibb_key-interface_view = 'FORM_WINDOW'.
        lwa_uibb_key-CONFIG_KEY-config_id = 'MY_CONFIG'.
        CALL METHOD lo_aca->add_uibb
          EXPORTING
            iv_aca_location = if_fpm_constants=>gc_aca_locations-ii3
            is_uibb_key     = lwa_uibb_key.
    Get FPM instance
        lo_fpm = cl_fpm_factory=>get_instance( ).
        CHECK lo_fpm  IS NOT INITIAL.
    Get reference of title management object
        lo_idr ?= lo_fpm->get_service( 'IDR' ).
        lo_idr->set_header_visibility( abap_true ).          
    endif.

  • How to use the same component in different applications

    Hi All,
    I need to use the same component in different applications. i.e In opportunity, Quotation & Promotion.
    The Search help view in the component PRD01QR should be used in all these components but with different search criteria.
    With help of the DO_determine_configuration, different view configurations are possible but Different search criteria is not possible.
    for Eg. search parameter without DDLB, F4 options in another components.
    How can I control the behavior of the search view in different applications with restricting the field properties?
    Is it possible to find out where and in which component these search_help_search component is used?

    Hi Harry,
    Is it possible to find out where and in which component these search_help_search component is used?
    ans: I am giving an Example for your question go through that u might get clear about this.
    Ex: BT115IT_SLSO  sales order component
    below screen they component usage using for populate the product search component.
    please let me know any help required .
    Regards,
    vishwa.

  • Call transaction VA01 or VA03 and skip first screen using Web dynpro

    Hello Experts,
    I am calling the standard transactions using Web dynpro via ITS.
    I am able to reach to the initial screen of the standard transactions say VA03 and populate the sales order number through Web dynpro.
    My requirement is to skip the first screen of the transaction.
    I tried passing the screen number in the URL link but still it is showing the initial screen.
    Please suggest me solution for this.
    Thanks and Regards,
    Rahul Sinha

    Hello Rahul,
    Did you follow the ITS Wiki article?
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375
    Edgar

  • VL01N-Creation of Outbound Delivery, initial screen

    Hi, can anybody teach me how to gray-out or hide the "from item/to item" fields in the VL01N initial screen.

    Hi Ridgy,
    I have tried entire process given below for vl01n to hide from & to fields and giving you the following step wise approach.
    -Go to SHD0
    -Specify Transaction code VL01n and say Create
    System takes you to the Create Delivery screen
    -Give mandatory values and press enter.
    A pop-up with field names and options to mark inactive/required etc. will come.
    -In that check the boxes against From item & to Item under invisible.
    -Give a name to the screen variant and opt "EXIT AND SAVE".
    -Come back to SHD0, specify the screen variant name in the screen variant tab
    -Goto Standard variants tab, under Variant Groups, enter Group name(Zname) and create
    -Enter User name and assign.
    -Goto Transaction variant, change ...enter screen variant and save
    -Activate Standard variant.
    Now for all the users entered in that user group. Hope this is useful. 
    Or else you can ask abapper to check any implicit enhancment is available.

  • How to make all fields mandatory in sales order T- code VA01 initial screen

    Dear all,
    how to make all fields mandatory in sales order T- code VA01 initial screen itself
    The fields are
    Sales Organization
    Distribution Channel
    Division
    Sales Office
    Sales Group
    Regards,
    Amar Reddy

    Hi,
    You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
    [Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
    Regards,
    Phani Prasad

  • I am loging in SAP. Initial screen come where it display User Menu and Sap

    Dear All,
    When i am loging in SAP. Initial screen come where it display User Menu and Sap Menu, but User menu is in active not showing but T code are executing then what object i have missed.
    can u help me?
    Thanks,
    Regards,
    Sachin

    Hi Sachin,
    It doesn't care if you're using SAP_ALL or any of those profile. That is not relevant. I had that case a few days ago, I'm not using any of those profiles and I made it work with help of one post.
    If you put the transactions in the tab "Menu" of the role in the PFCG, and if you activate parameters I mentioned in a prior post, then you should see the Menu.
    Tables SSM_CUST and USERS_SSM. The first is global and the other is user-especific.
    The link in one of the first post of this thread hace all the info.
    That should work, that worked in my case.
    What values the parameters have on those tables? The more the info the better.
    Updating the parameters on those tables should help. If still doesn't work then you should check another parameter using transaction RZ10 or report RSPARAM.
    If my info solves your problem, points are appreciated, if not, we will try...
    Jose

  • Setting Profile Value as default in Task List Initial Screen Profile Field

    I have created a profile for enabling Network Graphic view for operation relationship in PM task list. Whenever i want to create task list i have to enter profile in initial screen to activate Network Graphic view. Can this profile be set as default, i mean whenever i create task list, profile field be filled automatically with predefined value instead of entering profile every time ?

    Yes, you can default this Profile name by use of PIDs
    Not at a system right now - can anyone help with the PID name??
    PeteA

  • Problems getting just the file name using an upload component

    Hi everyone, I'm using an upload component on my page and I need to get just the name of the image/file in order to store it in a database, I used the code of the tutorial and It works fine on mozilla but the problem comes when I use Internet Explorer because I get the whole path of the image/file and not just the name of it. I believe the browser is the cause of the problem, I already checked the http://jakarta.apache.org/commons/fileupload/, but I don't understand how to use anything, and not even the code of the tutorial works eventhough it is specified in comments:
    // some browsers return complete path name, some don't
       // make sure we only have the file name
       String justFileName = uploadedFileName.substring
          ( uploadedFileName.lastIndexOf(File.separatorChar) + 1 );If anybody could helpme solve this problem I'd appreciate it so much
    Regards
    Yes
    Message was edited by:
    Yesenia

    Let's walk through the code...
    File.separatorChar is the system-dependent default hame-separator charac tor. This field is initialized to contain the first character of the system property file.separator. On UNIX systems, the value of this field is '/'; on Microsoft Windows systems it is '\\'.
    String justFileName =
    // get the substring of uploadedFileName
    // that starts after the last separator (\ or /)
    uploadedFileName.substring
    uploadedFileName.lastIndexOf(File.separatorChar) + 1
    You say that this statement is returning the complete path name, for example:
    C:\Documents and Settings\All
    Users\Documentos\Mis im��genes\Im��genes de
    muestra\Puesta de sol.jpgSo, we can make an assumption that the File.separatorChar must not be \, or else the statement would return Puesta de sol.jpg.
    We know that it works for you on Solaris/Mozilla.
    We also know that Misha has tested the statement in IE and it works for him.
    (And I know that this tutorial was tested by a software engineer and a quality engineer, and it worked for both of them, as well as the tutorial author and a peer).
    So, what is different here??????
    Can you print out File.separatorChar and see if it is '\\' (I think the first \ is an escape char, that is \\ (escape-escape) is the equivalent of \ (backslash)) or '\'?
    When you run it on another machine, how are you deploying it on the other machine? Is it deployed to Solaris and running on Windows?
    Have you tested to see if it works on a Windows machine using Mozilla?
    Thanks in advance for any light you can shed on the problem.

  • SAP initial screen changed

    Hello SAP Experts!!!
    In our company, i have created some roles and assigned them to the consultants. Till yesterday the initial screen for all the users assigned to that role was SAP Easy Access
    Menu (S000). But it changed to project builder now. I want to change that to previous one. How can i do that in that particular role?
    Thanks & Regards
    Vanitha
    Edited by: Vanitha badampudi on Feb 17, 2009 7:16 AM

    Check this out
    o   Change SAP menu
         -   The SAP menu entry point is specified in the transaction SSM2.
             If no setting is made, the standard entry point (area menu S000)
             is used.
    User-specific settings
    o   The administrator can activate or deactivate menus for individual
         users.
         -   If there is a user setting it is used, if the menu exists.
             Global settings are then ignored.
         -   To make user settings, enter or change records in the table
             USERS_SSM in the View maintenance transaction SM30). You can
             then specify whether the user menu or the SAP menu are to be
             displayed for a user.
    @Rosa  Project builder is just a transaction code CJ20N
    May be it helps
    Regards,
    Subhash

Maybe you are looking for

  • SQL developer hide non printable characters

    Hi I have accidentally turned on non printiable characters in sql developer.Does anybody know how to turn this off

  • Disk Images Won't Mount: Broken Pipe

    iBook G4 933 MHz, 640 MB RAM, OS X 10.4.8. I have two Macs: the offender above, and an eMac G4 800 MHz, both running OS X 10.4.8. Lately, my iBook has refused to mount Disk Images (.dmg format), instead giving a "broken pipe" error. Below is the syst

  • Where Is a Proper Place to Store Temporary Files?

    Now, I have this situation: While the web application is running, I need a place to store an uploaded file temporarily and then write this file out. Where is the proper place to create a directory to store a temporary file? Is any place in the applic

  • Release strategy for goods reservation.

    Hi Experts, I have client requirement for developing a custom release strategy for goods reservation in MM since there is no such strategy available in standard SAP. Would you please give some idea on how to go about it? Thnx in advance. Sudipto Chou

  • How can you change the display size on the task bar

    how do you change the display size on the task bar