Reports 6 using SRW.RUN_REPORT - problem with transferring variable to new report.

I have one report "analyse" that calls another report "pdf".
In "analyse" i have a function pdf_rep:
FUNCTION PDF_Rep(c_proevenummer varchar2) RETURN boolean IS
msg char(150);
BEGIN
SRW.Run_Report
('BATCH=YES
REPORT=PDF
DESTYPE=file
DESFORMAT=PDF
desname=test1.pdf
p_proevenummer='||(c_proevenummer) );
return(true);
exception
     when srw.run_report_failure then
     msg := srw.geterr_run;
     srw.message(1,'err msg: '||msg);
     return(false);
END;
This function is called from BeforeReport-trigger. (or AfterParameterForm-trigger)
The "pdf" query:
select proevenummer
from View_Analyse
where proevenummer= :p_proevenummer;
The "pdf" report is run and a test1.pdf file is made BUT the where-clause is NOT performed.
What do i do wrong ?

Hello,
If you copy the parameters displayed by srw.message and create a BAT file with these parameters
and rwrun60 :
rwrun60 <the paremeters displayed by srw.message>
Does the report run correctly ?
Regards

Similar Messages

  • Srw.run_report problem with distribute=yes

    srw.run_report distribute=yes is not working for me. When running the report in rwbuilder or using command line rwrun, the distribution works fine.
    The problem is eg. a report on employee, with a group on Dept_no. Dept_no is used as distribution list &<dept_no> i the distriubution Dialog in the Report and repeat on G_dept.,
    The report wil generate a number of reports e.g. Dept_no_10.pdf, Dept_no_20.pdf and so on.
    BUT, the file name Dept_no_10.pdf is containing data from Dept 20, and the file name4d Dept_no_20.pdf contains data from Dept 20.
    So the question is, if the report can distinguish the number of files to generate and the correct name, how come the data is corrupt ?
    Any ideas is wellcome.
    Our installation is 11.2.0.2 and I'm using Reports 9.0.4.0.33.
    The use of srw.run_report distribute=no is working fine.
    The setup is to run from pl/sql calling srw.run_report
    claus
    try for a better example at this link : https://technology.amis.nl/wp-content/uploads/images/Reports%20Bursting.pdf
    This explains classic distribution/bursting of reports, and it works with rwbuilder/rwrun, bur not through srw.run_report

    Hello,
    If you copy the parameters displayed by srw.message and create a BAT file with these parameters
    and rwrun60 :
    rwrun60 <the paremeters displayed by srw.message>
    Does the report run correctly ?
    Regards

  • Problems With Transferring To A New Computer...PLEASE READ

    I recently had problems with my Powerbook G4 and called Apple about it. Long story short, I had to erase and install Mac OSX thus erasing everything from my hard drive. I have around 2,000 songs and 1,300 pictures on my iPod that I need on my computer. Is there any way of doing this?
    powerbook g4 15   Mac OS X (10.4.1)  

    Sorry I can't help with photos however there are a number of third party utilities that you can use to retrieve song files from your iPod, this is just a selection. Have a look at the web pages and documentation for these, they are generally quite straightforward. I use Senuti but check the others out particularly if you need to move videos for which you' d need iPod Copy.
    Senuti Mac Only
    iPodRip Mac Only
    PodWorks Mac Only
    iPod.iTunes Mac Only
    iPod Access Mac and Windows Versions
    YamiPod Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions

  • Major problems with transferring songs to new iPod touch 5th gen

    Hi, I'm in need of help.
    I just bought a new iPod touch 5th generation today and I naturally wanted to transfer some songs to it today via iTunes. I have an old MacBook aluminium with os x 10.5.8 and I have not been able to update any of my programs lately due to the fact that my os does not support them. When I plugged in my iPod to my computer, iTunes immediately opened and said that I had to upgrade to the latest version of iTunes because my iPod is not compatible with the current version. I tried doing so but failed since my os is not compatible with the new program. This is obviously just a vicious circle, since as I said, I have to buy the latest os x to update any of my programs. And since my computer is 5 years old I do not feel the need to do that, because I will soon buy a new one (in about a year).
    So now I really need help. How do I transfer music to my iPod without using iTunes? I've tried googling it and I've downloaded a bunch of programs but they are just 30 day trials and that won't work for me since I update my iPod daily. I've also tried putting music on dropbox but my iPod won't download music files from there, and sending music through Bluetooth won't work either. For a moment I though iCloud might work but I don't have that on my computer nor can I download it. Right now the situation seems hopeless, is the only way of solving this by upgrading my old computer or wait until I buy a new one? I feel like there must be some sort of way, but I can't come up with anything else.
    Please help me, thank you

    I know of no way except to upgrade the computer/purchases newer computer that will handle iTunes 10.7 or later.
    If you have a Power PC processor (vice an Intel processor) you need a Mac with an Intel processor.If you computer has an Intel processor just purchase the Snow Leopard upgrade disk About $30

  • Hide URL using srw.run_report

    I called a report from a form 10g using RUN_REPORT_OBJECT which hides url.
    Now i called a report with in report using srw.run_report which shows hole url in the browser.
    I want to hide url.

    Can I use this build it to run itself? I mean in your case run report A?
    our report is launched from servelet. because of some security issues, I would like to use this built in to change it to command line after user enter all the parameters through the parameter form.
    thanks.

  • Srw.run_report problem. Help needed...Urgent

    Hi,
    I am very new to Oracle Reports. I need some help in using the srw.run_report
    I am having two reports. Rep_A and Rep_B
    I will always invoke the Rep_A first...Rep_B should always be invoked in Rep_A
    In Rep_A, i need to check a parameter P_Param1 and based upon the value i need to proceed as follows
    If P_Param1 = 1 then
    --Rep_A should be generated and returned as stream(cache)
    --Rep_B shouldnt be invoked
    If P_Param1 = 2 then
    --Rep_B should be generated and returned as stream.
    --Rep_A should not be generated
    If P_Param1 = 3 then
    --Rep_A and Rep_B should be generated and returned as stream
    --(Rep_A followed by Rep_B)
    If P_Param1 = 4 then
    --Rep_A and Rep_B should be generated and saved as files in a specified location.(this location is in another machine)
    This is my requirement. I hope I am clear with my requirement.
    How can we achieve these.
    Are there any technical issues?
    Please guide me
    thanks...
    siva

    Hi all,
    just to keep this thread active.
    can anyone help me in using srw.run_report.
    its an urgent requirement.
    thanks...
    siva

  • Is there a restriction on using SRW.RUN_REPORT per session

    I am running a driver report which in turn calls the detail report using SRW.RUN_REPORT package. The driver report eventually fails with a core dump after calling the detail report for 999 times. It doesn't matter how big the report is as I've tried it with a very simple report which outputs sysdate in a file.
    Any ideas? Where to look for and what to change so that it can run the report using SRW.RUN_REPORT package more than 999 times.
    Thanks.
    Please reply to: [email protected]

    I found the answer, Xcelsius 2008 SP3 is not supported on Windows Server 2008.
    Before trying to use more products please check the supported platforms for all products. For example you can see in Xcelsius documentation that SAP Business Objects Xcelsius 2008 SP3 is not supported on Windows Server 2008. This means that, even if BPC 7.5M supports Windows Server 2008, it is not possible to use both BPC 7.5M and Xcelsius 2008 SP3 on a Windows Server 2008.

  • Problem with transferring garageband track from iPad2 to macbook

    Hello,
    I have a problem with transferring track from Garage band 2.0 on iPad2 to a new macbook pro (oct2013).
    I saved a track on macbook via iTunes but when i`m trying to open it on Garageband it shows an error.
    I have updated all soft recently. So it couldn't be true.
    Could you please help me to solve the problem?
    Thank you very much!

    What software are you running on your MBPr? Are you using MacOS X 10.8.5 or MacOS X 10.9?  Probably you need to update your MBPr to Mavericks and GarageBand 10.0.0.

  • Problems with transferring iTunes Library to new iMac

    I am having a problem with transferring my iTunes library to my new iMac. I have read many of the suggestions posted in this forum along with numerous articles on other sites. I have not seen anyone describe my exact problem.
    When I got my new iMac, I used Migration Assistant to transfer everything (files, applications, settings, etc.) from my old iMac to the new iMac. On my old iMac, the iTunes music folder (i.e., the actual mp3s) are on an external HD, while the iTunes Library file (the database and xml files) were in the /user/Music/ folder on the old iMac.
    After the Migration Assistant was done, the /user/music/ folder and the library files were copied to the new iMac, but the iTunes music folder was not. It is still on the external HD.
    If I open iTunes on the new iMac, iTunes shows me all of my songs, but if I play one, I get the "song can't be found; do you want to find it" error. In iTunes preferences on the new iMac, the "iTunes music folder location" is the new iMac.
    I have the 2 iMacs connected by a firewire cable, but neither iMac recognizes the other computer as being on the same network. That is, in Finder on the new iMac, I cannot see the external HD of the old iMac.
    I can't change the library location on the old iMac, because the new iMac does not appear in Finder or in the "Change Music Folder Location" dialog box.
    I want to move the music folder (the actual mp3s) from the external HD of the old iMac to the INTERNAL HD of the new iMac. I don't need to keep them on the old IMac, as I will be selling that computer. Of course, I want to keep all my playlists, artwork, etc from the old library.
    Does anyone have a suggestion?
    Thanks.

    Never mind. Figured it out. I attached external HD to new iMac and consolidated. Duh.

  • Srw.run_report problem

    Hi all,
    i'm trying to run a report inside another report using srw.run_report routine, but i get the following error:
    REP-0110: Impossible to open file 'app/OA11i/NOCE/software.ds/noceappl/xxene/11.5.0/reports/I/XXENE_PROPACCPDRNOINT.rdf'
    the full command that i use is: srw.run_report('report=app/OA11i/NOCE/software.ds/noceappl/xxene/11.5.0/reports/I/XXENE_PROPACCPDRNOINT.rdf desname=DL006345.pdf destype=file desformat=pdf batch=yes P_PDR_ID=10015 P_DATA_ATTIVAZIONE=20-FEB-07 P_USE_SITE=LEGAL');
    Thanks for the help,
    bye
    Simona

    Hello Simona,
    Below is the definition of the error you are getting:
    Cause:     Report Builder tried to open the file shown and could not.  The possible causes of this error include the following:       
            Case 1:     The file was not found under the specified name in the specified location. 
            Case 2:     You lacked the necessary privileges to open the file. 
            Case 3:     A system error made it impossible to open the file. 
    Action:     You can take the following actions to correct this error:       
            If Case 1:     Make sure the file is stored in the specified directory under the specified name.  If it is not, change the directory and/or filename as appropriate. 
            If Case 2:     Make sure that you have the privileges necessary to open the file.  If you do not, change your privileges accordingly. 
            If Case 3:     Consult your operating system documentation or contact your system administrator.Hope this helps.
    -Marilyn

  • TPC 2012 - Problems with shared variable

    Hi,
    I tried to program simmilar thing to this one http://zone.ni.com/devzone/cda/tut/p/id/5548 on TPC 2012. But it doesn't work.I can see that both programs on my laptop and TPC are working(I've added an additional counter with display), but I cannot see any effect on TPC when I change the value of shared variable on my laptop. I use LabView 8.6 with Touch Panel Module. My question is what are the exact steps to run such application on TPC2012? Are they the same as for TPC 2006?
    I've noticed following issues:
    1.I cannot deploy the program from Project Manager(there is an information that maybe TPC Service is not started. - I've found such information about TPC Service http://digital.ni.com/public.nsf/allkb/DE177828D27A14A48625734E00768B66 but in fact I cannot find Start » All Programs»National Instruments » NI TPC Service » NI TPC Service Manager 1.0 Does it mean, that the TPC Service is not installed and the programm with shared varibles won't be working or can I start it somehow in another way? Do I need to have TPC service installed on TPC2012?
    Until now, I've built the project and sent it through FTP to TPC(the folder was /TEMP) and then started it.
    2.Ping works OK
    Thank you in advance for any hints how to solve this problem.
    Martin

    Well no problem, but I'm frustrated with this issue... I've tested many things and nothing. Just to help someone else as I in the future, these are my sources:
    http://forums.ni.com/t5/LabVIEW/TPC-2012-Problems-with-shared-variable/m-p/1009631/highlight/false#M...
    http://digital.ni.com/public.nsf/allkb/28536DE7E2D9E98B8625770B00738920?OpenDocument
    http://zone.ni.com/reference/en-XX/help/372507B-01/lvtpcgsm/tpc_install_sharvar/
    http://zone.ni.com/reference/en-XX/help/372507C-01/lvtpcgsm/tpc_install_sharvar/
    http://digital.ni.com/public.nsf/allkb/23532363F4905EC28625727A00730B80?OpenDocument
    http://forums.ni.com/t5/FieldPoint-Family/TPC-2006-Not-Listed-in-Targets-and-Devices/td-p/566325
    http://forums.ni.com/t5/LabVIEW/MAX-can-t-detect-TPC-2106T/td-p/831524
    http://zone.ni.com/devzone/cda/tut/p/id/5868
    http://digital.ni.com/public.nsf/websearch/28B748B9697B79E18625725A00009066?OpenDocument
    http://digital.ni.com/public.nsf/websearch/D1726990DCEB82E4862570F20069C57D?OpenDocument
    http://digital.ni.com/public.nsf/allkb/3B469103BBDD4CE48625726000665B36
    I hope find some hint..
    Fabian León
    Certified LabVIEW Associate Developer

  • Problem with formula variable

    HI,
    I am facing problem with formula variable with replacement path. my requirement is system date - posting date.
    here i created 2 formula variable one is system date. second formula vaiable with replacement path is posting date. second formula vaiable not populating data. please help on that.
    regards,
    kris

    Hi,
    here is some idea.. here i have taken expample dates 1)notification creation date and 2) notification completion.
    1st:in the query designer at key figure coloumn create
    one local formula.in that local formula create formula
    variable with replacement path.in that take reference character
    notification completion.in the next tab take replace ment
    as key.in the last tab select "date".
    2nd: do the same thing for the notification creation date.
    3 rd : create 3 rd local formula and do the substraction
    for the first 2 local formulas.
    4th:create codition on the difference which u have find with
    on that condition u can create one user entry varibale.
    5th:while u defining the query put these 2 dates,i,e
    notification completion, notification creation date in the character block.
    If not system will ignore the formula variable which u created in
    above steps.
    Hope this wil help u.
    regards....KP

  • Problem with String variable

    I am new to Java Programming.
    I have a line of code that works and does what is supposed to.
    faceData.getProfile("Lisa").removeFriend("Curtis");
    If I assign the strings to variables such as-
    String name = "Lisa";
    String fName = "Curtis";
    and then plug those into the same line of code, it does not work
    faceData.getProfile(name).removeFriend(fName);
    What could be causing the problem?
    I even added some lines to print out what is stored in the variables to verify that they are what they should be, but for some reason the variables do not work while putting the strings in quotes does. Any ideas?

    I guarantee that something about your assertions are incorrect. Those variables are either not equal to the values you claim, or something else is going on. But it's not a problem with string variables versus string constants.
    Edit: My best guess in lack of a real example from you, is that the strings in question have non-printable characters in them, such as trailing spaces or line feeds.

  • Anyone else having problems with popups since the new security upgrade? can't get rid of them

    anyone else having problems with popups since the new security upgrade? can't get rid of them

    You may have inadvertently installed adware. You do not need to download or install anything to fix it. It ought not to be related to any Apple security update.
    For a description of how this may have occurred, how to avoid it in the future, and for Apple's recommended actions read How to install adware. Apple's instructions are linked in the Recovery Procedure near the end of that document. Read and follow them carefully. Pay particular attention to the easily overlooked passages directing you to restart your Mac when required.

  • Problems with /tmp variable

    Hi,
    I'm writing a shell script and I seem to be having problems with a variable that is creates a directory in the /tmp directory. Essentially, there are several points where various parts of the script call out information that gets exported to that directory. My script is failing upon creation of this directory, is there any specific permissions on the /tmp directory in mac that would need to be set before something like this occurred?
    Thanks!

    My script is failing upon creation of this directory
    Maybe you could post your code, that way we can see how you're trying to create the directory and may be able to spot the problem. As it is we're working blind, and that's not easy.

Maybe you are looking for

  • T-code to edit the name of company

    T-code to edit the name of company- I have a smartform  which picks the name of a company. But it is too long. I want to edit the company name so that is is shown in the form.

  • Lag on Youtube vids

    When I am on youtube and watch videos, I notise that everytime i start watching the video, it lags and jumps in the video, and it always starts around 0:10-0:14 sec in the video. Does antone els have this problem, and what should i do???

  • Java.sql.SQLException: Unexpected token: IN in statement

    I use Toplink 2.0-b41-beta2 (03/30/2007) and have a problem with the following JPQL query: “SELECT DISTINCT OBJECT(e) FROM Entry e WHERE e.location IN (SELECT loc From View v JOIN v.viewLocs vl JOIN vl.location loc where v.code = :code)” “Entry” is a

  • How do you place text in a text frame, but with autoflow?

    I woudl like to place a tagged text file on a text frame rather than on a page, so i can put the contents into a pre-defined text frame, but still have the number of pages extended unitl the entire tagged text content is show. I can get autoflow with

  • Without opening the package. How can I find out when this ink expires?

    Can I use the code on the packaging to find out when this ink expires? I do not want to open it. Thanks. I appreciate your help! This question was solved. View Solution.