How to use srw.run_report without userid parameter in 10g

I have the following function which works fine when I supply the userid parameter.
Is it possible to run srw.run_report without the userid? If not is there another way to run a batch report to create a file?
create or replace
FUNCTION SUNRESDS(vopersorjudicial varchar2)
RETURN VARCHAR2 as
myPlist SRW_PARAMLIST;
myIdent SRW.Job_Ident;
BEGIN
myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));
srw.add_parameter(myPlist,'GATEWAY','http://xxx.xx.xxx.xx/reports/rwservlet');
srw.add_parameter(myPlist,'SERVER','rep_172_FRHome1');
srw.add_parameter(myPlist,'REPORT','d:\oracle\FRHome_1\forms\sunresds.jsp');
srw.add_parameter(myPlist,'USERID','username/password@databasename');
srw.add_parameter(myPlist,'DESTYPE','file');
srw.add_parameter(myPlist,'DESFORMAT','PDF');
srw.add_parameter(myPlist,'popersorjudicial',vopersorjudicial);
srw.add_parameter(myPlist,'DESNAME','d:\Reports\unresolved_discrepancies.pdf');
myIdent := srw.run_report(myPlist);
return 'Y';
EXCEPTION
when others then
return ('sunresds ' || sqlerrm);
END;

Did you solve your problem? How did you do?

