Query job name

hi all
i want to get all the jobs runs for a report name like %my_report% in a specified date
thanks

How about using like this...
DECLARE
  vc_ReportServerJob VARCHAR2(100); /* unique id for each Report
  vjob_id VARCHAR2(100); /* job_id as number only string*
BEGIN
  vc_ReportServerJob:=RUN_REPORT_OBJECT(report_id);
  vjob_id := substr(vc_ReportServerJob,length(reportserver)+2,length(vc_ReportServerJob));
  -- So you can pass the vjob_id to the report
  WEB.SHOW_DOCUMENT (’/reports/rwservlet/getjobid’|| vjob_id||'?server=’my_repor_tserver,'_blank');
END;It is just a part for making you clear use your code and just change the way as i showed you above.
See the link below for more help for above method.
http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
-Ammad

Similar Messages

  • Query Extract (rscrm_bapi): Influence Job Name

    Hi,
    I'm using txn rscrm_bapi to extract data to a table.  The job name that is used when i run the extract process is always the same.  It's a fixed alpha numeric string.  Is there a way to change the job name?  I want it to have a descriptive name like RSCRM_BAPI_EXTRACT_DATA.
    Thanks,
    Audrey

    Hi Audrey,
    I had the same problem ... don't think it's possible to modifiy the Job Name. Let me know if you will find a soluton.
    Bye
    GFV

  • Query View name not saved in "Analysis Grid Properties" under Data Provider

    Hi BW World;)
    We are on BI 7.0
    I have created a BI workbook which contains a query view.
    However when we go into design mode and then "analysis grid properties" for this query view then "change data provider" it does not show the query view name but the query name. (we have saved the workbook)
    Is this the normal scenario?
    Surely should show the "query view name " and not the "query name" as confuses what data provider is being used?
    Is this a bug?
    Best
    Stevo.... Points of course... Thanks in advance.;)
    Edited by: bw4eva999 on Sep 10, 2009 4:40 PM     spelling

    Hi,
    You have created a workbook on top of a Query View which is again depends on a Query.Now the base for Query View is a Query.So the underlying Data Provider for a workbook is a Query.
    Hence when you go to Properties of grid->Change Data Provider,it shows the Query and the InfoCube,but not the Query View.
    So this is not a bug and this how its been designed.
    If you click for the Information of that workbook,it will show the Query and Info Provider,but not the query View.
    Though it looks like wierd,it is not a bug.
    Rgds,
    Murali

  • Job Name of a Program scheduled as a Background Job

    Hi,
    In our production system. We have a program which is scheduled to run in the background by various job names. At runtime, I need the program to figure out under which Job Name is it running. I dont think there is any system field which stores the Job Name of the background job.
    Any inputs?

    Hi,
    It will run in default with <b>the name of the program</b>.
    Goto SM36 and put a * in job name u will see all the jobs that are schedule, if u specify the program name for the job schedule u will get that list alone.
    U can differentiate by seeing the time the job was scheduled.
    http://www.sap-img.com/ab007.htm
    Please reward and close the thread if u got the info.
    Message was edited by: Judith Jessie Selvi

  • Background job name

    Hi All,
    Background job related info. not getting retrieved when using function module 'SAPWL_READ_STATISTIC_FILES' (version SAP ECC 5.0 compatible) in our SAP ECC 6.0 whereas if I use 'SWNC_STAD_READ_STATRECS' I'm getting the required info.
    Can anyone let me know why FM 'SAPWL_READ_STATISTIC_FILES' doesn't give the required info. in SAP ECC 6.0?
    Thank you.
    Gandhi Subramani

    Hi,
    It would help you ,
    Make your report automatically processed in background when it is being executed using JOB_OPEN, SUBMIT and JOB_CLOSE like following[example code],
    DATA: d_jobcount LIKE TBTCJOB-JOBCOUNT,
               d_jobname LIKE TBTCJOB-JOBNAME.
    03
    04 d_jobname = 'JOB1'. " Here you may give the job name what ever you insist.05
    06 CALL FUNCTION 'JOB_OPEN'
    07 EXPORTING
    08 jobname = d_jobname
    09 IMPORTING
    10 jobcount = d_jobcount
    11 EXCEPTIONS
    12 cant_create_job = 1
    13 invalid_job_data = 2
    14 jobname_missing = 3
    15 OTHERS = 4.
    16
    17 IF sy-subrc NE 0.
    18 MESSAGE s368(00) WITH 'Error Creating Job'
    19 sy-subrc.
    20 EXIT.
    21 ENDIF.
    22
    23 SUBMIT <REPORT_NAME>" call the same program in Background with different job names 24
    VIA JOB d_jobname
    25 NUMBER d_jobcount
    26 AND RETURN.
    27
    28 CALL FUNCTION 'JOB_CLOSE'
    29 EXPORTING
    30 jobcount = d_jobcount
    31 jobname = d_jobname
    32 strtimmed = 'X' " Immediate
    33 EXCEPTIONS
    34 invalid_startdate = 1
    35 jobname_missing = 2
    36 job_close_failed = 3
    37 job_nosteps = 4
    38 job_notex = 5
    39 lock_failed = 6
    40 OTHERS = 7.
    41
    42 IF sy-subrc > 0.
    43 MESSAGE s368(00) WITH 'Closing Job Failed'
    44 sy-subrc.
    45 EXIT.
    46 ENDIF.

  • Require Job name in SM37 while executing call transaction in background

    Hi all,
    I am executing a report program, which contains Call transaction.
    I have recorded properly. The recording contains background job screen also ( means a separate popup came and i gave the job name and i gave immediately )
    When i execute in this program in foreground its creating job,its showing the job in sm37.
    But when i execute this program in background, it does not showing the job name in sm37.
    Anyone kindly help this out?
    Anandhab

    Hi,
    The job will be created by the step level user.
    Try searching again with jobname and * for username.
    Regards,
    Jovito

  • How to find out the InfoPackage name using job name BI_BTCH....

    Hi Expert,
    Can anyone please let me know how do i find the name of the InfoPackage using the Job name BI_BTCH.
    Thanks in Advance

    Hi,
    Change the Start Date and End Date of the Job in the SM37 (Date interval shoul be chnged so that the Job is run atleast once during that time period). Now Enter the Job Name BI_BTCH*  and User name as *.
    Now it will display the list of all the jobs .check the job details of the finished job and check for ZPAK* in th job log whcih will give the InfoPackage Name.
    Thanks,
    Nagarjuna

  • How to get the job name and details in a report format - sm37 details I mea

    I need to extract the Job names and the job steps that comeout of a report?
    Is there a standard program for this ?
    Which tables store this information for me to write a custom report?
    thanks,
    Ven

    Hi Venkatabby,
    Check out the table:
    TBTCS
    Thanks,
    Chidanand

  • How to find the link between strcture and query technical name

    Hi Guru's
    How to find the link between Strcture in the query and query technical name. In other way where used list of the structure  used in queries?
    I know we have table called RSZELTDIR which have the values of strcuture name. from here i do not find any link to query technical name.
    Please can anyone help me?
    Regards,
    Sirisha

    Hi ,
    For structure and query relationship, the structure has to be a reusable structure( a global one). Then you can right click in on the structure name (in BEX query designer) and select the where used list. You will find all the query names where it is being used.
    U can also check out tables RSRREPDIR and RSZCOMPDIR for other query properties.
    Thanks,
    Amit

  • Help Required Regarding - SAP Job names using R3 data flows

    We are calling a set of SAP Jobs using R3 data flows in data services. When ever a job fails we first kill the active SAP jobs by logging into SAP and then restarting the Jobs.
    There are about 100 odd SAP jobs that we call using these Data services Jobs so we wanted to kill the jobs using a reusable code on the SAP side by passing the Job name just before every R3 flows just incase its still in active status.
    So wanted to know if there are any short cuts to retrive the set of associated SAP job names because it will be a tedious process to hardcode the SAP job names and pass them as parameters for all the 100 + SAP job names in the custom defined resuable code.
    Any help or advice on this please !!

    The program is not meeting the expectations
    and the problem is due to reflection.Do we know this for certain?
    ... my application gets the class name, field name
    etc. from an XML file so i don't know their method names
    beforehand .
    Now since every class instance corresponds to a row
    in the database and i have to call get and set
    methods of each class instance so the performance
    keeps on degrading as the number of columns and rows increase .
    Can somebody suggest some improvement regarding this
    and regarding creating multiple instances of the same object Class.forName() will be using a hash already, so there is probably not much room for improvement.
    Class.newInstance() probably does not take significantly more processing than a simple "new Fubar();".
    Umpteen reflective method invokations (one per column) for each row/instance - Are you saying these are the problem?
    You can test this easy enough.
    If you comment out the reflective method invocations and leave the rest of your code untouched,
    does your application processing speed up significantly?

  • F110 job name needed: F110-20070120-BANAB-?

    I need to know the job name that was used to in the PRINTJOB part of F110. The user submit a job:
    F110-20070120-BANAB-? they replace the ? with a  number and I need to know that number from within the program. Thanks.

    Hi,
    In FBZP-APP configuration , check whether the CIBR1bank has sufficient amounts planned in Bank determination----Available amounts.
    Thanks
    Aravind

  • How to check my job name from the database...

    I have written one job scheduler which is as follows :
    SQL> ED
    Wrote file afiedt.buf
    1 DECLARE
    2 X NUMBER;
    3 JobNumber NUMBER;
    4 BEGIN
    5 SYS.DBMS_JOB.SUBMIT
    6 (
    7 job => X
    8 ,what => 'scott.SPLITSMS;'
    9 ,next_date => SYSDATE+1/1440
    10 ,interval => 'SYSDATE+1/1440 '
    11 ,no_parse => FALSE
    12 );
    13 JobNumber := to_char(X);
    14* END;
    15 /
    PL/SQL procedure successfully completed.
    Now I want to check whether the job has been really created or not?
    so for that I have used the following command line:
    SQL> SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS';
    SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    how to check my job name from the database...
    what is the command used to check the job_name ????
    and how can i ensure that my job scheduler is running properly...???
    please help ........my dear friends.....!

    957029 wrote:
    Now I want to check whether the job has been really created or not?
    so for that I have used the following command line:
    SQL> SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS';
    SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS'
    ERROR at line 1:
    ORA-00942: table or view does not existYou can use DBA_* views only if the User has been Granted a DBA Privilege.
    how to check my job name from the database...
    what is the command used to check the job_name ????You can use USER_JOBS view to check. But, is it not that you have just created the Job, so you must be knowing it?
    and how can i ensure that my job scheduler is running properly...???If USER_JOBS.FAILURES is Non Zero, that means the Job has encountered a problem that needs to be Investigated. Similarly, the LAST_DATE, LAST_SEC, NEXT_DAY, NEXT_SEC can be used to determine if the Job has been running successfully.
    if you are on 11g, you should consider using DBMS_SCHEDULER.

  • How to set  the CR print job name that displayed in Printer job queue?

    As following image shows, when I press the Print button in Crystal Report Preview GUI,
    a print job is sent to Windows Printer Spool.
    [Windows Printer queue dialog snapshot|http://www.box.net/shared/96vq4qa2mp]
    The "Document Name" in the dialog is like "Crystal Reports - temp_214d9d11-a73f-4872-81f6-b8a63bf0a6b9.rpt".
    I want to know which property of Crystal Reports can be used to set the print job name to a more meaningful one.
    Edited by: Xiaobing Sun on Apr 2, 2009 5:08 AM

    The solution in this thread is for VS .NET as this is the forum for CR in .NET.
    With Foxpro, I suspect you want to create a new thread in the SAP Crystal Reports - Legacy SDKs forum.
    Make sure you specify the exact version of CR used.
    - Ludek

  • JS: How to make a script to print one page at a time and set print job name?

    What I want is to print one page at a time to the printer.
    Document.print(false, app.printerPresets.item(0)) almost get me there. But how do I get it to print page by page? There seems to be no way to set which page to print to printerPreset.
    Also, is it possible to change print job name from the default of using document name?

    >Is there any solution to this other than saving the document to a different name before each page print?
    Here is an altered and abriged version of the script that I use. I use print preset called "PS to PDF" in it, so you should change it to your own.
    if(app.documents.length == 0){
       alert("Please open a document and try again.");
       exit();
    var myFolder = Folder ("~/Desktop");
    var myDoc = app.activeDocument;
    var myNoExtention = getFileNameOnly (myDoc.name);
    var myPrintPrefs = myDoc.printPreferences;
    if (app.printerPresets.item("PS to PDF") == null) {
       alert("Preset \"PS to PDF\" has not been installed");
       exit();
    else {
       myPrintPrefs.activePrinterPreset = app.printerPresets.item("PS to PDF"); 
    myDoc.sections.everyItem().sectionPrefix = "";
    myDoc.sections.everyItem().includeSectionPrefix = false;
       var stop = myDoc.pages.length;
       var w = new Window ( 'window', 'Printing PS-files' );
       var pb = w.add ('progressbar', [12, 12, 300, 24], 0, stop);
       var txt = w.add('statictext');
       txt.bounds = [0, 0, 200, 20];
       txt.alignment = "left";
       w.show()
    for(var myCounter = 0; myCounter < myDoc.pages.length; myCounter++){
       curPage = myCounter + 1;
       pb.value = curPage;
       var myText = String("Page " + curPage + " of " + myDoc.pages.length);
       txt.text = myText;       
       var myPageName = myDoc.pages.item(myCounter).name;
       var cornumber = pagenum(myPageName);
       var myFilePath = myFolder + "/" + myNoExtention + "_" + cornumber + ".ps";
       var myFile = new File(myFilePath);
       myPrintPrefs.pageRange = myPageName;
       myPrintPrefs.printFile = myFile;
       myDoc.print(false);
    w.hide();
    alert("Done!");
    function pagenum(myNumber){
       if (myNumber >= 1 && myNumber <= 9)
       x =  "0" + "0" + myNumber;
       else if (myNumber >= 10 && myNumber <= 99)
       x = "0" + myNumber;
       else if (myNumber >= 100 && myNumber <= 999)
       x = myNumber;
    return x
    function getFileNameOnly (myFileName) {
       var myString = "";
       var myResult = myFileName.lastIndexOf(".");
       if (myResult == -1) {
          myString = myFileName;
       else {
          myString = myFileName.substr(0, myResult);
       return myString;
    Kasyan

  • How to set a job name to a report?

    Post Author: nandors1
    CA Forum: Deployment
    Hi
    I' m programming an application with Visual Basic .Net 2005 and CrystalReports, when I print an report, at the printing spool all Crystal Reports' documents appears as 'document', I want to know if exists any way to set a job name at document at the Crystal Report Viewer to can recognize a document in printing spool at the moment of print from VisualBasic at runtime.

    Post Author: quafto
    CA Forum: Deployment
    Sorry. There is no way to change that name. When you load a report we make a temorary copy of the report file and that is what is often used when sending the print job. At this time we don't have access to that print job property.

Maybe you are looking for

  • Just upgraded and now can't burn... error 4280

    can someone help me please!!! i just upgraded to the new iTunes and now i can't burn any CD's... i keep getting the error 4280 message... a friend built my comp, so don't know all the info about the machine... but this is what i get when i run the CD

  • NOT A GROUP BY EXPRESSION

    Good Evening, Maybe someone out there can help me out. I have been working on this rather long statement. Line 5 which has the to_char function is throwing an error and I don't know how to get around it. Without this line the query returns the desire

  • How to Update Toshiba 50L4300 browser flash

    Dear all, I have attempted unsuccessfully to play flash videos on my browser, it requests that I update the flash. However I do not know which flash update to select....it gave me Linux flash options. Please advise.

  • Font management software?

    Is there a well recommended application for managing fonts? I use the native Font Book but not sure it's the best? Use Linotype FontExplorer too. Ideally, I want to be able to print a catalogue of all my fonts, there must be software that caters for

  • Lower Admin Distance of BGP so EIGRP is higher

    Customers current WAN is using P2P T1s (ML-PPP) Telco sold them a MPLS T1 network as a Backup Network. P2P T1 network is using EIGRP and MPLS is using BGP. My problem is I want to change the admistrative of the Routes learned from BGP (mpls provider)