How to know previous navigation item during runtime in Forms

Hi,
How can one know the previous navigation item in oracle forms.
Scenario:
Navigation: US Super HRMS Manager --> People --> Enter and Maintain.
On the Find Person window --> Query a Person
On the People Window, there is an Assignment Button. When clicked, it will open new window "Assignment".
At this point 'WHEN-NEW-ITEM-INSTANCE' is fired for the item 'ASSGT. ORGANIZATION_NAME'.
There is DFF on this window and when DFF is closed by pressing OK button, 'WHEN-NEW-ITEM-INSTANCE' is fired again for the item 'ASSGT. ORGANIZATION_NAME'.
Hence my question is how to know if the previous item is DFF or not.
Thanks in Advance.
Vishnu

Hi,
How can one know the previous navigation item in oracle forms.
Scenario:
Navigation: US Super HRMS Manager --> People --> Enter and Maintain.
On the Find Person window --> Query a Person
On the People Window, there is an Assignment Button. When clicked, it will open new window "Assignment".
At this point 'WHEN-NEW-ITEM-INSTANCE' is fired for the item 'ASSGT. ORGANIZATION_NAME'.
There is DFF on this window and when DFF is closed by pressing OK button, 'WHEN-NEW-ITEM-INSTANCE' is fired again for the item 'ASSGT. ORGANIZATION_NAME'.
Hence my question is how to know if the previous item is DFF or not.
Thanks in Advance.
Vishnu

