Getting assigned job id

Hi,
How can I get the job id that was assigned by the reports (10g) engine (for later status checks)? I haven't found any report-running API that would return it (or any way to book a number and then passing it along with the job)
Thanks in advance,
Nik

What technology are you using to call the report.
i.e.
If you are using a 10G database you could using the srw package to call the report and get the job id number.
e.g. create or replace procedure event_driven_report_2 as
myPlist SRW_PARAMLIST;
myIdent SRW.Job_Ident;
BEGIN
myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));
srw.add_parameter(myPlist,'GATEWAY','http://<host:port>/reports/rwservlet');
srw.add_parameter(myPlist,'SERVER','my904win');
srw.add_parameter(myPlist,'REPORT','test.rdf');
srw.add_parameter(myPlist,'USERID','<userid>');
srw.add_parameter(myPlist,'DESTYPE','file');
srw.add_parameter(myPlist,'DESFORMAT','HTMLCSS');
srw.add_parameter(myPlist,'DESNAME','c:\temp\emp.htm');
myIdent := srw.run_report(myPlist);
EXCEPTION
when others then
raise;
END;
If you are using oracle forms to call the report
DECLARE
 repid REPORT_OBJECT; 
v_rep VARCHAR2(100); 
rep_status VARCHAR2(20);
BEGIN
 repid := FIND_REPORT_OBJECT('report4');
 v_rep := RUN_REPORT_OBJECT(repid);
END;
There are other methods available other techologies ...
Cheers
Q

