Can a report use the same session as a calling form?

Hi,
I am using Oracle Forms and Reports 6i. I am wanting to call a report from a form and open it in the same session. The form will insert information into a number of global temporary tables that the report will use to display the query information.
Is this possible? If so what is it I need to do to acheive this? At the moment I am using the run_product which calls the report with a parameter list. This opens the report fine but in a different session.
Regards,
Scott.

Scott,
no they don't share the same session. You can use parameter lists and pass them in a call to run_report_object (or run_product if this is the built-in you are using) to the Reports module. When creating the parameter list, you can get the data from either global variables or filed sin Forms. All you need to do is to make sure the equivalent parameter names are created as user parameters in Reports.
Frank

Similar Messages

  • Creating multiple tab reports using the same query in Web intelligence

    Hi All,
    I have created a Universe on a BW Query which has fields as below
    AGE  Depaatment  Gender  Grade
    25       FIN                M            A
    27       LES               F            A+
    60       SWS            M             A++
    Based on this data i have created a WEbi report which shows all of these data under one tab.
    Now i create a new report tab in the same Webi Document by right cliicking the existing report and going to inset report and saving it.
    Similarly i create two more new report tabs.
    in each of these tabs i want to show data only for the concened departments.ie =1st report contains all the departments.
    2nd report contains only finance data, third contains only Les data  and fourth only SWs Data.
    Is it possible to create this report using the same query?
    Regards,
    Raj.

    You should use report filters, not query filters.
    A query filter will affect the entire document. Every report tab that pulls data from that query will be impacted. If you start with a single report, by default it shows the data from the query. If you duplicate that report tab, then it's still attached to the first query. There are various ways to create report filters (input controls, quick filter, invoking the filter area from the toolbar) and a report filter impacts only blocks on that report tab. You can even create block filters by clicking on the block first, then creating your filter.
    This is a fairly confusing bit for folks that are new to Web Intelligence.

  • If Iq backup my iPhone using my icloud can someone else using the same Apple ID as me back up their iPhone to icloud?

    If Iq backup my iPhone using my icloud can someone else using the same Apple ID as me back up their iPhone to icloud?

    If they sign into your iCloud account with your ID, their iCloud backup would then be in your account.   However, they would also be sharing your iCloud account and any data they sync with the account (contacts, calendars, etc.) will be merged with yours and the merged list will appear on both phones.  They would also be able to access your email account and their photo stream photos would be merged with yours (as you would be sharing the same photo stream).  Furthermore, if they are using iOS 7 and turn on Find My iPhone while signed into your account, their phone will require your iCloud ID and password in order to be turn off Find My iPhone, sign out of iCloud or erase and reactivate their phone.
    Unless you wish to share all this data, and have the other person's data merged with yours you should do this.  (iCloud accounts are really designed to be used by a single person.)

  • HT1495 Can two people use the same itunes account?

    Can two people use the same iTunes account? On different computers and different devices?

    Yes, READ the article from which the question was posted as it explains how to do so in detail.

  • Can two players use the same game app without erasing each other's scores?

    Can two players use the same game app on the same device without erasing each other's scores?  My two sons build up their characters and progress in their games, then the other one wants to play, erasing the first son's progress.
    Is it possible to create two player identities in the Game Center? 
    Is it possible to have two different Apple User ID accounts on the same device?  Is that even desirable?
    Many thanks!
    MCPROBW

    You can create as many individual user accounts on a Mac as you like. Then, any one or more of those users can remotely log in from another Mac and use that Mac as their own, simultaneously. Each account will remain separate from all others.
    However, since each user needs to have a Mac to do that, I'm not sure how you could effectively double the number of users as you describe.

  • HT204053 Can multiple people use the same Apple ID for their own devices?

    Can multiple people use the same Apple ID for their own devices? I just set up my IPhone 4S (first time user) using the same Apple ID as my daughters and now we receive each others texts, do I need to set up my own Apple ID account?

    Yes, you can.  In fact it's recommended that you use different IDs for iMessage, FaceTime and iCloud.  You can still share the same ID for iTunes without any issues.
    You are getting each other's text messages because you're using the same ID for iMessage.  To fix this, one of you should go to Settings>Messages>Send & Receive, tap the ID, sign out, then sign in with a different ID.  To avoid getting each other's FaceTime calls, do the same thing in Settings>FaceTime.

  • Im looking at purchasing illustrator CC for my MAC but can I also use the same license on my PC laptop? as you get 2 seats with the license?

    Im looking at purchasing illustrator CC for my MAC but can I also use the same license on my PC laptop? as you get 2 seats with the license?
    Thanks for your help in advance

    Cloud License allows 2 activations http://www.adobe.com/legal/licenses-terms.html
    -Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0
    -Windows or Mac does not matter... 2 on the same operating system, or 1 on each

  • Two commands in the report using the same parameter - fail under Java

    I have a report that contains 2 SQL commands.
    Both of these commands use one parameter X of type Number in their 'WHERE' clause.
    When i'm viewing the report in CR 2008, i'm asked for a value of this parameter and all data is filled in the report - OK
    The problem occurs when the same report is printed through Crystal Java Runtime:
    Report is printed without data! - it's empty.
    What we noticed in the debug information thrown by the Crystal libraries is that parameter value is set only in one of these commands:
    Original statement 1:
    select a.something
    from ANM_T a
    where a.anmid = {?PARAMETER01Id}
    Original statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid={?PARAMETER01Id}
    OUTCOME of Statement 1:
    select a.something
    from ANM_T a
    where a.anmid = 0
    OUTCOME of Statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid=9825
    In above example we may see that crystal set the value only in the second statement - first one got 0 - i suspect its some default value.
    Parameter in the Java code is set in the right way. In case of using only one statement it works. If we use two separate parameters (whose values are equal ) it also works.
    // we have also the loop over the parameters
    ParameterFieldController paramFieldController =
                    report.getDataDefController().getParameterFieldController();
    paramFieldController.setCurrentValue( "", paramName, paramValue );
    What is strange for me is that Crystal Reports enables to use the same parameter in two commands but if you edit one of them you may change the type of this parameter for a command ( for example from Number to String) but the parameter type in the second command remains unchanged ( it's strange because in my opinion it is the same parameter). In the Field Explorer under the Parameter Fields i still see one parameter of type used in the second command.

    Hello all,
    We have prepared some sample code to illustrate the issue.
    We have modified the sample application (Link: [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/c07fec3e-3e11-2c10-1991-8c0fb0b82b75]) to that it also changes the parameter value. Parameter is used in two commands saved in report.
    The code changing the parameters value looks like this:
    private static void changeParameters(ReportClientDocument reportClientDoc) throws ReportSDKException {
              DataDefController dataDefController = reportClientDoc.getDataDefController();
            Fields fields = dataDefController.getDataDefinition().getParameterFields();
            for( int i = 0; i < fields.size(); i++ ){
                Field field = (Field)fields.getField( i );
                if( field.getKind() == FieldKind.parameterField ){
                            setParameter( ((ParameterField)field).getName(), "9825" , reportClientDoc);          
    private static void setParameter( String paramName, String paramValue, ReportClientDocument document ) throws ReportSDKException {
         ParameterFieldController paramFieldController =
                    document.getDataDefController().getParameterFieldController();
         paramFieldController.setCurrentValue( "", paramName, paramValue );
    We have tried the following codes to change the connection info used in commands:
    Attempt 1
              Tables tables = databaseController.getDatabase().getTables();
              //Set the datasource for all main report tables.
              for (int i = 0; i < tables.size(); i++) {
                   ITable table = tables.getTable(i);
                   //Keep existing name and alias.
                   table.setName(table.getName());
                   table.setAlias(table.getAlias());
                   //Change connection information properties.
                   IConnectionInfo connectionInfo = table.getConnectionInfo();
                   //Set new table connection property attributes.
                   connectionInfo.setAttributes(propertyBag);
                   //Set database username and password.
                   //NOTE: Even if these the username and password properties don't change when switching databases, the
                   //database password is *not* saved in the report and must be set at runtime if the database is secured. 
                   connectionInfo.setUserName(DBUSERNAME);
                   connectionInfo.setPassword(DBPASSWORD);
                   connectionInfo.setKind(ConnectionInfoKind.SQL);
                   table.setConnectionInfo(connectionInfo);
                   //Update old table in the report with the new table.
                   databaseController.setTableLocation(table, tables.getTable(i));
                   //databaseController.setTableLocation(tables.getTable(i), table);
    Attempt 2
             newConnectionInfo.setAttributes(propertyBag);
             connectionInfo.setUserName(DBUSERNAME);
             connectionInfo.setPassword(DBPASSWORD);
             //preserve subreport links
             SubreportController src = doc.getSubreportController();
             Map<String, SubreportLinks> linkMapper = new HashMap<String,SubreportLinks>();
             for(String subreportName : src.getSubreportNames()){
                 linkMapper.put(subreportName,
                     (SubreportLinks) src.getSubreportLinks(subreportName).clone(true));
             //If this connection needed parameters, we would use this field. 
             Fields<IParameterField> pFields = doc.getDataDefController().getDataDefinition().getParameterFields();
             replaceConnectionInfos(doc.getDatabaseController(), newConnectionInfo, pFields);
             IStrings strs = src.getSubreportNames();
             Iterator<String> it = strs.iterator();
             while (it.hasNext()) {
               String name = it.next();
               ISubreportClientDocument subreport = src.getSubreport(name);
               pFields = subreport.getDataDefController().getDataDefinition().getParameterFields();
               replaceConnectionInfos(subreport.getDatabaseController(), newConnectionInfo, pFields);
             //reconnect subreport links since when using replaceConnection links are erased
             for(String subreportName : src.getSubreportNames())
               src.setSubreportLinks(subreportName, linkMapper.get(subreportName));
    private static void replaceConnectionInfos(DatabaseController aDc, IConnectionInfo aNewConnInfo, Fields<IParameterField> aParameterField) throws ReportSDKException {
             ConnectionInfos cis = aDc.getConnectionInfos(null);
             for (IConnectionInfo oldConnInfo : cis)
               aDc.replaceConnection(oldConnInfo, aNewConnInfo, aParameterField, DBOptions._useDefault
                   + DBOptions._doNotVerifyDB);
    In both cases, the observed problem occurred. In one query the parameter was set properly, while on the other it was set to 0 (or empty string in case of string parameters). What is more, no data appeared on the print.
    Do you happen to know the reason of this issue?How can we fix the problem?
    Best regards
    Mateusz Błaż

  • Can two frames use the same SessionInfo object?

    Hi,
    I have some questions on using InfoBus Frame.
    Do parent frame and child frame HAVE TO make use the same
    SessionInfo object?
    I tried to show Master table and Detailed table in seperate
    frame without login twice. I am lucky it works since I happened
    to make two frames have the same SessionInfo object which is
    sessionInfo1 and conmment out sessionInfo1.publishSession()in
    Detailed frame.
    But when I tried to pass Master frame SessionInfo object to
    Detailed frame there is nothing showing up in the detailed frame
    it is just blank frame.
    So two frames have to use the same SessionInfo object . Dose it
    make sense?
    I would really appreciate anyone who can enlighten me on this
    subject.
    Thanks you so much for the attention.
    Julie Chi
    null

    Gopal (guest) wrote:
    : HI,
    : Julie Chi (guest) wrote:
    : : So two frames have to use the same SessionInfo object . Dose
    it
    : : make sense?
    : Yes, if you are working with a master details relation, data
    for
    : both need to be fetched from the same oracle session. So both
    ur
    : frames need to refer the same session. If u refer the detail
    : frame to a different session, u will not see any data, because
    : the information comes from a different oracle session which is
    : not aware of the master data that is fetched. I think it is
    : clear.
    : regards,
    : --Gopal
    1.Use wizard and test the frame
    2.pass the sessioninfo object in parent to child(put method in
    child, call from parent e.g ..getsessionInfo(SessionInfo ss)
    3.pass the sessioninfo object to rowsetinfo in child
    4.add Database authentication (username/password is sufficient)
    methods right before publish method
    *publish activates RowSetInfo and connects to db
    5.add methods in parent to call child
    That should work though depending on how you have set up your
    wizard generated java form, might tweak
    Thanks
    iggy de iguana
    null

  • Mozilla using the same session ID for  different browser

    Hi
    I am using mozilla to test my application. I tested two subscription of my application in two different mozilla browsers simultaneously.
    Here I Found details are swapped. Because mozilla using the same JSession ID for the two browser.
    This is a flaw in mozilla or whether this issue is solved in any one of the version of mozilla.
    When ever I am opening a new window, new session ID should be created like in IE (Internet explorer).this not happening in Mozilla.
    Can any one help me out from this problem?
    Thanks
    Dilip

    Hi,
    I cannot help you with your problem.
    But I want to ask what are you using to control Firefox ( on Windows... ) ?
    Thanks

  • How can I have use the same div ID multiple times on the same page?

    Okay so a problem I encounter a lot is that often times I want to use the same div ID several times on the same page. An example of this is when I'm creating table like designs.
    Let's say for instance I create a div ID called 'product-container'. I want to use 'product-container' multiple times on the same page but if I do this it is improper XHTML and will throw errors in any XHTML validator (you are only allowed to use a div ID once on any XHTML page in order for it to be standards compliant).
    Now the first option is that I could define 'product-container' in my CSS style sheet multiple times by doing something like this...
    #product-container {
         width: 300px;
    #product-container-2 {
         width: 300px;
    #product-container-3 {
         width: 300px;
    #product-container-4 {
         width: 300px;
    What you will see there however is that it seems pointless to define the same ID numerous times over (just adding a number on the end) when each ID is the exact same thing and has the exact same attributes.
    Now what I have noticed is that there are some sites out there who manage to have the same ID appear several times in the code but add a number to it just like above. The difference is that they only have one definition for 'product-cointainer' in their CSS document but in their actual XHTML code they have IDs for 'product-container' but with numbers on the end like 2,3,4,5, etc. It's almost as if JavaScript or some other code is automatically appending a number on the end of the ID so the validator won't consider the markup to be invalid, but yet it knows that it's using the same 'product-container' style that is contained in the CSS style sheet.
    I hope I explained this correctly. I'm just hoping to find a way that I can put the same div ID on a page multiple times without having to define it over and over again in my CSS.
    Any help is much appreciated!

    Because it seems like by using a class you can't make this position as 
    well as you can by using an ID. Am I wrong?
    An ID name can be used only one time per page.  A class name can be used multiple times per page.
    .product {
    width: 300px;
    text-align:left;
    color: #FF0000
    border: 2px solid #666;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Can multiple accounts use the same purchased apps from the same computer?

    Hope one of you guys can help me out!
    Ive got an iTunes account with over 1300 app store apps, most of which are paid, my kids have just got an iPhone4 and an iPod Touch4 for xmas presents and Im currently setting them up for them to use straight away on xmas day.
    The issue is;
    For them to be able to use all my apps on their devices Ive had to use my account, this causes issues with things like GameCentre and FaceTime, because we are all on the same e-mail address and account!!!
    Is there any way for me to set up there own accounts in such a way as they can still have access to my apps?????
    Please help if you can, it would be greatly appreciated,
    Thanks, James

    Akhilleus70 wrote:
    How do I authorise them all to use the same apps etc?
    that's basically very easy. all you have to do is +log out+ of one account (click on the account name in the Store window and select +sign out+ from the pop-up dialog) and into the other, and then they will both be authorized.
    JGG

  • Can two computers use the same backup??

    I restored a seperate Macbook pro from the Time machine backup of MY Macbook. So I have two computers operating from the same backup. Is that recommended??

    Yes, it should do. Once you change the name of the computer make sure you reset TM
    See A4 here. http://pondini.org/TM/Troubleshooting.html
    When you start the backup it will create a new sparsebundle.. (like a virtual disk that holds the backup on network drives) and you will be able to check that it is correct because it should be a new full backup.
    Then you can do a full backup of one of the machines.. the other machine can continue to use the original backup.

  • TS3988 Can 2 people use the same icloud?

    Need help badly, such a mess! My son is under my Itunes acct-I have an Iphone 4s, he has an Iphone 4. Somehow his phone is on the ICloud with our Apple ID (which is my gmail address) & pw. He also has an @me.com-set up by me trying to seperate our phones (mistake now I know!) Our ICloud Backup Storage is a mess-we use 1 laptop for Itunes and now ICloud--his phone updated & all my contacts went to his phone-he erased my people off his phone b/4 checking with my phone-now ALL my contacts are lost, only his remain on both our phones! Even worse now I cannot text him--I "think" his phone is seeing my phone as his now, if that makes any sense at all! HELP!

    Thank you so much for your answer! Yes, this is my 1st time to the community too, again thank you! Okay, here's the sequence that 'may' help explain; 1st- My son got an Iphone 4 & wanted to buy songs, etc., so I added his phone to my Itunes acct..--he consequently signs on under my email address (my Apple ID) & my PW. No problem then, it had/has listed ex. Mom's Iphone & Son's Iphone (mine is a 4s, don't think that makes a difference- except in telling u that Siri doesn't work properly now either & refers to my son's name now instead of mine!) As far as I can tell, the real problems began with the ICloud settings on our Iphones--meaning the settings on 'where' to back our phone's- ICloud or to the Laptop (both phones back up to the same laptop.) It's so complicated I can hardly explain it, so sorry if I'm bouncing around! I did not mean to or rather it was not an intentional decision to use the same ICloud, however since we share the same comp. and Itunes account, and basically passwords--it somehow happened. I don't know how to undo this mess! Last night I went to ICloud.com & was able to sign on with my son's @me.com user ID & our Itunes PW (aka-Apple ID.) It really didn't do anything except show me Iphone features, ex. Contacts, Ibook, etc.. I did 'not' see a place where I could change any settings, like to possibly change his Apple ID, or pw...that's all I can think of to change? And even with that I'm not sure how to do that...he's 14, a minor--so he has to be under my settings to a degree. Don't mind at all having seperate ID's, but we do share "some" music and app's for example. Is any of this making sense or even partially explaining my problems? Thank you in advance!

  • TS2446 If my iTunes account was shut down due to fraud activity why can I not use the same credit card if I choose to when I have no other way to pay

    When I turned in my iTunes account b/c fraud activity had been detected while my iPhone was not working so they disenabled my iTunes account but I got my new apple id back to download free games but I can't use my debit card anymore and want to use the same card as that is the only access I have as a form of payment

    You can give feed back to Apple from the iTunes drop-down menu in the iTunes menu bar..
    You can also contact the iTS Customer Service from the links on this page - http://www.apple.com/support/itunes/store/
    MJ

Maybe you are looking for

  • How do i remove tuneupmymac software from my macbook pro

    how do i remove tuneupmymac software from my macbook pro?  not sure how it got on my macbook but i want it off.

  • Customized Report to to query the changes happened to a device in a particular period in SCCM 2012

    Dear All, Need some help on SCCM. I am looking for a report in SCCM which will tell me the changes happened to a device (drivers deleted, software installed / registry changes). Any information which can help us identify changes on a computer in a gi

  • Translations for Notes and Attachments

    Dear members, Before posting this query, i searched and followed the threads for translations. However most of them specified the method for tranlsations at very high level like button , label etc. But i need to translate the following... This is rel

  • IDOC-XI-JDBC: mapping error

    Hi sap gurus...         I had a problem in IDOC mapping to JDBC. If any body have mapping template or any blog.. related to MATMAS.. please help me.. I don't know how to map the idoc structure to JDBC structure.. points will be given immediately.. Ku

  • Billing number range changes when change incoterms

    Hi, I have a scenario in which i create invoice, then create credit memo request with respect to that invoice, and then credit memo. While doing this if I dont change my incoterms then all the functions happen successfully. But as soon as i change my