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

Similar Messages

  • 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

  • Problem with distributing hotfix

    Hello to everybody!!
    have a problem with distributing packets *.msu(hotfix).  I run it with command  wusa.exe  nameofhotfix.msu /quiet /norestart
    And it is not install in computers. I give an error
    The program for advertisement "SRV2000D" failed ("SRV00014" - "Windows6.1-KB2459530"). A failure exit code of -2145124329 was returned. User context: NT AUTHORITY\SYSTEM Possible cause: Systems Management Server (SMS) determines
    status for each program it executes. If SMS cannot find or correlate any installation status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status. An exit code of -2145124329 is considered a failure.
    Solution: For more information on the exit code, refer to the documentation for the program you are distributing.
    I search with error code -2145124329  in internet. But cannt find any usefull information
    how to solve this problem. Please help

    Hi,
    to analyse further;
    Run CALC.exe, place CALC into "Programmer" mode (View, Programmer)
    Set CALC.exe into "Dec" mode (Decimal)
    Paste the decimal value: -2145124329 
    Click "Hex" (the conveted result is shown: FFFFFFFF80240017)
    Open cmtrace tool
    Press CTRL+L (open error lookup utility)
    Paste converted Hex value (remove the leading FFFFFFFF)
    Click "Lookup" button (error lookup result is displayed)
    Operation was not performed because there are no applicable updates.
    Source: Windows Update Agent
    This all suggests that the update file you are trying to apply, is not needed/is not applicable to the computer under examination. There are various possible reasons for this outcome;
    a) the update has previously been applied
    b) the underlying product does not exist on this machine, so that patch cannot be applied
    c) a pre-requisite update is missing
    d) the patch cannot be applied, as the OS version or architecture is wrong/mismatched
    e) probably more, but these are the reasons I have observed so far.
    You should check or test, either before attempting to apply this patch, or, check for this resultcode, and take the desired action (fail, or, ignore, or send an alert,or whatever you wish to see happen)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • 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

  • 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

  • Blend tool problems with distributing objects.

    Hi Everyone,
    First time here so I hope this is the appropriate forum locale for this specific question - of which I have not found a solution online or in these forums.
    I have dealt with this problem for quite some time and am sick of manually correcting blends so I am seeking help.
    Here is the situation:
    I draw a simple oval, copy it and move it somewhat diagonally across the page.  I then resize the oval slightly (thinner) but retain the same amount of anchor points.
    I then rotate the oval about 2 degrees.
    Next I apply a blend - hoping it will blend the two shapes evenly (like it did in pre CS versions) but the blended ovals get closer to each other on one side than the other - so it seems to be a weighting problem... so I checked out each of the blend options and even tried the various methods of making a blend (via panel, or pull down menu, hot keys, etc.)  Nothing works to get the shapes evenly spaced.  Distribution and alignment panel offers no help either and in some cases makes the objects distribute more unevenly.
    Summary:  If I make two IDENTICAL shapes/ovals, the blend works fine... but once I modify one of the ovals, before or after the blend is made, even in the slightest bit, the distribution spacing gets skewed/uneven.
    I don't think it is a bug since I've had this problem since early CS days.   Is anyone else having this problem?
    I hope it is an easy fix.  I am using a PC version of Illustrator, if that matters in this case.
    Thank you ahead of time for your consideration and help.

    I've tried all those options (distribute spacing, distribute objects, specified distance, specified steps, etc) without success... it wound up just being the 'ol visual issue described above and the manner in which I set up my illustration.
    So after I create a blend, I try the various options to get the objects to align / distribute correctly (to fix the visual issue), but after, say, applying "distribute spacing", the ovals arc slightly so that they are not aligned in a straight manner from end to end.
    I then try other alignment options and nothing seemed to correct the alignment from one oval to the next... thus I had to correct it manually.
    Anyways, I found that if I set up my illustration so as to do my oval blends on a horizontal or vertical axis (without transforming one side, but keeping them all the same - in a grid-like pattern) and then Free Transform the group of ovals afterwards to indicate perspective and the like -- that seems to be a reasonable solution.
    I also learned a new trick in this process / forum post.
    I won't be able to reply for a while... All is well now and I gotta get to work, so it's literally back to the drawing board for me.
    Thanks again!   =)

  • Problems with distributed applications.

    I m' working on a application that will allow a computer(client) to communicate with an other computer(server).
    So, i want the client to receive an interface of my application(not in html but in java) that is all ready present in a class on the server.
    What is the best way to do for the client to display the interface of my application server: a JApplet, or must i use a RMI methods, must i use TOMCAT and servlet, must the client download all the application on his computer via a web site....
    I don' t know how to manage.
    I will be happy if you ve got some ideas.
    Thank for your attention.

    Can't be sure w/o being able to reproduce, but looks like a bug in the underlying java.net.
    What version of the JRE are you using, and is it possible to test this situation with a later jre. I will look into the bug dadabase tommorrow, and see if it looks like any existing bug.
    /Andy

  • Problems with SRW.RUN_REPORT on 10gReport Server (9.0.4)

    I have recently upgraded to 10gReport Server (9.0.4) and for the most part have no problems running reports. However, when running reports that call other reports, the srw.run_report server call hangs. Found that this is a bug in 9.0.4. Work around is to not include the server parameter in the run_report string.
    Current string appears this way in the Before Report Trigger:
    srw.run_report('batch=yes report=(reportpath)\comptype.rdf destype=cache desformat=pdf');
    srw.run_report('batch=yes report=(reportpath)\stdomicile.rdf destype=file desformat=pdf');
    However, when running from the calling report, it will render in pdf for the user, but the comptype.rdf and stdomicile.rdf reports error with the following message:
    REP-52251: Cannot get output of job ID 966 you requested on Wed Dec 14 10:17:30 CST 2005.<P>REP-56033: Job 966 does not exist
    REP-52251: Cannot get output of job ID 965you requested on Wed Dec 14 10:17:30 CST 2005.<P>REP-56033: Job 965does not exist
    respectively.
    When checking OH\reports\cache..all reports are available and printable, but for some reason they are not rendering in pdf to the screen. I did not have this problem prior to moving to 9.0.4 report server.
    Does anyone have any ideas as to why the reports will not render correctly? Users cannot get to the cache file to manually print themselves.
    any help will be appreciated.

    We're having the same problem with our upgrade to 10g (9.0.4). I'm getting the REP-52251 error and no report output in Adobe.
    Were you able to resolve your problem?
    Bill Hartenberger
    [email protected]

  • When I turn my computer on I receive a message that Apple wants to make a change to the hardware. I click on yes but nothing happens. I think this has something to do with Apple "push". I had a problem with this in iTunes when I tried to sync my iPod Touc

    When I turn my computer on (Windows 7) I receive a message that Apple wants to make a change to the hardware. I click on yes but nothing happens. The change has something to do with Apple "push". I recently had a problem with"push" on iTunes when I tried to sync my iPod Touch. I have latest software for iTunes and iPod. Can anyone tell me what to do to get this change to install?

    ptford wrote:
    When I turn my computer on (Windows 7) I receive a message that Apple wants to make a change to the hardware
    Since hardware cannot be changed with software, perhaps you would be so kind as to post the exact wording of the message?

  • Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....

    Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....I hit retry and it came up again. I hit ignore and it prompted me to hit finish so Itunes can open.   I looked thru alot of these posts on here to try and resolve this problem myself but it's not working too well...I downloaded Itunes to my desktop so I can right click it with the program i downloaded called WinRAR. I extracted it and then went into the folder called Itunes64setup. I saw the file called AppleMobileDeviceSupport64 in there so I began to try and download it on it's own. Well that didn't work as I planned and got this error message:
    Apple Mobile Device Support wasn't installed on your computer. The installer encountered errors before Apple Mobile Device Support could be configured. Your system has not been modified. To retry these operations at a later time,please run the installer again.
    Well I tried to run it again and came up with the same message...I see that some people got great support to help them so I am hoping someone can help me as well. I know "b nor" is very qualfied and hopefully can help me! Please advise what I can do. Thank you

    Hi Iss9243,
    Welcome to the Support Communities!
    You've already tried some great troubleshooting steps, but the article below gives you quite a few more for this issue.  Hope it helps ....
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Judy

  • Font subsetting issue with srw.run_report

    I have PDF subsetting as
    "Courier" = "MSGOTHIC.TTC"
    I have a report emp.rdf. This emp report just displays the data from emp table.
    I have a report dept.rdf. This dept report just displays the data from dept table.
    In the after report trigger of the dept, I added
    srw.run_report(report=emp destype=file desname=emp.pdf desformat=pdf);
    I am running the dept report from command line as
    rwclient server=<servername> userid=<user/pwd@db> report=dept destype=file desname=dept.pdf desformat=pdf
    The report hangs. I tried moving the after report trigger to before report trigger and it fails too.
    Any ideas?

    Hi,
    Can you try running this report from the Reports Builder, ie, use File > Generate to file > pdf, and see if both the master and child files are generated.
    If yes, can you post both server and engine trace file contents (last few lines) of the instance when you run it from the server, and not from Builder.
    Navneet.

  • Does report2.5 works with srw.run_report and Oracle Apps11.0.3

    Hi,
    I have reports2.5 and using srw,run_report I want to call another report. NOw I have registered this in oracle apps 11.0.3 . Now through oracle apps if I run the main report it has to call the child report (calling via srw.run_report) and the output should be put in the Unix server directory /tmp/
    Please help Ratheesh.
    Iam not sure whether report2.5 works fine with srw.run_report and oracle apps11.0.3

    Try this isntead.
    java -classpath d:\jdbc\classes12.zip;. jdbccheckup
    an error occured:
    Exception in thread "main" java.lang.NoClassDefFoundError:jdbccheckup
    Why??????

  • Character problems with xsql:include-xsql reparse="yes"

    I have a problem retrieving XML-fragments from CLOB columns.
    Danish ISO-8859-1 characters (aelig, oslash, aring) are returned as "?" from Apache/Jserv when using xsql:include-xsql reparse="yes".
    My platform is Solaris9/Oracle-9.2.0.2/XDK-9.2.0.4.
    Database characterset is we8iso8859p1.
    I'm using the Apache/Jserv that comes with Oracle 9.2.0.1.
    Steps to reproduce problem:
    -- Table data:
    create table tab1 (id number,clob_col clob);
    insert into tab1 values(1, '<x>fxe</x>');
    /*inserted characters are aelig(230), oslash(248), aring(229)*/
    commit;
    -- test.xsql:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <testdata xmlns:xsql="urn:oracle-xsql" connection="pnrtest">
    <xsql:include-xsql reparse="yes" href="inc.xsql" />
    </testdata>
    -- inc.xsql:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet type="text/xsl" href="unquote_clob_col.xsl"?>
    <xsql:query
    xmlns:xsql="urn:oracle-xsql"
    connection="pnrtest"
    tag-case="lower"
    >
    select clob_col
    from tab1
    </xsql:query>
    -- unquote_clob_col.xsl:
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:output method="xml" indent="yes" omit-xml-declaration="no" encoding="ISO-8859-1"/
    <xsl:include href="identity.xsl"/>
    <xsl:template match="clob_col">
    <clob_col>
    <xsl:value-of select="." disable-output-escaping="yes"/>
    </clob_col>
    </xsl:template>
    </xsl:stylesheet>
    -- identity.xsl:
    <!-- The Identity Transformation -->
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <!-- Whenever you match any node or any attribute -->
    <xsl:template match="node()|@*">
    <!-- Copy the current node -->
    <xsl:copy>
    <!-- Including any attributes it has and any child nodes -->
    <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
    </xsl:template>
    </xsl:stylesheet>
    -- Notes:
    Running test.xsql works fine with XSQL command-line, but FAILS through Apache/Jserv (danish characters are returned as "?").
    inc.xsql works fine through XSQL command-line and Apache/Jserv, problem only happens with xsql:include-xsql reparse="yes" (e.g. test.xsql).
    xsql:include-xml works fine, but I cannot use this, bca. in my real business case I'm selecting more than one row from the database.
    I've checked and double-checked my jserv.properties several times, and believes it to be correct.
    The xsql:include-xsql reparse="yes" technique works fine in our Solaris9/Oracle-8.1.7/iAS-1.0.2.2 environment.
    Any suggestions ?
    -- Peter ([email protected])

    If I put the following line in jserv.properties:
    wrapper.env=LANG=en_US.ISO8859-1
    the problem with xsql:include-xsql reparse="yes" seems to go away.
    Really strange, since Oracle products in my experience normally only uses NLS_LANG, not LANG.
    Also, we're accessing several databases with different charactersets from the same ApacheJserv installation, so I don't understand why LANG (or NLS_LANG) should be set to a particular value.
    Can anybody explain ?
    -- Peter

  • Sorry but i dont speak a good english, i have a problem with my ipod the apps Twitter,Facebook not open but messenger(fb) music yes,I can do to make them work?

    helpme please,sorry but i dont speak a good english, i have a problem with my ipod the apps Twitter,Facebook not open but messenger(fb) music yes,I can do to make them work?

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Restore from backup. See:
    iOS: How to back up
    Restore to factory settings/new iPod

  • I have a problem with macbook pro OS 10.5.8 and cannot play youtube anymore, before Yes

    i have a problem with macbook pro mac os 10.5.8 and cannot play youtube but before ther is no problem abou this. now there is warning sign to install adobe flash player, but when i install adobe it said cannot be compatible, and I went to the apple store, they sid need to upgrade the system to mac IOS 10.6 and i dont want to spend much... somebody to help me this

    Upgrading to Snow Leopard
    You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mavericks if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s iCloud services; fees and
               terms apply.
    Upgrading from Snow Leopard to Lion or Mavericks
    To upgrade to Mavericks you must have Snow Leopard 10.6.8, Lion, or Mountain Lion installed. Purchase and download Mavericks (Free) from the App Store. Sign in using your Apple ID. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mavericks- System Requirements
           Macs that can be upgraded to OS X Mavericks
             1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
                 Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
             7. Xserve (Early 2009) — Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
    Are my applications compatible?
             See App Compatibility Table — RoaringApps.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mavericks, it may still meet the requirements to install Lion.
    You can purchase Lion at the Online Apple Store. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    This, Adobe Flash Player 12.0.0.70, is the current version of Flash. It should work with Snow Leopard or later.

Maybe you are looking for

  • Inner class jstl

    hello all... I have a class for my transfer object and have an inner calss in it ...can anyone help me in accessing the getter setter methods in my inner class in my jsp page... help is greatly appreciated... Thanks

  • Accessing pixels of an image

    is it possible to access the byte[] imageData of an javax.microedition.lcdui.Image Object? If not, what can i do to get the imageData of an image in PNG-Format?

  • MSS :  PCR

    Hello I am trying to use  PCRs in MSS I have tried to make configuration at the back end system where I am unable defined the action number against each PCR scenario. What is happening now , that when I- click on the pcr link e.g change employee grou

  • BGP to OSPF redistribution with VRFs

    I am having a problem with redistribution of routes between BGP and OSPF when using VRFs mapping to VLANs between the PE and CE. In this lab I've put together I have R4 and R5 communicating with eachother via BGP with MPLS. If I redistribute the BGP

  • How to get Activities  connected to the Business partner .

    Hi Gurus , How can be get all the activities attached to the Business partner . Regards, Naval Bhatt .