Similar Messages

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

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

  • How to use ABAP include in SLT parameter

    Hi Frzz,
    Could some one guide me how to use ABAP include in SLT parameter to perform calculations.
    Best Regards,
    Krishna.

    Hi,
    We can have ABAP includes within SLT advanced replicaiton settings.
    Go to IUUC_REPL_CONTENT select the applicable schema configuration name.click on "Select Configuration" button.
    you could see all the tables that are in replication.
    select the required table and then click on "edit settings for selected tables".
    in the next screen select "IUUC_***_RUL_MAP" tab . here we hve the option to insert line of code or abap include as per the requriement.
    please refer the techincal manual of SLT as well for more detailed information on advanced replicaitons within SLT.
    Thank you.
    Shishupal

  • How to use INVOKE function with INT parameter types

    Can you tell me how to use invoke function with int parameter type ?

    Pass the int as an Integer.

  • How to use offset for select-option parameter ?

    Hi experts
    could anybody please let me know how to use offset for select-option parameter. i can able to use offset for table fields, variabiles and all , but don't know how to use for parameters.
    following is my code
    SELECT-OPTIONS: s_prctr  FOR vbsegs-prctr OBLIGATORY.
    here "prctr"  length is 10.
    i'm using two tables  1. vbsegd-bupla
                                    2. vbsegs-prctr
    here prctr+6(4) = bupla.
    "Bupla" length is 4
    SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
                                                                 WHERE belnr = it_vbkpf-belnr
                                                                   AND gjahr = it_vbkpf-gjahr
                                                                   AND bukrs = it_vbkpf-bukrs
                                                                   AND bupla IN s_prctr.  
    the above statement is not working as prctr and bupla lenths are different. here i want to use offset.
    SELECT belnr gjahr bukrs prctr sgtxt buzei FROM vbsegs INTO CORRESPONDING FIELDS OF TABLE it_vbsegs FOR ALL ENTRIES IN it_vbkpf
                                                                WHERE belnr = it_vbkpf-belnr
                                                                  AND gjahr = it_vbkpf-gjahr
                                                                  AND bukrs = it_vbkpf-bukrs
                                                                  AND prctr IN s_prctr.
    this is working as prctr and s_prctr lengths are equal.
    could anybody please help me out in this.
    Thanks in advance.
    regards
    satish

    Below code will work for you.
    SELECT-OPTIONS: s_prctr  FOR vbsegs-prctr OBLIGATORY.
    RANGES: s_bupla FOR vbsegd-bupla.
    s_bupla[] = s_prctr[].
    DELETE ADJACENT DUPLICATES FROM s_bupla.
    SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
                                                                  WHERE belnr = it_vbkpf-belnr
                                                                    AND gjahr = it_vbkpf-gjahr
                                                                    AND bukrs = it_vbkpf-bukrs
                                                                    AND bupla IN s_bupla.

  • How to use spell checker without mouse?

    Hi,
    how to use spell checker without mouse?
    And how to quickly change between languages related to documents, and be able to quickly get back to the main language setting that should be the default for the system?

    And how to quickly change between languages related to documents
    If you are talking about input keyboards, this is controlled by shortcuts that are explained at the top right of system prefs/language & text/input sources.

  • How to Use Discoverer Desktop without Database User ?

    Hi,
    I am new to Discoverer Desktop,
    How to Use Discoverer Desktop without Database User ?
    Suresh

    You'll need to have access to some sort of database account to use the tool. If you just loaded the tool onto a machine, Disco is not going to be useful - you need to create an end user layer, and business areas.
    I suggest you start here:
    www.oracle.com/technology/documentation/bi.html

  • HOw to use aap store without card

    Hi how to use app store without card

    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • SRW.SET_HYPERLINK without USERID, How ?

    I run a report in which I want to drill to another report passing some parameters.
    I use srw.set_hyperlink(/reports/rwservlet.....) and it works fine.
    However I'm forced to set userid and password in the url and this is a big hole in the security.
    How can I avoid this ?
    Is there any way to run that report in the same context of the running one ?
    Another solution could be logon using a dummy user and then, in the report logon again with the correct one, however I didn't find the way (any LOGON od CONNECT procedure).
    Could someone suggest a solution ?
    Tks
    Tullio
    P.S.: I can't use SSO

    Hello,
    You can launch the first URL with an userid like :
    userid=username@database
    The Database Authentication page will de displayed and a cookie will be stored in the memory browser when you 'll provide the password.
    It will be possible to call other reports without specifying userid. The one stored in the cookie will be used ..
    Regards

  • Using srw.run_report in report server

    Dear all,
    I'm running a report (report A) on the report server and after it is running (printing output on screen), I need to run report B at the background and save the output of report B to the file system. In the report A's After Report Trigger, I have a srw.run_report function, the syntax is: srw.run_report('server='||v_serverName||' report='||v_reportName||' batch=yes destype=file desname=/tmp/output.pdf desformat=pdf p_startdate=''12-JUN-2003'' p_enddate=''14-JUN-2003'''). When I run the above syntax (without the server name part) in report builder, it works fine. But I couldn't get it working on the report server. Each time report A runs, report B couldn't be run at all (no job id was given or scheduled). Could anyone give me an idea on whether srw.run_report could be used in the report server?
    Many thanks for your urgent help.
    Rose

    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.

  • How to use migration assistant without creating dual user accounts

    I want to use migration assistant to transfer apps, software & files on my macbook pro to my new macbook air. How can I do this without creating two user accounts for myself on the m-book air -- my account from the m-book pro & the one that the air makes me create as soon as I do start-up? Can I just use the same name & password for both? or will that make things go badly awry?
    Thanks!

    If you have not booted the MBA for the first time and gone through the Setup Assistant, then I would use the Setup Assistant to make the transfer before you even create another user account. However, if you've already created the new user account on the MBA, then create a new admine one with a different username than the account you will migrate. Log into this new account, delete the first account you made, then use Migration Assistant to transfer your account from the MBP.

  • How to use LR6 standalone without signing into cc?

    GD this company will not give standalone customers peace and quiet. Shove the creative cloud down our throats whether we want it or not.
    I cannot launch LR6 without being signed into cc. I paid for the stand alone edition. Does anyone know the magic mojo to get the dam thing right?

    I ended here for a slightly different reason (the actual installation - for anyone interested - see below)
    Since I'm here, I can try to give your question, as I understand it, my best shot:
    - To check if your serial number "sticks", i.e. is not in trial or subscription mode: Go to the Help menu - System Info...
       then if the 2nd line in the window that opens reads: "License: Perpetual", that's all you can do, re-installing won't make a difference.
    - In that case, getting that annoying Adobe ID Sign-In message anyway (even if, like me, you don't want to do anything online, sync or otherwise):
       there isn't much else to do but close the window without signing in and confirm to quit - Yes... every bleepin' time you launch LR6
    I have not found a Preference to disable that check, even under the Lightroom mobile tab (which at least, like the Help menu, confirms you're not signed in). Maybe in a future update they'll have an option to disable that check on startup, at least after the first time (but not yet in 6.0.1, the latest one so far)
    Otherwise either cave in and make at least a dummy Adobe ID, or the only other solution: Go back to LR5, unless you need the new functions...
    It's still installed separately on my machine, and I have a pre-LR6 backup of my catalogs,  so I'll play around with it for a couple of days before deciding. It's certainly my last Adobe product.
    Now the reason I ended up here: The INSTALLER actually FORCES you to sign in with Adobe ID even with a VALID SERIAL, which is just plain bovine stuff, and the utterly unhelpful Adobe Chat employee didn't answer my question, pointed me towards Adobe Photoshop Lightroom Help | Serialize Lightroom CC trial to activate as Lightroom 6 (which still expects you to log in, no matter what you try later) and disconnected. Grrrr.
    Here's the work-around for that:
    - DISCONNECT your network connection temporarily (Turn off WiFi, unplug the ethernet cable...)
    - Launch the installer, click on the "I have purchased" half => it will complain there's no internet connection
    - But a "Connect Later" button appears => click on it => get the old serial# screen, enter serial (& if necessary re-connect, then enter prior serial to upgrade )
    - Next screen, Accept Terms, then next screen choose your install options and there you go.
    - You will of course have to get back online to validate the serial within a few days, like before, but at least you skipped the whole Adobe ID Sign-In nonsense, and not deal with the creepy "Starting with this version... share your information with Adobe how you use Lightroom... is turned on by default..."

  • How to use Oracle refcursor dataset output parameter from SP

    Can I request for help on how to use Oracle Output parameter from a stored procedure as a source. I need the output tobe stored in a flat file
    Thanks
    Abhijit
    Message was edited by:
    Abhijit77

    yes I would like to use it for ODI.. I would like the ouput of the refcursor to be fed to a text file using ODI. How to handle the records returned by the refcursor and map with txt file.

  • How to use enhanced slideshow without .Mac

    (I am Japanese so my English is not good . Sorry)
    I read these iWeb's Discussions and I knew that we can use iWeb's enhanced slideshow without .Mac!
    I read some posts about that , but many links doesn't work and I can't found how to USE.
    So I want source code and, tell me how do I do.
    Please!
    iBook G3 & iMac G5   Mac OS X (10.4.8)   iPod 5G (Black)

    You might be interested in this:
    http://www.codemanic.com/blog-archives/000084.html
    Otherwise, email Cyclosaurus from his web page:
    http://www.geocities.com/[email protected]/

Maybe you are looking for

  • Leopard in the Enterprise

    I'm partner in a small company with 7 employees. We are all Mac fans and would like to be able to work collaboratively with our Macs. I originally came from a Windows work-environment where I got to know Microsoft Exchange and Microsoft SharePoint. B

  • No Message in BPM

    Hi experts, due to a mistake I had an endless loop in my bpm. Finally the process end without any doing of me. But now the BPM is not working. I can start the start the process ( Communications Channel works fine and shows the last action ), but ther

  • CFFILE Holding File Locks

    I have a CF page that reads some tab-delimited text files for processing. After it reads a file it then calls a CF page to move the file to a new location. It moves the file, but it does not delete the old version -- and a filesystem delete on the fi

  • Dreamweaver just quit working

    I have been using Dreamweaver 8 for months on a windows xp virtualbox. Today outof the blue i get an error message that says "A problem was detected with your application. Please reinstall this software to correct the problem" The title bar of the di

  • Error in Job Creation in Core HR

    Hi All, I am trying to create new job in 'JOB' but i am getting error like 'value is not valid context for the descriptive flexfield per_jobs' when i am going to create it. Please help me to sort out this issue. I have created EEO setup too. whether