GAF - get next View or Step ID

Hi,
i need to replace standard buttons in GAF with own buttons. Now i need to implement the logic that "Previous Step" is not enabled in first view etc. To resolve this, i need to know which View is shown next. How can i achieve this?
I saw that i can use if_fpm_gaf->get_current_state to get current step. In combination with event i could achieve this, would not be a nice way.
Regards
Christopher

Hi Isabel,
                   You will get the details from the method 'WD_VIEW_INITIALIZE'
ME->OUTER_REP_VIEW->DATA_REF-Parent_Viewset.
At runtime you can see the values for BP_HEAD & BP_CONT.
PARENT_VIEWSET                                             BP_HEAD/AccountViewSet
PARENT_VIEWSET                                             BP_CONT/ContactViewSet
Regards,
Ruby.

Similar Messages

  • Get Name of Future Step in TestStand Sequence

    Hello All,
      Working on a sequence of numeric limit tests, and need to set the limits programatically, based on an imported configuration file.  I use a simple action call to set the limits with a code module (TestStand Set Property Value function), but in order to make the code module reusable, I need to pass in the step name for the test step it applies to, each time I call it.  The problem is that the step that each limit applies to is several steps later in the sequence.  I know that I can get the name of the next step (RunState.NextStep.Name) but need to know if it is possible to get names of later steps as well.  I'm guessing it may have something to do with the "NextStepIndex" function, but can't seem to get the context right.  Please advise.  Thanks in advance.
    GSinMN

    Figured it out myself.
    Locals."Variable To Set" = RunState.Sequence.GetStep((RunState.Sequence.GetStepIndex(Step.Name, StepGroup_Main))+"Number of steps in Future",StepGroup_Main).Name
    Where "variable to set" is the name of the variable you are assigning the step name to and "number of steps in future" is an integer that represents the index with respect to the current step (i.e. 2 would mean the second step after the current step).
    GSinMN

  • Saving 3 sets of data in 3 seperate arraylist and passing them to next view

    Hai all,
    I am using tree.The user  has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    Thanks n Regards
    Sharanya.R

    I am using tree.The user has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    hi,
    1. just collect all the values and concatinate using Strings, also use one delimiter between each value.
    like this,
    while(condition){
    String Result ="";
    Result += wdContext.currentTreeNode().getName() + "," ;}
    2. Finally assign this String to some Context, that you want to use in next view.
    3. Use StringTokenizer Class, make Result String as Source and comma as delimeter, then you can able to get list of
    previously stored values.

  • How to Create process of Type : Get Next or Previous Primary Key Value

    Hi,
    Can anybody give the steps how to create the page process for type Get Next or Previous Primary Key Value in oracle Express database
    Ramesh j c.

    Hi Justin,
    In oracle 10g XE , we have sample application v2.0
    1. Do you have any Document to create step by step the sample application v2.0 and Is it possible to create all the pages of this sample application v2.0 b by wizard. To recreate or create the demo app, start from the home area,
    next go to application builder,
    then click the create button,
    next choose "demonstration application"
    and then you can choose "Run | Edit | Re-install" the "Sample Application" along with a few other apps.
    2. When we install this sample application v2.0 , which is the sql script is executed or how it is installed. If you want the sample application you can export it after you create it if you want the SQL associated with it.
    3. Whenever the sample application v2.0 is installed, how the encrypted pass word is created for the user demo and admin. This is setup with the application install. I don't believe it is encrypted either. If your wanting SSL there are some threads on here that talk about encrypting content.
    Justin thanks for to create process Get Next or Previous Primary Key Value

  • Next View in display

    Dear All,
    I am having a scenario with two RFCs in the backend.
    Scenario
    I had to get the data from one RFC( say-- getRFC) into a table. And in another view with another RFC(say-- changeRFC) I should update the data that has been displayed in first view.
    Problem
    I am getting the next view as in display(non -editable) mode.
    Can anyone help in resolving this problem? 
    Thanks
    Narendra

    Hi,
    The UI element used in the next view is InputFields in the form template.
    I am not able to execute the changeRFC from webdynpro. However in the R3 it is updating.
    Thanks,
    Narendra.

  • Passing data to next  view

    Hi All,
    I have small doubt .I have developped an application with in that I created TextEdit UI element when I select some date and send to Next view. How can do it .
    Please suggest me . I have some idea navigating two views by using Inbound and outbound plugs.
    If I am using to pass paramaters how to send it next view how to capture the sended value in the second View.
    Thanks in Advance.
    Mandapati

    Hi,
    U can use context mapping,
    Create a context in controller, view1, view2.
    Map view1 to controller and similarly do for view2.
    set the value in the context attribute of view1 u can get
    in view2 also.
    It is possible to use the context value between two views without using a component controller.Through the fire plug methods u can easily pass the values between two views.
    while creating outbound and inbound plugs create the parameters also for them.
    in the 1 view implementation on button action:
    onAction()
    String name = wdContext.currentContextElement().get<att>();
    wdthis.wdfireplugto2view(name);
    In the second view implementation:
    onplugfrom1view(){
    wdContext.currentContextElement().setRes(name);
    regards,
    Vijayakhanna raman
    Message was edited by: Vijayakhanna Raman

  • How can I get Disco Viewer to remember the user's final filtered worksheet?

    Hi every one:
    How can I get Disco Viewer to remember the user's final filtered worksheet?
    Each time the users login they have to make several operations (drillings, pivots, etc) to get their reports customized as they want. I wonder if is there a chance I could configure Disco Viewer in order to remember the last worksheet layout, and set it as the initial worksheet the next time the user login?
    Thanks in Advance
    Jorge

    Once your users have customised the report to their requirements, they can add the URL of final data diaplay screen to their favourites menu in the browser.
    Next time they want to run the same report, they can access the URL saved into favourites, they'll just need to enter their password to run the report when prompted.
    I know that this works with Oracle Applications user id's, and that the URL "remembers" User Name, Oracle Apps Responsibility, Workbook Name, and Paramteters Used, Table Layout Customisations, and Page Item selections... so in theory it should record Drill information too.

  • How can I get Disco Viewer to remember the user´s final filtered worksheet?

    Hi every one:
    How can I get Disco Viewer to remember the user's final filtered worksheet?
    Each time the users login they have to make several operations (drillings, pivots, etc) to get their reports customized as they want. I wonder if is there a chance I could configure Disco Viewer in order to remember the last worksheet layout, and set it as the initial worksheet the next time the user login?
    Thanks in Advance
    Jorge

    Once your users have customised the report to their requirements, they can add the URL of final data diaplay screen to their favourites menu in the browser.
    Next time they want to run the same report, they can access the URL saved into favourites, they'll just need to enter their password to run the report when prompted.
    I know that this works with Oracle Applications user id's, and that the URL "remembers" User Name, Oracle Apps Responsibility, Workbook Name, and Paramteters Used, Table Layout Customisations, and Page Item selections... so in theory it should record Drill information too.

  • How to get the view link definition from the view link accessor

    Hi,
    I am using Jdev 10.1.3 and ADF BC. I am trying to do deep copy in a master/details view, after the new child record is created, I want to update the foreign key attribute. I know I can get the list of attribute definitions from the row in the view object, which include the view link accessors, I am wondering if I can get the view link definition from the view link accessors, so that I can get the source and destination attribute names.
    Thanks!

    Hi,
    you should get this through
    ViewObject vo = this.findViewObject("LocationsView1");
    int indx = vo.getAttributeIndexOf("DepartmentsView");
    ViewAttributeDefImpl vAttrDefImpl = (ViewAttributeDefImpl) vo.getAttributeDef(indx);
    ViewLinkDefImpl vdefImpl = (ViewLinkDefImpl) vAttrDefImpl.findViewLinkDefImpl();
    Note that this code starts from the ApplicationModuleImpl class, which is why I used this.findViewObject().
    Frank

  • How to get standard view or table for the standard inforsource

    Hi all:
          According to business reqirement, we are going to use standard inforsource 0CO_OM_CCA_10,
    we need to know the standard view or table in order to corresponding DataSource?
    could you please tell me how to get  the standard view or table or DataSource?
    Couldn't thank you more!

    Hi Sony,
    Goto RSA1>BI content installation>goto objects>double click on the Infosource>then a pop-up comes search for that infosource-->select it and click on transfer
    Before that in the right side of the tab select the grouping as "Before and afterwards of the dataflow" and collection as automatic.
    then you get all the datasource/cubes and all the object related to the infosource.
    OR another option is-->
    Goto RSA6 in the R/3 and search for the datasource with the name "0CO_OM_CCA_10" (don't forget to expand all the tree structure in RSA6)
    then goto that datasource and double click on the datasource then you will get the Extract structure of that datasource.
    double click on the extract structure then you may get the View name also.
    hope this helps...
    Regards,
    Ravi Kanth

  • How to get the view Object in UserDefined Action

    Hi  All,
       Any body tell me how to get the view object , like the view object avilable in the wdDoModifyView() method as parameter.
    I have requirement like, i want to change the , no of rows displaying in the table should be changed at the runtime based onthe no of rows  selected in the dropdown box.
    The action which i created will be assigned to that dropdown box, on select of the available option, i will get the view object and change the properties of the "maxrows" of the table .
    so for getting the view object in the  the Action methods tell me what is the procedure for getting the current view object.

    Hello Vishal,
    Simply create a value attribute (say rowCount) of type 'integer' and bind it to the 'visibleRowCount' property of your table. Then, in the actionHandler get the value from the UI element (in your case, I guess it is drop down) and set it to the attribute 'rowCount' like this.
    wdContext.currentContextElement.setRowCount(
        wdContext.current<nodeElement>.set<AttributeBound toDropDown>);
    Bala

  • Why can't I get list view in calendar?

    I can't get List View any longer in Calendar on my iPhone. Why?

    IF you are running 8.x iOS then on the top right side are three icons - three bulleted horizontal lines, search and then a Plus sign
    If you click on the three horizontal line icon you will see the list
    Which iOS are you on?

  • Can't get album view in genius mixes to work right

    Hi - I'm not sure what is going on but I can't see the list or cover view while in Genius mixes. Also, some of the album covers are showing up and some not. But - I can't see what the mix is as the list won't show up and that makes the Genius mix not worth using if I can't even see what Itunes is selecting for me.
    I tried looking in the view menu but no help.

    I can't see the list or cover view while in Genius mixes.
    You don't get list view or cover view with the mixes. You can always submit this as a request to Apple at:
    http://www.apple.com/feedback/itunesapp.html
    Also, some of the album covers are showing up and some not.
    Are you talking about in iTunes? When you select that individual song in the main "music" section and pull up "Get info", do you see the artwork in the artwork tab?
    Or is it ok in iTunes and is the problem just on your mobile device? If so, which one.
    I can't see what the mix is as the list won't show up and that makes the Genius mix not worth using if I can't even see what Itunes is selecting for me.
    You can pull it up in DJ if you want, and that gives you a glimpse of what's in there, but only a max of a 100 songs. But, frankly, it sounds like the lack of visibility into genius mixes are sufficiently annoying for you that you might want to consider not using it. Use plain old genius playlists (select song, hit , save it as a playlist): That behaves more like it sounds like you want.

  • TS1814 I am trying to update my Iphone 3 and when i get to the activation step after a few minutes it shows a message that says " Your iPhone could not be activated because the activation server is temporarily unavailable. Try conenecting your iPhone to i

    I am trying to update my Iphone 3 and when i get to the activation step after a few minutes it shows a message that says " Your iPhone could not be activated because the activation server is temporarily unavailable. Try conenecting your iPhone to iTunes to activate it, or try again in a couple of minutes.
    If the problem persist, contact apple support at apple.com/support
    I been trying for a few times now and I keep getting the same message. How can i fix it? now my phone doesnt work.

    These are the steps mentioned in the article iPhone: Troubleshooting activation issues
    Perform the following steps if you receive one of the messages above:
    Restart the iPhone.
    Try another means of reaching the activation server and attempt to activate.
    Try connecting to a known-good Wi-Fi network if you're unable to activate using a cellular data connection.
    Try connecting to iTunes if you're unable to activate using Wi-Fi.
    Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore. If you're still unable to complete the setup assistant due to an activation error, contact Apple for assistance.

  • How do I get the prompt in "Step 2" of the download process to provide the icon I need to drag to my applications folder?

    The problem with the help page is that it starts after the browser is downloaded which is great, but I generally have very few questions about the browser once it is downloaded, it is getting it downloaded that generally provides the most difficulty.
    The last time I tried to download a Firefox upgrade 3.4 to 3.6, I think. I had a different but similar problem. Then I would click on the download button and nothing would happen, this went on for several months. But I hung in there and dutifully clicked the download button again and again for about 6 months and one day, I won the download lottery for that day and the damn ting downloaded.
    Now I am trying to download the beta verson 4. As a result I guess of my past determination I am now getting hung up at Step 2. It appears to download, by that I mean the little window (excuse my nomenclature I'd completely computer illiterate which doesn't help) with the blue download line and the timer numbers runs across the top of the download window. But then nothing else happens. It never goes to step 2 which is dragging the icon to my applications folder. What is the magic formula this time? Or am I destined to just continue to attempt the download again until the computer gods finally decide I am worthy to receive version 4?
    I have already tried three different times. Still nothing. I have a 1.5 GHz PowerbookPC G4 with Mac OS X Version 10.5.8 and 1.5 GB DDR SDRAM

    Hi,
    I still have a problem in geting
    Window Coords for the Plot Area of a CNiGraph (under VC++) :
    What I do (inside of CNiGraph derived) :
    CNiImage image = Images("Plot Area");
    image.SetUrl("C:\\WINDOWS\\Circles.bmp");
    image.Reload();
    CNiPicture Picture = image.GetPicture();
    int width = Picture.GetWidth();
    width is 847,
    and that is, I think,
    the Himetric (1/1000 m) width of the
    bitmap ploted on my Display.
    The width doesent change, if I
    resize the CNiGraph Ctrl !
    So, is there a nother way to calculate the
    actual size of the Plot Area ??
    Yours,
    Joerg Peleikis

Maybe you are looking for