Geeks Talk

Prepare for your Next Interview




Dynamic Report parameters

This is a discussion on Dynamic Report parameters within the Oracle Apps forums, part of the Enterprise Solutions category; Hi, i have 2 parameters. 1)1st parameter has independent value set and it will have only 2 possible values 'week' or 'month' and value_set name is "xx_period_type" ...


Go Back   Geeks Talk > Enterprise Solutions > Oracle Apps

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-13-2008
Junior Member
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
shreya thota is on a distinguished road
Dynamic Report parameters

Hi, i have 2 parameters.
1)1st parameter has independent value set and it will have only 2 possible values 'week' or 'month' and value_set name is "xx_period_type"
2)2nd parameter has table value set which should display the 'weekno-year'of last 5 years if parameter1 value passed is 'week'.
3)2nd parameter value set should display the 'month-year' of last 5 years if parameter1 value passed is 'month'.

Code for table value_set is , for table name i wrote the below query:

(select decode(:$flex$.xx_period_type,'week',(to_char(sysdate+1-((rownum)*7) ,'ww-yyyy')),to_char(add_months(sysdate,-rownum+1),'month-yyyy')) week_month from all_objects

and in the where/order by clause:

where rownum< decode(:$flex$.xx_period_type,'week',261,61))

but it is giving error app-fnd-00005:incorrect arguments were passed to user exit #message_token.
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Enterprise Solutions > Oracle Apps


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Drill to new Report from Existing Report anandagarwal31 Data Warehousing 1 05-22-2008 01:40 AM
Input Parameters & Output Parameters ramyamca1984 QTP 1 01-02-2008 09:10 AM
how to send the report o/p to different persons directly by submisting the report rajesh56 Oracle Apps 0 09-21-2007 11:58 AM
parameters prashantch QTP 3 07-25-2007 02:34 PM
What are the multipule SQL parameters in BO Geek_Guest Data Warehousing 0 07-17-2007 04:11 AM


All times are GMT -4. The time now is 08:13 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved