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

Similar Messages

  • 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 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.

  • 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

  • Accessing user-defined context variables when chaining Proxies

    We have a Proxy Service, A, which routes to a ProxyService B, which does some routing and XML transformation.
    When an error is raised, the error text is assigned to a variable and the Error Handler for Proxy Servce B assigns soap fault XML to the body using this variable then does a Reply with Failure.
    However, Proxy Service A returns a generic BEA fault as below:
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380000</con:errorCode>
         <con:location>
         <con:node>ESB-DefaultRoute</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
    We don't appear to be able to access the context variable which we defined in Proxy Service B when we are in the Error Handler of Proxy Service A. How are we able to return a soap fault from Proxy Service A with all of the details set in B.
    Thanks in advance

    Hi,
    Yes we;re using Raise Error. I don't think my post was as clear as it could have been :-)
    In Proxy B when an error is found, then the text we want to appear in the soap fault's faultstring is assigned to a varaible, errorDetail and then Raise Error is invoked.
    We're able to access errorDetail iin the error handlers of Proxy B but not in Proxy A and it's this which is causing us the issue.
    Thanks

  • 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.

  • Using context variable in formcalc scripting language.

    Hi all,
             I wanted to know if it is possible to use context variables in formcalc. I wanted to use those variables in "if else" condition in formcalc scripting language. Please post the sample code also as i am new to adobe forms.
    Regards,
    Vinod

    Hi ,
    Each variable define in the context can be used on the layout of the form and/or in script linked to fields.
    This can be done in formcalc or in javascript language , without any problem . You have only to acess the correct variable in the script.
    For getting variable in a script you must define the complete name of the variable, example "Myform.Header.Data.Myvariable" get access to variable MyVariable define in the context under nodes Header/Data .
    Hope it's help you
    regards.

  • Get the name of session bean context variables

    With this lines I get the value of variable "discount":
    Context initial = new InitialContext();
    Context environment=(Context)initial.lookup("java:comp/env");
    Double discount = (Double)environment.lookup("Discount");
    but I need i know the name of the variable. How I get the names
    of context variables?
    Thanks in advance,

    For every form do like:
    <form name="searchForm" method=post action="/servlet/admin">
    <input type=hidden name="FormName" value="searchForm">
    Now req.getParameter("FormName") will return the name of the form.

  • Mapping labview variables to teststand sequence context variables

    hi,
    how can i map variables from a vi (which is loaded in a test sequence in teststand) to teststand sequence context variables ?
    if my question is not clear enough then plz let me know.

    Sure I can help!
    You can use either method:
    Rodéric L
    Certified LabVIEW Architect

  • Creating multidimensional Context Variable

    How can I create a multidimensional String array as a context variable and how can I pass values to that
    Thanks
    Fahad Hamsa

    WHat is a multidimensional String array ?
    If you require a String array , you can create a node of cardinality 0..n and a context attribute of type string
    Regards,
    Subramanian V.

  • Assigning & Reading Context variable

    All,
    Im setting the context variable "POS_NUM" in Component controller:
    wdThis.wdGetFormController().wdGetContext().getCurrentElement().setAttributeValue( "c_pos_num", pos_num);
    * In View controller im reading the component controller value & passing into BAPI..
    Here im getting error :Can not be converted".
      String val = wdThis.toString( wdContext.getCurrentElement().getAttributeValue( "c_pos_num") );
    bapiInput.setI_Pos_Num( val );
    can anyone tell me how to read the value of context variable..
    BM

    Nothing helpfu...
    I'm setting the value in InterfaceView as follows:
         wdThis.wdGetRequisitionFormController().wdGetContext().currentContextElement().set_pos_num("125");
    When I debugged the pos_num is initial here.
    In Componenet controller I'm reading the value as follows:
         String value = wdContext.currentContextElement().getTemp_pos_num();
    Here value is initial.
    Could anyone suggest me pls.
    BM

  • Context variables

    Maybe I'm just missing something obvious here, but ...
    I have a JSP page that works fine under Tomcat, but it doesn't work under WebSphere.
    The JSP includes a couple of lines that retrieve context variables, as in:
    foobar=application.getInitParameter("foo.bar");In my web.xml file, there's a block that says:
    <context-param>
    <param-name>foo.bar</param-name>
    <param-value>plugh</param-value>
    </context-param>As I say, in Tomcat this works great. In WebSphere it looks like it just turns up null. Is there a differerent way to do this in WebSphere, or am I missing some subtlety?

    This functionality is detailed as part of the Servlet Specification, and as such should be implemented correctly by all J2EE containers.
    ie: It should work exactly the same under WebSphere.
    Maybe try the application.getInitParameterNames() method to see what websphere returns you?

  • How to set Dynamic value to context variable

    hi all
    Can anyone suggest me how to change value of context variable.
    In short i need to set dynamic value to context variable
    here is my code in web.xml
    *<context-param>*
    *<param-name>sessionTimeOutValue</param-name>*
    *<param-value>200</param-value>*
    *</context-param>*

    ChintanPatel wrote:
    here is my code in web.xml
    *<context-param>*
    *<param-name>sessionTimeOutValue</param-name>*
    *<param-value>200</param-value>*
    *</context-param>*You can set the session time using httpsession.setmaxinactiveinterval

  • Session Context Variable and Order by clause

    Hi All,
    Im using Oracle 11g R2.
    Is it somehow possible to use Context variable (to store column name) in ORDER BY clause? My ultimate aim is to construct Order by at runtime without using concatenation.
    e.g. i created context as my_ctx for some pkg and its variable as v_ctx having value set as "TABLE_NAME"
    so is it possible to use it as
    select * from all_tables
    order by sys_context('my_ctx', 'v_ctx');
    if no, is there any work around??
    Thanks,
    Vivek

    its better to post here
    Oracle Discussion Forums » Oracle Database » SQL and PL/SQL

Maybe you are looking for