To find program run details
Hi Experts,
I want to know the program run details.
Means any one program details like last run, run by & run date. Is there any standard program to find out this?
or any tcode ?
Regards,
Sandeep.
HI,
You can see all this details, but only if you run your program in background...then, in SM37, you will find what you want (double click on your job...)
If you run it online...you can see it in SM50, but nothing is stored and when the process finishes, the row in SM50 disappears...
Thanks
Vikranth
Similar Messages
-
Frequency of the Program Run Details Required
Hi Experts ,
Could anyone please let me know,if there is any Table/FM which stores the details of frequency of program runs (last run,number of runs per day, per week, per month).
Thanks in Advance.
Regards
UllasHi Gautham,
Thanks for your Reply.
I do not have Access to transactions like STAD,STAT.....
Any FM/Table name in this regard will be helpfull.
Regards
Ullas -
To find the Last run details of a program
Hi Folks,
I have an SAP query i just want to find out when it is lastly run and by which user? I am unable to find these details in any function module or table. I can check this by using the auto generated program name but i cant get the last run details in trdir table.
Please sugest me your views towards its solution.
Thanks in Advance.
Regards,
Ravi.Hi....
Try like this....
data : it TYPE STANDARD TABLE OF sapwlpfnrm.
CALL FUNCTION 'SAPWL_STATREC_DIRECT_READ'
EXPORTING
no_of_records = -1
read_start_date = sy-datum
read_start_time = '000000'
read_end_date = sy-datum
read_end_time = '240000'
* read_client = ' '
read_username = "<give the user name>"
read_workprocess = 'FFFF'
IMPORTING
normal_records = it " this table will give you all the transactions run on the given date range
* NORMAL_RECORDS_KB =
EXCEPTIONS
wrong_parameter_combination = 1
file_problems = 2
convert_overflow = 3
OTHERS = 4
Regards
Debarshi -
To find last run date of custom concurrent program in oracle apps
Hello Exports,
Can you pls tell me how to find last run date of custom concurrent program in oracle apps.( thr Backend query )
Thanks in advance,
Edited by: 981527 on Mar 7, 2013 3:01 AMtry the below:
select fcp.user_concurrent_program_name
,fcr.request_date
,fu.user_name
,fcr.actual_start_date
,fcr.actual_completion_date
,fcr.phase_code
,fcr.status_code
,fcr.argument1
,fcr.argument2
,fcr.argument3
from fnd_concurrent_programs_vl fcp
,fnd_concurrent_requests fcr
,fnd_user fu
where fcp.user_concurrent_program_name like 'Payroll Run'
and fcp.concurrent_program_id = fcr.concurrent_program_id
and fcr.requested_by = fu.user_id
order by fcr.actual_completion_date desc -
How to Find Which Programs running in my Domain Computers
How to Find Which Programs running in my Domain Computers.
In addition, there are other third tools you can use. Here is a script from the TechNet Scripting Gallery:
List All Installed Software
Returns a list of all software installed on a computer, whether or not by Windows Installer. This script reads installed applications from the registry. (See Richard Mueller's comment on how to output it to a CSV file)
http://gallery.technet.microsoft.com/scriptcenter/8035d5a9-dc92-436d-a60c-67d381da15a3/view/Discussions
Of course that's just running it against one computer. There's also a script in the above link (scroll to the bottom) that will find installed software of a list of computers in a network and also detect the defined forbidden installed software, and
another script that will uninstall that software remotely.
Overall however, if you want to do this network wide with much a much easier method (although more complex to setup), I agree with using SCCM or Spiceworks. There is also Altiris, and a number of other third party solutions that you can use.
Maybe if you can provide more specific information on the end result of the solution you are looking for, we can provide more specifics to help you.
Ace Fekay
MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services
Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
This posting is provided AS-IS with no warranties or guarantees and confers no rights. -
How to find First Program run in the Current Month in Foreground?
Dear Experts,
My requirement is that i need to find the First Program run date in the Current Month in foreground. The user must be allowed to run the Report only once for a month and if the next time he runs in the same month, it should not allow him to do so.
Is there any Function Modules available? How to achieve this?
Regards,
Ramesh ManoharanHello Ramesh,
May be you can try with this code:
INITIALIZATION.
DATA:
v_date TYPE datum,
wa_indx TYPE indx.
* Import the date to INDX table
IMPORT date = v_date
FROM DATABASE indx(xy)
TO wa_indx
CLIENT sy-mandt
ID 'DATE'.
IF v_date IS NOT INITIAL.
IF v_date+0(6) = sy-datum+0(6). "Check YYYYMM is same
"Give your error message & exit
ELSE.
v_date = sy-datum.
* Export the date to INDX table
EXPORT date = v_date
TO DATABASE indx(xy)
FROM wa_indx
CLIENT sy-mandt
ID 'DATE'.
ENDIF.
ELSE.
v_date = sy-datum.
* Export the date to INDX table
EXPORT date = v_date
TO DATABASE indx(xy)
FROM wa_indx
CLIENT sy-mandt
ID 'DATE'.
ENDIF.
Hope this is of some help.
BR,
Suhas -
When I turn on my computer it shows program running and I can't find the program?
When I turn on computer, below my name it says program running.This appears before I log on to internet.
Open up System Preferences>Startup Disk and make sure the Macintosh HD, or whatever you may have named it, is set there. Also reset the PRAM. Shutdown, hold down Option(alt)-Cmd-P-R all togther at the startup chime, wait until you hear two more chimes, total three chimes, then let go to finish booting.
-
Error : ORA-06508: PL/SQL: could not find program unit being called
Hi
I got surprise issue while testing my Oracle code . Let me explain first the environment detail . Our appliaction built on
Java/J2EE(Weblogic) and backend is Oracle 11g re2 . While calling from java it call thru different user which have been provide
synonym and exectue option for corresponding procdure ,
I created on package EXTRACT_CUSTOMER_INFO_PK which will exract data to text file using UTL_FILE ( direcory , UTL_FILE grant is provided to DB user).
Now this package has been called from rp_execute_procedure_pr -- Here I is the code
CREATE OR REPLACE PROCEDURE RP_EXECUTE_PROCEDURE_PR
i_atlas_job_schedule_fk IN atlas_job_schedule.atlas_job_schedule_pk%TYPE,
i_job_id IN atlas_job.job_id%TYPE,
i_parm_value IN atlas_job_schedule.parm_value%TYPE,
o_status_code OUT NUMBER,
o_status_mesg OUT VARCHAR2
IS
-------Other old code which is not relevent for this issue ----
--------Other old code which is not relevent for this issue ----
----Below code I added ----
ELSIF l_job_id = 'CUST_EXTRACT' THEN
EXTRACT_CUSTOMER_INFO_PK.customer_report ( i_parm_value ,
o_status_code,
o_status_mesg ) ;
-- o_status_code := -99999999;
--o_status_mesg := 'PARTHA PARTHA PARTHAcess terminated!';
ELSE
o_status_code := -20300;
o_status_mesg := 'Job Id : ' || l_job_id || ' NOT found. Process terminated!';
END IF;
update_log_auto
ajs_rec.atlas_job_schedule_pk ,
'Processing End Time (GMT): '
EXCEPTION
WHEN eProcError THEN
o_status_code := SQLCODE;
o_status_mesg := SUBSTR(vMsg ||'-'||SQLERRM, 1, 200);
WHEN OTHERS THEN
o_status_code := -20300;
o_status_mesg := SUBSTR(SQLERRM, 1, 200);
update_log_auto
ajs_rec.atlas_job_schedule_pk ,
'Error : '||SQLERRM||' '
update_log_auto
ajs_rec.atlas_job_schedule_pk,
'Processing End Time (GMT): '
END RP_EXECUTE_PROCEDURE_PR;
Now It compiled sucesfully . And while I did SIT then RP_EXECUTE_PROCEDURE_PR run fine and extracted txt file . But while I called it from Java procedure It gives us error like
Error : ORA-06508: PL/SQL: could not find program unit being called 02-AUG-2012 13:16:51.
As I told RP_EXECUTE_PROCEDURE_PR old proc and used by other proc , So I first suspect issue is newly added code or may be some grant or synonym ( Although it should not be )
so I created public synony amd gave execute grant to my pkg to public .
But it repeat same error .
I did lot of R&D on my pkg but nothing happen . Finally I remane my new pkg RP_EXTRACT_CUSTOMER_INFO_PK and it works fine
I need to know what is the RCA for it . I donot think any dependecy issue as renaming pkg is working fine .
NB my DB user is iATLAS and Javauser is SUDEEP
Thanks in Advance
Debashis MallickFirst of all If i run the main procedure in like below in my Schema it is working fine
begin
-- Call the procedure
rp_execute_procedure_pr(i_atlas_job_schedule_fk => :i_atlas_job_schedule_fk,
i_job_id => :i_job_id,
i_parm_value => :i_parm_value,
o_status_code => :o_status_code,
o_status_mesg => :o_status_mesg);
end;
So thre is no question of parameter .... or Invalid state etc . If it is parameter or Invalid state issue it will give other error.
Here problem is not syntax issue .
let me give u more detail regards this issue
1.. All objects corresponding to procedure all Valid
2.. If I test on the proc on my schema like above code . It works fine
3.rp_execute_procedure_pr is a old procudere which called for differner report generartion based on parameter passing . Also as extract_customer_info_pk called with in rp_execute_procedure_pr So there is no question of synonym or privilage issue for new procedure.
4. Suprising thing is if I rename and recreate package like extract_customer_info_pk _1 or rp_extract_customer_info_pk . Which are exactly same as extract_customer_info_pk and replace those new one with extract_customer_info_pk then it work fine in my java application
I think I make it clear the issue
Edited by: debashisora on Aug 3, 2012 5:31 AM
Edited by: debashisora on Aug 3, 2012 5:40 AM -
Oracle Apps -Concurrent program schedule details
From which table that I can find concurrent program schedule details .
NB:-
I know select RESUBMIT_TIME, RESUBMIT_INTERVAL from FND_CONCURRENT_REQUESTS ,
RESUBMIT_TIME, RESUBMIT_INTERVAL will be the schedule details .
But the table FND_CONCURRENT_REQUESTS is get purged periodically , how can i find the master details of scheduling the concurrent.
Thanks in advance,
Arya Sreedhar.Give this a whirl ...
Regards,
Jon
SELECT req.request_id
, decode (prg.user_concurrent_program_name, 'Report Set', 'Report Set:' || req.description, prg.user_concurrent_program_name) AS name
, argument_text as parameters
, req.resubmit_interval
, nvl2 (req.resubmit_interval, 'Periodically', nvl2 (req.release_class_id, 'On specific days', 'Once')) AS schedule_type
, decode (nvl2 (req.resubmit_interval, 'Periodically', nvl2 (req.release_class_id, 'On specific days', 'Once')),
'Periodically', 'Every ' || req.resubmit_interval || ' ' || lower(req.resubmit_interval_unit_code) || ' from ' || lower(req.resubmit_interval_type_code) || ' of previous run',
'Once', 'At :' || to_char (req.requested_start_date, 'DD-MON-RR HH24:MI'), 'Every: ' || crc.class_info) as schedule
, fus.user_name as owner
, to_char(requested_start_date,'DD-MON-YYYY HH24:MI:SS') as next_submission
FROM
apps.fnd_concurrent_programs_tl prg
, apps.fnd_concurrent_requests req
, apps.fnd_user fus
, apps.fnd_conc_release_classes crc
WHERE 1=1
AND prg.application_id = req.program_application_id
AND prg.concurrent_program_id = req.concurrent_program_id
AND req.requested_by = fus.user_id
AND req.phase_code = 'P'
AND req.requested_start_date > sysdate
AND prg.language = 'US'
AND crc.release_class_id(+) = req.release_class_id
AND crc.application_id(+) = req.release_class_app_id
ORDER BY name -
Test program running taking much more time on high end server T5440 than low end server T5220
Hi all,
I have written the following program and run on both T5440 [1.4 GHz, 95 GB RAM, 32 cores(s), 256 logical (virtual) processor(s),] and T5220 [(UltraSPARC-T2 (chipid 0, clock 1165 MH) , 8GB RAM, 1 core, 8 virtual processors )] on same OS version. I found that T5540 server takes more time than T5220. Please find below the details.
test1.cpp
#include <iostream>
#include <pthread.h>
using namespace std;
#define NUM_OF_THREADS 20
struct ABCDEF {
char A[1024];
char B[1024];
void *start_func(void *)
long long i = 6000;
while(i--)
ABCDEF* sdf = new ABCDEF;
delete sdf;
sdf = NULL;
return NULL;
int main(int argc, char* argv[])
pthread_t tid[50];
for(int i=0; i<NUM_OF_THREADS; i++)
pthread_create(&tid[i], NULL, start_func, NULL);
cout<<"Creating thread " << i <<endl;
for(int i=0; i<NUM_OF_THREADS; i++)
pthread_join(tid[i], NULL);
cout<<"Waiting for thread " << i <<endl;
After executing the above program on T5440 takes :
real 0.78
user 3.94s
sys 0.05
After executing the above program on T5220 takes :
real 0.23
user 1.43s
sys 0.03
It seems that T5440 which is high end server takes almost 3 times more time than T5220 which is low end server.
However, I have one more observation. I tried the following program :
test2.cpp
#include <iostream>
#include <pthread.h>
using namespace std;
#define NUM_OF_THREADS 20
struct ABCDEF {
char A[1024];
char B[1024];
int main(int argc, char* argv[])
long long i = 6000000;
while(i--)
ABCDEF* sdf = new ABCDEF;
delete sdf;
sdf = NULL;
return 0;
It seems that T5440 server is fast in this case as compaired to T5220 server.
Could anyone please help me out the exact reason for this behaviour as my application is slow as well on this T5440 server. I have posted earlier as well for the same issue.
Thanks in advance !!!
regards,
SanjayYou already asked this question...
48 hours earlier, and in the same Solaris forum space
Repeating the post isn't going to get you a response any faster, and actually now have people NOT respond because you are not showing any patience.
These are end-user community forums, not a place to expect Oracle Technical Support. There is no obligation that there be a response.
If you have a business-critical issue and hope to get accurate and timely response, then use your service contract credentials to open a Support request.
This new redundant post is locked.
Edit:
It appears that at the same time the O.P. posted this redundant thread, they also posted the same question to at least one other forum web site:
http://www.unix.com/solaris/229269-test-program-running-taking-much-more-time-high-end-server-t5440-than-low-end-server-t5220.html -
Program Running from Long Time
Hi Friends,
There is a program running from long time. Can anybody let me know how can i analyse this program other than SM50, SM51, SM66. Its a CRM Program.....there are no logs.......
Points will be rewarded....
Thanks,
Nagesh.Hi,
I will suggest you to check a few places where you can see the status
1) SM37 job log. If its active make sure that the job log is getting updated at frequent intervals.
2) Get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. See if its accessing/updating some tables or is not doing anything at all.
If its running and if you are able to see it active in SM66 you can wait for some time to let it finish.
3) You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
If you feel its active and running you can verify by checking if the number of records getting updated/ inserted /deleted in table level.
You can take the help of Basis/DB2 to find out what is actually happening in the background.
This is the best way to identify of something is happening in the database level.
Thanks,
JituK -
Hai all,
I am running a program in bw. How do I know how long it took to execute the program. I mean anywhere in SM37 or SM50? I see that jobs like data loads are visible but I don't know how to see the time for a program run, like start, end time taken etc.
Thank you.Hi dear and welcome on board!
You can see all this details, but only if you run your program in background...then, in SM37, you will find what you want (double click on your job...)
If you run it online...you can see it in SM50, but nothing is stored and when the process finishes, the row in SM50 disappears...
Hope it helps!
Bye,
Roberto
(please don't forget to reward the answers..it's THE way to say thanks here..) -
How to get the Program Access Details
hi,
I want to get the last run details of all the program
I would like to give the date as a selection parameter.
It should give tha program names which are all acessed on that date.
where the details like when the program is run at last will be saved.
Is there any file/standard tables contain such details?
Thanks,
Mythili>
Mythili Sakthivel wrote:
> HI Gautham,
>
> I got the posts only abt last run of a program.
That is what you asked in your first post.
if you forgot just find below line from your post:
I want to get the last run details of all the program -
Error!! Can not find the delivery details for the delivery Id :
hi all,
I have a report which i need to burst in seven different reports wherein my delivery key is column "emp_id". Now when i schedule the report to burst then the report completes with a warning. I see that there are various delivery cycles for the report and for one of the cycles i get the following message
Error!! Can not find the delivery details for the delivery Id :
hence, what happens due to this is, even there are successful deliveries for other delivery ids but then i get only two rows of data in each of the seven bursted ouput xls files. wheareas the data runs in thousands of rows for each cycle.
Hence whats happening is, that due to error /warning in one of the delivery cycles other reports are also not showing data.
I am not sure whats causing the issue and why i am not getting complete bursted files out.
Please suggest
Thanks
RonnyI guess, you are in 10.1.3.3.2 :),
in the latest release 10.1.3.4.1, there are more enhancement wrto bursting and performance i believe.
check th release notes
can you send me the xml and bursting query you have, i can try simulating in my local. -
This is my first attempt at a pretty in debt package. All the procedures and functions work successfully on their own. When i try and put them into a package and run the package, i get these errors?
ORA-04063: package body "mydb.PKG_ALERT" has errors
ORA-06508: PL/SQL: could not find program unit being called: "mydb.PKG_ALERT"
ORA-06512: at line 6
Here's my package:
create or replace PACKAGE pkg_alert AS
FUNCTION fcn_chck_dt(p_date date)
RETURN VARCHAR2;
FUNCTION fcn_chck_decline(p_date date)
RETURN NUMBER;
PROCEDURE sp_run_alert(p_date date);
END pkg_monitor;
Here's my package body code: Your assistance is greatly appreciated:
create or replace
PACKAGE BODY PKG_ALERT AS
FUNCTION fcn_chck_dt(p_date date) return VARCHAR2 is
--DECLARE
v_table_name VARCHAR2(35);
v_string VARCHAR2(1024);
v_result number;
v_output VARCHAR2(1024);
v_date VARCHAR2(100);
v_dt VARCHAR2(100);
CURSOR c_table is
select table_name
from user_tab_columns
where COLUMN_NAME = 'date'
and table_name NOT LIKE '%BIN%';
BEGIN
OPEN c_table;
loop
FETCH c_table into v_table_name;
exit when c_table%NOTFOUND;
v_string:='select decode(to_date(max(date),''yyyymmdd''),'''||p_date||''',1,0)'|| ' from ' || v_table_name;
execute immediate v_string into v_result;
v_date:='select max(date)'|| ' from ' || v_table_name;
execute immediate v_date into v_dt;
if v_result=0 then
v_output:=v_output||CRLF||v_table_name||': '||v_dt;
end if;
end loop;
close c_table;
return v_output;
END fcn_chck_dt;
FUNCTION fcn_chck_decline(p_date date) return NUMBER is
--DECLARE
v_dt NUMBER;
v_active NUMBER;
v_delta NUMBER;
v_perc_delta NUMBER;
v_old_s varchar2(1024);
v_old_dt number;
v_string varchar2(1024);
v_result NUMBER;
CURSOR c_prev IS
select date,daily_active,
daily_active-lag(daily_active) over(order by date),
trunc(((daily_active-lag(daily_active) over(order by date))/daily_active)*100,2)
from pop_stats
where to_date(date,'YYYYMMDD') between p_date-1 and p_date
order by date desc;
---bringing back two rows and all records on purpose.
BEGIN
OPEN c_prev;
FETCH c_prev INTO v_dt,v_active,v_delta,v_perc_delta;
close c_prev;
v_old_s := 'select max(date) from alert_stats';
execute immediate v_old_s into v_old_dt;
if v_dt!=v_old_dt then
insert into ALERT_stats(date,
daily_active,
daily_delta,
daily_delta_percent)
values(v_dt,
v_active,
v_delta,
v_perc_delta);
end if;
v_string:='select value from config_tbl where name=''decline''';
execute immediate v_string into v_result;
if v_perc_delta <= v_result then
return v_perc_delta;
end if;
END fcn_chck_decline;
PROCEDURE sp_run_alert(p_date date) IS
--DECLARE
v_result varchar2(1024);
BEGIN
insert into ALERT_stats(date)
values(p_date);
CRLF char(2) := chr(10)||chr(13);
v_result :='';
v_result := v_result||fcn_chck_dt(p_date);
v_result := v_result||fcn_chck_decline(p_date);
if v_result.length > 0 then
utl_mail.send('alerts@localhost','[email protected]',NULL,NULL,
'Alert','Alert Summary: '||v_result,'text/plain; charset=us-ascii',NULL);
end if;
END sp_run_alert;
END PKG_ALERT;Take a look at the bolded sections of your code especialy the last line of your package spec
create or replace PACKAGE pkg_alert AS
FUNCTION fcn_chck_dt(p_date date)
RETURN VARCHAR2;
FUNCTION fcn_chck_decline(p_date date)
RETURN NUMBER;
PROCEDURE sp_run_alert(p_date date);
END pkg_monitor;
Maybe you are looking for
-
11.1.2 - Workforce and CAPEX issue - Add New Hires and Add New Asset Rules
Hi All, We are working on Oracle Fusion 11.1.2 and are using the out of box functionality for Workforce and CAPEX. We are facing a weird issue in case of the above Modules when we try to Add a new Hire or a new Asset in the respective modules using t
-
Client side validation with submit button in another region
Hi, I have two regions, one containing a form with input texts for the user to fill in, and another region with a command button. A few of the input fields use the ADF "required" validator. My problem is that when I click the submit button, and it do
-
How to obtain the file name of the cached file
Hi All, I am using JMF to play a MP3 file from an HTTP link and I need to know the file name of the locally cached file. I found that I can obtain the cache directory using Manager.getCacheDirectory() and I can see the cached file there but its file
-
Microsoft notebook mouse 5000 doesn't connect anymore
My microsoft notebook bluetooth mouse always connect right away while opening my White MacBook but now, with my unibody MBP, it doesn't want to connect at all when I open the lid any sujestions? Regards
-
Pen pressure not working. Tried everything.
Tried techniques in both Adobe and Corel. Any suggestions on how to get the pen pressure to work would be greatly appreciated!