Context variable in report configuration

Hello,
I try to create a context variable for a select-option  as indicated in the documentation of the customizing.
I go in img structure Service Consumption Layer Reporting Administration
   then Report settings
   then Manage context variables
I define a context group
   then a go to the sub screen Manage context variable
I define a new variable but in field Contr type, I can only select P for parameter and not S for select option.
I check the data element /IWCNT/CON_VAR_TYPE which is define  with a value range containing only P.
Did I do something wrong ?
I suppose that is why when I define the report, in screen parameters and values,  the fields context group and context variable in display and not in input mode .
Thasnk ina dvance for your help
jfj

Hi,
Easier option is to create a profit center group excluding the dummy profit center and assign it in the report painter instead of the variable.
Other option is at the time of executing the report, exclude the dummy profit center with out making any changes in the report.
Regards
Sudhakar Reddy

Similar Messages

  • Oracle 11g Fusion Middleware (11.1.1.3.0) Report Configuration Issue

    Oracle 11g Fusion Middleware (11.1.1.3.0) Report Configuration Issue
    =============================================
    Hi All,
    I have installed Oracle 11g Fusion Middleware (11.1.1.3.0) on Oracle Linux 5 and getting some issues while configuring. What's happening is that when I run my report, it looks for the library attached to it. If I define the REPORTS_PATH in reports.sh, it works fine.
    What I want to achieve is to push reports to use REPORTS_PATH environment variable from rwserver.conf instead of reports.sh
    Someone told me to remove the REPORTS_PATH from reports.sh and add the REPORTS_PATH from reports.sh to a default.env in rwserver.conf, but it didn't worked.
    What I know about the report server stuff in 11g Fusion Middleware is that it consists of two different servers (Standalone and In Process). Our application runs report using SRW.RUN_REPORT which basically use In Process report server setting in rwserver.conf to run the report.
    The heirarchy in which reports try to look for the REPORTS_PATH is
    1) REPORTS.sh
    2) rwserver.conf
    3) Settings as per Oracle Enterprise Manager Configuration Settings.
    My standalone report server name is ReportsServer_hostname_asinst_F and the In Process Server name is rep_wls_reports_hostname_asinst_frd. When I define rep_wls_reports_hostname_asinst_frd (In process Report Server Name) for the server name parameter, I do not get any results for the report run using srw.run_report. Also I can't see the reason behind the report executed because of the following issue
    http://hostname:8888/reports/rwservlet/showjobs?server=rep_wls_reports_hostname_asinst_frd
    REP-51019: System user authentication is missing.
    ** the Singlesignon in rwservlet.properties is defined as no
    But when I define ReportsServer_hostname_asinst_F (Standalone Report Server Name) as server parameter and ran the report using srw.run_report, I get result with the REPORTS_PATH defined in reports.sh not using rwserver.conf file.
    http://hostname:8888/reports/rwservlet/showjobs?server=ReportsServer_hostname_asinst_F
    (which shows the report just run).
    Can someone who did Report Server configuration using ENV files (changing rwserver.conf), pls. send me the screenshots. Want to make sure if I am changing the correct files under correct location.
    Pls. feel free to ask me questions related to the environment set up.
    Thanks

    Your question belongs in {forum:id=84}
    John

  • Workflow context variable / function

    Is there any Database variable or function, which would return, whether a specific code is being called from a Workflow process or not ?
    For Ex: if the function fnd_global.user_id return a value other than -1, then the code is being executed from Oracle eBusiness suite. Similarly FND_GLOBAL.CONC_REQUEST_ID gives info about concurrent program.
    regards
    Yj

    Hi Maya,
    I dont think you need to use Context variable as a replacement for AT NEW....There would be something else out of box...
    Because Context Variable represents - Variables declared in context to the report other than declaraing globally....
    Could you please send us the part of code where you get this error?
    Best Regards,
    Ram.

  • Web app context variables?

    Hello all, I have another question. In my app I want all *.jsp pages to report how many currently active users are on my site. It could do this one of two ways (that i can think of),
    1) Run a count of how many sessions are in the 'sessions' table in my mysql db
    2) Read some sort of global context variable that is set everytime someone logs in
    Obviously 1) will be a smidgin more accurate but more labor intensive than 2. Can anyone think of a better way to do this? Also if i were to go the global variable route would there be a better way to do it than
    this.getServletContext().setAttribute("com.thesite.loggedin", 11)and then reading this int in the *.jsp(s), is something like this able to handle concurrent set & get (is it thread safe?)
    Thanks for any help!

    You can make use of attributeAdded() method of HttpSessionAttributeListener. Whenever any attribute is set in session, attributeAdded() method will be called and you can increment a counter in that method. Eg:
    public class SessionAttributeListener implements HttpSessionAttributeListener
    int count=0;
    public void attributeAdded(HttpSessionBindingEvent e)
         System.out.println("session attribute added");
                     count++;
    public int getCount()
    return count;
    }You can call SessionAttributeListener.getCount() method to count the number of active users.

  • How to use one Assign action to create multiple context variables

    Hello, everyone.
    I read some tips from Oracle documentation that said:
    Avoid creating many OSB context variables that are used just once within another XQuery
    Context variables created using an Assign action are converted to XmlBeans and then reverted to the native XQuery format for the next XQuery. Multiple "Assign" actions can be collapsed into a single Assign action using a FLWOR expression. Intermediate values can be created using "let" statements. Avoiding redundant context variable creation eliminates overheads associated with internal data format conversions. This benefit has to be balanced against visibility of the code and reuse of the variables.
    Oracle® Fusion Middleware Performance and Tuning Guide
    +11g Release 1 (11.1.1)+
    Part Number E10108-03
    But I don't know how to do that. Can you show me ?
    Thank in advance
    Edited by: Doubt_Man on Aug 17, 2011 3:30 PM

    if you return sequences, you can declare the return type of your xquery as xs:double*
    (notice the asterix at the end)
    but I have the impression that in the assign action only the first element will be assigned to the context variable
    (correct me if I am wrong)
    So in fact you might indeed have to transform the sequence into a element()*, or concatenate it into a CVS string - for instance using string-join
    http://www.xqueryfunctions.com/xq/fn_string-join.html

  • Context variable DRIXMD (namespace DR$APPCTX) shows up in v$context

    We have recently upgraded our database to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production.
    Now we occasionally get the error in one of our APEX applications
    ORA-01031: insufficiënt privileges
    The apex application is using a user connection pool.
    When an Apex page is submitted we clear the context variables so the user won’t use each other’s settings.
    The context variables to be cleared are selected from V$CONTEXT.
    For some reason the context variable DRIXMD (namespace DR$APPCTX) is now (since the upgrade to 11.2) also shown in v$context.
    The package used in our code is not allowed to set variables in namespace DR$APPCTX and is raising the error.
    My question is:
    Is it a normal feature to see these context variables in V$CONTEX and if not is there a fix available?
    And if yes, can anyone clarify this?
    Thanks in advance.

    Success!!!
    I had to grant this permissions:
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar', '' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'setFactory', '' )
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.util.PropertyPermission', 'HTTPClient.socket.idleTimeout', 'write' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', 'localhost', 'resolve' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', '127.0.0.1:8084', 'connect,resolve' );
    As I wrote earlier, WS_TEST is my user into which I load JAX-RPC client. Note that, if you load JAX-RPC client into user another than SYS, you have NOT to use -s -grant public option (wassam wrote about this too). Another thing is that I (finally) didn't load OC4J. To consume WebService I use utl_dbws.invoke(call_Handle CALL, request SYS.XMLTYPE) function.
    voytec001

  • How to use Value Variable in Report Painter Column defined as Formula

    Hi Gurus,
    In report painter, how can I add one field (exchange rate) in selection screen, so that user can provide the exchange rate to be used, then execute the report, the exchange rate will used to multiple local currency amount.
    The reason for this is we want use provided exchange rate to convert the amount from once currency to the other currency.
    Alternatively I am studying the functionality of "Value Variable" and found that I can perform the task from this. I have created the value variable but when I am using the variable in Report Painter columns as "&ZVALVAR", system is giving me error. I read the help and it states that use the variable with "&" and do it as it is mentioned.
    Can anybody suggest what I need to do to make it workable.
    Thanks

    I did try using the presentation variable, but that does not work too. I am setting session variable in the dashboard prompt (select 'request variable'). When I use presentation variable, it hard codes the value of the variable name.
    sql is
    select date from work_order where facility = @{p_facility}
    the physical log sql is
    select date from work_order where facility = 'p_facility'

  • Internal variables of report painter shouldn't be selectable

    Dear collegues,
    I have created two new internal variables in report writer in order to use them in planning layout of TA KP67:
    - previous year: marked as internal variable: calculated as: &1CGJAHE-1 (2008)
    and
    - future year: marked as internal variable: calcualted as: &1CGJAHE+1 (2010).
    In report painter these variables are assigned to key figures and are not shown on the selection screen again as they are calculated internally.
    But in planning layout of TA KP67 cost activity planning these variables are also assigned to key figures like actual costs or fixed planned costs and are indicated as acceptable for input on the selection screen but shouldn't - so how it is possible to define internal variables in co planning layouts as really internal which do not come up if the planning layout is executed via TA KP06?
    Thanks and regards,
    Christian

    Hello Christian,
    when I understand your request correctly, you want to plan for several years like 2008, 2009 and 2010 but you just want to enter one year. Right?
    For the column with the current fiscal year you can use a standard variable like GJAHR. For the other columns you define the year in the column as variable with value "GJAHR-1" (last year) and with value "GJAHR+1" (following year). On the selection screen of the planning transaction you will only have one field for the current year and the fiscal year for the other columns is calculated accordingly when you run the planning.
    Hope this helps.
    Cheers,
    Daniela

  • Variable in report script

    Is it possible to create create user defined variables in report script?

    You can't use an Essbase report script to set a substitution variable.
    You can set it in EAS or use MaxL (or Esscmd) to do so.
    See: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_variable.htm
    MaxL/Esscmd can be used to set a substitution variable and run a report script that references the variable.
    Regards,
    Cameron Lackpour

  • Variable in report painter

    Hi,
    I have a customized variable in report painter which pulls data from standard table, profit centre (GLPCT).  The data is included dummy profit centre. 
    How can block or should not allow dummy profit centre data to flow to the report?
    Please advice.

    Hi,
    Easier option is to create a profit center group excluding the dummy profit center and assign it in the report painter instead of the variable.
    Other option is at the time of executing the report, exclude the dummy profit center with out making any changes in the report.
    Regards
    Sudhakar Reddy

  • How to Parse XML data directly from context variables in webdynpro

    Hello,
       I have two requirements:
    1) I have a context variable which has string value.
       I want to write the this value into a flat file.
       How do I do this in WebDynpro.
       Any sample code for this.
    2) In Webdynpro, I want to parse and process the XML data directly from a string context variable which
       has the value in XML format.
       How do I achieve this. Any pointers or sample codes for this.
    Thanks and Regards,
    Anupama.

    Anupama,
    Here is some link which talks about unpacking xml and converting to HTML.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/eb/3dfb402eb5f76fe10000000a1550b0/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/eb/3dfb402eb5f76fe10000000a1550b0/content.htm</a>
    I have done something like this in portal development and not in webdynpro.But in principle it should work very where.

  • Use global variable in reports which is declared in forms

    Hi All,
    I have declared and used a global variable in Forms and after that I'm running a report and I want to use the same variable in reports.
    How can I use that.
    Regards
    Praveen Kr. Arora

    Hi Rizwan,
    Thanks for prompt reply.
    Can you explain in more detail with example.
    Though I'm calling report from menu item and I have created report file with three parameters.
    In menu item I have created a parameter list with same three parameters but whenever I tried to run then it gives Invalid ID error for all three parameters.
    Regards
    Praveen Kr. Arora

  • Advice on saving report configurations

    Hey everyone.
    I'm looking for some feedback on saving a report configuration.   Basically I will have a series of drop downs for a report to be generated.  For example on a downtime report, the user wants to generate 10 charts in the report, first chart; Line1, Unplanned Stops, Depalletizer, Feed Jam.   Second chart Line 2, Scheduled Stops, PM, Conveyor, Electrical, etc etc.   They will then hit the submit button where I will generate the charts for them.  They want to set up the 10 charts, then "save" the configuration, so that when the user goes back to the page later, even after logging off xMII, they don't have to configure all 10 charts again.   
    Each of the drop downs will be data driven browser objects.  I'm using xMII 11.5   My ideas for this are;
    1) Save the settings to a SQL table, by username (I have about 1500 users corporate wide)
    2) Cookie, this would make the report dependant on the client machine though.
    3) XML file, saved by on the server (probably my least favorite option)
    I was wondering if anybody has done something like this before, and what experience they have had before I commit to a design.  I'm open to ideas.

    Option #1 is the best way to have the user persistance.  Having an adminstration screen for deleting and/or viewing other user created reports then becomes as simple as an SQLQuery with an iGrid and iCommand.
    Regards,
    Jeremy

  • Context Variables related

    Hello,
    In context file we have context variables rite..so kindly tell me the table in which all these context variables will be stored in database.The table name which stores all the context variables.
    Thanks,
    928714.

    Hi;
    Pelase see:
    Oracle EBS R12 Context Variables [ID 458282.1]
    Explanation of Context Variables for Shared Application File System in R12 and 11i [ID 1070152.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Syntax for declaring global variable in report

    Hello all,
    Kindly let me know syntax for declaring global variable in report?
    Thnks,
    SUnny

    Hi Sunny,
    All data declaration in the main program is global.
    Only if you do some data declaration withtin the subroutines then the scope of the variable is limited to that FORM ....ENDFORM.
    As you read in the above reply for a global variable in FM you need to declare in the top include.
    This means that you want this variable to be made available to all the Function Modules in that Function Group.
    If you want to make the variabe be available only within that FM then do the declaration in the source code itself.
    hope this explaination helps,
    Taher.

Maybe you are looking for

  • W540 Nvidia Quadro K2100M Code 43

    I bought a new W540 a few days ago and have been setting it up; upgrading to Windows 8.1, installing software, etc. Today I noticed in the Device Manager that the Nvidia Quadro K2100M disreet graphics has stopped.  This is the error message: "Windows

  • TS3977 Issue with extended display using Displaylink USB to DVI since upgrading to Mavericks.

    I have an issue now since upgrading to Mavericks with my extended display monitor using a displaylink DVI to USB adapter. After awhile, the monitor goes blank. I can unplug the connection from the USB port and plug it back in and the display comes ba

  • How do I change a black background to red in Aperture?

    Hello! I'm a little familiar with Aperture, but have recently encountered something I'm not sure how to do! Using a long shutter speed and a light I took a picture of some floating words. I would like to change the black background to red without cha

  • Grid Control for windows

    Hi Experts, We're trying to download and install Oracle grid control for windows 64bit but we can't find any 64bit release! Can we safely download and install Enterprise Manager 11g Grid Control Release (11.1.0.1.0) - Windows 32bit from http://www.or

  • E51 WLAN Setup Issues

    Hi, I know this has been discussed before, but after searching and trialing I've got nowhere. Just got my E51 and trying to connect to my home wireless network. Appears to connect fine, try to start browsing, no data is transferred and eventually tim