How to Handle the LOV AM in the page level Controller

Hi All,
I have standard page ,In that page there is LOV in which user can select any value.
But the client requirement is the value in the lov has to be displayed has to be displayed automatically the first record of the LOVwhen page is rendered.
For that i am trying to handle the Lov AM in the extended controller by using
OAApplicationModule rootAM = pageContext.getRootApplicationModule();
OAApplicationModule childAM1=(OAApplicationModule)rootAM.findApplicationModule("CsfPoLovAM");
Here CsfPoLovAM is the AM of the LOV
when i am doing this i am getting the value of childAM1 as null.
Could you please let me know is there any other way of handling the AM of lov on the extended controller
And there is controller is defined for the LOV .
Thanks
Ajay

If there is no CO than you can put a new custom controller in the LOVRN ,in the PR method of new controller get the VO and call the firs() method of this VO like
LOVVO.first() ;this will full fill your requirement .
HI Pratap,
I had created a new custom controller in the LOVRN and in the Process Request.of the controller i am getting the first record.
like follows
OAViewObjectImpl vo=(OAViewObjectImpl)am.findViewObject("CsfInstallLotNumberVO1");
oapagecontext.writeDiagnostics("IN LOV CO Process Request ","vo:"+vo,4);
if(vo!=null)
vo.executeQuery();
Row row=vo.first();
oapagecontext.writeDiagnostics("IN LOV CO Process Request ","row:"+row,4);
if(row!=null){
String lotnumber=(String)row.getAttribute("LotNumber");
oapagecontext.writeDiagnostics("IN LOV CO Process Request ","lotnumber:"+lotnumber,4);
oapagecontext.putSessionValue("LotNumberParam",lotnumber);
i am able to get this lov value in the lov window when the lov item is clicked
and i am trying to handle that value in my exteded co its getting that value
Thanks
Ajay

Similar Messages

  • How can I filter the LOV rows at the runtime

    I am working in oracle forms 6i.
    My lov is based on a view. If I selected one row from LOV, that row should not appear in list box.
    I would like to restrict rows before saving a form. How can i filer the LOV rows at the runtime?
    Please help me.

    Dear Mr.MH_BD,
    Thanks for your immediate response,
    My form is built based on master and detail link.  On the multi row detail section I am invoking this LOV.  The record group containing the following query:
    select fees_id,fees_name,term_fees from sk_fees_mst where fees_bal>0;
    fees_id
    fees_name
    term_fees
    12
    Tuition Fees
    2500
    13
    Smart Class
    100
    14
    Admin Fees
    300
    If I selected the fees_id 13 for the first row of detail section, then the LOV should display only the following in the next row:
    fees_id
    fees_name
    term_fees
    12
    Tuition Fees
    2500
    14
    Admin Fees
    300
    (ie.) Before commit form I need to filter the already selected fees ids from record group.
    Thanks in advance.

  • How to handle vendor discounts based on the qty / value procured.

    Hello
           How to handle vendor discounts based on the qty / value procured.
    a.       Scenario: you have entered into a contract with vendor that you will buy goods worth Rs 10000/- and if you buy goods worth more than 100000 the vendor says he will give a discount of Rs 5000/- @ the end of the year.  
    i)                    How to handle this sceneriou2019s with SAu2019s
    ii)                   What does STD SAP offer.
    Regards
    Sapman man

    Hi,
    For the discucount condition type, you have to maintain scales.
    Take Condition type -  Discount Value ( RB00)
    Discount Value ( RB00) - Means Fixed discount. For this condition type, you have to maintain Scale basis as Value scale 'B' in the condition type customization.
    Transcation : M/06
    Select your condition type RB00 and click on the details icon.
    In the Scales block, you have to maintain and save.Calculation type = Fixed amount
    Scale basis = Value scale 'B'
    For this condition type, you have to maintain scales in the inforecord.
    Transcation : ME12
    Select this condition type, click on the Scales icon. There you have to maintain like
    From : 10,0000            Rate: 5000.
    It means, if the document value is reached 10,0000 then discount is 5000rs. If the value islessthen the 10,0000 then no discount.
    Regards
    KRK

  • Query LOV and how to display the LOV back in the Text item.

    Hi All,
    I have got a big time problem in getting back my LOV value after Querying it.
    Am using a Tabular Canvas having 10 rows and two columns, one having "Type"(as LOV) and corresponding "Type identifier".
    My LOV is an non data block item, having the correct return type. When ever i search for a value in the LOV, its should give out all the "Type Identifier" list and the "Type".
    But what i am facing is, am not able to get back the selected LOV after querying it and am getting the entire "Type Identifier' with out any filter.
    In short my requirement is,
    - I need to search an LOV,
    - Display the LOV value in the "TYPE" field.
    - Display the corresponding "Type Identifiers'
    Pls note: Since am new to Oracle Forms, if in your replies, if you specify to use any code in trigger, pls specify which trigger to use.
    Thanks a lot in Advance... its bit urgent
    Arun

    Hi Dave
    The requirement is suppose i have an Lov called OrgName is atatched to a column in which user will select the Ou Name from the list and internally the respective org_id will store into the database where the OU Name is available in the same data block but it is not database item . (Only org_id is database item)
    Now if you query the same block i would expect the Ou Name should display .
    Right now in my case it is not displaying anything into that column.
    Hope u understood this time..Please let me know is there any trick?

  • How to Handle sorting stage in datastage on ODI level?

    Hi,
    How to handle sorting stage in datastage on ODI level ?
    Need to do KM customization..
    if yes how?
    else what to do?
    Thanks.

    Hi,
    In Datastage, there is sorting stage specially sort the data after applying the transormations and filters seperately.
    My requirement is we need to apply sorting on Target Database after applying some transformations,Aggregations and filters on source database *(Before Loading into Target data should be in the sorted Order)*
    In odi,there is no sorting stage separtely for those requirement sorting the data either Ascending / Descending order *(how can i approach sorting stage in ODI)*
    Thanks in Advance
    Edited by: anu on Oct 11, 2011 6:10 AM

  • How to handle Scrollbar's event in the Form Block !

    I want to create three Block like
    Block : X-axis , Source From View
    Block : Y-axis , Source From View
    Block : Cell , Source From Stored Procedure.
    The relation is (X-axis , Cell) , (Y-axis ,Cell).
    Then , if i scroll X-axis or Y-axis Scrollbar , then Cell will change !
    Problem : If X-axis Cursor record does not change , the Cell's Data will not refresh.
    Can tell me how to handle the scrollbar's event , Thank.

    Thank you.
    The Cell's behavior is a matrix , the relation will execute when X,Y record is changed !
    if you move the scrollbar , will chanage block's data , but the cursor record does not change another!.
    If i use JaveBean to handle it , possible ?
    Using Form 6i .

  • How to handle event from subVI in the main VI?

    Hello,
    I'm doing some measurement. During the measurement I want the user to see some activity dialog - that's easy to do. Before the measurement starts I dynamically run VI (EX_Progress.vi) that shows some activity and then I do the measurement (in my example simulated by random number generation) . After the measurement is done (or error occurs) I can dynamically abort the activity indicator. But on the other hand I want to give to the user chance to abort the measurement manually via the activity dialog by STOP button. There are some ways how to do it via global variable and check every iteration in the main VI it's state but isn't there some better way? Would be nice to run event in the main VI when the user pushes the STOP button in the Progress VI. Is it possible to achieve this using register events? I tried but don't really now how I'm not familiar with this technique.
    Thanks in advance
    Message Edited by ceties on 11-26-2007 01:34 PM
    LV 2011, Win7
    Attachments:
    Ex.zip ‏374 KB

    OK, here's an example using User Events. It doesn't directly have the main VI listen for the Button press event in the subVI. Instead, it has the main VI listen for a custom User Event that the subVI fires every time there's a button press. You could theoretically directly listen to the button press directly from the Main VI, but you would have to somehow get that control's reference to the main VI. That would require storing a copy of it in a global or some such method. This method I will show here is very common and is definitely worth learning.
    For more info on User Events, refer to the LabVIEW help. You can learn more by clicking any of the User Event VIs and selecting Help from the shortcut menu.
    (I didn't set the subVIs front panel to open automatically, so you'll have to do that yourself to see anything from this demo...)
    Message Edited by Jarrod S. on 11-26-2007 02:51 PM
    Jarrod S.
    National Instruments
    Attachments:
    Example.zip ‏25 KB

  • How to implement custom lov button without the standard template.fmb?

    hello,
    i am developing a application using oracle forms 10g. i can't use the standard template.fmb because my application does not run in ebs. there comes the problem: i want to implement the lov button function like the template does, such as :
    1. when the text item get focus, lov button display.
    2. when the text item lost focus, lov button disappear.
    3. when scrollbar scrolls, the position of lov button adjust accordingly.
    4. there is only one lov button in one form and the lov button was created dynamicly.
    i found it's so complex to do this.
    anyone can help?

    Try to change the following setting to true
    app.ui.lovButtons=falsein $ORACLE_HOME\forms\java\oracle\forms\registry\registry.dat

  • "Filter the LOV based on the selected conditions" RADIO BUTTON doesn' work

    Hi All, I'm trying to create a cascading parameters mechanism, but I found certain difficulties.
    I need to have 2 LOV connect: the master LOV retrieve a list of User's groups, and the detail LOV has to retrieve only the customer's categories that come from the user's groups selected.
    So, in order to retrieve the values I defined on the Administrator:
    1) one custom folder for the master LOV (list of the User's groups) and another custom folder for the details LOV (list of the customer's categories).
    2) The 2 LOV as item classes
    On Discoverer Plus, following the manual ("About filtering lists of parameter values based on selected conditions ("cascading parameters"), I tried to create thw first parameter based on the master LOV, but I DON'T have the radio button "Filter the list of values based on the selected conditions" enabled !!!...I CAN'T USE IT !
    If this radio button is not enabled, I can't link the master parameter with the detail parameter.....
    Anybody can help to discoverer what I missed during the creation of cascading parameters ?
    Thanks in advance for your help
    Alex

    Hi Manav, thanks for your reply !
    I resolved the problem, linked the two custom folders with a join !
    The radio button didn't work just only the parameter where condition has to be deselected and then re-selected !!
    Alex

  • How to remove an LOV Mapping in iProcurement Page..

    Hi All,
    In the iProcurement page, there is an LOV mapping for the LOV Expenditure Type. I need to remove the criteria item for one of the LOV mapping. Can any one please help me on how to remove Criteria Item in the LOV mapping.
    Regards,
    Ramakrishnan

    Hi Amit,
    Requirement:
    I have to display the LOV Expenditure Type in iProcurement screen based on the value entered by user in the LOV Task Number. I worte the following SQL statement in the VO of the expenditure type
    SELECT et.expenditure_type, et.sys_link_start_date_active, et.sys_link_end_date_active, 1 AS dummy_number FROM xxpa_exp_types_expend_v et WHERE et.system_linkage_function = 'VI' AND (SYSDATE BETWEEN et.sys_link_start_date_active AND NVL (et.sys_link_end_date_active, SYSDATE)) AND DECODE (et.billable_flag, 'No', 'N', 'Yes', 'Y', 'Both', 'Y') = (SELECT billable_flag FROM pa_tasks WHERE task_id = :2 AND project_id = :1)
    I am passing the value of parameter 1 and 2 from CO of the LOV region. But the LOV mapping 'Expenditure Type' has an criteria which gets added to the above query and does not display any row in runtime.
    SELECT * FROM (SELECT et.expenditure_type, et.sys_link_start_date_active, et.sys_link_end_date_active, 1 AS dummy_number FROM xxpa_exp_types_expend_v et WHERE et.system_linkage_function = 'VI' AND (SYSDATE BETWEEN et.sys_link_start_date_active AND NVL (et.sys_link_end_date_active, SYSDATE)) AND DECODE (et.billable_flag, 'No', 'N', 'Yes', 'Y', 'Both', 'Y') = (SELECT billable_flag FROM pa_tasks WHERE task_id = :2 AND project_id = :1)) QRSLT WHERE (( UPPER(EXPENDITURE_TYPE) like UPPER( :3) ))
    There is an similar functionality available in iSupplier-->Banking Details page where the bank branch LOV dsiplays value based on the Bank Name entered by user in Bank Name LOV.
    Now I have to use the same functionality available in isupplier page in my requirement to pass value from Task LOV to Expenditure Type LOV. Please let me know how to solve the issue.
    Regards,
    Ramakrishnan

  • The HCM Review Budget Retro page level 2 scroll do not always refresh when scrolling thru level 1

    When using the Review Budget Retro (Payroll for North America > Payroll Distribution > Commitment Accounting USA > Review Retro Distribution) page, scrolling thru level 1, level 2 does not always refresh.  I am able to re-create this in our DMO environment.  Has anyone else experienced this and resolved quickly on their own?

    You should be able to get some more precise information from your Xorg logs, but I would bet it is related to the evdev driver. Some of the options in your xorg.conf no longer work with the latest version. For now you should be able to either map your mouse directly to the appropriate /dev/event* entry or change to the standard mouse driver, both of those methods should be in the wiki.
    You are supposed to be able to use the evdev driver without the input section of your xorg.conf by using dbus/hal autodetection, but AFAIK at the moment the xorg-server package still isn't compiled with hal support, so you would have to patch and rebuild the package.

  • How to pass a VO attribute value using Page Level button

    Hi Gurus,
    Consider the Sinple Page having a information header seaction (having name, ID (form value), and status) and one details section.this page has a page button bar having one button (say XYZbtn).
    Requirment : when the user clicks on the XYZbtn , this should navigate the user to another page and passing the ID as the parameter.
    Note : As we are not modifying the CO, so we cannot write code in PFR() to redirect.
    So we have added a button XYZbtn (using customization) and set its destination URI property as OA.jsp?page=/myorg/oracle/apps/../../../webui/NewPG&ID={@ID}
    This takes the user to newPG but passes null for ID
    Tell me pls, how can we pass the value of ID to another page using a button (or link) 's Destination URI property, how do we send this value ?
    thanks
    Chaitanya

    You can pass id as url parametre like :
    /myorg/oracle/apps/../../../webui/NewPG&ID=xxx
    and retrieve the parametre value in second page in process request of controller like
    string s=pageContext.getParameter("ID");
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to handle Multiple date formats for the same date field in SQL*Loader

    Dear All,
    I got a requirement where I need to get data from a text file and insert the same into oracle table.
    I am using SQL*Loader to populate the data from the text file into my table.
    The file has one field where I am expecting date date data in multiple formats, like dd/mon/yyyy, yyyy/dd/mon, yyyy/mon/dd, ,mm/dd/yyyy, mon/dd/yyyy.
    While using SQL*Loader, I can see Loading is failing for records where we have formats like yyyy/dd/mon, yyyy/mon/dd, mon/dd/yyyy.
    Is there any way in SQL*Loader where we can mention all these date formats so that this date data should go smoothly into the underlying date column in the table.
    Appreciate your response on this.
    Thanks,
    Madhu K.

    The point being made was, are you sure that you can uniquely identify a date format from the value you receieve? Are you sure that the data stored is only of a particular limited set of formats?
    e.g. if you had a value of '07/08/03' how do you know what format that is?
    It could be...
    7th August 2003 (thus assuming it's DD/MM/RR format)
    or
    8th July 2003 (thus assuming it's MM/DD/RR format)
    or
    3rd August 2007 (thus assuming it's RR/MM/DD format)
    or
    8th March 2007 (thus assuming it's RR/DD/MM format)
    or even more obscurely...
    3rd July 2008 (MM/RR/DD)
    or
    7th March 2008 (DD/RR/MM)
    Do you have any information to tell you what formats are valid that would allow you to be specific and know what date format is meant?
    This is a classic example of why dates should be stored on the database using DATE datatype and not VARCHAR2. It can lead to corruption of data, especially if the date can be entered in any format a user wishes.

  • How to handle leap year date in the query ?

    Dear Exparts,
    Hope you are fine.
    Here is my banner,
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - ProdI have a date field name birth_date where i store date of birth. I need to pick date of birth in a given range. For example
    BIRTH_DATE
    01-FEB-1980
    12-FEB-1984
    29-FEB-1992
    01-MAR-1986
    01-APR-1986
    22-APR-1988
    01-MAR-1992My searching parameter is
    brith_date between 01/02/13 and 01/04/13I want the record
    01-FEB-1980
    12-FEB-1984
    29-FEB-1992
    01-MAR-1986
    01-APR-1986Here is the script
    create table
    CREATE TABLE DATE_OF_BIRTH
      BIRTH_DATE DATE
    );data insert
    insert into DATE_OF_BIRTH
    values(to_date('01-FEB-1980','DD-MON-RRRR'));
    insert into DATE_OF_BIRTH
    values(to_date('12-FEB-1984','DD-MON-RRRR'));
    insert into DATE_OF_BIRTH
    values(to_date('29-FEB-1992','DD-MON-RRRR'));
    insert into DATE_OF_BIRTH
    values(to_date('01-MAR-1986','DD-MON-RRRR'));
    insert into DATE_OF_BIRTH
    values(to_date('01-APR-1986','DD-MON-RRRR'));Thanks in advance... (thanks to Frank Kulash)
    ask2Learn
    Edited by: Asked to Learn on Feb 24, 2013 7:40 PM

    Hi,
    Asked to Learn wrote:
    Dear Exparts,
    Hope you are fine.
    Here is my banner,
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - ProdI have a date field name birth_date where i store date of birth. I need to pick date of birth in a given range. For example
    BIRTH_DATE
    01-FEB-1980
    12-FEB-1984
    29-FEB-1992
    01-MAR-1986
    01-APR-1986
    22-APR-1988
    01-MAR-1992My searching parameter is
    brith_date between 01/02/13 and 01/04/13I want the record
    01-FEB-1980
    12-FEB-1984
    29-FEB-1992
    01-MAR-1986
    01-APR-1986Here is the script
    create table
    CREATE TABLE DATE_OF_BIRTH
    BIRTH_DATE DATE
    );data insert
    insert into DATE_OF_BIRTH
    values('01-FEB-1980');
    insert into DATE_OF_BIRTH
    values('12-FEB-1984');
    insert into DATE_OF_BIRTH
    values('29-FEB-1992');
    insert into DATE_OF_BIRTH
    values('01-MAR-1986');
    insert into DATE_OF_BIRTH
    values('01-APR-1986');
    You defined the column as a DATE, which is correct, but you're trying to insert VARCHAR2 values, such as '01-FEB-1980' into that column.
    Use TO_DATE to convert a VARCHAR2 into a DATE:
    insert into DATE_OF_BIRTH (birth_date)
    values ( TO_DATE ('01-FEB-1980', 'DD-MON'YYYY'));or use DATE literals:
    insert into DATE_OF_BIRTH (birth_date)
    values ( DATE '1980-02-01);The same goes for queries.

  • Duplication issue related to photo stream, Moments, and how iPhoto handles images coming in from the stream.

    Pre-iOS 8 deleting photos from the stream was easy & comprehensive while within the 1000 pic/30 day window. Deletions affected ALL DEVICES, including the iPhoto Library. It just worked. This was controlled from the Cameral Roll.
    Now that the Camera Roll is back, the function described above wasn’t restored. Streamed images are copied to the Library and do not get removed as before when deletions happen from the Camera Roll or from the Streamed album.
    In iOS Moments LOADS of duplicate pairs appear as a result. One of each pair has a trash can and the other doesn’t. The trash can one informs the user that the photo will be deleted from the stream and all devices, but it does not delete the image from the Library on the Mac.
    Can we get the pre-iOS8 image management from Cameral Roll back without having to re-delete images from iPhoto Library on the Mac. Otherwise what’s the point of the photo stream?
    Mac Pro w/10.9.5
    iPhone 6 w/ iOS 8.1
    iPhoto 9.5.1 w/ 8052 images
    Using photo stream, but NOT iCloud betas

    Anything you save to the camera roll automatically gets put into the photo stream. You do not need to import and export to the computer as ckuan said. I have saved from email and the web and when they get saved they go into the photo stream automatically.

Maybe you are looking for

  • Could not create DC in NWDI Track

    Dear All, I imported my tracks from central SLD system, but getting error while creating DC. i enter DC name , make an activity and choose finish. on finish I get error that DC cannot be created. Please HELP. LOG FILE:      ... 40 more !ENTRY com.tss

  • IMAC video difference

    I would like to buy a new iMAC and I am considering the difference between the 128 video card and the 256 video card. What applications would benefit from this upgrade? Would the overall computer display be different? Thanks

  • Issue with "Download data" functionality in excel

    Hi, When I try to download data to Excel, I have a column which is a string/text and has an example value like *92343E102* This is downloaded to excel as *9.2343E+106* I want it to be downloaded as text instead of number. Where do we change the prope

  • Mail all email as read

    when configuring my gmail account, iphone downloaded all my existing email from the server. thats understanable since its a pop account, but is there a way for me to mark all messages as already read in the iphone, without doing it one by one ? there

  • Record selection question

    I want to return records when the field  begins with 3 alpha characters only. i.e. table.field ("starts with aaa,abc,ade,...........) Thanks