Two LOVs in same report customization form causes problems

My report includes two parameters which are set by the user using dynamic LOVs in the customization form. The report used to only have one parameter and this worked fine. After including the second one only one of the LOVs work as they should. The second one doesn't trigger a value to be sent to the report. Working separately the second parameter/LOV also works as it should.
The code:
SELECT distinct ID, STILLING, F_DATO, STILLING_NAA, DATO
FROM JOBBSOKNADER
WHERE STILLING in :lov_stillinger
union
SELECT distinct A.ID, A.STILLING, A.F_DATO, A.STILLING_NAA, A.DATO
FROM JOBBSOKNADER A, JOBBINT_KOBL B
WHERE A.ID = B.JOBBSOKNADER_ID
AND A.STILLING = '(apen soknad)'
and B.INT_ID in :lov_interessefelt

Hi,
Are you trying to use dependant LOVs i.e second LOV depends on the value selected in the first LOV. If you are trying that, then reports does not support that. You have this facility only in forms.
If I have understood wrong, then please give me the query you used for the LOVs
Thanks,
Sharmila

Similar Messages

  • Customize the QBE report customization form

    Does anyone have some ideas about how to customize the QBE report customization form
    (e.g take off the "case sensitive check box" or "format mask" .. etc)
    thanx

    repost the above msg.
    What I'm trying to do is to show only the column displayable options to portal users and hide the other cutomize sections.

  • Calling javascript function from report customization form

    I have been unable to call any user-defined javascript function from Portal Report Customization forms.
    Even a simple Message Box function doesn't work. I've been placing my code in the ..after header PL/SQL section for the report customization form.
    htp.p('<script type="javascript">');
    htp.p('function MsgBox(message){');
    htp.p('alert(message);}');
    htp.p('</script>');
    htp.p('See if it works');
    I have verified in plain html that my syntax is fine. Even the syntax rendered by portal is correct:
    <script type="javascript">
    function MsgBox(message){
    alert(message);}
    </script>
    See if it works
    Despite this, you will get a javascript error that an Object is expected, MsgBox not defined. Clearly from the script above MsgBox is defined.
    I have tried any number of calls to user defined functions and can't get anything to work. However, calling native functions like 'alert' works fine ( ie
    See if it works
    Anyone know how I can call a user defined javascript function in a Portal Report Customization form?

    Try changing the code
    htp.p('<script type="javascript">');
    to
    htp.p('<script language="javascript">');
    Thanks
    -Krishnamurthy

  • Search report customization form

    Hi,
    does anyone know how I can achieve context-insensitivity in a query-wizard based report customization form??
    Or how I can default user entries in the query fields to all UpperCase?
    Thanks for you help!!
    Maike

    Hi,
    This cannot be done in query based wizard report. You can do this in sql based report by designing your query in such a way.
    select * from scott.emp
    where upper(ename) like upper(:name)
    This code makes the code cases insensitive inspite of the user entering small case in the :name.
    Thanks,
    Sharmila

  • Report customization form only posts default settings

    I am currently on version 3.0.9.
    We have problems with reports generated with the wizard where settings in the customization form return to default when posted. The problem only happens when the report is viewed as a portlet. It works fine when it's run in full page mode.

    I have experienced the same problem with other default parameters also. I used the workaround for maximum rows in portlet. I defined a contstant if the Page Parameters for the maximum rows.
    I did NOT find a work around for Break fields in Reports.
    If anybody can tell me how to fix the "bug" or has a workaround I would greatly appreciate it!!!

  • How to get the value from another report Customizes Form

    Dear all,
    I create a report such as
    select * from mytable.table1
    where field1 = :bind_variable
    I create a menu to run this Customized Form and user have to select the bind_variable values. So I have another report created which also want this bind_variable as it WHERE Clause. But I don't want my user to key the same bind variable twice. They can just same the Customized Form and run for both report.
    Could anybody know how to get the bind_variable on 1st report and used by the 2nd report.
    Thank you very much.
    Best Rgds,
    SL Voon

    Hi,
    are you on BI7.0? There you can create variables type replacement path and get the value out from a different variable without any coding.
    regards
    Cornelia

  • Two LOVs in same UIX page based on the same table

    Hi group,
    Recently I ran into a problem with a UIX page that has two LOVs based on the same database table. In Emp and Job terminology, here's what I tried to do.
    Suppose we have use the Employees and Jobs tables from the HR scheme with one small modification. Add a column called PREFERRED_JOB_ID of type VARCHAR2(10) which is exactly the same as JOB_ID. Hypothetically speaking, this column will be used to allow Employees to select their preferred job in case they want to change their jobs.
    Next, create business components in JDeveloper based on the Employees and Jobs table. In order to be able to generate the LOVs for Job and PreferredJob create two ViewObjects, one called JobsLookupView and one called PreferredJobsLookupView. These both need to be based upon the same Jobs EntityObject. Also include the Jobs EntityObject twice in the EmployeesView ViewObject and give one the alias PreferredJobs. Include the JobTitle attributes of Jobs and PreferredJobs in EmployeesView so they can contain the JobTitles selected in our future LOVs.
    Next create a ViewController project if it's not already there and enable JHeadstart on it. Create an Application Structure File and create the lookups for the two LOVs. When I run the application I see this happening:
    When I click the flashlight icon next to the PreferredJob LOV and select a job, the PreferredJob field is selected in the UIX page but no job title appears. When I next first select the Job LOV and select a new job and then select the PreferredJob LOV again and select a different job, the job that was selected in the Job LOV is now also entered in the PreferredJob field. When I make sure the PreferredJob field isn't required (remove the required="yes" property on the messageLovInput entry for PreferredJobTitle and remove the PreferredJobTitle field from the addRequiredRowItems list in the UIX page) I can save the changes I made in the Employees.uix page. The same JobId is stored in the database for Job and PreferredJob.
    This behaviour is probably due to cacheing issues because both LOVs and the EmployeesView ViewObject use one EntityObject for four values in three ViewObjects.
    So I then modified my model a bit. I created a new EntityObject called PreferredJobs based on the JOBS table. I modified the EmployeesView ViewObject to use this EntityObject for the PreferredJobTitle attribute and modified the PreferredJobsLookupView to use this EntityObject.
    I needed to modify a few things as well in the Application Structure File (which were prompts and whether or not the attribute should be visible in a table) and after regenerating I made sure the PreferredJob attribute isn't required in the UIX page. When I then run the application again, I never see the JobTitle I select in any LOV allthough the PreferredJob field is selected when I select a Job in the PreferredJob LOV. The correct JobId now is stored in the database though.
    Has anyone ever encoutered this behaviour? Would anyone know how to get two LOVs based on the same table in one UIX page?
    Thanks in advance,
    Wouter van Reeven
    AMIS

    OK I figured it out. When I added the second Lookup ViewObject (PreferredJobs) no additional Association was created. Therefore, ADF BC wasn't able to figure out which field to update. When I added the Association between the PreferredJobs Lookup ViewObject and the Employees ViewObject everything started working ok.
    I then recreated my inital situation: one EntityObject for Jobs and one for Employees, now with two Associations between them. After modifying the Employees ViewObject and making sure the Jobs EntityObject was referred twice and via the corresponding Association, everything started working ok.
    Greets, Wouter
    AMIS

  • HT204053 I have two apple ID's and it's causing problems in my contacts. It repeats the same address and sometimes displays email address only but not the full contact details? How do I get my contact list the same in all my devices (iMac, iPhone & iPad (

    I have two Apple ID's and it's casing problems on my contact list as it repeats the address in somecases and in others it only displays email address for a contact. I want to have the same contact list and details on all my devices (iMac, iPhone 4S & iPad Mini)? Is it possible?

    By using 1 of the 2 ID's instead of both, choose one, move everything in the other one to the one you chose and stop using it.

  • Report Customization Form Question

    How do you display the report customization before the report is rendered?

    If the Report is used as a portlet, I think it's not possible. Only the personalize link will display the customization options
    If the report is display in a full page, try: <SCHEMA>.<REPORT>.show_parms
    Patrick.

  • Crystal Report Windows Forms Viewer problems - table could not be found

    Hi,
    I installed Crystal Report Viewer in SAP Business One 2007. All the while, I can run the reports without any problem. but when I loaded some of the new report, it gives me the following error message:
    the caption says: "Crystal Reports Windows Forms Viewer"
    the message says: "The table 'paymentVoucher' could not be found.
    Error in file C:\...paymentVoucher.rpt. The table could not be found."
    By the way, I can run the report in another workstation.
    Any help or ideas of why this is happening or how to solve this will be greatly appreciated.
    Thanks in advance.

    The report is not created by me. I just help others to transfer the report from one workstation to another workstation. PaymentVoucher is a view in the database and it is being put at a workstation that can be shared by everyone.
    I've go through other forums and found out that it might be permission issues and now managed to solve the problem already.
    Thanks everyone for the advice.

  • Error WWV-00100 in Report Customization Form

    All,
    I am getting a WWV-00100 error, when I
    click on the customize link for the report.
    any tips?
    Thanks

    Chetan,
    select ''&#0124; &#0124;user_name&#0124; &#0124;'' as login_id, first_name, last_name,'[View Request Details]' as the_request,'[Create DB Login]' as the_db_req,'[Modify User]' as the_mod
    ,'[Close request]' as the_action
    from portal30.wwsec_person$
    where created_on between :the_start and :the_end
    and user_name <> db_user
    Error encountered when trying to call show_parms
    is
    Error:
    Unexpected error encountered in wwv_render_parmform.show (wwv_render_parmform) (WWV-00100)

  • Two AM's with the same name but different forms causes Deployment problems

    Two Masters forms, DOC & PM are cloned except for the "where clause" in the View's query and the titles in their JSP's.
    DOC workspace has a BC project and a BC4JSP Project. The BC project comprises of the EO and VO named ComVsStaticValue. In the Edit prop-> query for the VO I have specified the "where clause" as VSSV_VS_CODE='DOCTOR'.
    In Java Webserver :-
    The JSP's are located in C:\source\Doctor\ .. and the *.xml and *.class files generated by the BC proj is in C:\source\Doctor\pol_ValueSet\..
    If I execute Doctor in JWS the records are getting filtered properly.
    PM workspace has a BC project and a BC4JSP Project. Again The BC project comprises of the EO and VO named ComVsStaticValue. In the Edit prop-> query for the VO I have specified the "where clause" as VSSV_VS_CODE='PAY_MODE'.
    In Java Webserver :-
    The JSP's are located in C:\source\PMode\ .. and the *.xml and *.class files generated by the BC proj is in C:\source\PMode\pol_ValueSet\..
    If I execute PM in JWS, the PM's JSP comes (the title is correct) but the records pertaining to DOC appears. I checked the View's xml file in C:\source\PMode\pol_ValueSet\ the "where clause" is correct. The xml & classes have the same name but their contents are different.
    I want to know whether this problem is because both have the same name for the AM and the BC4JSP's property file.
    Please clarify.

    Deploying two app modules with the same name will definitely cause problems.
    The JSPs use the information in the properties file to connect to the application module and get the data they need from the appropriate View Objects in those app modules. If you have two app modules with the same name, when a JSP tries to connect, it has no way of knowing which one of the app modules to connect to if they both have the same name.
    You could:
    1. Just use one application module that contains all the View Objects you need to access.
    or
    2. Rename one of the application modules or the package it is located in so the names are distinct. If you choose this method, you will also need to update the JSPs (specifically the 'registerApplicationFrompPopertyFile' method call), and your JSP project's appmodule property file.

  • Passing a parameter to aReport Customization Form

    I have a report that has a default view and a customized view. The default view has a button that allows the user to customize the report by showing the same report in show_parms mode. This allows them to sort and break on different fields. I would like to send the same parameter sent to the default view to the version generated by the run button on the customization form. I just can't fiqure out how to do it. Any ideas would be appreciated.
    Thanks,
    Linda

    Martin,
    Thank you for responding. I will certainly keep in mind the way you solved the problem. But I actually solved it myself with the following technique.
    STEPS
    1. Created a link to the Reports Customization form from the Report.
    2. Captured the value of the parameter sent through the URL to the bind variable for the report.
    3. Set the parameter value to a global variable using the Session storage API=wwsto_api_session.
    4. Retrieved the value of the global variable by setting the default value in the "Customization Form Display Options" tab of the report.
    In the Report add the following PL/SQL Code....
    --Location:      Additional PL/SQL Code
    --Attribute:     ... after displaying the header
    declare
    l_store portal30.wwsto_api_session;
    l_param_value varchar2(4);
    begin
    --(#2)TStudy is the parameter name passed through the URL and the name of the bind variable in the SQL Command
    l_param_value := portal30.wwv_name_value.get_string(l_arg_names,
    l_arg_values, 'Tstudy','',1);
    --(#1) Add Link to the Reports Customization Form
    htp.p ('<CENTER>');
    htp.p('<font class=portletheading2> CUSTOMIZE</font>');
    htp.p ('</CENTER>');
    htp.br;
    --(#3)Store Parameter Value sent to the bind variable
    l_store := portal30.wwsto_api_session.load_session ('MYPORTAL', 'MYReport');
    l_store.set_attribute ('PValue', l_param_value);
    l_store.save_session;
    END;
    --(#4) Default Value in "Customization Form Display Options" for TStudy
    #portal30.wwsto_api_session.load_session('MYPORTAL', 'MYReport').get_attribute_as_varchar2('PValue')
    ?????My Last Question - How do I hide the prompt for the bind variable. I don't want the user to change this value after I went to such trouble to set it???????
    Thanks again,
    Linda Gowen

  • Customization forms display message Query options

    Is there any way to eliminate or change the message 'Query Options' in a report customization form?

    Query Options will appear in customization form if you have any bind variable set in the component's design time.
    If u dont want to have any query options,
    you can suppress them by redesigning the component without any bind variables.

  • Dependant LOVs on Customization form of a report

    Portal Version: 3.0.9.8.0
    Database Version: 8.1.7.3
    Hi
    Our problem is that we've created a report component which includes two bind variables. These bind variables are chosen on the customization form through LOVs. The second LOV needs to be dependant on the first. Here's the code of the report and LOVs:
    REPORT
    select * from SHARE_DATA A, SHARE_INSTRUMENTS B, COMPANIES C, INDUSTRIES D
    where D.SYSTEM_ID = :Industry
    and C.SYSTEM_ID = :Company
    and C.SYSTEM_ID = A.CPY_SYSTEM_ID
    and A.SIN_SYSTEM_ID = B.SYSTEM_ID
    and C.IND_SYSTEM_ID = D.SYSTEM_ID
    where bind variables :Industry and :Company are linked to the following LOVs
    LOV_INDUSTRIES
    select (INDUSTRY_NAME||' '||SECTOR_NAME) industry_sector, (SYSTEM_ID)
    from INDUSTRIES
    order by industry_sector
    LOV_COMPANIES
    select A.NAME name, A.SYSTEM_ID
    from COMPANIES A
    where IND_SYSTEM_ID = :Industry
    order by name
    LOV_COMPANIES is dependant on LOV_INDUSTRIES.
    We receive the following error message when opening up the customization form:
    COMBOBOX LOV ERROR:
    LOV: "APP_ACIA.LOV_COMPANIES"
    Parse Message: Parse as pre-set global: "ACIA".
    Find Message: LOV is of type DYNAMIC (LOV based on SQL query).
    Query: "select A.NAME name, A.SYSTEM_ID from COMPANIES A where IND_SYSTEM_ID = :Industry order by name "
    wwpre_utl.get_path_id: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1088240437
    wwpre_utl.get_path_id: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1088240437
    wwpre_utl.get_path_id: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1088240437
    wwpre_utl.get_path_id: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1088240437

    Hi,
    The error is thrown because the lov is not able to substitute the value for the bind variable. The substitution is not happening
    because depandant lovs are not supported in Portal Reports.
    Thanks,
    Sharmila

Maybe you are looking for

  • Built In application "YouTube" Is Way too slow!

    Hey guys, I'm new here btw, so hi to all. When i watch videos on youtube built in app IT TAKES FOREVER! to buffer the videos, I'm using WI-FI and my net connection is 20mb, I would love to use it but it just takes toooooo long to buffer it would take

  • Inserting text into a field at the current cursor position

    Does anyone know how to insert text into a field at the current cursor position? I would like it to work similar to the Syntax Palette in Forms. I cannot figure out how to retrieve the current cursor position in order to manipulate the text. Any help

  • Activation of smart form

    Hi friends, When i am activating d smart form it is taking too much time for activation.when I will copy one standard smart form and activating it is getting activated immediately.For Zsmartforms it is taking more time and some times it is going in t

  • The repeat button is gone?

    I sing in a chorus and practice my music when I drive. I use the repeat function everyday when driving so I don't have to physically start the song over every time it ends. This morning I went to play my music and the repeat button is gone?  I have a

  • 8300 won't update when it arrives in new time zone

    I have tried setting time source "network" and "Blackberry" but in either case, when I get to the new time zone the time on phone is from home local and does not update.  On Date/Time page network time is displayed for all locations but on front scre