Similar Messages

  • Trigger Mail on Assigned JOB in Workflow

    Hi,
    I have to send mail to specified JOB (option in drop down of Recipient Type) in Workflow, but its not working though WF is not showing any error (showing success)  but user is not getting mail. I have changed it to Hard-Code user Name then user is receiving mail.. Please assist how I can send mail to assigned JOB defined...
    I have check in Table HRP1001 - w.r.t to JOB - ID, I can see record with SUBTY - 007 & user name in field - UNAME
    Thanks & Regards,
    Rajesh

    Hi,
    I think it should work, because a job as recipient type should somewhere in the background select all of the possible agents.
    Check OSS to see if this is acknowledged by SAP.
    If it is not possible at all, I would create a simple custom method which uses a function module to retrieve the agents.
    I think RH_STRUC_GET can be used along with an appropriate evaluation path (check transaction PPSS to find usefull evalution paths or create your own in OOAW)
    Kind regards, Rob Dielemans

  • How to get the job logs from sm35 by using the queue id and session name?

    hi all,
    can any one please let me know how to read the job log from sm35 by using the session name and queue id. i have the job name and job count but is it possible to download the job log by using the queue id and session name.
    FYI..
    i want to read this job log and i want to send it to an email id.
    -> i am using the job_open and submitting the zreport via job name and job count and then i am using the function module  job_close.
    but this is not working in my scenario i have the queue id and session name by using this two i want to get the job log is there any function module available or code please provide me some inputs.
    thanks in advance,
    koushik

    Hi Bharath,
    If you want to download it to the local file then you can follow the instructions in the below link.
    How to download Batch Input Session Log?
    Regards,
    Sachin

  • How to get Assignment id in SSHR page

    1.
    I am trying to create a Self-Service page. To do it I need to get assignment id of the person logged into the sshr appliccation.
    I searched for sshrparams and found your thread that says it worked in 11i (11.5.10.2) so I am trying to make your code work in 11.5.10.2 , having problems.
    The problem i am having is
    OAApplicationModule am = pageContext.getApplicationModule(OAWebBean);
    OADBTransaction oadbtransaction = am.getOADBTransaction();
    get OADBTransaction() is seems to be absoleted.Is there any alternative way of getting that info from somewhere.
    I have added a custom library abmapps.zip ($abm_top/jar folder), I am not sure where to get apps.zip I could not find it in $JAVA_TOP folder.
    What I am thinking is I may not be using right .zip or do you think missing some patches since I can not see apps.zip in java_top?
    Please help.
    karan

    Follow the reply on the original thread Re: SSHRParams in R12
    As it is a similar issue, lets track it there itself.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                   

  • Assigning jobs to a position

    Hello!
    My problem is this:
    when i assign jobs to a position in PPOME, the position shuold keep the descriptions of job when i confirm my entry (by pressing Enter) , but when the name of job is too large, this ones isn't assigned to position.
    What can i resolve it?
    thanks

    in PPOME select the root Orgunit then click the dropdown Goto (First Button).
    Then Choose Task Assignment.
    Then U'll be in Task assignment screen.Then Choose the Concerned Position right click the choose Assign.
    Then Choose Task.
    Hope U'll be clear.
    Award Points if Help Ful.
    ~BiSu

  • Purchase order output type NEU is not get assigned automatically

    Dear All,
    when i am creting purchase order the output type NEU is not get assigned automatically.
    I have maintained message condn record for NEU and for specific PO doc type NB.
    same problame i was facing for the inventory docuemnts but i was resolved by running one SAP std program so please guide me if any such program is available for Purchasing documents also or any other setting i am missing to make.
    Pl suggest
    Regards,
    Vimlesh

    Hi
    Please check the following in customization.Dont check in NACE you may miss something like fine tune control
    1) Check the Message determination procedure is having the NEU output type
    2) Check the std Message determination procedure is assigned to PO
    3) Check the output type for the Access sequence, default data for transmission medium and partner function VN, Language & Form assigned to it
    4) Check the Access sequence for the condition tables
    5) Check the condition record in MN04/MN05
    6) Check the purchasing group has printer assignement
    7) Check the fine tuen control for operation 1 & 2 for message type.
    Hope your problem now solved.
    Thanks /karthik
    Edited by: Karthik on Aug 13, 2009 5:29 PM

  • Products not getting assigned to product catlog

    Hi,
    I am learning crm and needed your advice on product catlog.
    My products are not getting assigned to product catlog (both automatic as well as manual).
    There are 2 queries related to creation of sub area -
    1) I wanted to know, what comes in Cat Area type - ie does it remains blank or something is assigned to it?
    2) When I enter my product ID under item overview, the errors comes as product 0000..510010 does not have data for sales management.
    Please advice me on above 2 queries.
    Thanking you in advance.
    Regards.
    Edited by: Rachna Adani on Jun 28, 2009 7:04 PM

    1) I wanted to know, what comes in Cat Area type - ie does it remains blank or something is assigned to it?
    Catalog area is a kind of categorization or grouping or hierarchy in a catalog. For example, if yuo are creating a catalog for a super market, then Clothes, Groceries, Toys etc. could be Cat. Areas. With in a catalog area one can define more sub-areas - for example, in Toys, you can have sub-areas either by Age 5-10, Age 11-15 etc or by Brand. This is the case of manual assignment. In case of *automatic assignment, the catalog area and sub-ares will be part of the Product hierarchy.
    All you need is a definition for the Catalog Areas. You need to assign products only if there are any in that area or sub-area.
    2) When I enter my product ID under item overview, the errors comes as product 0000..510010 does not have data for sales management.
    Did you download them from ERP system? Then you must download the Sales Org data. In the same token, if you have created this product in CRM, then you should maintain the sales data tab,

  • TC won't get assigned internal IP address

    I have an Airport Extreme N, a TC dual band and a Airport Express N. For some reason, the AEx (which is plugged in via Ethernet to the cable modem) won't give internal (10.0.x.x) IP address to the TC and Airport Express, which are both set up to extend my network...they are assigned external ip addresses and thus can't be connected to. I can manually assign 10.0.1.8 for example and then the light goes from green to amber. Same for my iPhone, which now says i'm connected to my network, i see no IP address at all has been assigned. Clicking on "renew lease" in any case (TC, AExp, iPhone), doesn't work.

    well now i set it to manually and typed in 10.0.1.8 for the TC because otherwise it was getting assigned a IP address that caused an amber light. Connect Using is "Wireless", and when IPv4 was on "Using DHCP", IP Address was external address 165.254.90.211, Subnet is 255.255.0.0, Router address is 10.0.1.1 (that's the internal IP of the AExt), DNS Servers are 10.0.1.1, Connection Sharing is "Off (Bridge Mode)"
    Interesting though, so I went back to the "Using DHCP", then clicked back on the TC, that first summary window which says an error, shows the IP address still being 10.0.1.8 but, clicking to the Internet Connection window shows the 165 ip address above.
    Message was edited by: Charles Friedberg
    Message was edited by: Charles Friedberg

  • Why same item number were getting assigned to same Procurement Doc#

    We are using B1 (V8.82). From sales order item level, we found that items with same item number were getting assigned to same Procurement Doc#. However, it expects items should be assigned to independent Procurement Doc# (even they are with same item number) so that CDD can be handled seperately. Not sure if this is a setup issue ? or system bug ? or ..
    (please also see attachment)

    Thanks Nagarajan, for your reply.
    In that case, wonder how it gets handled under one procurement document for both items with different "requested delivey date"  ?

  • TO GET A JOB IN SAP

    <i><b>Hi All</b></i>
    Can anyone tell me that How can I get a job in SAP ABAP as a fresher? Because I did SAP ABAP from Genovate Solutions, Mumbai (An SAP Education Partner) and looking for a job from last 6months. After spent 3lac, I cannot get a job in even an local company.
    Pls reply on my email id: [email protected]
    Thanks

    Hi
    Take fake certificates form any consultancy and put at least 3 year experience
    and put u r resume in monster.com
    the u will get a call
    ask u r friend to answer the call how knows how talk properly...
    waiting for reward points....

  • New user creation in AE- user group not getting assigned

    Hi All,
    Here is a typical case, wherein when we create a new user with AE for the production system, the user gets created and the roles are also assigned but the user group is not getting assigned. The user group is being fetched from a table from the backend and all that is working fine. Infact in order to test the configurations we even created a new user in the production instance of AE giving the development system as the target system for user creation and in this case the user was successfully created and the user group is also assigned. The problem is arising only when the target system is production system.
    Connectors are all working fine, but we are unable to think of a reason. Can somebody help us on this?

    Hi Vani,
    If you are provisioning the user group using user defaults, check  that production system is selected in the user defaults configured. Configuration -> user defaults. You can define any user default system, but for perticuticular user defaults that is applicable define all the systems, in which you want user defaults to be provisioned.
    Kind Regards,
    Srinivasan

  • MS-SQL Template is getting assigned automatically after System Reboot.

    Greetings, We have currently unassigned templates for MS-SQL Servers in Solution Manager Technical Monitoring for all technical systems as we don't want to monitor the DB Alerts. However, What we see is that after every OS reboot or DB Connectivity failure, for few technical systems the MS-SQL template is getting assigned automatically. If not assigned, it will start referring to SAP original template for metrics. I was unable to find any SAP note to fix this issue. Is there anything we could do to stop this? Please let me know if there is anything we could try.. Thank you, Haseeb Ahmed.

    Hi,
    I tested and noticed that the following registry key will be changed when modify paging file size:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
    value name:PagingFiles
    Please change the paging file size again and check if the key is edited correctly. Reboot and see if the value is changed back to empty. 
    If issue still exists, please let us know if there is any third party app installed on server such as antivirus program, disk management program etc. I saw similar issues caused by third party application.
    If you have any feedback on our support, please send to [email protected]

  • Will Oracle pl/sql certification help me get  IT job

    Hello guys,
    I have completed my B.tech in Computer Science, I am confused a bit , Can i get a job after getting certified in Oracle Associate Pl/sql developer

    1005323 wrote:
    Hello guys,
    I have completed my B.tech in Computer Science, I am confused a bit , Can i get a job after getting certified in Oracle Associate Pl/sql developerYou may get a job after achieving Pl/sql developer OCA
    You may get a job after without achieving Pl/sql developer OCA
    You may fail to get a job after achieving Pl/sql developer OCA
    You may fail to get a job after without achieving Pl/sql developer OCA
    There are several factors involved in getting a job. And there are several ways a job may be obtained. But usually there are there stages:
    - Stage Zero: A company but has a job to offer.
    - And you need to be aware of it. - A friend may tell you, or an agency may tell you. And it must suit you for location and remuneration etc.
    - Stage one: An interview is obtained with the company.
    - Stage two: The job is offered to you rather than anyone else and you find it acceptable.
    So ... to your question:
    "Can i get a job after getting certified in Oracle Associate Pl/sql developer?"
    Well .... there is only three possible answers ... yes, no, and maybe; and maybe is probably the only correct answer, and most people will have worked this out, which means the question may have not been the best question to have asked.
    (( That said I now read the title of the thread and it says: Re: Will Oracle pl/sql certification help me get IT job)
    I have been known on occasion to have been given a question by a boss.
    And I have answered him:
    "You have given me the wrong question
    The question you should have answer me is this.
    And the answer I will give you is this."
    And the boss goes away happy
    So you you a better question would have been:
    How much will an OCA PL/SQL certification increase my chances of getting a job?
    Mind you even that question won't help you get a much better answer.
    For a proportion of jobs where PL/SQL is relevant that will help (for those where it is not it might be occasionally be a problem), for people with identical CV's it sometimes might help get to interview stage. But there are other factors as well. For instance if I was thinking of giving you a job on the basis of your post I might for example:
    - Not be impressed with an "Hello Guys" greeting ( though this is a forum so that isn't relevant here).
    - Not be impressed with you being confused.
    - etc.
    You probably need to get a good appreciation of the job market in your locality; and the numbers of applicants for each job. Which jobs you can apply for, what is your skillset and knowing youself as well.
    Sometimes an ITIL certification may be a better differentiator for some positions in business. But it will depend on the job you can think you can get.

  • How to Get the Job, Cost center, Position description using select query

    Hi all,
    How to get the  Job, Cost center, Position description through select query without using the Function module?
    thanks,
    Prasad

    use adhoq query and take the report chose both text and value

  • Any mid size companies for SAP HR to help to get a job as a fresher

    hi all,
    any mid size companies to get a job in sap hr

    check the dates of ur holiday calendar   ESG  DWS and PWS
    here  2 is ur ESG
    40  is ur DWS Sub Grouping
    WSR is ur WS Rule
    u will ge this error while generating the DWS manually

Maybe you are looking for