How I can get in Additional pl/sql code variables in Report?

I develop sql Report
with group functions and I can't insert there additional fields in SQL.So I think that I can insert or get bind variables and others by Additional Pl/SQL.Is it possible or not ?
Example of Report
can I insert here by additional PL/SQL ------------> COTTON
department sum(price)
usa-cotton-01 20000000 sum
usa-cotton-02 30000000 sum
usa-cotton-03 40000000 sum
Thanks in advance.

Hi,
I did not understand your requirement. The additional plsql code section can be used for any additional coding like inserting or updating into a table in the DB or printing a single value from a table or printing multiple values using cursors. It can also be used to print the values of the p_arg_names and p_arg_values which are the bind variable names and values. But you cannot add columns to the main existing query.
Thanks,
Sharmila

Similar Messages

  • Multiple SQL queries in additional PL/SQL code in Report

    Hello gurus,
    I have a form in my portal populated some searching parameters and these parameters inserted into some temporary tables such as name_temp, addr_temp. And then I have a report that run based on these parameters, I have added additional PL/SQL code in the report at the time after the header was displayed. The code is as follows:
    declare
    checkname varchar2(40);
    checkaddr varchar2(100);
    begin
    select emp.name into checkname from emp
    where name = (select name from name_temp);
    select personnel.addr into checkaddr from personnel
    where addr = (select address from addr_temp);
    end;
    The problem I have is always the first SQL statement was executed, but not the second one, nor the third one. Does PL/SQL only supports one SQL statement per call? Please help. Is there a better way to handle this case?
    Thanks.
    Vince

    Hello gurus,
    I have a form in my portal populated some searching parameters and these parameters inserted into some temporary tables such as name_temp, addr_temp. And then I have a report that run based on these parameters, I have added additional PL/SQL code in the report at the time after the header was displayed. The code is as follows:
    declare
    checkname varchar2(40);
    checkaddr varchar2(100);
    begin
    select emp.name into checkname from emp
    where name = (select name from name_temp);
    select personnel.addr into checkaddr from personnel
    where addr = (select address from addr_temp);
    end;
    The problem I have is always the first SQL statement was executed, but not the second one, nor the third one. Does PL/SQL only supports one SQL statement per call? Please help. Is there a better way to handle this case?
    Thanks.
    Vince

  • How can get a database like ****.SQL file for test in sqlplus in oracle8i

    How can get a database like ****.SQL file for test in sqlplus in oracle8i,I am a beginner,thanks

    I'll give it a guess as to what it is you want but I'm afraid you'll have to give some more information to go on. I appreciate it's difficult for people who are beginners or who don't have English as their first language.
    Are you trying to run a SQL file? From SQL*plus you can do either of these:
    SQL> start my_file
    or
    SQL> @my_file
    N.B.: if th efile has a .sql extension you don't need to include it, but you do for any other file extension e.g.
    SQL> @myfile.run
    Here is the page Vijay referred to:
    Re: Physical storage Checks & adding disk on server. I hope you find it useful.
    You will more helpful links (including links to the Oracle on-line manuals at this page:
    Re: How to attach a java bean in forms6i
    good luck, APC

  • How i can get only required data from table by using CKM

    Hi...
    i have done one scenerio i.e get required data from one table into another table on basis of some condition by using CKM.
    Now i want same,but this time my target is file ,not RDBMS.
    so plz tell me procedure how i can get required data from source table into File on basis of some condition using CKM.
    thanks

    CKM checks for Constraints and Not Null condition. You can use IKM SQL to File and being that there is no option in IKM for CKM .
    The other method is you can declare those Not null and other condition as Filter in the Source Datastore, that should filter out records that you are not willing to move to files.

  • HT1451 i had to restart my computer and i lost my itunes library i did not save it on a hard drive or back up. so i want to no how i can get my songs from my i pod back on to my itunes library again thanks

    i have lost my itunes library and did no save it or back it up. i want to no how i can get my music from my i pod back on to my itunes library again thanks

    Your i-device was not designed to be a reliable unique storage for your media. It is not a backup device and everything is structured around you maintaining your media on a computer which is itself backed up. Sync transfer is one way, computer to device, matching the device content to the content on the computer (except purchased content as mentioned below).  For transferring other items from an i-device to a computer you will probably have to use third party commercial software unless you have an older model iPod. Examples (check the web for others; this is not an exhaustive listing, nor do I have any idea if they are any good):
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only media purchased from iTunes Store
    - Senuti - http://www.fadingred.com/senuti/
    - Phoneview - http://www.ecamm.com/mac/phoneview/
    - MusicRescue - http://www.kennettnet.co.uk/products/musicrescue/ - Mac & Windows
    - Sharepod (free) - http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 - Windows
    - Snowfox/iMedia - http://www.mac-videoconverter.com/imedia-transfer-mac.html - Mac & PC
    - Yamipod (free) - http://www.yamipod.com/main/modules/downloads/ - PC, Linux, Mac [Still updated for use on newer devices? No edits to site since 2010.]
    - Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive - https://discussions.apple.com/docs/DOC-3141 - dates from 2008 and some outdated information now.
    Copying Content from your iPod to your Computer - The Definitive Guide - http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/ - Information about use in disk mode pertains only to older model iPods.
    Additional information here https://discussions.apple.com/message/18324797

  • How we can get the Trial balance in other currency -USD now.

    Hi All,
    I have an issue reg: My client  had gone live in 2005 and only One Currency is defined u201CINR u201D as company code currency and Controlling area currency.
    Controlling area settings are maintained as: Controlling Area Same as Company Code and Currency Type maintained is: Company code currency u2013 INR.
    Even in OB22, No parallel currencies (Group currency, Hard currency, Index based currency, Global company currency) are defined.
    Now, my client is asking to have the Trial Balance (F.08) in currency u201CUSDu201D,but at present we are getting it is "INR" only.
    Is it possible to get the Trial balance (F.08) in USD , for the previous posted document values(They did all the postings in INR only)
    How we can get the Trial balance in other currency -USD now.
    Please suggest and guide.
    Thanks in advance
    Regards,
    Sudha.

    Hi,
    First you need to enter USD as HARD CURENCY for your company code's country settings.
    Then in OB22, for your Company code, enter Currency type 40 as additional local currency (LC2)
    Legal Valuation
    Exch rate type M
    Sour Curr 1
    TRs Date Type 2 ...and now save.
    By making these changes, you will be getting F.08 in USD by specifying currency type as 40 in the selection screen of this report.
    The only thing you wont get here is that.............you cannot determine USD values for documents, which are already posted into the system.
    For the time being...you can use report S_ALR_87012279 - Structured Account Balances....in this selection screen enter USD as output currency, tran key date and exch rate type M....to get the LC values to be converted into USD during this report only. (this is as good as fast food)
    As suggested above, use of special purpose ledger is all together a different concept....you dont need to go for it.
    Regards,
    Srinu

  • How we can get the current running user information in BusinessOne

    Hi experts,
    How we can get the current running user information in BusinessOne Application,
    Based on the user details i want to assign some functionality,
    Regards,
    Saidarao yakkala

    Hi,
    As per me you can't get detail by server side.
    If you want to know who are connected then you can use sp_who2 procedure in SQL query.
    That will display who are login.
    For more detail you have to check LOG file on client side in SAP B1 > Log folder.
    Thanks
    Kevin

  • HT4519 how do i get an additional SMTP server host?

    how do i get an additional SMTP server host?

    Can we start again.. My site is now online, I couldn't wait any longer because I need it for my buisness so I got rid of the code that wasn't working.
    But I still need a rollover text to appear so..
    1) I go into the code snippets and add a mouse over event
    2) In my actionscript I add your text: yourtextfield.text = "whatever text you want to show";
    So do I make an empty text field first, give it a name and replace "yourtextfield" with the name?
    Or do I replace "whatever text you want to show" with my text and thats just it?
    Or both?
    Or am I way off?

  • Nation advanced search on my IMac, which I think is a spyware. When I want wo go to google chrome it redirects me to this ominous nation search engeen. Has anybody got some information about it and how I can get rid of

    I just caught a thing called nation advanced search on my iMac computer, which I think is a spyware. When I want wo go to google chrome it redirects me to this ominous nation search engeen. Has anybody got some information about it and how I can get rid of it? What does can it do to my data and is it really a spyware? I just found information in youtube, that it is a spyware, and that it has to be removed, but the information they give for the removal is just working for PCs not for Macs.
    Please help!

    Thank you all for the friendly assistance provided.
    I have found a solutiton to the problem I was having.  I hope that many more can benefit from the information I will provide.
    I started at Finder, then went to GO selected COMPUTER and then Machintosh HD, then Library, Scripting Additions folder and trashed all that was there. This is what worked for me, if you choose to not delete your content its up to you.  Happy Computing.
    God Bless!!
    This solved my question 

  • How we can get the values  from one screen to another screen?

    hi guru's.
         how we can get the values  from one screen to another screen?
              we get values where cusor is placed but in my requirement i want to get to field values from one screen to another screen.
    regards.
      satheesh.

    Just think of dynpros as windows into the global memory of your program... so if you want the value of a field on dynpro 1234 to appear on dynpro 2345, then just pop the value into a global variable (i.e. one defined in your top include), and you will be able to see it in your second dynpro (assuming you make the field formats etc the same on both screens!).

  • I spilled water on my laptop and my "i", "j" and "k" letters don't work on my laptop. However my main problem is that my password contains an "i" so i am locked out of my computer. Any ideas how I can get around the password and login.

    I spilled water on my laptop and my "i", "j" and "k" letters don't work on my laptop. However my main problem is that my password contains an "i" so i am locked out of my computer. Any ideas how I can get around the password and login. I tried the method where you go into single user mode and type in commands, however that method uses some of the letters that are not working on my laptop.

    You didn't mention which version of OS X your running but there are password reset utilities provided OS X: Changing or resetting an account password (Snow Leopard and earlier) - Apple Support  or  OS X: Changing or resetting an account password - Apple Support
    Alternately you can use an external keyboard to log in and change the password. Make a backup if you don't have one, it's likely that your problems aren't over. If that water continues to migrate downward and fries the logic board your macbook will be toast.

  • I'm unable to download iMovie/iphoto, as i didn't buy the mac brand new, it only gives me the 'accept' button when i try to download, i don't mind purchasing, it just doesn't give me the option. any ideas how i can get around this?

    I recently purchased a second hand new macbook air, although it was second hand to me the previous owner had never actually turned it on. So i went through all the set up steps when switching it on for the first time.
    My problem is that iPhoto and iMovie are not installed, and when i go to the app store the icons have an accept button, it then prompts me for my apple ID, obviously these a registered to the original owner, and says i need that ID in order to download them, or i'll have to purchase them.
    I'm happy to purchase them, but it doesn't give me that option, every time i search for them in the app store they always come up with the accept option and no purchase option.
    Any idea how i can get round this would be great fully appreciated.

    I recently purchased a second hand new macbook air, although it was second hand to me the previous owner had never actually turned it on.
    Something doesn't make sense here, though I'm not saying the previous owner is lying....
    Time to send your serial # to iTS and let them see what's happening here.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • I have my old iPhone 3GS that I only use as an iPod but I've forgotten the password and am locked out. My iTunes account is linked to my iPhone4 and I'm lost as to how I can get back into my old iPhone3GS. Can someone PLEASE help me??

    Does anyone know how I can get my old one unlocked?

    If you have the computer to which the iPhone was last synched, you can restore the iPhone on that computer.  That will remove the lock.  If not, then you have absolutely no choice but to place the phone into recover mode (search Google for instructoins) and restore the phone as a NEW device.

  • I just purchased a new laptop, so consequently had to buy Itunes Match to get all of my music back. Now everything is in the cloud, and I can't play them and cannot make a cd. Please explain how I can get

    I just purchased a new laptop, so consequently had to buy Itunes Match to get all of my music back. Now everything is in the cloud, and I can't play them and cannot make a cd. Please explain how I can get my library out of the cloud and keep them on my computer so they are available when I want them? Wow.......why have you made everything so difficult now?

    SKF5656 wrote:
    I just purchased a new laptop, so consequently had to buy Itunes Match to get all of my music back.
    No you didn't.
    Now everything is in the cloud
    Except for anything you did not purchase in iTunes Store.
    Only you iTunes purchases are in the cloud.
    Reada the article that brenden dv posted to copy your iTunes library to new computer.

  • I have a first generation iPad and the screen went completely green on me and locked up.  I was able to unlock it, but now there's a green haze all over the screen.  Anyone know what the issue could be and how I can get it fixed?

    I have a first generation iPad and the screen went completely green on me and locked up.  I was able to unlock it, but now there's a green haze all over the screen.  Anyone know what the issue could be and how I can get it fixed?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Out-of-Warranty Service
         If you own an iPad that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will replace (Apple doesn't repair) your iPad with an iPad that is new or equivalent to new in both performance and reliability for the Out-of-Warranty Service fee listed below. (The replacement will most likely be a refurbished iPad in a brown box, however, it has a new screen, back and battery.)   
    iPad model
    Out-of-Warranty Service Fee
    iPad mini
    $219
    iPad 3rd, 4th generation
    $299
    iPad 2, iPad
    $249
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in US dollars and are subject to local tax.
    Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPad that has failed due to contact with liquid may be eligible for out-of-warranty service. See http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
    You may can get the iPad repaired at 3rd party repair sources for less $, however, any remaining Apple warranty will be voided.
    iPad Repair & Screen Replacement Services
    http://www.ifixyouri.com/16-ipad-repairs
    RepairZoom iPad Repair
    http://www.repairzoom.com/ipad-repair.html
    Mission Repair
    http://www.missionrepair.com/Apple_iPad_Repair_Services_s/431.htm
    iGadgetResQ
    http://www.igadgetresq.com/ipad-repair/
     Cheers, Tom

Maybe you are looking for

  • Unable to install the downloaded camera raw for PSE10 on Mac

    At first, I wasn't able to open .nef files from my Nikon D800E. I then realized that I needed to update my camera raw installers. The available versions were 6.5, 6.6, and 6.7 from the adobe website. I also downloaded the Adobe App Manager as it was

  • No audio output device is installed help me!!!

    Satellite U305-S5097 vista home premium sp2 32bit I've visited the Toshiba website and download the driver, but no change. I found "This device can not start. (Code 10) (Realtek High Definition Audio Properties)" I've tried to check solution but it d

  • Problem in Client authentication in JSSE  on a web service

    Hi, I am having a Web service running on my Web server (Sunone 6.1). I need to implement Security on it using JSSE. It has to be a MUTUAL authentication. I have installed all the certificates and CA certs on both Client and server. But when I try to

  • How to call MSSQL stored procedure from oracle database

    MSSQL and Oracle databases are linked thru ODBC link using Oracle HSODBC. I can query MSSQL table or view from Oracle Database using standard notation for acessing remote objects schema.object@dblink_name... Can anybody give me syntax for calling MSS

  • Uplift of Jdeveloper Extension code from 10.1.1.3 to 11.1.1.4

    Is there some sort of "Cookbook" for the uplift? I'm finding many classes have moved or are nolonger available. Any cross reference of packages/libraries etc?