Similar Messages

  • How to update cgicmd.dat file during runtime?

    I'd like to know how do update cgicmd.dat file during runtime. For example, I run a report one.jsp as
    http://<machine>:<port>/reports/rwservlet?one.jsp&USERID=uid/pwd@db&DESTYPE=cache&mode=bitmap&desformat=htmlcss
    within this report there is a hyperlink to open another report named two.jsp.
    before creating this hyperlink, I'd like to update cgicmd.dat file with passed in userID, pwd, and connection, so two.jsp can use this key for userinfo
    so I can create hyperlink as follows
    srw.set_hyperlink('/reports/rwservlet?report=two.jsp'||
    '&cmdkey=userinfo&DESTYPE=cache&mode=bitmap&desformat=htmlcss');
    Thanks

    To my knowledge the cgicmd.dat is only read when the OC4J starts, so you would have to come up with another solution. Using Single-Sign-On (SSO) is quite a good idea, and it's there for cases like this.
    Regards,
    Martin Malmstrom

  • How to know which table in the database a form is accessing

    Actually Im new to oracle applications,
    Im getting an error when i open a form from system administrator responsibility saying that table doesnot exist.
    My basic doubt is, how to know which table in the database a form is accessing.
    Any response is higly appreciated.
    Thanks,
    Praveen
    Edited by: user10239520 on Sep 10, 2008 7:07 AM

    Take a look at the following thread:
    Is there a query log in EBS?
    Re: Is there a query log in EBS?

  • Poplist highling last item during runtime

    I have a dynamic poplist and during runtime the last item is selected. How can I get the 1st item of the list to highlight?
    Thanks.

    Since the poplist might have the possiblity of changing I don't really know what the initial value should be. Is there a way to make generic? For example: 1 runtime the first item may be apple but then the next time it runs it might be banana.
    Help?

  • How do I create multiple objects during runtime?

    I don't know how to create multiple objects during runtime, here's my problem:
    I get a String as input. Then I create an object called newobject. I put the object in a hashtable with the above string as key.
    Then comes the problem, in order to create a new object, I have to rerun the same class, which uses the same name (newobject) to create a 2nd object. Now my hashtable doesn't reference to my 1st object anymore...
    Is there anyway I can fill up the hashtable with different objects, and make each key point to each object it was supposed to?
    For those who want to see a bit of the program:
    public class PlayBalloon{
    public Hashtable ht = new Hashtable();
    for(){
    Balloon pB = newBalloon;
    newBalloon=new Balloon(pB);
    ht.put("Some input from user", newBalloon);
    for(){
    ht.get(s).draw;<= s=string, draw=own meth. in Balloon
    }

    I think i can see the problem that you are having. You have, in effect, duplicate keys in your hashtable - ie, two strings used as keys with the same name.
    The way that a hashtable works is as follows...
    When you ask for a value that is mapped to a key it will go through the table and return the first occurence it finds of the key you asked for. It does this by using the equals() method of whatever object the key is (in your case it is a String).
    If you cant use different Strings for your keys in your hashtable then i would consider writing an ObjectNameKey class which contains the String value that you are trying to put in the hashtable and an occurrence number/index or something to make it unique. Remember to override the equals method in your ObjectNameKey object or else the hash lookup will not work. For example
    class ObjectNameKey {
        private String name;
        private int occurence;
        public ObjectNameKey(String name, int occ) {
            this.name = name;
            this.occurence = occ;
        public String getName() {
            return name;
        public String getOccur() {
            return occurence;
        public boolean equals(Object o) {
            if (!(o instanceof ObjectNameKey)) {
                return false;
            ObjectNameKey onk = (ObjectNameKey)o;
            if (onk.getName().equals(name) && onk.getOccur() == occurence) return true;
            return false;

  • How to determine the target system during runtime of a Generic DS?

    Hi Experts, good afternoon.
    I am coding a Generic Extractor using Function Module. I have to select the field TIMESTAMP on table ROOSPRMSC. To do so, I need the value of RLOGSYS that is the BW system that is calling the Extractor.
    Do anybody knows how to determine via ABAP the RLOGSYS (Remote Logical System) during the runtime of the Generic DataSource Function Module?
    The table ROOSPRMSC keep the TIMESTAMPs values of the last delta upload for each DataSource and for each BW target system. As I have 2 BW's loading data from the same SAP ECC system, I need to know, during runtime of my Generic DataSource, the actual system that is requesting the delta. That's the reason why I need to know the BW's logical system name that is "runnig" the delta InfoPackage.
    Plese, help!!!
    Thanks in advance!
    Leandro Vani

    Leandro,
    The calling program of your FM should have a local variable I_RLOGSYS which is populated with the BW server ID.
    If you don't know how to access a variable in a program that is in call stack using field symbols, search SDN.
    I haven't tested this, so you may have to explore a little.
    Good luck.

  • Adding Items During Runtime

    How can i add items like display,text etc during runtime as it is done in visual basics

    In Forms you can set items invisible. You can do it by Set_Item_Property('your_item',VISIBLE,PROPERTY_FALSE).You can also change position of item. All about what you can do with item you can read in the Forms on-line help "Set_Item_Property built-in".
    I hope this will help you.
    Helena
    null

  • Setting canvas property of item during runtime

    Can anybody tell me how to set the canvas property of item in the block at runtime if the canvas property is set to null during runtime.
    Pls forward the answer.
    Thanks.

    Frank,
    Alternatively , you can create mirror item and place them on different canvases, further you can hide/show them.
    Thanks.
    Adinath Kamode

  • How to know whether any item value got changed

    How to know in Apex whether any form item got changed. That will help me to know when the user will be pressing the "Apply Changes" button and I will popuplate the "User Modifed" and "Date Modifed" column values in the table. For now, I dont want to write database triggers, but to implement it at application level.

    Hi Deb
    For a really good explanation of the naming /numbering of tabular form items see Patrick Wolf's blog on the matter.
    http://www.inside-oracle-apex.com/which-tabular-form-column-is-mapped-to-which-apex_applicationg_fxx-array/
    He also gives a simple example of using check-boxes in tabular forms here
    http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/
    You will notice in his example, that the apex_application.g_f40 is specifically named as 40 - a high number assuming that you don't have more than 39 editable columns in you tabular form - shown in the name="f40" code.
    <input type="checkbox" #ADMIN_USER_CHECKBOX# value="#ROWNUM#" name="f40" id="f40_#ROWNUM#"/>#ADMIN_USER_CHECKBOX#
    In essence the columns are numbered (only the editable ones) in the order in which they appear in the select statement - so the first editable column will be f(01), next f(02) etc - except where the column is specifically named - in this case f(40).
    I had a situation where I wanted to programatically stamp the user's name into a column depending on whether the user checked a check-box in each row.
    But if the column is editable and visible, then the user is free to type into this cell - this I wanted to avoid.
    Something that took me a while to work out is that you can hide an editable column - so it can updated by your procedure code - not by the user!
    The way to solve this is to have the sql statement select the relevant column twice - the first one is the editable one and hidden, and the second copy is a normal report column - displayed but not editable.
    I used Patrick's example in the link above to set up my tabular form with the first column as a check-box.
    The user then marks the desired rows by clicking in the check-box and submits / saves.
    The procedure then detects which rows have been checked - updates the editable (but hidden) database column, and then re-displays the result - with the second copy of the same column now showing the updated value!
    I hope this helps.
    Look at Patrick's other postings - they are so helpful.
    Mike

  • How to know who Deleted Item or Business Partner

    Hi all!
    In SAP B1, we have change log to track who updated information for Item master or Business Partner
    In case, one Item is deleted by user. How to know and control this.
    Thanks!

    Hi ,
    This query could help you in case of BP, Try it:
    SELECT CardCode,cardname,Deleted,usersign FROM ACRD T0 WHERE T0.[Deleted] ='Y'
    Same in the case of AITM.
    Thanks
    Ashutosh

  • How to know the total items inside the rowSetInfo.

    How can i know the total items inside the rowsetInfo. I have only 1 column of table for the rowSetInfo. It's called "BankrowSetInfo". How to know how many items are there inside the rowSetInfo.

    Need more information.
    How do you want to display the info? Are you creating an applet/application/jsp/file output or what? Are you using DACF?
    Also, You said you only have 1 column. If you actually have more than 1 column ( more than 1 AttributeInfos for your RowSetInfo ) and are using DACF, use the InfoSwing GridControl or set up multiple TextFieldControls, one for each column.
    Hope I answered the right question.
    Cheers

  • How can I edit navigation items outside of iWeb08?

    I created a website for a friend, published the site and then backed up the HTML files to an external disk. I've since re-formatted my iMac and installed 10.5
    Now I need to remove pages from the site and have to edit a few areas of the pages but i cannot import the backed-up project into iWeb. I have seen the other posts about transferring the domain file, but this process cannot be used because I did a clean installation. I know that there is nothing more I can do about that, c'est la vie.
    BUT, I do have Dreamweaver and am trying to edit the raw HTML files outside of iWeb.
    The problem is I cant find where I can edit the Navigation items. The pages seem to reference a Navbar widget, but i can't find any of the page names in the JS, CSS or XML files. Does iWeb reformat the links into something else? I've been able to get into the code and remove lines of copy and body links, but the Navigation has me stumped. All i want to do is remove a couple of pages from the global nav.
    Does anyone have any ideas?

    iweb nav bar info is in your site's feed.xml file.

  • How to know all the items into a block

    Hello everybody.
    Im working with Forms and Reports 10G.
    A fast question.
    I need to know all the items into a block.
    I know that with the get_block_property first_record and Last_record I can know the first and last item into a record but
    how I can know all the others?
    Thanks in advanced and regards to all.
    Happy Cristmast

    You can the fisrt item in a block by using GET_BLOCK_PROPERTY('BLOCKNAME', FIRST_ITEM);
    then loop over the item
    LOOP
      vcItem:=GET_ITEM_PROPERTY(vcItem, NEXTITEM);
      EXIT WHEN vcItem IS NULL;
    END LOOP;

  • How to set borderColor from css during runtime

    Hi,
             I need to set the border color of a selected tab during runtime from css. Is it possible. Please help i am struggling with this for past two days.
    regards,
    Jayagopal.

    Just create a selected CSS style, and update the styleName of the tab when it is selected.

  • How does one empty an array during runtime with a front panel switch

    I can 'empty array' from the front panel during runtime but I want to empty all arrays (20) from my vi with a front panel switch (see screenshot). I have used replace array subset and reshape array with no success. Any help would be appreciated
    Attachments:
    TempScan_screenshot.JPG ‏26 KB

    Hmm... You can empty an array by reshaping it or by assigning a constant empty array - using local variables or properies of the original control (see attached example... hmmm... not the best one ). May be you can attach a part of your code to see what is better to do in the given case.
    Attachments:
    reset_table.vi ‏20 KB

Maybe you are looking for

  • Burning Error 4000 - itunes 7.7 Bug???

    I have never had any trouble burning with itunes until I updated my itunes from 7.6 to 7.7 . When I tried burning a CD with itunes 7.7 for the first time, I could not burn the CD and recieved the error 4000 message. Like I said, I have never had any

  • Unable to load Applet in JSP using Tomcat 5.5.12

    Hi I am aunable to applet in jsp using Tomcat 5.5.12 and JRE 1.5. Below is the code that I am using                                    <applet                                    codebase = "."                                    archive = "WebPOSApple

  • How to make a long  horizontal bar absolutely level horizontal? (Or vertica

    How can I ascertain that a long horizontal bar that I am placing on a page is absolutely horizontal and not at all tilting right or left? At this point I want the checking to be done with the Metric Inspector and the click toggles. Lorna in Southern

  • GTS as only Screening Tool

    Hi, I have a list of customers & Vendors. These customers & vendors are created in someother system which is not connected to GTS system. 1. Can i use GTS system as screening tool for these list of customers & vendors with out creating Master data in

  • Very slow deployment with in-process=true

    Hi, I'm in the process of porting an enterprise application (packaged into a single EAR file) from JBoss to OC4J. For now, the biggest part of the application (which is still under development) is an ejb-module with about 66 entity beans with a total